@woovi/ui 5.0.1 → 5.0.2
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/dist/ReactJson.d.ts +0 -1
- package/dist/datagrid/cellTypeExpand.d.ts +1 -122
- package/dist/index.cjs +8 -8
- package/dist/index.js +190 -190
- package/dist/multifactor/MultiFactorConfirmModal.d.ts +2 -3
- package/dist/multifactor/MultiFactorPixPaymentMatch.d.ts +1 -2
- package/dist/multifactor/MultiFactorPixPaymentView.d.ts +6 -3
- package/dist/router/getRouteFromPath.d.ts +2 -3
- package/dist/timeline/Timeline.d.ts +1 -1
- package/dist/timeline/TimelineAppEventItem.d.ts +3 -3
- package/dist/timeline/TimelineItem.d.ts +3 -3
- package/dist/utils/composeStyles.d.ts +1 -1
- package/dist/utils/rifmFormatToCPF.d.ts +1 -0
- package/locales/i18n.d.ts +9 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@mui/material/Avatar";import
|
|
2
|
+
import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@mui/material/Avatar";import a,{ThemeContext as o,ThemeProvider as n,css as l,useTheme as s}from"styled-components";import{border as d,display as c,flexbox as p,layout as m,position as h,space as u}from"styled-system";import x from"@mui/lab/AvatarGroup";import{Avatar as f,Box as g,Button as C,Card as b,CardActionArea as y,CardMedia as v,Checkbox as w,CircularProgress as M,Collapse as E,Dialog as A,DialogActions as I,DialogContent as k,DialogContentText as S,DialogTitle as T,Divider as D,Drawer as R,Fade as L,Grid as _,IconButton as P,Input as N,InputAdornment as z,Link as O,List as H,ListItem as V,ListItemIcon as F,ListItemText as $,Popper as B,Skeleton as W,Stack as j,Step as G,StepConnector as Z,StepLabel as U,Stepper as Y,SwipeableDrawer as q,Tab as X,Tabs as K,TextField as Q,Tooltip as J,Typography as ee,lighten as et,useTheme as er}from"@mui/material";import ei from"@mui/material/Stack";import{Link as ea,NavLink as eo,Route as en,matchPath as el,useHistory as es,useLocation as ed,useParams as ec}from"react-router-dom";import ep from"@mui/material/Icon";import em from"@mui/material/Button";import eh,{Component as eu,Fragment as ex,createContext as ef,createElement as eg,forwardRef as eC,memo as eb,useCallback as ey,useContext as ev,useEffect as ew,useId as eM,useLayoutEffect as eE,useMemo as eA,useReducer as eI,useRef as ek,useState as eS}from"react";import eT from"@mui/icons-material/ArrowDropDown.js";import eD from"@mui/material/ButtonGroup";import eR from"@mui/material/ClickAwayListener";import eL from"@mui/material/Grow";import e_ from"@mui/material/MenuItem";import eP from"@mui/material/MenuList";import eN from"@mui/material/Paper";import ez from"@mui/material/Popper";import eO from"@mui/material/Card";import eH from"@mui/material/CardActions";import eV from"@mui/material/CardContent";import"@mui/material/CardHeader";import"@mui/material/CardMedia";import{ThemeProvider as eF,alpha as e$,createTheme as eB,darken as eW,lighten as ej,styled as eG,useTheme as eZ}from"@mui/material/styles";import eU from"@mui/icons-material/ArrowBackOutlined.js";import eY from"@mui/material/Typography";import{Trans as eq,useTranslation as eX}from"react-i18next";import{ArrowOutward as eK,CallMade as eQ,CheckCircle as eJ,ChevronRight as e1,Close as e2,CurrencyExchange as e0,EditCalendar as e3,Email as e4,ErrorOutline as e5,ExpandLess as e6,ExpandMore as e9,FileOpen as e7,HowToReg as e8,KeyboardArrowRight as te,Lock as tt,Message as tr,NavigateBefore as ti,Paid as ta,PriorityHigh as to,WhatsApp as tn}from"@mui/icons-material";import tl from"@mui/icons-material/CallMade.js";import{CopyBlock as ts,dracula as td}from"react-code-blocks";import tc from"@mui/material/Accordion";import tp from"@mui/material/AccordionDetails";import tm from"@mui/material/AccordionSummary";import th from"@mui/icons-material/ExpandMore.js";import tu from"@mui/material/AccordionActions";import tx from"@mui/icons-material/Check.js";import tf from"@mui/material/Box";import tg from"@mui/material/List";import{FormikProvider as tC,useField as tb,useFormik as ty}from"formik";import tv from"@mui/icons-material/Close.js";import tw from"@mui/material/Drawer";import tM from"@mui/material/IconButton";import tE from"dot-object";import{decodeNumber as tA,decodeQueryParams as tI,decodeString as tk,encodeNumber as tS,encodeQueryParams as tT,encodeString as tD}from"serialize-query-params";import tR from"moment";import tL from"query-string";import t_ from"@mui/icons-material/Tag.js";import{hsl as tP,parseToHsl as tN,parseToRgb as tz,rgb as tO}from"polished";import tH from"@mui/material/LinearProgress";import{makeStyles as tV,useTheme as tF}from"@mui/styles";import t$ from"@mui/material/CircularProgress";import tB from"@mui/material/Dialog";import tW from"@mui/material/DialogContent";import{useWindowSize as tj}from"use-window-size-hook";import tG from"@mui/material/DialogActions";import tZ from"@mui/material/DialogTitle";import tU from"@mui/material/Tooltip";import tY from"@mui/icons-material/Refresh.js";import tq from"@mui/icons-material/Search.js";import tX from"@mui/material/Input";import tK from"@mui/material/InputAdornment";import tQ from"@mui/icons-material/ChevronLeft.js";import tJ from"@mui/icons-material/ChevronRight.js";import t1 from"@mui/material/Badge";import t2 from"@mui/material/Divider";import t0 from"@mui/material/Tab";import t3 from"@mui/material/Tabs";import t4 from"@mui/icons-material/InfoOutlined.js";import t5 from"@mui/material/Chip";import t6 from"@mui/material/Modal";import t9 from"@mui/material/Fade";import t7 from"@mui/material/Slide";import{useDropzone as t8}from"react-dropzone";import re from"chroma-js";import rt from"react-ink";import{ErrorBoundary as rr}from"react-error-boundary";import ri from"@mui/material/useMediaQuery";import{useSnackbar as ra}from"notistack";import ro from"@mui/material/Snackbar";import rn from"@mui/material/SnackbarContent";import rl from"@mui/material/DialogContentText";import rs from"@mui/icons-material/Add.js";import rd from"@mui/material/ListItem";import rc from"@mui/material/ListItemButton";import rp from"@mui/material/Popover";import rm from"@mui/icons-material/CheckCircleOutline.js";import rh from"@mui/icons-material/FileCopy.js";import{useDebouncedCallback as ru}from"use-debounce";import rx from"@mui/icons-material/ContentCopy.js";import rf from"@mui/icons-material/AccessTime.js";import{GRID_DETAIL_PANEL_TOGGLE_COL_DEF as rg,GridCloseIcon as rC,GridCsvExportMenuItem as rb,GridRow as ry,GridToolbarContainer as rv,GridToolbarExportContainer as rw,enUS as rM,esES as rE,getGridDefaultColumnTypes as rA,gridDetailPanelExpandedRowsContentCacheSelector as rI,ptBR as rk,useGridApiContext as rS,useGridApiRef as rT,useGridRootProps as rD,useGridSelector as rR}from"@mui/x-data-grid-pro";import{formatNumber as rL,parsePhoneNumberWithError as r_}from"libphonenumber-js";import{DataGridPro as rP}from"@mui/x-data-grid-pro/DataGridPro";import{formatToCPF as rN,formatToCPFOrCNPJ as rz,isCPF as rO}from"brazilian-values";import rH from"@mui/material/Link";import rV from"@mui/material/Skeleton";import rF from"use-local-storage-state";import r$ from"@mui/icons-material/GridViewRounded.js";import rB from"@mui/icons-material/TableRowsRounded.js";import rW from"@mui/icons-material/CloudUpload.js";import{getTime as rj}from"date-fns";import rG from"mime-types";import rZ from"@mui/material/Step";import rU from"@mui/material/StepLabel";import rY from"@mui/material/Stepper";import"react-datasheet/lib/react-datasheet.css";import rq from"@mui/material/Table";import rX from"@mui/material/TableContainer";import{useExpanded as rK,useRowSelect as rQ,useSortBy as rJ,useTable as r1}from"react-table";import{useVirtual as r2}from"react-virtual";import r0 from"@mui/material/Checkbox";import r3 from"@mui/icons-material/CheckCircle.js";import r4 from"@mui/icons-material/Edit.js";import r5 from"@mui/icons-material/Error.js";import r6 from"@mui/icons-material/HourglassEmpty.js";import r9 from"@mui/material/TableRow";import r7 from"@mui/material/TableCell";import r8 from"@mui/material/TableHead";import ie from"@mui/material/TableSortLabel";import{v4 as it}from"uuid";import{DatePicker as ir}from"@mui/x-date-pickers";import{useRifm as ii}from"rifm";import{NumericFormat as ia}from"react-number-format";import{read as io,utils as il,write as is}from"xlsx";import id from"@mui/material/TableBody";import ic from"react-fast-compare";import{MdCancel as ip,MdCheckCircle as im,MdMailOutline as ih,MdOutlineDevicesOther as iu}from"react-icons/md";import{TbPasswordMobilePhone as ix}from"react-icons/tb";import{VscShield as ig}from"react-icons/vsc";import{QRCodeSVG as iC}from"qrcode.react";import ib from"@mui/icons-material/QrCode.js";import iy from"@mui/material/FormControlLabel";import iv from"@mui/material/Radio";import{useRadioGroup as iw}from"@mui/material/RadioGroup";import iM from"react-json-view";import iE from"@mui/material/InputBase";import iA from"@mui/material/Select";import iI from"@mui/material/ToggleButton";import ik from"@mui/material/ToggleButtonGroup";import iS from"@mui/material/FormControl";import iT from"@mui/material/NativeSelect";import{useVirtualizer as iD}from"@tanstack/react-virtual";import iR from"@mui/icons-material/KeyboardArrowDown.js";import iL from"@mui/icons-material/KeyboardArrowUp.js";import i_ from"@mui/material/Collapse";import iP from"@mui/icons-material/DarkMode.js";import iN from"@mui/icons-material/LightMode.js";import{Timeline as iz,TimelineConnector as iO,TimelineContent as iH,TimelineDot as iV,TimelineItem as iF,TimelineSeparator as i$,timelineItemClasses as iB}from"@mui/lab";import{Rnd as iW}from"react-rnd";let ij=a.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
align-items: center;
|
|
6
6
|
${p}
|
|
7
7
|
${u}
|
|
8
|
-
`,
|
|
8
|
+
`,iG=a(i)`
|
|
9
9
|
width: ${e=>e.size}px;
|
|
10
10
|
height: ${e=>e.size}px;
|
|
11
11
|
font-size: ${e=>e.size/2}px;
|
|
12
12
|
background-color: ${e=>e.theme.button.backgroundColor};
|
|
13
13
|
color: ${e=>e.theme.button.textColor};
|
|
14
14
|
border: solid 1px ${e=>e.theme.palette.divider};
|
|
15
|
-
`,
|
|
15
|
+
`,iZ=({name:e,size:r=50,imageUrl:i,alt:a,...o})=>{var n;let l=e?(n=e,[" da "," do "," dos "," das "," e "," di "," du "," del "," della "].forEach(e=>{n=n.replace(e," ").trim()}),n).split(" ").slice(0,2).map(e=>e.charAt(0)).join(""):"AN";return t(ij,{...o,children:i?t(iG,{size:r,src:i,alt:a}):t(iG,{size:r,children:l})})},iU=a(f)`
|
|
16
16
|
width: ${e=>e.size}px !important;
|
|
17
17
|
height: ${e=>e.size}px !important;
|
|
18
18
|
min-width: ${e=>e.size}px !important;
|
|
@@ -21,14 +21,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
21
21
|
background-color: ${e=>e.excessCount?"#ffffff":e.theme.palette.primary.main} !important;
|
|
22
22
|
color: ${e=>e.excessCount?e.theme.darkGray:e.theme.button.textColor} !important;
|
|
23
23
|
border-color: #fff;
|
|
24
|
-
`,
|
|
24
|
+
`,iY=a(iU)`
|
|
25
25
|
width: ${e=>1.6*e.size}px !important;
|
|
26
|
-
`,
|
|
26
|
+
`,iq=({bubbleCount:e,edges:i,size:a=50,totalCount:o=null})=>{let n=o||i.length||0,l=n<e?null:n-e,s=er();return r(x,{children:[i.slice(0,e).map(({node:e})=>e.user?{url:e?.user?.profileImage?.url,userName:e?.user?.name}:{url:e?.profileImage?.url,userName:e?.name}).map(e=>{let i=e.userName?e.userName.split(" ").slice(0,2).map(e=>e.charAt(0)).join(""):"AN";return e.url?t(iU,{alt:e.userName,src:e.url,size:a}):r(iU,{alt:e.userName,src:e.url,size:a,children:[" ",i," "]})}),!!l&&t(j,{sx:{border:1,borderColor:s.palette.common.white},children:r(iY,{size:a,excessCount:!0,children:["+",l]})})]})},iX=({bubbleCount:e,usersArray:i=[],size:a})=>{let o=i.length<e?null:i.length-e;return r(x,{children:[i.slice(0,e).map(e=>e?{url:e?.profileImage?.url,userName:e?.name}:{url:null,userName:null}).map(e=>{let i=e.userName?e.userName.split(" ").slice(0,2).map(e=>e.charAt(0)).join(""):"AN";return e.url?t(iU,{alt:e.userName,src:e.url,size:a}):r(iU,{alt:e.userName,src:e.url,size:a,children:[" ",i," "]})}),!!o&&t(ei,{ml:"1px",children:r(iU,{size:a,excessCount:!0,children:["+",o]})})]})},iK=({bubbleCount:e,edges:i,size:a=50,totalCount:o})=>{let n=o-e;return r(x,{children:[i.slice(0,e).map(({node:e})=>e.user?{url:e?.user?.profileImage?.url,userName:e?.user?.name}:{url:e?.profileImage?.url,userName:e?.name}).map(e=>{let i=e.userName?e.userName.split(" ").slice(0,2).map(e=>e.charAt(0)).join(""):"AN";return e.url?t(iU,{alt:e.userName,src:e.url,size:a}):r(iU,{alt:e.userName,src:e.url,size:a,children:[" ",i," "]})}),!!n&&t(ei,{ml:"1px",children:r(iU,{size:a,excessCount:!0,children:["+",n]})})]})},iQ=a.div`
|
|
27
27
|
display: flex;
|
|
28
28
|
cursor: pointer;
|
|
29
29
|
margin-right: 8px;
|
|
30
30
|
margin-left: -30px;
|
|
31
|
-
`,iJ=({onClick:e})=>{let r=es();return t(
|
|
31
|
+
`,iJ=({onClick:e})=>{let r=es();return t(iQ,{onClick:e||(()=>r.goBack()),children:"←"})},i1=a.div`
|
|
32
32
|
display: flex;
|
|
33
33
|
align-items: center;
|
|
34
34
|
color: ${e=>e.theme.primaryDarkerColor};
|
|
@@ -42,7 +42,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
42
42
|
border-width: 1px;
|
|
43
43
|
border-color: ${e=>e.theme.primaryDarkerColor};
|
|
44
44
|
max-width: 75px;
|
|
45
|
-
`,
|
|
45
|
+
`,i2=({children:e,...r})=>t(ep,{...r,children:e}),i0=({icon:i,size:a="medium",variant:o="contained",color:n="primary",children:l,label:s,link:d,external:c=!1,loading:p=!1,...m})=>{let h=()=>p?{startIcon:t(M,{sx:{color:"inherit"},size:12})}:{},u=r(e,{children:[!!i&&t(i2,{children:i}),s||l]});return d?c?t(C,{target:"_blank",href:d,color:n,variant:o,size:a,disableElevation:!0,...h(),...m,children:u}):t(C,{component:ea,to:d,color:n,variant:o,size:a,disableElevation:!0,...h(),...m,children:u}):t(C,{color:n,variant:o,size:a,disableElevation:!0,...h(),...m,children:u})},i3=a(em)`
|
|
46
46
|
margin-left: 8px;
|
|
47
47
|
text-transform: none;
|
|
48
48
|
padding: 8px 16px;
|
|
@@ -66,18 +66,18 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
${u}
|
|
69
|
-
`,
|
|
69
|
+
`,i4=({mainButtonProps:i,options:a})=>{let[o,n]=eS(!1),l=er(),s=ek(null),d=e=>{s?.current?.contains(e.target)||n(!1)};return r(e,{children:[r(eD,{variant:"contained","aria-label":"split button",ref:s,disableElevation:!0,children:[t(i0,{...i,sx:{borderRadius:"4px 0 0 4px",textWrap:"nowrap",width:{xs:"100%",sm:"100%"}},children:i.value}),t(i0,{size:"small","aria-controls":o?"split-button-menu":void 0,"aria-expanded":o?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:()=>{n(e=>!e)},sx:{borderRadius:"0 4px 4px 0",borderLeft:"1px solid #83fcdc"},"data-testid":"split-button-popper",children:t(eT,{})})]}),t(ez,{open:o,anchorEl:s.current,role:void 0,transition:!0,children:({TransitionProps:e,placement:r})=>t(eL,{...e,style:{transformOrigin:"bottom"===r?"center top":"center bottom"},children:t(eN,{sx:{backgroundColor:l.palette.common.white},children:t(eR,{onClickAway:d,children:t(eP,{id:"split-button-menu",sx:{zIndex:999},autoFocusItem:!0,children:a.map((e,t)=>eg(e_,{...e,onClick:t=>{e?.onClick?.(t),n(!1)},key:`menu-item-${t}`},e.value))})})})})})]})},i5=({mainButtonProps:i,options:a})=>{let[o,n]=eS(!1),l=ek(null),s=e=>{l?.current?.contains(e.target)||n(!1)};return r(e,{children:[r(eD,{variant:"contained","aria-label":"split button",ref:l,disableElevation:!0,children:[t(i0,{...i,sx:{borderRadius:"4px 0 0 4px",textWrap:"nowrap"},children:i.value}),t(i0,{size:"small","aria-controls":o?"split-button-menu":void 0,"aria-expanded":o?"true":void 0,"aria-label":"select merge strategy","aria-haspopup":"menu",onClick:()=>{n(e=>!e)},sx:{borderRadius:"0 4px 4px 0",borderLeft:"1px solid #83fcdc"},"data-testid":"split-button-popper",children:t(eT,{})})]}),t(ez,{open:o,anchorEl:l.current,role:void 0,transition:!0,children:({TransitionProps:e,placement:r})=>t(eL,{...e,style:{transformOrigin:"bottom"===r?"center top":"center bottom"},children:t(eN,{sx:{backgroundColor:"#fff"},children:t(eR,{onClickAway:s,children:t(eP,{id:"split-button-menu",sx:{zIndex:999},autoFocusItem:!0,children:a.map((e,t)=>eg(e_,{...e,onClick:t=>{e?.onClick?.(t),n(!1)},key:`menu-item-${t}`},e.value))})})})})})]})},i6=a.div`
|
|
70
70
|
width: ${e=>e.size||21}px;
|
|
71
71
|
height: ${e=>e.size||21}px;
|
|
72
72
|
background-color: ${e=>e.color||"#808080"};
|
|
73
73
|
border-radius: 50%;
|
|
74
|
-
`,
|
|
74
|
+
`,i9=a.div`
|
|
75
75
|
display: flex;
|
|
76
76
|
flex-direction: column;
|
|
77
77
|
align-items: center;
|
|
78
78
|
max-width: 250px;
|
|
79
79
|
cursor: pointer;
|
|
80
|
-
`,
|
|
80
|
+
`,i7=a.div`
|
|
81
81
|
display: flex;
|
|
82
82
|
align-items: center;
|
|
83
83
|
justify-content: center;
|
|
@@ -85,17 +85,17 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
85
85
|
height: 50px;
|
|
86
86
|
border-radius: 100px;
|
|
87
87
|
background-color: ${e=>e.theme.palette.primary.main};
|
|
88
|
-
`,
|
|
88
|
+
`,i8=a.p`
|
|
89
89
|
font-size: 30px;
|
|
90
90
|
font-weight: 600;
|
|
91
91
|
color: ${e=>e.theme.button.textColor};
|
|
92
|
-
`,
|
|
92
|
+
`,ae=a.p`
|
|
93
93
|
margin-top: 14px;
|
|
94
94
|
font-weight: 600;
|
|
95
|
-
`,
|
|
95
|
+
`,at=({children:e,symbol:i,...a})=>r(i9,{...a,children:[t(i7,{className:"CircleButton__Button",children:t(i8,{className:"CircleButton__InsideText",children:i||"+"})}),e&&t(ae,{className:"CircleButton__AuxText",children:e})]}),ar=a.div`
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
|
-
`,
|
|
98
|
+
`,ai=eC(({children:e,sx:r,tabIndex:i,...a},o)=>t(g,{ref:o,tabIndex:i,"data-testid":a["data-testid"],sx:{display:"flex",...r},children:e})),aa=a(eO)`
|
|
99
99
|
box-sizing: border-box;
|
|
100
100
|
${p}
|
|
101
101
|
${m}
|
|
@@ -107,7 +107,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
107
107
|
@media print {
|
|
108
108
|
box-shadow: none;
|
|
109
109
|
}
|
|
110
|
-
`,
|
|
110
|
+
`,ao=eC(({children:e,disabled:i,sx:a,...o},n)=>t(aa,{variant:"outlined",sx:{borderRadius:"8px",...a},...o,ref:n,children:r(ai,{sx:{position:"relative",flexDirection:"column",height:"100%"},children:[i&&t(g,{sx:{position:"absolute",top:0,bottom:0,left:0,right:0,background:"rgba(255, 255, 255, 0.5)",zIndex:2,borderRadius:8}}),e]})})),an=({children:e,sx:r={}})=>t(eH,{sx:{justifyContent:"flex-end",borderTop:e=>`1px solid ${e.palette.divider}`,...r},children:e}),al=({children:e})=>t(ao,{sx:{display:"flex",padding:eZ().spacing(2)},children:t(ee,{children:e})}),as=({children:e,footer:i,title:a,showBackButton:o=!1,onBack:n})=>{let l=es(),{t:s}=eX();return r(ai,{sx:{flexDirection:"column",maxWidth:"550px",width:"100%"},children:[o&&t(ai,{sx:{alignContent:"left"},children:t(i0,{color:"secondary",variant:"text",onClick:()=>{n?n():l.goBack()},startIcon:t(eU,{}),children:s("Back")})}),t(ai,{children:r(eN,{sx:{padding:"32px",maxWidth:"550px",marginBottom:"5px",width:"100%",borderRadius:"8px"},variant:"outlined",children:[a&&t(ai,{sx:{justifyContent:"center",alignItems:"center"},children:t(eY,{mb:"24px",variant:"h1",fontSize:"28px",fontWeight:"bold",textAlign:"center",children:a})}),e,i]})})]})},ad=e=>t(ao,{mb:"10px",p:"10px","data-testid":"loading",children:r(ai,{sx:{justifyContent:"space-around",alignItems:"center"},children:[t(W,{animation:"wave",width:50,height:50,variant:"circular"}),r(ai,{sx:{flexDirection:"column",marginLeft:1},children:[t(W,{animation:"wave",width:150}),t(W,{animation:"wave",width:100})]})]})}),ac=({title:e,description:i="",image:a,step:o=0,imageAlt:n="alt"})=>t(ao,{sx:{p:3,height:"100%"},children:r(j,{spacing:2,sx:{justifyContent:"space-between"},children:[t(v,{sx:{objectFit:"fill"},component:"img",image:a,alt:n}),t(ee,{variant:"h4",color:"primary",fontWeight:e=>e.typography.fontWeightBold,children:o}),t(ee,{variant:"h4",fontWeight:e=>e.typography.fontWeightBold,children:e}),t(ee,{variant:"body1",children:i})]})}),ap=({label:e,value:i,color:a="pri",onClick:o})=>t(ao,{onClick:o,sx:{cursor:"pointer",display:"flex",justifyContent:"center",width:"100%",padding:"6px"},children:r(ai,{sx:{flexDirection:"row",gap:"3px",alignItems:"baseline",alignContent:"center"},children:[t(ee,{fontWeight:400,color:"#AFAFAF",children:e}),t(ee,{fontWeight:600,mr:"6px",color:`${a}.main`,children:i}),o&&t(eQ,{sx:{alignSelf:"flex-start"},fontSize:"small",color:a})]})}),am=e=>t(ap,{label:e.label,value:t(W,{"data-testid":"loading",animation:"wave",width:100})}),ah=a(eH)`
|
|
111
111
|
display: flex;
|
|
112
112
|
flex-direction: column;
|
|
113
113
|
justify-content: flex-end;
|
|
@@ -116,21 +116,21 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
116
116
|
@media (min-width: 600px) {
|
|
117
117
|
flex-direction: row;
|
|
118
118
|
}
|
|
119
|
-
`,
|
|
119
|
+
`,au=a.div`
|
|
120
120
|
padding: 0 16px;
|
|
121
|
-
`,
|
|
121
|
+
`,ax=({children:e})=>t(au,{children:e}),af=a.h3`
|
|
122
122
|
font-size: 20px;
|
|
123
|
-
`,
|
|
123
|
+
`,ag=a.div`
|
|
124
124
|
font-weight: normal;
|
|
125
125
|
font-size: 14px;
|
|
126
|
-
`,
|
|
126
|
+
`,aC=a(eV)`
|
|
127
127
|
display: flex;
|
|
128
128
|
flex: 1;
|
|
129
129
|
flex-direction: ${e=>e.column};
|
|
130
130
|
${u}
|
|
131
131
|
${m}
|
|
132
132
|
${p}
|
|
133
|
-
`,
|
|
133
|
+
`,ab=eC((e,i)=>{let{t:a}=eX(),{children:o,column:n=!1,title:l,subtitle:s,primaryAction:d,secondaryAction:c,primaryProps:p={},secondaryProps:m={},icon:h,footerActions:u=[],footer:x,contentProps:f={},cardStyleProps:g={},cardProps:C={},borderColor:b}=e,y=e?.primaryLabel??a("Save"),v=e?.secondaryLabel??a("Cancel"),w=b?{outline:`3px solid ${b}`,outlineOffset:"0px"}:{};return r(ao,{style:{...g,...w},...C,ref:i,children:[l&&r(ax,{children:[t(af,{children:l}),s&&t(ag,{children:s}),h]}),o&&t(aC,{column:n?"column":"row",...f,children:o}),u.length?t(ah,{children:u.map(({label:e,primary:r,onClick:i,disabled:a,...o},n)=>t(i0,{size:"small",color:r?"primary":"secondary",onClick:i,...o,children:e},`footer-btn-${n}`))}):x?t(ah,{children:x}):(d||c)&&r(ah,{children:[c&&t(i0,{variant:"text",color:"secondary",size:"small",onClick:c,...m,children:v}),d&&t(i0,{variant:"text",color:"primary",size:"small",onClick:d,...p,children:y})]})]})}),ay=()=>t(ao,{children:r(ai,{sx:{flexDirection:"column",justifyContent:"center",alignItems:"center",minHeight:"95px",flex:1},children:[t(W,{animation:"wave",width:100}),t(W,{animation:"wave",width:150,height:30}),t(W,{animation:"wave",width:100})]})}),av=({title:e,value:i,total:a,color:o="",onClick:n,loading:l=!1})=>l?t(ay,{}):t(ao,{sx:{cursor:n?"pointer":"default"},onClick:n,children:r(ai,{sx:{justifyContent:"center",position:"relative"},children:[r(ai,{sx:{flexDirection:"column",justifyContent:"center",alignItems:"center",minHeight:"95px",flex:1},children:[t(ee,{variant:"subtitle1",color:"#AFAFAF",textAlign:"center",children:e}),t(ee,{color:o?`${o}.main`:"",variant:"h5",fontWeight:"bold",textAlign:"center",children:i}),t(ee,{variant:"subtitle1",textAlign:"center",children:a})]}),n&&t(ai,{sx:{position:"absolute",right:8,top:8},children:t(tl,{color:"action"})})]})}),aw=({title:e,value:i,total:a,color:o="primary",onClick:n,loading:l=!1})=>l?t(ay,{}):t(ao,{sx:{cursor:n?"pointer":"default",height:"100%",transition:"transform 0.2s, box-shadow 0.2s","&:hover":n?{transform:"translateY(-2px)",boxShadow:3}:{}},onClick:n,children:t(ai,{sx:{justifyContent:"center",position:"relative"},children:r(ai,{sx:{flexDirection:"column",justifyContent:"center",alignItems:"center",minHeight:40,flex:1,p:.7},children:[t(ee,{variant:"body2",color:"text.primary",fontWeight:"medium",textAlign:"center",sx:{mb:.1},children:e}),t(ee,{color:o?`${o}.main`:"text.primary",variant:"h6",fontWeight:"bold",textAlign:"center",sx:{mb:.2},children:i}),a&&t(ee,{variant:"caption",textAlign:"center",color:"text.secondary",sx:{lineHeight:1.1},children:a})]})})}),aM=a.div`
|
|
134
134
|
display: grid;
|
|
135
135
|
grid-template-columns: ${e=>e.templateColumns?e.templateColumns:"1fr"};
|
|
136
136
|
grid-gap: ${e=>e.gap?e.gap:"0"};
|
|
@@ -143,12 +143,12 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
143
143
|
minmax(150px, 1fr)
|
|
144
144
|
);
|
|
145
145
|
}
|
|
146
|
-
`,
|
|
146
|
+
`,aE=({code:e,language:r,showLineNumbers:i})=>t(ts,{text:e,language:r,showLineNumbers:!!i,theme:td,codeBlock:!0,wrapLongLines:!0}),aA=({initialExpanded:e,header:i,children:a})=>{let o=eM(),[n,l]=eS(e);return r(tc,{expanded:n,elevation:0,square:!0,disableGutters:!0,onChange:()=>l(!n),sx:{fontWeight:"600","&:before":{display:"none"}},children:[t(tm,{sx:{p:0,m:0,"& .MuiAccordionSummary-content":{m:"0 !important"},"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded":{transform:"rotate(-180deg)"}},expandIcon:t(e6,{sx:{fontSize:"20px"},"aria-controls":`${o}-content`,id:`${o}-header`}),children:"string"==typeof i?t(eY,{sx:{fontWeight:"600"},children:i}):i}),t(tp,{sx:{m:"0 !important",p:0},children:a})]})},aI=(e,t)=>{let[r,i]=eS(e);return"function"==typeof t?[e,t]:[r,i]},ak=e=>{let{renderActions:i,primaryAction:a,primaryActionLabel:o,primaryActionProps:n={},secondaryAction:l,secondaryActionLabel:s,secondaryActionProps:d={}}=e;if(i)return t(a_,{children:i});let c=l&&s,p=a&&o;return p||c?r(a_,{children:[c?t(i0,{color:"secondary",variant:"text",onClick:l,...d,children:s}):null,p?t(i0,{color:"primary",variant:"text",onClick:a,...n,children:o}):null]}):null},aS=a(ea)`
|
|
147
147
|
color: ${e=>e.theme.palette.primary.main};
|
|
148
148
|
font-size: ${e=>e.theme.typography.fontSize}px;
|
|
149
149
|
word-wrap: break-word;
|
|
150
150
|
text-decoration: none;
|
|
151
|
-
`,
|
|
151
|
+
`,aT=i=>{let a=eZ(),{heading:o,secondaryHeading:n,secondaryHeadingLinkTo:l,expandIcon:s}=i,d=!s;return r(e,{children:[t(eY,{sx:{flexBasis:n?"33.3%":"95%",padding:d?"0 !important":void 0,margin:d?"0 !important":void 0,marginRight:a.spacing(1)},children:o}),n?l?t(ai,{sx:{flex:1},children:t(aS,{to:l,children:n})}):t(eY,{flex:1,children:n}):null]})},aD=a(tc)`
|
|
152
152
|
${u}
|
|
153
153
|
.MuiAccordionDetails-root {
|
|
154
154
|
padding: 0 24px 8px;
|
|
@@ -157,24 +157,24 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
157
157
|
border-radius: 8px;
|
|
158
158
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
159
159
|
}
|
|
160
|
-
`,
|
|
160
|
+
`,aR=a(tp)`
|
|
161
161
|
flex-direction: column;
|
|
162
|
-
`,
|
|
162
|
+
`,aL=a(tm)`
|
|
163
163
|
user-select: auto;
|
|
164
164
|
.MuiAccordionSummary-content {
|
|
165
165
|
margin: 0 8px;
|
|
166
166
|
}
|
|
167
|
-
`,
|
|
167
|
+
`,a_=a(tu)`
|
|
168
168
|
border-radius: 8px;
|
|
169
169
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
170
170
|
padding: 2px 10px;
|
|
171
171
|
flex: 1;
|
|
172
|
-
`,
|
|
172
|
+
`,aP=e=>{let{alwaysExpanded:i,expandIconInvisible:a=!1,expandIcon:o,className:n,children:l,disabled:s=!1,lazy:d=!0,onChange:c,renderActions:p,primaryAction:m,primaryActionLabel:h,primaryActionProps:u,secondaryAction:x,secondaryActionLabel:f,secondaryActionProps:g,renderSummary:C,heading:b,secondaryHeading:y,secondaryHeadingLinkTo:v,isExpanded:w,...M}=e,[E,A]=aI(!!i||w||!1,e.onChange),I=e.alwaysExpanded||a?null:o||t(th,{});return r(aD,{onChange:(e,t)=>{e.stopPropagation(),i||A(t)},disabled:s,expanded:E,...M,children:[t(aL,{expandIcon:!a&&I,children:(()=>{let{heading:r,secondaryHeading:i,secondaryHeadingLinkTo:a}=e;return e.renderSummary?e.renderSummary:t(aT,{heading:r,secondaryHeading:i,secondaryHeadingLinkTo:a,expandIcon:I})})()}),t(aR,{children:d?E?l:null:l}),t(ak,{renderActions:p,primaryAction:m,primaryActionLabel:h,primaryActionProps:u,secondaryAction:x,secondaryActionLabel:f,secondaryActionProps:g})]})},aN=a(tu)`
|
|
173
173
|
position: relative;
|
|
174
174
|
// box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
175
175
|
// border-radius: 0 0 2px 2px;
|
|
176
176
|
z-index: 0;
|
|
177
|
-
`,
|
|
177
|
+
`,az=a.div`
|
|
178
178
|
&:not(:first-child) {
|
|
179
179
|
.MuiAccordion-root:first-child:not(.Mui-expanded) {
|
|
180
180
|
border-top: 1px solid rgba(96, 115, 137, 0.12);
|
|
@@ -254,7 +254,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
& ${
|
|
257
|
+
& ${aN} {
|
|
258
258
|
&:last-child {
|
|
259
259
|
&::before {
|
|
260
260
|
content: '';
|
|
@@ -286,23 +286,23 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
`,
|
|
289
|
+
`,aO=e=>{let{children:i,renderActionsInside:a,disable:o}=e,{renderActions:n,...l}=e;return t(az,{hasActions:!!n,renderActionsInside:a,children:r(aP,{...l,...o?{expanded:!1,expandIcon:null}:{},children:[n&&t(aN,{children:n}),i]})})},aH=a.div`
|
|
290
290
|
flex: 1;
|
|
291
291
|
display: flex;
|
|
292
292
|
flex-direction: row;
|
|
293
293
|
flex-wrap: wrap;
|
|
294
|
-
`,
|
|
294
|
+
`,aV=a.div`
|
|
295
295
|
padding-right: 20px;
|
|
296
296
|
flex: 3;
|
|
297
297
|
min-width: 150px;
|
|
298
|
-
`,
|
|
298
|
+
`,aF=a.div`
|
|
299
299
|
border-left: 1px solid ${e=>e.theme.primaryDarkerColor};
|
|
300
300
|
padding: 5px 10px;
|
|
301
301
|
flex: 1;
|
|
302
302
|
min-width: 250px;
|
|
303
|
-
`,
|
|
303
|
+
`,a$=({leftNode:e,rightNode:i})=>r(aH,{children:[t(aV,{children:e}),t(aF,{children:i})]}),aB=a.div`
|
|
304
304
|
${u}
|
|
305
|
-
`,
|
|
305
|
+
`,aW=a.div``,aj=a(tc)`
|
|
306
306
|
border-radius: ${e=>e.borderRadius?e.borderRadius:0}px;
|
|
307
307
|
&& {
|
|
308
308
|
.MuiAccordionSummary-content {
|
|
@@ -323,7 +323,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
323
323
|
margin: 10px 0;
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
|
-
`,
|
|
326
|
+
`,aG=a(tm)`
|
|
327
327
|
&& {
|
|
328
328
|
border-radius: ${e=>e.borderRadius?e.borderRadius:0}px;
|
|
329
329
|
display: flex;
|
|
@@ -331,7 +331,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
331
331
|
padding: 0 24px 5px 24px;
|
|
332
332
|
margin-bottom: 0px;
|
|
333
333
|
}
|
|
334
|
-
`,
|
|
334
|
+
`,aZ=a(tp)`
|
|
335
335
|
&& {
|
|
336
336
|
border-radius: ${e=>e.borderRadius?e.borderRadius:0}px;
|
|
337
337
|
flex-direction: column;
|
|
@@ -340,14 +340,14 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
340
340
|
margin: 0 !important;
|
|
341
341
|
border: transparent !important;
|
|
342
342
|
}
|
|
343
|
-
`,
|
|
343
|
+
`,aU=a(ei)`
|
|
344
344
|
position: absolute;
|
|
345
345
|
right: 0;
|
|
346
346
|
bottom: 0;
|
|
347
347
|
left: 0;
|
|
348
348
|
flex: 1;
|
|
349
349
|
padding: 0px 0px;
|
|
350
|
-
`,
|
|
350
|
+
`,aY=e=>{let{alwaysExpanded:i}=e,[a,o]=aI(!!i||e.isExpanded||!1,e.onChange),n=e.alwaysExpanded?null:t(th,{}),{className:l,children:s,disabled:d=!1,lazy:c=!0,onChange:p,renderActions:m,primaryAction:h,primaryActionLabel:u,primaryActionProps:x,secondaryAction:f,secondaryActionLabel:g,secondaryActionProps:C,renderSummary:b,heading:y,secondaryHeading:v,secondaryHeadingLinkTo:w,dense:M=!1,borderRadius:E,...A}=e;return r(ei,{direction:"column",sx:{position:"relative"},children:[t(aj,{onChange:(e,t)=>{e.stopPropagation(),i||o(t)},disabled:d,expanded:a,dense:M,...A,borderRadius:E,children:t(aG,{expandIcon:n,borderRadius:E,children:r(ei,{flex:1,flexDirection:"column",children:[(()=>{let{heading:r,secondaryHeading:i,secondaryHeadingLinkTo:a}=e;return e.renderSummary?e.renderSummary:t(aT,{heading:r,secondaryHeading:i,secondaryHeadingLinkTo:a,expandIcon:n})})(),t(aZ,{borderRadius:E,children:c?a?s:null:s})]})})}),t(aU,{children:t(ak,{renderActions:m,primaryAction:h,primaryActionLabel:u,primaryActionProps:x,secondaryAction:f,secondaryActionLabel:g,secondaryActionProps:C,borderRadius:E})})]})},aq=a.div`
|
|
351
351
|
.MuiAccordionDetails-root {
|
|
352
352
|
padding: 0;
|
|
353
353
|
|
|
@@ -363,7 +363,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
363
363
|
.MuiAccordionSummary-root {
|
|
364
364
|
padding: 0;
|
|
365
365
|
}
|
|
366
|
-
`,
|
|
366
|
+
`,aX=a.div`
|
|
367
367
|
display: flex;
|
|
368
368
|
justify-content: center;
|
|
369
369
|
align-items: center;
|
|
@@ -373,17 +373,17 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
373
373
|
color: ${e=>e.theme.button.textColor};
|
|
374
374
|
border-radius: 50%;
|
|
375
375
|
background: ${e=>e.$color};
|
|
376
|
-
`,
|
|
376
|
+
`,aK=a(eY)`
|
|
377
377
|
font-size: 14px;
|
|
378
378
|
&:hover {
|
|
379
379
|
text-decoration: underline;
|
|
380
380
|
}
|
|
381
|
-
`,
|
|
381
|
+
`,aQ=({children:e,header:i,legend:a,number:o,status:n,onChange:l,showEdit:s,expanded:d,tag:c,color:p,expandIconInvisible:m=!1})=>{let h=eZ(),{t:u}=eX(),x=p||h.palette.primary.main,f=r(ai,{sx:{alignItems:"center",width:"100%"},children:[!!o&&t(aX,{$color:x,children:n?t(tx,{}):o}),r(ai,{sx:{flexDirection:"column",pl:"10px",pr:"8px"},children:[t(eY,{component:"span",fontSize:"14px",fontWeight:600,sx:{lineHeight:"17px"},children:i||"-"}),a&&t(eY,{component:"span",fontWeight:"200",color:"GrayText",fontSize:"12px",sx:{lineHeight:"15px"},children:a})]}),c&&c,n&&s&&t(aK,{children:u("Change")})]});return t(aq,{children:t(aP,{onChange:l,renderSummary:f,expandIcon:null,isExpanded:d,expandIconInvisible:m,elevation:0,children:e})})},aJ=()=>t("svg",{width:90,height:90,viewBox:"0 0 135 135",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M67.5 0C30.222 0 0 30.222 0 67.5S30.222 135 67.5 135 135 104.778 135 67.5 104.778 0 67.5 0zm29.258 56.086a6.137 6.137 0 10-9.425-7.854L60.946 79.889 47.293 66.23a6.136 6.136 0 00-8.677 8.678l18.41 18.409a6.136 6.136 0 009.05-.412l30.682-36.818z",fill:"#03D69D"})}),a1=a(ee)`
|
|
382
382
|
font-size: 14px;
|
|
383
383
|
&:hover {
|
|
384
384
|
text-decoration: underline;
|
|
385
385
|
}
|
|
386
|
-
`,
|
|
386
|
+
`,a2=a.div`
|
|
387
387
|
display: flex;
|
|
388
388
|
justify-content: center;
|
|
389
389
|
align-items: center;
|
|
@@ -393,13 +393,13 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
393
393
|
color: ${e=>e.theme.button.textColor};
|
|
394
394
|
border-radius: 50%;
|
|
395
395
|
background: ${e=>e.theme.palette.primary.main};
|
|
396
|
-
`,
|
|
396
|
+
`,a0=({number:e,header:i,status:a,legend:o,showEdit:n})=>{let{t:l}=eX();return r(ai,{sx:{alignItems:"center"},children:[t(()=>a?t(a2,{style:{background:"none"},children:t(aJ,{})}):e?t(a2,{children:e}):null,{}),r(ai,{sx:{flexDirection:"column",pl:"10px",pr:"8px"},children:[t(ee,{component:"span",fontSize:"14px",fontWeight:600,sx:{lineHeight:"17px"},children:i||"-"}),o&&t(ee,{component:"span",fontWeight:"200",color:"GrayText",fontSize:"12px",sx:{lineHeight:"15px"},children:o})]}),a&&n&&t(a1,{children:l("Change")})]})},a3=a(tu)`
|
|
397
397
|
position: relative;
|
|
398
398
|
background-color: #fff;
|
|
399
399
|
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
|
|
400
400
|
border-radius: 0 0 2px 2px;
|
|
401
401
|
z-index: 0;
|
|
402
|
-
`,
|
|
402
|
+
`,a4=a.div`
|
|
403
403
|
&:not(:first-child) {
|
|
404
404
|
.MuiAccordion-root:first-child:not(.Mui-expanded) {
|
|
405
405
|
border-top: ${e=>e.borderRadius?"0px":"1px solid rgba(96, 115, 137, 0.12)"};
|
|
@@ -515,7 +515,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
& ${
|
|
518
|
+
& ${a3} {
|
|
519
519
|
&:last-child {
|
|
520
520
|
&::before {
|
|
521
521
|
content: '';
|
|
@@ -553,7 +553,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
${u}
|
|
556
|
-
`,
|
|
556
|
+
`,a5=a(ei)`
|
|
557
557
|
${({isParent:e,noBorder:t})=>e&&`
|
|
558
558
|
padding: 2px 10px;
|
|
559
559
|
justify-content: flex-end;
|
|
@@ -563,68 +563,68 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
563
563
|
bottom: 0;
|
|
564
564
|
border-top: ${t?"0px":"1px solid rgba(96,115,137, 0.12)"};
|
|
565
565
|
`}
|
|
566
|
-
`,
|
|
566
|
+
`,a6=e=>{let{children:i,renderActions:a,renderActionsInside:o,disable:n,borderRadius:l,rootProps:s={},...d}=e;return t(a4,{hasActions:!!a,renderActionsInside:o,borderRadius:l,...s,children:r(aP,{...d,...n?{expanded:!1,expandIcon:null}:{},children:[i,a&&t(a3,{children:a})]})})},a9=a(th)`
|
|
567
567
|
opacity: ${e=>e.hide?"0":"1"};
|
|
568
|
-
`,
|
|
568
|
+
`,a7=a(aP).attrs({expanded:!1,expandIcon:null})`
|
|
569
569
|
.MuiAccordion-root {
|
|
570
570
|
padding: 0;
|
|
571
571
|
}
|
|
572
572
|
.MuiAccordionSummary-root {
|
|
573
573
|
cursor: auto !important;
|
|
574
574
|
}
|
|
575
|
-
`,
|
|
575
|
+
`,a8=l`
|
|
576
576
|
background-color: transparent;
|
|
577
577
|
box-shadow: none;
|
|
578
|
-
`,
|
|
578
|
+
`,oe=a.div`
|
|
579
579
|
&& {
|
|
580
580
|
.MuiAccordion-root {
|
|
581
|
-
${
|
|
581
|
+
${a8}
|
|
582
582
|
|
|
583
583
|
&.MuiExpanded {
|
|
584
|
-
${
|
|
584
|
+
${a8}
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
.MuiAccordionSummary-root {
|
|
588
|
-
${
|
|
588
|
+
${a8}
|
|
589
589
|
|
|
590
590
|
&.MuiExpanded {
|
|
591
|
-
${
|
|
591
|
+
${a8}
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
.MuiAccordionDetails-root {
|
|
595
|
-
${
|
|
595
|
+
${a8}
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
`,
|
|
598
|
+
`,ot=a.div`
|
|
599
599
|
display: flex;
|
|
600
600
|
flex-direction: row;
|
|
601
601
|
flex-wrap: wrap;
|
|
602
602
|
justify-content: space-between;
|
|
603
603
|
align-items: center;
|
|
604
604
|
margin-bottom: 15px;
|
|
605
|
-
`,
|
|
605
|
+
`,or=a.div`
|
|
606
606
|
display: flex;
|
|
607
607
|
flex-direction: row;
|
|
608
608
|
align-items: center;
|
|
609
609
|
justify-content: flex-start;
|
|
610
610
|
flex: 1;
|
|
611
|
-
`,
|
|
611
|
+
`,oi=a.div`
|
|
612
612
|
flex: 1;
|
|
613
613
|
display: flex;
|
|
614
614
|
align-items: center;
|
|
615
615
|
justify-content: flex-end;
|
|
616
|
-
`,
|
|
616
|
+
`,oa=({rightComponent:e,leftComponent:i})=>r(ot,{children:[t(or,{children:i}),t(oi,{children:e})]}),oo=a.span`
|
|
617
617
|
font-size: 14px;
|
|
618
618
|
font-weight: 600;
|
|
619
619
|
text-align: center;
|
|
620
620
|
color: ${e=>e.theme.palette.primary.dark};
|
|
621
|
-
`,
|
|
621
|
+
`,on=a.div`
|
|
622
622
|
margin: 16px 8px;
|
|
623
623
|
|
|
624
624
|
@media (min-width: 600px) {
|
|
625
625
|
margin: 16px;
|
|
626
626
|
}
|
|
627
|
-
`,
|
|
627
|
+
`,ol=({children:e})=>t(on,{children:e}),os=a.div`
|
|
628
628
|
display: flex;
|
|
629
629
|
justify-content: center;
|
|
630
630
|
> span {
|
|
@@ -632,7 +632,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
632
632
|
margin-bottom: 20px;
|
|
633
633
|
padding: 0px 90px;
|
|
634
634
|
}
|
|
635
|
-
`,
|
|
635
|
+
`,od=({children:e})=>t(os,{children:t(eY,{children:e})}),oc=a.div`
|
|
636
636
|
width: 100%;
|
|
637
637
|
display: flex;
|
|
638
638
|
flex-direction: row;
|
|
@@ -642,18 +642,18 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
642
642
|
font-weight: 600;
|
|
643
643
|
font-size: 18px;
|
|
644
644
|
height: 200px;
|
|
645
|
-
`,
|
|
645
|
+
`,op=({children:e})=>t(oc,{children:e}),om=()=>{let{t:e}=eX();return r(ai,{sx:{alignItems:"center",gap:.5},children:[t(tt,{fontSize:"small",color:"secondary"}),t(ee,{variant:"body2",color:"secondary",textAlign:"center",children:e("Your data is encrypted")})]})},oh=({children:e,...r})=>t(ei,{direction:"row",spacing:1,...r,children:e}),ou=a(tg)`
|
|
646
646
|
padding: 4px;
|
|
647
647
|
display: flex;
|
|
648
648
|
flex-direction: row;
|
|
649
649
|
justify-content: center;
|
|
650
|
-
`,
|
|
650
|
+
`,ox=a.span`
|
|
651
651
|
margin-left: 10px;
|
|
652
652
|
display: flex;
|
|
653
|
-
`,
|
|
653
|
+
`,of=e=>{let{items:i,isVisible:a=!1,Heading:o}=e,n=eZ();if(!a)return null;let l=i.filter(e=>!e.filter||e.filter());return 0===l.length?null:r(tf,{p:1,position:"fixed",bottom:0,left:0,width:"100vw",zIndex:n.zIndex.drawer,bgcolor:"rgb(255,255,255, 0.9)",borderTop:"1px solid rgba(0, 0, 0, 0.12)",boxShadow:"0px -2px 3px 0px rgb(0, 0, 0, 0.12)",children:[o??null,t(ou,{children:t(oh,{children:l.map((e,i)=>r(i0,{variant:"contained",color:e?.color||"primary",size:"small",onClick:e.onClick,"data-testid":e?.dataTestId||e?.label,children:[e.label,"string"==typeof e.icon?t(ox,{children:t(i2,{children:e.icon})}):t(ox,{children:e.icon})]},i))})})]})},og=a.div`
|
|
654
654
|
font-size: 16px;
|
|
655
655
|
font-weight: 600;
|
|
656
|
-
`,
|
|
656
|
+
`,oC=a(tw)`
|
|
657
657
|
& .MuiDrawer-paper {
|
|
658
658
|
display: flex;
|
|
659
659
|
flex-direction: column;
|
|
@@ -662,41 +662,41 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
662
662
|
width: 85%;
|
|
663
663
|
max-width: 550px;
|
|
664
664
|
}
|
|
665
|
-
`,
|
|
665
|
+
`,ob=a(ei)`
|
|
666
666
|
border-bottom: 1px solid rgba(80, 80, 80, 0.12);
|
|
667
|
-
`,
|
|
667
|
+
`,oy=a(ei)`
|
|
668
668
|
border-top: 1px solid rgba(80, 80, 80, 0.12);
|
|
669
|
-
`,
|
|
669
|
+
`,ov=({children:e,isOpen:i,onRequestClose:a,onClear:o,onApply:n,filtersTitle:l,showFooterButtons:s=!0,sx:d={}})=>{let{t:c}=eX();return r(oC,{"data-testid":"filter-drawer",anchor:"right",open:i,onClose:a,sx:d,children:[r(ob,{flexDirection:"row",alignItems:"center",justifyContent:"space-between",pr:"15px",pl:"15px",children:[t(og,{children:l||c("Filter")}),t(tM,{onClick:a,size:"large",children:t(tv,{})})]}),t(ai,{sx:{flexDirection:"column",overflow:"auto",pr:"15px",pl:"15px",flexGrow:2},children:e}),s&&t(oy,{flexDirection:"row",justifyContent:"center",p:"8px",children:r(oh,{children:[t(i0,{variant:"text",onClick:o,color:"secondary",children:c("Clear Filters")}),t(i0,{variant:"text",onClick:n,children:c("Apply")})]})})]})},ow={stringify:e=>tL.stringify(e,{arrayFormat:"index"}),parse:e=>tL.parse(e,{arrayFormat:"index"})},oM=(e,t)=>{if("quantity"===t)return Number.parseInt(e,10);if(["metatags","flags","chargePaid","search","next"].some(e=>t.includes(e)))return e;if(e&&tR(e,"YYYY-MM-DDTHH:mm:ss.sssZ",!0).isValid()){let t=tR(e);return t.isValid?t.toISOString():e}return e&&"string"==typeof e?e.indexOf("true")>-1||!(e.indexOf("false")>-1)&&e:e},oE=e=>e?ow.parse(e.search.substr(1)):{},oA=()=>{var e;let t=Object.entries(tR((e=oE(location)).createdAt).isValid()?e:(delete e.createdAt,{...e,"createdAt.end":e["createdAt.end"]||e["createdAt.begin"]})).map(([e,t])=>({[e]:oM(t,e)})).reduce((e,t)=>({...e,...t}),{});return tE.object(t)},oI=(e=[],t=["search","comment","bankProviderCode","bankCode"])=>{let r=oA(),i=e.map(e=>{let i=oM(tE.pick(e,r),e);if("boolean"==typeof i||null===i||i)return"boolean"!=typeof i&&Number(i)&&-1===t.indexOf(e)&&(i=Number(i)),"object"==typeof i&&null!==i&&Object.keys(i).map(e=>{Number(i[e])&&parseFloat(i[e])&&(i[e]=parseFloat(i[e]))}),{[e]:i}}).reduce((e,t)=>({...e,...t}),{});return i?tE.object(i):{}},ok=e=>e.reduce((e,t)=>({...e,[t?.key||t?.field]:{encode:t?.encode||tD,decode:t?.decode||tk}}),{quantity:{encode:tS,decode:tA},search:{encode:tD,decode:tk}}),oS=(e,t)=>{if(!e)return e;if(e instanceof tR||e&&tR(e,"YYYY-MM-DDTHH:mm:ss.sssZ",!0).isValid()){let t=tR(e);return t._isValid?t.toISOString():e}if(Array.isArray(e)){if("orderBy"===t){let t=[];for(let r of e){if(r.hasOwnProperty("label")){t.push({direction:r.value.direction,sort:r.value.sort});continue}t.push({direction:r.direction,sort:r.sort})}return t}return e}return"object"==typeof e?e?.label&&(e.value||"boolean"==typeof e.value)?e.value:Object.keys(e).reduce((t,r)=>({...t,[r]:oS(e[r])}),{}):e},oT=e=>Object.entries(e).filter(([e,t])=>null===t||("tags"===e&&"string"==typeof t?t.split(","):Array.isArray(t)||"string"==typeof t?!!t.length:"boolean"==typeof t||!!t)).reduce((e,[t,r])=>({...e,[t]:oS(r,t)}),{}),{stringify:oD}=ow,oR=i=>{let{filterProp:a="filters",useQueryString:o=!0,getFragmentVariables:n=()=>({filters:{}}),stateFilters:l,onCloseFilter:s,refetch:d,handleLoading:c,updateFilter:p,filters:m,useDecodeEncode:h=!1,shouldUpdateFilter:u=null,setShouldUpdateFilter:x=()=>null,filtersProps:f={}}=i,g=es(),C=ed(),b=m.reduce((e,t)=>"section"in t?[...e,...t.fields]:[...e,t],[]),y=ok(b),v=ty({initialValues:eA(()=>{let e=b.reduce((e,t)=>{let r=Array.isArray(t?.field)?t.field.map(e=>({[e]:void 0})).reduce((e,t)=>({...e,...t}),{}):{[t.field]:void 0};return{...e,...r}},{}),{filters:t}=n();if(o){if(h)return tI(y,oE(C));let r=oI(Object.keys(tE.dot(e)));return{...e,...t||{},...r}}return{...e,...t||{}}},[]),onSubmit:e=>{let{quantity:t,search:r,queryParams:i}=oA(),{pathname:l}=C,{...m}=e,u=oT(m);if(u?.value?.min&&delete u.min,u?.value?.max&&delete u.max,o)if(h){let i=tT(y,{...e,search:r,quantity:t});g.replace({pathname:l,search:oD(i)})}else{let e=oD({...i||{},...tE.dot(u),quantity:t,search:r});g.replace({pathname:l,search:e})}else p({...u});if(s(),d)if(n){let e=()=>{};if(o)e=()=>({...n()});else{let t=n();e=()=>({...t,[a]:{...t[a]||{},...u}})}c?.(!0),d(e,null,()=>c?.(!1))}else{let e={[a]:{...u},first:t||30,search:r};c?.(!0),d(t=>({...t,...e,[a]:{...e[a]||{},...u}}),null,()=>c?.(!1))}}}),{resetForm:w,setFieldValue:M,values:E}=v;ew(()=>{u&&(M(u,void 0),x(null))},[u]);let A=(e,r)=>{let{component:i,props:a={},getProps:o}=e;return i?t(i,{...o?o(f):a,values:E,setFieldValue:M},`${r}:${a.name}`):null};return{formikbag:v,resetFilters:()=>{if(o){let{pathname:e}=C,{quantity:t,search:r}=oA(),i=oD({quantity:t,search:r});g.replace({pathname:e,search:i})}else p({search:l.search});w({}),s(),d&&(c?.(!0),d(e=>({...e,...(e=>{if(n)return n(e);if(o){if(h){let{quantity:t,search:r,...i}=tI(y,oE(C));return{quantity:parseInt(t,10)||10,search:e?void 0:r,[a]:e?{}:i}}let{quantity:t,search:r,orderBy:i}=oA();return{quantity:parseInt(t,10)||10,search:e?void 0:r,orderBy:e?void 0:i,[a]:e?{}:oI()}}return{search:e?void 0:l.search,[a]:e?{}:{...l},first:10}})(!0)}),null,()=>c?.(!1)))},renderFilterInput:(i,a)=>{if(i.fields)return r(e,{children:[t(ee,{fontWeight:"bold",children:i.section}),t(ai,{sx:{flexDirection:"column"},children:i.fields.map((e,t)=>A(e,t))})]});return A(i,a)}}},oL=e=>{let{onCloseFilter:r,filters:i,isOpen:a,filtersTitle:o}=e,{formikbag:n,resetFilters:l,renderFilterInput:s}=oR(e),{handleSubmit:d}=n;return t(tC,{value:n,children:t(ov,{isOpen:a,onRequestClose:r,onApply:d,onClear:l,filtersTitle:o,children:i.map((e,t)=>s(e,t))})})},o_=e=>{let{formikbag:r,isOpen:i,resetFilters:a,filters:o,renderFilterInput:n,onCloseFilter:l}=e,{handleSubmit:s}=r;return t(tC,{value:r,children:t(ov,{isOpen:i,onRequestClose:l,onApply:s,onClear:a,children:o.map((e,t)=>n(e,t))})})},oP=({title:e,subTitle:i})=>{let[a,o]=eS(!1);return r(g,{sx:{my:1},children:[r(j,{onMouseOver:()=>{o(!0)},onMouseOut:()=>{o(!1)},onClick:()=>{window.location.hash=e},spacing:.5,direction:"row",sx:{cursor:"pointer"},children:[t(eY,{fontWeight:eZ().typography.fontWeightBold,id:e,children:e}),a&&t(t_,{fontSize:"small",color:"disabled"})]}),"string"==typeof i?t(eY,{children:i}):i]})},oN=(e,t)=>{let r=!1;"#"==e[0]&&(e=e.slice(1),r=!0);let i=parseInt(e,16),a=(i>>16)+t;a>255?a=255:a<0&&(a=0);let o=(i>>8&255)+t;o>255?o=255:o<0&&(o=0);let n=(255&i)+t;return n>255?n=255:n<0&&(n=0),(r?"#":"")+(n|o<<8|a<<16).toString(16)},oz=e=>e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(e,t,r,i)=>"#"+t+t+r+r+i+i).substring(1).match(/.{2}/g).map(e=>parseInt(e,16)),oO=(e,t)=>{let r=oz(e).join(",");return t?`rgba(${r}, ${t})`:`rgba(${r})`},oH=(e,t,r)=>Math.min(Math.max(e,t),r),oV=(e,t)=>{let r=tN(e),i=Object.entries(t).map(([e,t])=>{let i=tN(t);return[e,e=>{var t;let a=tN(e),o=a.hue+(i.hue-r.hue),n=a.lightness+(i.lightness-r.lightness),l=a.saturation+(i.saturation-r.saturation);return tO(tz(tP({hue:(t=Math.round(o))<0?360-Math.abs(t):t>360?0+(t-360):t,lightness:oH(Number(n.toFixed(2)),0,1),saturation:oH(Number(l.toFixed(2)),0,1)})))}]});return e=>i.map(([t,r])=>[t,r(e)]).reduce((e,t)=>({...e,[t[0]]:t[1]}),{})},oF=a(tf)`
|
|
670
670
|
border: none;
|
|
671
671
|
height: 1px;
|
|
672
|
-
background-color: ${e=>
|
|
672
|
+
background-color: ${e=>oO(e.theme.primaryDarkerColor,e.opacity)};
|
|
673
673
|
width: 100%;
|
|
674
|
-
`;aV.defaultProps={opacity:.12,as:"hr"};let aF=aV,a$=({children:e,transitionTimeout:i=350,placement:o="top-start",render:a,...n})=>{let[l,s]=eS(!1),d=eI(null);return r("div",{...{onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1)},children:[r(g,{sx:{position:"relative",cursor:"pointer"},children:[t(g,{sx:{position:"absolute",top:0,right:0},ref:d}),e]}),t(B,{open:l,anchorEl:d.current,placement:o,transition:!0,...n,children:({TransitionProps:e})=>t(eL,{...e,timeout:i,children:a})})]})},aB=({width:e,height:i})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:i,viewBox:"0 0 22 15",fill:"none",children:[t("rect",{width:"22",height:"15",fill:"#1E1E1E"}),t("path",{d:"M-2921 -928H2997V-940H-2921V-928ZM3104 -821V1078H3116V-821H3104ZM2997 1185H-2921V1197H2997V1185ZM-3028 1078V-821H-3040V1078H-3028ZM-2921 1185C-2980.09 1185 -3028 1137.09 -3028 1078H-3040C-3040 1143.72 -2986.72 1197 -2921 1197V1185ZM3104 1078C3104 1137.09 3056.09 1185 2997 1185V1197C3062.72 1197 3116 1143.72 3116 1078H3104ZM2997 -928C3056.09 -928 3104 -880.094 3104 -821H3116C3116 -886.722 3062.72 -940 2997 -940V-928ZM-2921 -940C-2986.72 -940 -3040 -886.722 -3040 -821H-3028C-3028 -880.094 -2980.09 -928 -2921 -928V-940Z",fill:"white"}),t("path",{d:"M-2781 -681C-2781 -682.105 -2780.1 -683 -2779 -683H132C133.104 -683 134 -682.105 134 -681V938C134 939.105 133.104 940 132 940H-2779C-2780.1 940 -2781 939.105 -2781 938V-681Z",fill:"#444444"}),t("path",{d:"M-2779 -682H132V-684H-2779V-682ZM133 -681V938H135V-681H133ZM132 939H-2779V941H132V939ZM-2780 938V-681H-2782V938H-2780ZM-2779 939C-2779.55 939 -2780 938.552 -2780 938H-2782C-2782 939.657 -2780.66 941 -2779 941V939ZM133 938C133 938.552 132.552 939 132 939V941C133.657 941 135 939.657 135 938H133ZM132 -682C132.552 -682 133 -681.552 133 -681H135C135 -682.657 133.657 -684 132 -684V-682ZM-2779 -684C-2780.66 -684 -2782 -682.657 -2782 -681H-2780C-2780 -681.552 -2779.55 -682 -2779 -682V-684Z",fill:"white","fill-opacity":"0.1"}),t("rect",{width:"665",height:"1487",transform:"translate(-580 -598)",fill:"white"}),t("path",{d:"M-238.5 -15C-238.5 -16.933 -236.933 -18.5 -235 -18.5H30C31.933 -18.5 33.5 -16.933 33.5 -15V33C33.5 34.933 31.933 36.5 30 36.5H-235C-236.933 36.5 -238.5 34.933 -238.5 33V-15Z",stroke:"black","stroke-opacity":"0.23"}),t("rect",{y:"3",width:"19",height:"12",rx:"1",fill:"#CDCDCD"}),t("rect",{y:"4.99951",width:"19",height:"2",fill:"#999999"}),t("rect",{x:"1",y:"8.49951",width:"17",height:"1.5",rx:"0.5",fill:"white"}),t("circle",{cx:"16.3975",cy:"5.39746",r:"5.39746",fill:"#494949"}),t("path",{d:"M19.6942 7.24938C19.4831 7.24938 19.27 7.22059 19.0551 7.16302C18.8402 7.10161 18.6444 7.00757 18.4679 6.88091C18.4103 6.84637 18.3719 6.80223 18.3527 6.74849C18.3335 6.69476 18.3297 6.64294 18.3412 6.59305C18.3527 6.53931 18.3757 6.49517 18.4103 6.46063C18.4487 6.42609 18.4947 6.40689 18.5485 6.40306C18.6022 6.39538 18.6598 6.41073 18.7212 6.44911C18.8709 6.54507 19.0244 6.618 19.1818 6.66789C19.343 6.71779 19.5099 6.74274 19.6826 6.74274C19.8592 6.74274 20.0108 6.71011 20.1375 6.64486C20.2641 6.57961 20.3601 6.48942 20.4253 6.37427C20.4944 6.25529 20.529 6.11711 20.529 5.95974C20.529 5.71794 20.458 5.52027 20.3159 5.36674C20.1739 5.21322 19.9763 5.13645 19.7229 5.13645C19.5771 5.13645 19.4408 5.16332 19.3142 5.21705C19.1875 5.26695 19.0666 5.35139 18.9515 5.47038C18.9246 5.50108 18.8881 5.52987 18.8421 5.55673C18.7999 5.57976 18.7519 5.59128 18.6981 5.59128C18.6175 5.59128 18.5561 5.57017 18.5139 5.52795C18.4717 5.48573 18.4506 5.42815 18.4506 5.35523V3.40351C18.4506 3.31907 18.4736 3.25382 18.5197 3.20776C18.5657 3.1617 18.631 3.13867 18.7154 3.13867H20.6441C20.7286 3.13867 20.7938 3.15978 20.8399 3.202C20.8859 3.24422 20.9089 3.30563 20.9089 3.38624C20.9089 3.46684 20.8859 3.53017 20.8399 3.57623C20.7938 3.61845 20.7286 3.63956 20.6441 3.63956H19.0321V5.10191H18.8709C18.9745 4.95606 19.1108 4.84283 19.2796 4.76223C19.4524 4.68163 19.6423 4.64133 19.8496 4.64133C20.1068 4.64133 20.3294 4.69506 20.5175 4.80253C20.7055 4.91 20.8514 5.06161 20.955 5.25736C21.0586 5.44927 21.1105 5.6738 21.1105 5.93096C21.1105 6.19196 21.0529 6.42225 20.9377 6.62183C20.8226 6.81758 20.6595 6.97111 20.4484 7.08242C20.2373 7.19372 19.9859 7.24938 19.6942 7.24938Z",fill:"white"}),t("path",{d:"M16.1154 7.24846C15.9004 7.24846 15.6817 7.21967 15.459 7.1621C15.2364 7.10069 15.0426 7.01049 14.8776 6.89151C14.8162 6.85313 14.7739 6.80707 14.7509 6.75333C14.7317 6.69576 14.7279 6.64394 14.7394 6.59789C14.7509 6.54799 14.7739 6.50577 14.8085 6.47123C14.8469 6.43668 14.8929 6.41749 14.9466 6.41365C15.0004 6.40598 15.0599 6.42133 15.1251 6.45971C15.2902 6.5595 15.4514 6.63243 15.6087 6.67849C15.7661 6.72071 15.9292 6.74182 16.0981 6.74182C16.2823 6.74182 16.4378 6.71495 16.5644 6.66122C16.6911 6.60748 16.7851 6.5288 16.8466 6.42517C16.9118 6.32154 16.9444 6.19679 16.9444 6.05094C16.9444 5.83217 16.8715 5.66904 16.7257 5.56157C16.5836 5.45027 16.3764 5.39461 16.1039 5.39461H15.7124C15.6241 5.39461 15.5569 5.3735 15.5109 5.33128C15.4648 5.28522 15.4418 5.22189 15.4418 5.14129C15.4418 5.06453 15.4648 5.00504 15.5109 4.96281C15.5569 4.91676 15.6241 4.89373 15.7124 4.89373H16.0463C16.2113 4.89373 16.3514 4.86686 16.4666 4.81313C16.5817 4.75555 16.67 4.67687 16.7314 4.57708C16.7967 4.47344 16.8293 4.3487 16.8293 4.20285C16.8293 4.0071 16.764 3.85741 16.6335 3.75378C16.5069 3.64631 16.3207 3.59258 16.0751 3.59258C15.9177 3.59258 15.768 3.61369 15.626 3.65591C15.4878 3.69813 15.3439 3.77297 15.1942 3.88044C15.1366 3.91883 15.081 3.9361 15.0273 3.93226C14.9774 3.92458 14.9332 3.90539 14.8948 3.87469C14.8603 3.84014 14.8353 3.79792 14.82 3.74803C14.8085 3.69813 14.8123 3.64631 14.8315 3.59258C14.8507 3.53884 14.8891 3.49279 14.9466 3.4544C15.1079 3.33542 15.2902 3.24522 15.4936 3.18381C15.697 3.11856 15.9062 3.08594 16.1211 3.08594C16.3898 3.08594 16.6201 3.12816 16.812 3.2126C17.0078 3.29704 17.1555 3.41794 17.2553 3.57531C17.359 3.73267 17.4108 3.92075 17.4108 4.13952C17.4108 4.30456 17.3801 4.45425 17.3187 4.58859C17.2572 4.72293 17.169 4.83807 17.0538 4.93403C16.9425 5.02614 16.8063 5.09139 16.6451 5.12978V5.06645C16.9252 5.1125 17.1421 5.22765 17.2956 5.41188C17.4492 5.59228 17.5259 5.81873 17.5259 6.09124C17.5259 6.32921 17.4683 6.53647 17.3532 6.71303C17.2419 6.88575 17.0807 7.01817 16.8696 7.11028C16.6585 7.2024 16.4071 7.24846 16.1154 7.24846Z",fill:"white"}),t("path",{d:"M12.2588 7.09919C12.1782 7.09919 12.1149 7.07616 12.0688 7.0301C12.0228 6.98405 11.9998 6.92263 11.9998 6.84587C11.9998 6.76527 12.0228 6.70386 12.0688 6.66164C12.1149 6.61942 12.1782 6.59831 12.2588 6.59831H12.9612V3.53543H13.2606L12.42 4.07086C12.3586 4.1054 12.3011 4.11883 12.2473 4.11116C12.1974 4.10348 12.1533 4.08237 12.1149 4.04783C12.0804 4.01328 12.0554 3.97106 12.0401 3.92117C12.0285 3.87127 12.0324 3.81945 12.0516 3.76572C12.0746 3.71198 12.1149 3.66785 12.1725 3.6333L12.967 3.13242C13.0322 3.09404 13.0936 3.06333 13.1512 3.0403C13.2126 3.01343 13.2702 3 13.3239 3C13.3892 3 13.4429 3.01919 13.4851 3.05757C13.5312 3.09212 13.5542 3.15161 13.5542 3.23605V6.59831H14.199C14.2835 6.59831 14.3487 6.61942 14.3948 6.66164C14.4408 6.70386 14.4639 6.76527 14.4639 6.84587C14.4639 6.92647 14.4408 6.9898 14.3948 7.03586C14.3487 7.07808 14.2835 7.09919 14.199 7.09919H12.2588Z",fill:"white"})]}),aW=({size:e,color:i,viewBox:o="0 0 103 103"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:o,fill:i,children:[t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.875 65.4105L12.875 51.4999C12.875 49.1297 14.7964 47.2083 17.1667 47.2083C19.5369 47.2083 21.4583 49.1297 21.4583 51.4999L21.4583 65.2333C21.4583 68.9094 21.4617 71.4084 21.6195 73.3401C21.7732 75.2216 22.0519 76.1838 22.3939 76.855C23.2168 78.4701 24.5299 79.7831 26.1449 80.6061C26.8161 80.9481 27.7783 81.2267 29.6599 81.3804C31.5915 81.5383 34.0905 81.5416 37.7667 81.5416H65.2333C68.9095 81.5416 71.4085 81.5382 73.3401 81.3804C75.2217 81.2267 76.1839 80.9481 76.8551 80.6061C78.4702 79.7831 79.7832 78.4701 80.6061 76.855C80.9482 76.1838 81.2268 75.2216 81.3805 73.34C81.5383 71.4084 81.5417 68.9094 81.5417 65.2333L81.5417 51.4999C81.5417 49.1297 83.4631 47.2083 85.8333 47.2083C88.2036 47.2083 90.125 49.1297 90.125 51.4999V65.4098C90.1251 68.8648 90.1251 71.7162 89.9353 74.039C89.7382 76.4513 89.3152 78.6689 88.254 80.7518C86.6081 83.9819 83.982 86.608 80.7518 88.2539C78.6689 89.3152 76.4514 89.7382 74.0391 89.9353C71.7165 90.125 68.8652 90.125 65.4106 90.1249H37.5894C34.1348 90.125 31.2835 90.125 28.9609 89.9353C26.5486 89.7382 24.3311 89.3152 22.2482 88.2539C19.0181 86.608 16.3919 83.9819 14.7461 80.7518C13.6848 78.6689 13.2618 76.4513 13.0647 74.039C12.8749 71.7164 12.8749 68.8652 12.875 65.4105Z"}),t("path",{d:"M35.591 54.5347C33.915 52.8587 33.915 50.1413 35.591 48.4653C37.267 46.7893 39.9843 46.7893 41.6603 48.4653L47.209 54.014V17.1667C47.209 14.7964 49.1304 12.875 51.5007 12.875C53.8709 12.875 55.7923 14.7964 55.7923 17.1667V54.014L61.341 48.4653C63.017 46.7893 65.7343 46.7893 67.4103 48.4653C69.0863 50.1413 69.0863 52.8587 67.4103 54.5347L54.5353 67.4097C52.8593 69.0857 50.142 69.0857 48.466 67.4097L35.591 54.5347Z"})]}),aj=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M0 24C0 10.7452 10.7452 0 24 0V0C37.2548 0 48 10.7452 48 24V24C48 37.2548 37.2548 48 24 48V48C10.7452 48 0 37.2548 0 24V24Z",fill:"#EB5757"}),t("path",{d:"M16.7472 31.9423C16.5639 31.7589 16.4609 31.5103 16.4609 31.251C16.4609 30.9917 16.5639 30.7431 16.7472 30.5597L22.9699 24.337L16.7472 18.1142C16.5691 17.9298 16.4706 17.6828 16.4728 17.4265C16.475 17.1701 16.5778 16.9248 16.7591 16.7435C16.9404 16.5623 17.1857 16.4594 17.442 16.4572C17.6984 16.455 17.9454 16.5535 18.1298 16.7316L24.3526 22.9544L30.5753 16.7316C30.7597 16.5535 31.0067 16.455 31.2631 16.4572C31.5194 16.4594 31.7647 16.5623 31.946 16.7435C32.1273 16.9248 32.2301 17.1701 32.2323 17.4265C32.2346 17.6828 32.136 17.9298 31.9579 18.1142L25.7352 24.337L31.9579 30.5597C32.136 30.7441 32.2346 30.9911 32.2323 31.2475C32.2301 31.5038 32.1273 31.7491 31.946 31.9304C31.7647 32.1117 31.5194 32.2145 31.2631 32.2167C31.0067 32.219 30.7597 32.1204 30.5753 31.9423L24.3526 25.7196L18.1298 31.9423C17.9465 32.1256 17.6978 32.2286 17.4385 32.2286C17.1793 32.2286 16.9306 32.1256 16.7472 31.9423Z",fill:"white"})]}),aG=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{width:"48",height:"48",rx:"24",fill:"#F2771E"}),t("path",{d:"M15 22C15 22.9193 15.1811 23.8295 15.5328 24.6788C15.8846 25.5281 16.4002 26.2997 17.0503 26.9497C17.7003 27.5998 18.4719 28.1154 19.3212 28.4672C20.1705 28.8189 21.0807 29 22 29C22.9193 29 23.8295 28.8189 24.6788 28.4672C25.5281 28.1154 26.2997 27.5998 26.9497 26.9497C27.5998 26.2997 28.1154 25.5281 28.4672 24.6788C28.8189 23.8295 29 22.9193 29 22C29 21.0807 28.8189 20.1705 28.4672 19.3212C28.1154 18.4719 27.5998 17.7003 26.9497 17.0503C26.2997 16.4002 25.5281 15.8846 24.6788 15.5328C23.8295 15.1811 22.9193 15 22 15C21.0807 15 20.1705 15.1811 19.3212 15.5328C18.4719 15.8846 17.7003 16.4002 17.0503 17.0503C16.4002 17.7003 15.8846 18.4719 15.5328 19.3212C15.1811 20.1705 15 21.0807 15 22ZM33 33L27 27Z",fill:"#F2771E"}),t("path",{d:"M33 33L27 27M15 22C15 22.9193 15.1811 23.8295 15.5328 24.6788C15.8846 25.5281 16.4002 26.2997 17.0503 26.9497C17.7003 27.5998 18.4719 28.1154 19.3212 28.4672C20.1705 28.8189 21.0807 29 22 29C22.9193 29 23.8295 28.8189 24.6788 28.4672C25.5281 28.1154 26.2997 27.5998 26.9497 26.9497C27.5998 26.2997 28.1154 25.5281 28.4672 24.6788C28.8189 23.8295 29 22.9193 29 22C29 21.0807 28.8189 20.1705 28.4672 19.3212C28.1154 18.4719 27.5998 17.7003 26.9497 17.0503C26.2997 16.4002 25.5281 15.8846 24.6788 15.5328C23.8295 15.1811 22.9193 15 22 15C21.0807 15 20.1705 15.1811 19.3212 15.5328C18.4719 15.8846 17.7003 16.4002 17.0503 17.0503C16.4002 17.7003 15.8846 18.4719 15.5328 19.3212C15.1811 20.1705 15 21.0807 15 22Z",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),aZ=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{width:"48",height:"48",rx:"24",fill:"#03D69D"}),t("path",{d:"M16.4531 24L21.9388 29.4857L31.8817 18.5143",stroke:"white",strokeWidth:"5",strokeLinecap:"round"})]}),aU=o.svg`
|
|
674
|
+
`;oF.defaultProps={opacity:.12,as:"hr"};let o$=oF,oB=({children:e,transitionTimeout:i=350,placement:a="top-start",render:o,...n})=>{let[l,s]=eS(!1),d=ek(null);return r("div",{...{onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1)},children:[r(g,{sx:{position:"relative",cursor:"pointer"},children:[t(g,{sx:{position:"absolute",top:0,right:0},ref:d}),e]}),t(B,{open:l,anchorEl:d.current,placement:a,transition:!0,...n,children:({TransitionProps:e})=>t(eL,{...e,timeout:i,children:o})})]})},oW=({width:e,height:i})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:i,viewBox:"0 0 22 15",fill:"none",children:[t("rect",{width:"22",height:"15",fill:"#1E1E1E"}),t("path",{d:"M-2921 -928H2997V-940H-2921V-928ZM3104 -821V1078H3116V-821H3104ZM2997 1185H-2921V1197H2997V1185ZM-3028 1078V-821H-3040V1078H-3028ZM-2921 1185C-2980.09 1185 -3028 1137.09 -3028 1078H-3040C-3040 1143.72 -2986.72 1197 -2921 1197V1185ZM3104 1078C3104 1137.09 3056.09 1185 2997 1185V1197C3062.72 1197 3116 1143.72 3116 1078H3104ZM2997 -928C3056.09 -928 3104 -880.094 3104 -821H3116C3116 -886.722 3062.72 -940 2997 -940V-928ZM-2921 -940C-2986.72 -940 -3040 -886.722 -3040 -821H-3028C-3028 -880.094 -2980.09 -928 -2921 -928V-940Z",fill:"white"}),t("path",{d:"M-2781 -681C-2781 -682.105 -2780.1 -683 -2779 -683H132C133.104 -683 134 -682.105 134 -681V938C134 939.105 133.104 940 132 940H-2779C-2780.1 940 -2781 939.105 -2781 938V-681Z",fill:"#444444"}),t("path",{d:"M-2779 -682H132V-684H-2779V-682ZM133 -681V938H135V-681H133ZM132 939H-2779V941H132V939ZM-2780 938V-681H-2782V938H-2780ZM-2779 939C-2779.55 939 -2780 938.552 -2780 938H-2782C-2782 939.657 -2780.66 941 -2779 941V939ZM133 938C133 938.552 132.552 939 132 939V941C133.657 941 135 939.657 135 938H133ZM132 -682C132.552 -682 133 -681.552 133 -681H135C135 -682.657 133.657 -684 132 -684V-682ZM-2779 -684C-2780.66 -684 -2782 -682.657 -2782 -681H-2780C-2780 -681.552 -2779.55 -682 -2779 -682V-684Z",fill:"white","fill-opacity":"0.1"}),t("rect",{width:"665",height:"1487",transform:"translate(-580 -598)",fill:"white"}),t("path",{d:"M-238.5 -15C-238.5 -16.933 -236.933 -18.5 -235 -18.5H30C31.933 -18.5 33.5 -16.933 33.5 -15V33C33.5 34.933 31.933 36.5 30 36.5H-235C-236.933 36.5 -238.5 34.933 -238.5 33V-15Z",stroke:"black","stroke-opacity":"0.23"}),t("rect",{y:"3",width:"19",height:"12",rx:"1",fill:"#CDCDCD"}),t("rect",{y:"4.99951",width:"19",height:"2",fill:"#999999"}),t("rect",{x:"1",y:"8.49951",width:"17",height:"1.5",rx:"0.5",fill:"white"}),t("circle",{cx:"16.3975",cy:"5.39746",r:"5.39746",fill:"#494949"}),t("path",{d:"M19.6942 7.24938C19.4831 7.24938 19.27 7.22059 19.0551 7.16302C18.8402 7.10161 18.6444 7.00757 18.4679 6.88091C18.4103 6.84637 18.3719 6.80223 18.3527 6.74849C18.3335 6.69476 18.3297 6.64294 18.3412 6.59305C18.3527 6.53931 18.3757 6.49517 18.4103 6.46063C18.4487 6.42609 18.4947 6.40689 18.5485 6.40306C18.6022 6.39538 18.6598 6.41073 18.7212 6.44911C18.8709 6.54507 19.0244 6.618 19.1818 6.66789C19.343 6.71779 19.5099 6.74274 19.6826 6.74274C19.8592 6.74274 20.0108 6.71011 20.1375 6.64486C20.2641 6.57961 20.3601 6.48942 20.4253 6.37427C20.4944 6.25529 20.529 6.11711 20.529 5.95974C20.529 5.71794 20.458 5.52027 20.3159 5.36674C20.1739 5.21322 19.9763 5.13645 19.7229 5.13645C19.5771 5.13645 19.4408 5.16332 19.3142 5.21705C19.1875 5.26695 19.0666 5.35139 18.9515 5.47038C18.9246 5.50108 18.8881 5.52987 18.8421 5.55673C18.7999 5.57976 18.7519 5.59128 18.6981 5.59128C18.6175 5.59128 18.5561 5.57017 18.5139 5.52795C18.4717 5.48573 18.4506 5.42815 18.4506 5.35523V3.40351C18.4506 3.31907 18.4736 3.25382 18.5197 3.20776C18.5657 3.1617 18.631 3.13867 18.7154 3.13867H20.6441C20.7286 3.13867 20.7938 3.15978 20.8399 3.202C20.8859 3.24422 20.9089 3.30563 20.9089 3.38624C20.9089 3.46684 20.8859 3.53017 20.8399 3.57623C20.7938 3.61845 20.7286 3.63956 20.6441 3.63956H19.0321V5.10191H18.8709C18.9745 4.95606 19.1108 4.84283 19.2796 4.76223C19.4524 4.68163 19.6423 4.64133 19.8496 4.64133C20.1068 4.64133 20.3294 4.69506 20.5175 4.80253C20.7055 4.91 20.8514 5.06161 20.955 5.25736C21.0586 5.44927 21.1105 5.6738 21.1105 5.93096C21.1105 6.19196 21.0529 6.42225 20.9377 6.62183C20.8226 6.81758 20.6595 6.97111 20.4484 7.08242C20.2373 7.19372 19.9859 7.24938 19.6942 7.24938Z",fill:"white"}),t("path",{d:"M16.1154 7.24846C15.9004 7.24846 15.6817 7.21967 15.459 7.1621C15.2364 7.10069 15.0426 7.01049 14.8776 6.89151C14.8162 6.85313 14.7739 6.80707 14.7509 6.75333C14.7317 6.69576 14.7279 6.64394 14.7394 6.59789C14.7509 6.54799 14.7739 6.50577 14.8085 6.47123C14.8469 6.43668 14.8929 6.41749 14.9466 6.41365C15.0004 6.40598 15.0599 6.42133 15.1251 6.45971C15.2902 6.5595 15.4514 6.63243 15.6087 6.67849C15.7661 6.72071 15.9292 6.74182 16.0981 6.74182C16.2823 6.74182 16.4378 6.71495 16.5644 6.66122C16.6911 6.60748 16.7851 6.5288 16.8466 6.42517C16.9118 6.32154 16.9444 6.19679 16.9444 6.05094C16.9444 5.83217 16.8715 5.66904 16.7257 5.56157C16.5836 5.45027 16.3764 5.39461 16.1039 5.39461H15.7124C15.6241 5.39461 15.5569 5.3735 15.5109 5.33128C15.4648 5.28522 15.4418 5.22189 15.4418 5.14129C15.4418 5.06453 15.4648 5.00504 15.5109 4.96281C15.5569 4.91676 15.6241 4.89373 15.7124 4.89373H16.0463C16.2113 4.89373 16.3514 4.86686 16.4666 4.81313C16.5817 4.75555 16.67 4.67687 16.7314 4.57708C16.7967 4.47344 16.8293 4.3487 16.8293 4.20285C16.8293 4.0071 16.764 3.85741 16.6335 3.75378C16.5069 3.64631 16.3207 3.59258 16.0751 3.59258C15.9177 3.59258 15.768 3.61369 15.626 3.65591C15.4878 3.69813 15.3439 3.77297 15.1942 3.88044C15.1366 3.91883 15.081 3.9361 15.0273 3.93226C14.9774 3.92458 14.9332 3.90539 14.8948 3.87469C14.8603 3.84014 14.8353 3.79792 14.82 3.74803C14.8085 3.69813 14.8123 3.64631 14.8315 3.59258C14.8507 3.53884 14.8891 3.49279 14.9466 3.4544C15.1079 3.33542 15.2902 3.24522 15.4936 3.18381C15.697 3.11856 15.9062 3.08594 16.1211 3.08594C16.3898 3.08594 16.6201 3.12816 16.812 3.2126C17.0078 3.29704 17.1555 3.41794 17.2553 3.57531C17.359 3.73267 17.4108 3.92075 17.4108 4.13952C17.4108 4.30456 17.3801 4.45425 17.3187 4.58859C17.2572 4.72293 17.169 4.83807 17.0538 4.93403C16.9425 5.02614 16.8063 5.09139 16.6451 5.12978V5.06645C16.9252 5.1125 17.1421 5.22765 17.2956 5.41188C17.4492 5.59228 17.5259 5.81873 17.5259 6.09124C17.5259 6.32921 17.4683 6.53647 17.3532 6.71303C17.2419 6.88575 17.0807 7.01817 16.8696 7.11028C16.6585 7.2024 16.4071 7.24846 16.1154 7.24846Z",fill:"white"}),t("path",{d:"M12.2588 7.09919C12.1782 7.09919 12.1149 7.07616 12.0688 7.0301C12.0228 6.98405 11.9998 6.92263 11.9998 6.84587C11.9998 6.76527 12.0228 6.70386 12.0688 6.66164C12.1149 6.61942 12.1782 6.59831 12.2588 6.59831H12.9612V3.53543H13.2606L12.42 4.07086C12.3586 4.1054 12.3011 4.11883 12.2473 4.11116C12.1974 4.10348 12.1533 4.08237 12.1149 4.04783C12.0804 4.01328 12.0554 3.97106 12.0401 3.92117C12.0285 3.87127 12.0324 3.81945 12.0516 3.76572C12.0746 3.71198 12.1149 3.66785 12.1725 3.6333L12.967 3.13242C13.0322 3.09404 13.0936 3.06333 13.1512 3.0403C13.2126 3.01343 13.2702 3 13.3239 3C13.3892 3 13.4429 3.01919 13.4851 3.05757C13.5312 3.09212 13.5542 3.15161 13.5542 3.23605V6.59831H14.199C14.2835 6.59831 14.3487 6.61942 14.3948 6.66164C14.4408 6.70386 14.4639 6.76527 14.4639 6.84587C14.4639 6.92647 14.4408 6.9898 14.3948 7.03586C14.3487 7.07808 14.2835 7.09919 14.199 7.09919H12.2588Z",fill:"white"})]}),oj=({size:e,color:i,viewBox:a="0 0 103 103"})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:a,fill:i,children:[t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.875 65.4105L12.875 51.4999C12.875 49.1297 14.7964 47.2083 17.1667 47.2083C19.5369 47.2083 21.4583 49.1297 21.4583 51.4999L21.4583 65.2333C21.4583 68.9094 21.4617 71.4084 21.6195 73.3401C21.7732 75.2216 22.0519 76.1838 22.3939 76.855C23.2168 78.4701 24.5299 79.7831 26.1449 80.6061C26.8161 80.9481 27.7783 81.2267 29.6599 81.3804C31.5915 81.5383 34.0905 81.5416 37.7667 81.5416H65.2333C68.9095 81.5416 71.4085 81.5382 73.3401 81.3804C75.2217 81.2267 76.1839 80.9481 76.8551 80.6061C78.4702 79.7831 79.7832 78.4701 80.6061 76.855C80.9482 76.1838 81.2268 75.2216 81.3805 73.34C81.5383 71.4084 81.5417 68.9094 81.5417 65.2333L81.5417 51.4999C81.5417 49.1297 83.4631 47.2083 85.8333 47.2083C88.2036 47.2083 90.125 49.1297 90.125 51.4999V65.4098C90.1251 68.8648 90.1251 71.7162 89.9353 74.039C89.7382 76.4513 89.3152 78.6689 88.254 80.7518C86.6081 83.9819 83.982 86.608 80.7518 88.2539C78.6689 89.3152 76.4514 89.7382 74.0391 89.9353C71.7165 90.125 68.8652 90.125 65.4106 90.1249H37.5894C34.1348 90.125 31.2835 90.125 28.9609 89.9353C26.5486 89.7382 24.3311 89.3152 22.2482 88.2539C19.0181 86.608 16.3919 83.9819 14.7461 80.7518C13.6848 78.6689 13.2618 76.4513 13.0647 74.039C12.8749 71.7164 12.8749 68.8652 12.875 65.4105Z"}),t("path",{d:"M35.591 54.5347C33.915 52.8587 33.915 50.1413 35.591 48.4653C37.267 46.7893 39.9843 46.7893 41.6603 48.4653L47.209 54.014V17.1667C47.209 14.7964 49.1304 12.875 51.5007 12.875C53.8709 12.875 55.7923 14.7964 55.7923 17.1667V54.014L61.341 48.4653C63.017 46.7893 65.7343 46.7893 67.4103 48.4653C69.0863 50.1413 69.0863 52.8587 67.4103 54.5347L54.5353 67.4097C52.8593 69.0857 50.142 69.0857 48.466 67.4097L35.591 54.5347Z"})]}),oG=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M0 24C0 10.7452 10.7452 0 24 0V0C37.2548 0 48 10.7452 48 24V24C48 37.2548 37.2548 48 24 48V48C10.7452 48 0 37.2548 0 24V24Z",fill:"#EB5757"}),t("path",{d:"M16.7472 31.9423C16.5639 31.7589 16.4609 31.5103 16.4609 31.251C16.4609 30.9917 16.5639 30.7431 16.7472 30.5597L22.9699 24.337L16.7472 18.1142C16.5691 17.9298 16.4706 17.6828 16.4728 17.4265C16.475 17.1701 16.5778 16.9248 16.7591 16.7435C16.9404 16.5623 17.1857 16.4594 17.442 16.4572C17.6984 16.455 17.9454 16.5535 18.1298 16.7316L24.3526 22.9544L30.5753 16.7316C30.7597 16.5535 31.0067 16.455 31.2631 16.4572C31.5194 16.4594 31.7647 16.5623 31.946 16.7435C32.1273 16.9248 32.2301 17.1701 32.2323 17.4265C32.2346 17.6828 32.136 17.9298 31.9579 18.1142L25.7352 24.337L31.9579 30.5597C32.136 30.7441 32.2346 30.9911 32.2323 31.2475C32.2301 31.5038 32.1273 31.7491 31.946 31.9304C31.7647 32.1117 31.5194 32.2145 31.2631 32.2167C31.0067 32.219 30.7597 32.1204 30.5753 31.9423L24.3526 25.7196L18.1298 31.9423C17.9465 32.1256 17.6978 32.2286 17.4385 32.2286C17.1793 32.2286 16.9306 32.1256 16.7472 31.9423Z",fill:"white"})]}),oZ=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{width:"48",height:"48",rx:"24",fill:"#F2771E"}),t("path",{d:"M15 22C15 22.9193 15.1811 23.8295 15.5328 24.6788C15.8846 25.5281 16.4002 26.2997 17.0503 26.9497C17.7003 27.5998 18.4719 28.1154 19.3212 28.4672C20.1705 28.8189 21.0807 29 22 29C22.9193 29 23.8295 28.8189 24.6788 28.4672C25.5281 28.1154 26.2997 27.5998 26.9497 26.9497C27.5998 26.2997 28.1154 25.5281 28.4672 24.6788C28.8189 23.8295 29 22.9193 29 22C29 21.0807 28.8189 20.1705 28.4672 19.3212C28.1154 18.4719 27.5998 17.7003 26.9497 17.0503C26.2997 16.4002 25.5281 15.8846 24.6788 15.5328C23.8295 15.1811 22.9193 15 22 15C21.0807 15 20.1705 15.1811 19.3212 15.5328C18.4719 15.8846 17.7003 16.4002 17.0503 17.0503C16.4002 17.7003 15.8846 18.4719 15.5328 19.3212C15.1811 20.1705 15 21.0807 15 22ZM33 33L27 27Z",fill:"#F2771E"}),t("path",{d:"M33 33L27 27M15 22C15 22.9193 15.1811 23.8295 15.5328 24.6788C15.8846 25.5281 16.4002 26.2997 17.0503 26.9497C17.7003 27.5998 18.4719 28.1154 19.3212 28.4672C20.1705 28.8189 21.0807 29 22 29C22.9193 29 23.8295 28.8189 24.6788 28.4672C25.5281 28.1154 26.2997 27.5998 26.9497 26.9497C27.5998 26.2997 28.1154 25.5281 28.4672 24.6788C28.8189 23.8295 29 22.9193 29 22C29 21.0807 28.8189 20.1705 28.4672 19.3212C28.1154 18.4719 27.5998 17.7003 26.9497 17.0503C26.2997 16.4002 25.5281 15.8846 24.6788 15.5328C23.8295 15.1811 22.9193 15 22 15C21.0807 15 20.1705 15.1811 19.3212 15.5328C18.4719 15.8846 17.7003 16.4002 17.0503 17.0503C16.4002 17.7003 15.8846 18.4719 15.5328 19.3212C15.1811 20.1705 15 21.0807 15 22Z",stroke:"white",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})]}),oU=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{width:"48",height:"48",rx:"24",fill:"#03D69D"}),t("path",{d:"M16.4531 24L21.9388 29.4857L31.8817 18.5143",stroke:"white",strokeWidth:"5",strokeLinecap:"round"})]}),oY=a.svg`
|
|
675
675
|
min-width: ${e=>e.width}px;
|
|
676
|
-
`,
|
|
676
|
+
`,oq=({size:e,color:i,viewBox:a})=>r("svg",{viewBox:a,width:e,height:e,children:[t("path",{d:"M0 0h24v24H0z",fill:"none"}),t("path",{fill:i,d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"})]});oq.defaultProps={color:"#767676",viewBox:"0 0 24 24",size:24};let oX=a.svg`
|
|
677
677
|
min-width: ${e=>e.width}px;
|
|
678
|
-
`,
|
|
678
|
+
`,oK=({size:e,color:r,viewBox:i})=>t(oX,{viewBox:i,width:e,height:e,children:t("circle",{fill:r,cx:"50",cy:"50",r:"50",stroke:"#c7c7c7",strokeWidth:"3"})});oK.defaultProps={color:"none",viewBox:"0 0 100 100",size:20};let oQ={CheckboxChecked:({size:e=20,color:r,viewBox:i="0 0 100 100"})=>{let a=s();return t(oY,{viewBox:i,width:e,height:e,children:t("circle",{fill:r||a.primaryLighterColor,cx:"50",cy:"50",r:"50"})})},CheckboxUnchecked:oK,CheckboxIndeterminate:oq},oJ=()=>r("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{width:"48",height:"48",rx:"24",fill:"#F2771E"}),t("path",{d:"M36.5805 30.3668L26.7808 13.5738C26.497 13.0948 26.091 12.6975 25.6032 12.4214C25.1154 12.1453 24.5629 12 24.0006 12C23.4382 12 22.8857 12.1453 22.3979 12.4214C21.9102 12.6975 21.5042 13.0948 21.2203 13.5738L11.4206 30.3668C11.1452 30.8316 11 31.3604 11 31.8988C11 32.4372 11.1452 32.966 11.4206 33.4308C11.7013 33.9122 12.1067 34.3112 12.5953 34.5869C13.0839 34.8627 13.638 35.0052 14.2008 34.9999H33.8003C34.3627 35.0048 34.9164 34.8621 35.4046 34.5864C35.8927 34.3107 36.2978 33.9119 36.5783 33.4308C36.8541 32.9662 36.9996 32.4375 37 31.8991C37.0004 31.3606 36.8556 30.8318 36.5805 30.3668ZM34.2497 32.1028C34.2041 32.1794 34.1384 32.2425 34.0595 32.2853C33.9806 32.3281 33.8914 32.3491 33.8014 32.3461H14.2008C14.1108 32.3491 14.0217 32.3281 13.9428 32.2853C13.8639 32.2425 13.7981 32.1794 13.7526 32.1028C13.7139 32.0408 13.6934 31.9694 13.6934 31.8966C13.6934 31.8238 13.7139 31.7524 13.7526 31.6904L23.5523 14.8974C23.6008 14.8237 23.6673 14.7631 23.7455 14.7212C23.8238 14.6793 23.9115 14.6573 24.0006 14.6573C24.0896 14.6573 24.1773 14.6793 24.2556 14.7212C24.3339 14.7631 24.4003 14.8237 24.4488 14.8974L34.2474 31.6904C34.2864 31.7522 34.3073 31.8235 34.3077 31.8963C34.3081 31.9691 34.288 32.0406 34.2497 32.1028ZM22.6558 24.827V21.2886C22.6558 20.9367 22.7975 20.5992 23.0497 20.3503C23.3019 20.1015 23.6439 19.9617 24.0006 19.9617C24.3572 19.9617 24.6992 20.1015 24.9514 20.3503C25.2036 20.5992 25.3453 20.9367 25.3453 21.2886V24.827C25.3453 25.1789 25.2036 25.5164 24.9514 25.7652C24.6992 26.0141 24.3572 26.1539 24.0006 26.1539C23.6439 26.1539 23.3019 26.0141 23.0497 25.7652C22.7975 25.5164 22.6558 25.1789 22.6558 24.827ZM25.7935 29.25C25.7935 29.5999 25.6884 29.9419 25.4914 30.2329C25.2944 30.5238 25.0143 30.7506 24.6867 30.8845C24.3591 31.0184 23.9986 31.0534 23.6508 30.9852C23.303 30.9169 22.9835 30.7484 22.7327 30.501C22.482 30.2536 22.3112 29.9383 22.242 29.5951C22.1729 29.2519 22.2084 28.8962 22.3441 28.5729C22.4798 28.2497 22.7096 27.9733 23.0044 27.7789C23.2993 27.5845 23.6459 27.4808 24.0006 27.4808C24.4761 27.4808 24.9321 27.6672 25.2684 27.999C25.6046 28.3308 25.7935 28.7808 25.7935 29.25Z",fill:"white"})]}),o1=a.div`
|
|
679
679
|
display: grid;
|
|
680
680
|
grid-template-columns: ${e=>e.open?"240px":"73px"} 1fr;
|
|
681
681
|
min-height: 100vh;
|
|
682
682
|
@media (max-width: 600px) {
|
|
683
683
|
grid-template-columns: 1fr;
|
|
684
684
|
}
|
|
685
|
-
`,
|
|
685
|
+
`,o2=tV({root:{height:"3px"},colorPrimary:{backgroundColor:e=>e.colors?.[0]||e.theme?.primaryLighterColor},barColorPrimary:{backgroundColor:e=>e.colors?.[1]||e.theme?.primaryLighterColor}}),o0=({currentProgress:e,colors:r,hideAfterComplete:i=!1,...a})=>{let[o,n]=eS(0),[l,s]=eS(!1),d=o2({colors:r});return(ew(()=>{let e=setInterval(()=>{n(t=>100===t?(clearInterval(e),i&&setTimeout(()=>{s(!0)},600),t):t+4)},300);return()=>{clearInterval(e)}},[]),l)?t(j,{width:"100%",...a,height:"3px"}):t(j,{width:"100%",...a,children:t(tH,{classes:{colorPrimary:d.colorPrimary,barColorPrimary:d.barColorPrimary,root:d.root},variant:"determinate",value:e??o})})},o3=a(t$)`
|
|
686
686
|
stroke-linecap: round;
|
|
687
|
-
`,
|
|
687
|
+
`,o4=a.div`
|
|
688
688
|
display: flex;
|
|
689
689
|
flex: 1;
|
|
690
690
|
width: 100%;
|
|
691
691
|
height: 100vh;
|
|
692
692
|
align-items: center;
|
|
693
693
|
justify-content: center;
|
|
694
|
-
`,
|
|
694
|
+
`,o5=({fullScreen:e,wrappedInDialog:r,size:i})=>{let a=t(o3,{size:i,"data-testid":"loading"});return e?t(o4,{children:a}):r?t(tB,{open:!0,children:t(tW,{children:a})}):a},o6=()=>{let{width:e}=tj();return{isMobile:e<600,isTablet:e>600&&e<900,isDesktop:e>=900,width:e}},o9=ef([]);function o7({children:e,isStartOpen:r=null}){let{isTablet:i,isDesktop:a}=o6(),[o,n]=eS("boolean"!=typeof r?i||a:r);return t(o9.Provider,{value:[o,n],children:e})}let o8=()=>{let[e,t]=ev(o9);return{isSidebarOpen:e,sidebarOpen:()=>{t(!0)},sidebarClose:()=>{t(!1)},sidebarToggle:()=>{t(!e)}}},ne=a.div`
|
|
695
695
|
display: grid;
|
|
696
696
|
grid-template-columns: ${e=>e.open?"240px":"0"} 1fr;
|
|
697
697
|
height: 100vh;
|
|
698
698
|
width: 100%;
|
|
699
|
-
`,
|
|
699
|
+
`,nt=({header:t,sidebar:i,children:a})=>{let{isSidebarOpen:o}=o8(),{width:n}=tj();return n<600?r(e,{children:[t,i,a]}):r(ne,{open:o,children:[i,r("div",{style:{minWidth:0},children:[t,a]})]})},nr=e=>t(eL,{...e}),ni=e=>{let{title:i=null,bodyStyle:a={},isOpen:o,children:n,isScrollable:l,handleClose:s,className:d,dialogStyle:c={transitionDuration:600},actions:p,showClose:m=!1,fullWidth:h=!1,maxWidth:u="sm"}=e;return r(tB,{TransitionComponent:nr,open:o,onClose:s,"data-testid":"dialog-123",className:d,fullWidth:h,maxWidth:u,sx:{".MuiDialog-paper":{gap:1,px:2,py:1}},...c,children:[r(ai,{sx:{justifyContent:"space-between"},children:[i?t(tZ,{fontWeight:"bold",sx:{padding:0},children:i}):null,m&&t(tM,{onClick:()=>s(),children:t(tv,{})})]}),t(tW,{className:"Modal__DialogContent",style:l?a:{...a,overflow:"visible"},sx:{padding:0},children:n}),!!p&&t(tG,{children:p})]})},na=a.div`
|
|
700
700
|
overflow: auto;
|
|
701
701
|
word-break: break-all;
|
|
702
702
|
&::-webkit-scrollbar {
|
|
@@ -718,21 +718,21 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
718
718
|
&::-webkit-scrollbar-track {
|
|
719
719
|
background-color: transparent;
|
|
720
720
|
}
|
|
721
|
-
`,no=({size:e="100px"})=>r("svg",{width:e,height:e,viewBox:"0 0 195 182",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M2.13871 62.2408C2.13871 62.2408 10.3588 27.4986 42.7525 10.5971C75.1462 -6.30429 113.779 0.886713 145.237 5.85722C176.696 10.8277 196.706 34.8945 194.566 63.7653C192.427 92.6361 167.058 95.3647 147.688 124.312C128.319 153.26 127.315 164.025 96.1129 177.331C64.9106 190.637 24.8391 168.744 9.42793 129.932C-5.9832 91.1202 2.13871 62.2408 2.13871 62.2408Z",fill:"#03D69D"}),t("path",{opacity:"0.7",d:"M2.13871 62.2408C2.13871 62.2408 10.3588 27.4986 42.7525 10.5971C75.1462 -6.30429 113.779 0.886712 145.237 5.85722C176.696 10.8277 196.706 34.8945 194.566 63.7653C192.427 92.6361 167.058 95.3647 147.688 124.312C128.319 153.26 127.315 164.025 96.1129 177.331C64.9106 190.637 24.8391 168.744 9.42793 129.932C-5.9832 91.1202 2.13871 62.2408 2.13871 62.2408Z",fill:"white"}),t("path",{d:"M135.411 4.02396H105.264L104.012 6.34695C103.335 7.56463 102.344 8.57911 101.143 9.28539C99.9417 9.99168 98.5736 10.3641 97.1801 10.3641C95.7866 10.3641 94.4184 9.99168 93.2172 9.28539C92.016 8.57911 91.0253 7.56463 90.3478 6.34695L89.0923 4.02396H58.9362C57.4114 4.00343 55.9408 4.58926 54.8478 5.65265C53.7548 6.71605 53.1288 8.16997 53.1074 9.69478V164.938C53.1174 165.693 53.2762 166.439 53.5745 167.133C53.8729 167.827 54.3051 168.456 54.8463 168.983C55.3876 169.51 56.0274 169.925 56.7291 170.204C57.4309 170.484 58.1809 170.623 58.9362 170.613H135.411C136.936 170.632 138.406 170.045 139.498 168.981C140.59 167.917 141.215 166.462 141.236 164.938V9.69478C141.214 8.17072 140.589 6.71745 139.497 5.65418C138.405 4.59091 136.935 4.00457 135.411 4.02396Z",fill:"white",stroke:"#263238",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M88.4207 90.6044C90.3904 92.5089 92.1993 94.2579 94.0082 96.0069C89.908 100.865 84.803 103.858 78.0096 102.614C71.6986 101.448 67.5583 97.6782 65.9102 91.615C64.1817 85.2019 67.2367 78.5557 73.1457 75.2909C79.0547 72.026 86.4511 72.8811 91.3149 77.5063C96.7416 82.6367 102.048 87.8838 107.434 93.0531C110.208 95.696 114.308 96.0069 117.282 93.8693C120.619 91.4595 121.222 86.7955 118.649 83.6473C116.036 80.499 111.213 79.9938 108.077 82.6367C106.992 83.5307 106.108 84.6578 105.183 85.6683C103.173 83.725 101.364 81.976 99.5554 80.227C103.535 75.4852 108.56 72.2592 116.036 73.6973C122.267 74.8633 126.89 79.7994 127.935 85.9793C128.94 92.0425 125.644 98.3001 119.895 101.215C114.026 104.169 106.912 103.158 102.128 98.611C96.7818 93.4806 91.4757 88.3113 86.1295 83.1809C83.8382 80.9654 80.6224 80.3047 77.8086 81.5484C74.9546 82.7922 73.3869 84.9687 73.3467 88.0392C73.3065 91.0708 74.7536 93.364 77.6076 94.6466C80.5018 95.9292 83.2353 95.5405 85.6471 93.5195C86.6922 92.5867 87.5364 91.5372 88.4207 90.6044Z",fill:"#03D69D"})]}),
|
|
721
|
+
`,no=({size:e="100px"})=>r("svg",{width:e,height:e,viewBox:"0 0 195 182",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M2.13871 62.2408C2.13871 62.2408 10.3588 27.4986 42.7525 10.5971C75.1462 -6.30429 113.779 0.886713 145.237 5.85722C176.696 10.8277 196.706 34.8945 194.566 63.7653C192.427 92.6361 167.058 95.3647 147.688 124.312C128.319 153.26 127.315 164.025 96.1129 177.331C64.9106 190.637 24.8391 168.744 9.42793 129.932C-5.9832 91.1202 2.13871 62.2408 2.13871 62.2408Z",fill:"#03D69D"}),t("path",{opacity:"0.7",d:"M2.13871 62.2408C2.13871 62.2408 10.3588 27.4986 42.7525 10.5971C75.1462 -6.30429 113.779 0.886712 145.237 5.85722C176.696 10.8277 196.706 34.8945 194.566 63.7653C192.427 92.6361 167.058 95.3647 147.688 124.312C128.319 153.26 127.315 164.025 96.1129 177.331C64.9106 190.637 24.8391 168.744 9.42793 129.932C-5.9832 91.1202 2.13871 62.2408 2.13871 62.2408Z",fill:"white"}),t("path",{d:"M135.411 4.02396H105.264L104.012 6.34695C103.335 7.56463 102.344 8.57911 101.143 9.28539C99.9417 9.99168 98.5736 10.3641 97.1801 10.3641C95.7866 10.3641 94.4184 9.99168 93.2172 9.28539C92.016 8.57911 91.0253 7.56463 90.3478 6.34695L89.0923 4.02396H58.9362C57.4114 4.00343 55.9408 4.58926 54.8478 5.65265C53.7548 6.71605 53.1288 8.16997 53.1074 9.69478V164.938C53.1174 165.693 53.2762 166.439 53.5745 167.133C53.8729 167.827 54.3051 168.456 54.8463 168.983C55.3876 169.51 56.0274 169.925 56.7291 170.204C57.4309 170.484 58.1809 170.623 58.9362 170.613H135.411C136.936 170.632 138.406 170.045 139.498 168.981C140.59 167.917 141.215 166.462 141.236 164.938V9.69478C141.214 8.17072 140.589 6.71745 139.497 5.65418C138.405 4.59091 136.935 4.00457 135.411 4.02396Z",fill:"white",stroke:"#263238",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M88.4207 90.6044C90.3904 92.5089 92.1993 94.2579 94.0082 96.0069C89.908 100.865 84.803 103.858 78.0096 102.614C71.6986 101.448 67.5583 97.6782 65.9102 91.615C64.1817 85.2019 67.2367 78.5557 73.1457 75.2909C79.0547 72.026 86.4511 72.8811 91.3149 77.5063C96.7416 82.6367 102.048 87.8838 107.434 93.0531C110.208 95.696 114.308 96.0069 117.282 93.8693C120.619 91.4595 121.222 86.7955 118.649 83.6473C116.036 80.499 111.213 79.9938 108.077 82.6367C106.992 83.5307 106.108 84.6578 105.183 85.6683C103.173 83.725 101.364 81.976 99.5554 80.227C103.535 75.4852 108.56 72.2592 116.036 73.6973C122.267 74.8633 126.89 79.7994 127.935 85.9793C128.94 92.0425 125.644 98.3001 119.895 101.215C114.026 104.169 106.912 103.158 102.128 98.611C96.7818 93.4806 91.4757 88.3113 86.1295 83.1809C83.8382 80.9654 80.6224 80.3047 77.8086 81.5484C74.9546 82.7922 73.3869 84.9687 73.3467 88.0392C73.3065 91.0708 74.7536 93.364 77.6076 94.6466C80.5018 95.9292 83.2353 95.5405 85.6471 93.5195C86.6922 92.5867 87.5364 91.5372 88.4207 90.6044Z",fill:"#03D69D"})]}),nn=a.div`
|
|
722
722
|
height: ${e=>e.height}px;
|
|
723
723
|
width: ${e=>e.width||"90px"};
|
|
724
724
|
background-color: rgba(96, 115, 137, 0.26);
|
|
725
725
|
border-radius: 8px;
|
|
726
726
|
overflow: hidden;
|
|
727
|
-
`,
|
|
727
|
+
`,nl=a.div`
|
|
728
728
|
width: ${e=>e.percent}%;
|
|
729
729
|
height: ${e=>e.height}px;
|
|
730
730
|
transition: width 1s;
|
|
731
731
|
background-color: ${e=>e?.theme?.button?.backgroundColor||e.barColor||"#309dd1"};
|
|
732
|
-
`,
|
|
732
|
+
`,ns=({percent:e,width:r,active:i=!0,barColor:a,height:o=10,...n})=>t("div",{...n,children:t(nn,{className:"ProgressBar__wrapper",height:o,width:r,children:t(nl,{height:o,className:"ProgressBar__progress",percent:Math.min(e,100),barColor:a||(i?e>=100?"#7ed321":"#309dd1":"rgba(96, 115, 137, 0.4);")})})}),nd=a.span`
|
|
733
733
|
text-align: center;
|
|
734
734
|
align-self: center;
|
|
735
|
-
`,
|
|
735
|
+
`,nc=a.div`
|
|
736
736
|
border-radius: 50%;
|
|
737
737
|
margin: 0 10px;
|
|
738
738
|
background-color: ${e=>e.theme.primaryDarkerColor};
|
|
@@ -743,11 +743,11 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
743
743
|
justify-content: center;
|
|
744
744
|
cursor: default;
|
|
745
745
|
${m}
|
|
746
|
-
`;
|
|
746
|
+
`;nc.defaultProps={width:"20px",height:"20px",fontSize:"15px"};let np=({width:e,height:r,...i})=>t(tU,{placement:"right-end",...i,children:t(nc,{width:e,height:r,children:t(nd,{children:"?"})})}),nm=a.div`
|
|
747
747
|
display: flex;
|
|
748
748
|
flex-direction: row;
|
|
749
749
|
${p}
|
|
750
|
-
`,
|
|
750
|
+
`,nh=({getFragmentVariables:e,relay:r,handleLoading:i})=>t(P,{onClick:()=>{let t=t=>({...t,...e?e():{}});i?i(!0,()=>r.refetch(t,null,()=>i(!1))):r.refetch(t)},size:"large",children:t(tY,{})}),nu=({onRefresh:e})=>t(P,{onClick:e,size:"large",children:t(tY,{})}),nx=e=>{let r=eZ(),[i,a]=eS(oA().search||""),{onSearchTermChange:o,defaultValue:n,placeholder:l,handleLoading:s,staticContext:d,...c}=e,p=ek(null);return t(tX,{sx:{color:r.palette.text.primary,fontSize:e.fontSize??"13px"},type:"search",name:"search",value:i,onChange:e=>{p.current&&clearTimeout(p.current);let t=e.target.value;a(t),p.current=setTimeout(()=>o(t),500)},placeholder:l,startAdornment:t(tK,{position:"start",children:t(tq,{})}),...c})},{stringify:nf}=ow,ng=e=>{let{handleLoading:r=(e,t)=>{t&&t()},useQueryString:i=!0,relay:a,filters:o,updateFilter:n,placeholder:l,useNewFilters:s=!1,searchName:d="search"}=e,c=es(),p=ed(),{t:m}=eX();return t(nx,{onSearchTermChange:t=>{let{pathname:l}=p;if(i){let e=oT(oA()),r=nf({...tE.dot(e),[d]:t});c.replace({pathname:l,search:r})}else n({...o,[d]:t});let m=s&&!i?{[d]:t}:null,h=t=>({...t,...((t={})=>{if(e.getFragmentVariables)return s?e.getFragmentVariables(t):e.getFragmentVariables();let{quantity:r,...i}=oA();return{[d]:i[d],filters:{...i,...t},first:parseInt(r,10)||30}})(m)});return r(!0,()=>a.refetch(h,null,()=>r(!1)))},placeholder:l||m("Search"),autoFocus:!0})},nC=({firstItemIndex:i,lastItemIndex:a,totalItems:o,handlePageChange:n,isLoading:l=!1})=>r(e,{children:[t(P,{onClick:()=>{i>=1&&n(!1)},disabled:l||i<1,"data-testid":"btn-paginate-left",size:"large",children:t(tQ,{})}),t(P,{onClick:()=>{null==o?n(!0):a<o&&n(!0)},disabled:!!l||null!=o&&!(a<o),"data-testid":"btn-paginate-right",size:"large",children:t(tJ,{})})]}),nb=(e,r,i)=>e.map((e,a)=>t(en,{path:e.path,exact:e.exact,render:a=>t(e.component,{...i,...a,company:r,routes:e.routes,currentRoute:e})},a)),ny=(e,t)=>{let{path:r="",exact:i=!0}=t,{pathname:a}=e;return null!==el(a,{path:r,exact:i})},nv=a.div`
|
|
751
751
|
margin-left: 8px;
|
|
752
752
|
@media (min-width: 600px) {
|
|
753
753
|
margin-left: 16px;
|
|
@@ -764,52 +764,52 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
764
764
|
min-height: 0;
|
|
765
765
|
opacity: 1;
|
|
766
766
|
}
|
|
767
|
-
`,
|
|
767
|
+
`,nw=a.div`
|
|
768
768
|
margin: 16px 8px;
|
|
769
769
|
|
|
770
770
|
@media (min-width: 600px) {
|
|
771
771
|
margin: 16px;
|
|
772
772
|
}
|
|
773
|
-
`,
|
|
773
|
+
`,nM=a(t2)`
|
|
774
774
|
margin-right: 8px;
|
|
775
775
|
|
|
776
776
|
@media (min-width: 600px) {
|
|
777
777
|
margin-right: 16px;
|
|
778
778
|
}
|
|
779
|
-
`,
|
|
779
|
+
`,nE=(e=[])=>e?.includes("TEMP"),nA=i=>{let a,o=es(),n=ec(),l=ed(),{routes:s,routeTo:d}=i,{t:c}=eX(),p=eA(()=>nb(s,null,i),[]);ew(()=>{let{pathname:e}=l;if(!(s.filter(t=>el(e,{path:t.path,exact:!1})).length>0)&&s.length>0){let[e]=s;o.replace(`${d(e.name,n)}${l.search}`)}},[]);let m=s.filter(e=>!!e.label),h=s.length>1,u=-1===(a=s.findIndex(e=>ny(l,{path:e.path,exact:!1})))?0:"tabIndex"in s[a]?s[a].tabIndex:a;return r(e,{children:[h&&r(nv,{children:[t(t3,{value:u,onChange:(e,t)=>{let r=s[t].clearQueryParams?"":l.search,i=`${d(s[t].name,n)}${r}`;if(e?.metaKey||e.ctrlKey){let e=window.open(i,"_blank");e?.focus();return}return o.replace(i)},variant:"scrollable",children:m.map(({label:e,requiredFeatures:r,isTemp:i,hasBadge:a},o)=>{let n,l={...i||nE(r)?{border:"1px dashed red"}:{},overflow:"visible"};return t(t0,{active:+(u===o),label:(n="function"==typeof e?e({t:c}):e,a?t(t1,{color:"error",variant:"dot",badgeContent:" ",children:n}):n),component:"button",sx:l},o)})}),t(nM,{})]}),t(nw,{children:p})]})},nI=e=>{let{location:t,routes:r,match:i,routeTo:a,history:o}=e;return ew(()=>{(()=>{let{pathname:e}=t,{params:n}=i;if(!(r.filter(t=>el(e,{path:t.path,exact:!1})).length>0)){let[e]=r;o.replace(a(e.name,n))}})()}),eA(()=>nb(r,null,e),[])},nk=(e,t=50)=>!e||e.length<t?[e,!1]:[`${e.slice(0,t)}...`,!0],nS=({children:e,length:r=50,...i})=>{let[a,o]=nk(e,r);return o?t(tU,{title:e,placement:"right-start",children:t(eY,{...i,children:a})}):t(eY,{...i,children:a})},nT=a(aX)`
|
|
780
780
|
margin-top: 3px;
|
|
781
|
-
`,
|
|
781
|
+
`,nD=({children:e,header:i,number:a,status:o})=>r(j,{pl:"28px",children:[t(nT,{children:o?t(i2,{children:"check"}):a}),r(j,{flexDirection:"column",pl:"25px",pr:"25px",flex:1,pt:"10px",children:[i&&t(ee,{fontSize:"14px",mb:"15px",fontWeight:"600",children:i}),e]})]}),nR=a.div`
|
|
782
782
|
display: flex;
|
|
783
783
|
flex-direction: row;
|
|
784
|
-
`,
|
|
784
|
+
`,nL=({title:e,titleLabel:i})=>r(nR,{children:[t(eY,{component:"h2",m:0,fontSize:22,fontWeight:600,children:e}),i&&t(tU,{title:i,placement:"right",children:t(tM,{size:"small",children:t(t4,{fontSize:"small"})})})]}),n_=a.div`
|
|
785
785
|
color: ${e=>e.theme.palette.primary.contrastText};
|
|
786
786
|
display: flex;
|
|
787
787
|
justify-content: space-between;
|
|
788
|
-
`,
|
|
788
|
+
`,nP=a.div`
|
|
789
789
|
max-width: 400px;
|
|
790
790
|
align-self: center;
|
|
791
791
|
justify-content: center;
|
|
792
792
|
z-index: 1;
|
|
793
|
-
`,
|
|
793
|
+
`,nN=({children:e,title:i,rightComponent:a,maxWidth:o="960px",marginTopBox:n="10px",overflow:l=!0,...s})=>{let d=eZ();return t(g,{width:"100%",children:t(j,{sx:{flexDirection:"column",paddingLeft:1.5,paddingRight:1.5,background:e=>`linear-gradient(to right,${e.palette.primary.main},${e.palette.primary.dark})`,borderBottomLeftRadius:{lg:1},borderBottomRightRadius:{lg:1}},height:s.height?s.height:l?d.spacing(19):d.spacing(7),children:r(g,{mt:n,maxWidth:o,alignSelf:"center",width:"100%",children:[r(n_,{children:[t(ai,{sx:{flexDirection:"row",alignItems:"center"},children:i&&t(nL,{title:i})}),a&&t(nP,{children:a})]}),t(ai,{sx:{flexDirection:"column"},children:e})]})})})},nz=a(t5)`
|
|
794
794
|
margin-left: 3px;
|
|
795
795
|
${({sx:e})=>e}
|
|
796
|
-
`,
|
|
796
|
+
`,nO=a.span`
|
|
797
797
|
font-weight: 600;
|
|
798
|
-
`,
|
|
798
|
+
`,nH=a.span`
|
|
799
799
|
padding-right: 4px;
|
|
800
800
|
font-weight: normal;
|
|
801
801
|
border-right: 1px solid;
|
|
802
802
|
margin: 2px 0;
|
|
803
803
|
margin-right: 5px;
|
|
804
|
-
`,
|
|
804
|
+
`,nV=e=>{let{label:i,value:a,breakByColon:o=!0,sx:n={},...l}=e;return i?t(nz,{sx:{...n},label:(()=>{if(a)return r(nO,{children:[t(nH,{children:i}),a]});if(-1!==i.indexOf(":")&&o){let[e,a]=i.split(":");return r(nO,{children:[t(nH,{children:e}),a]})}return i})(),...l}):null},nF=a.div`
|
|
805
805
|
display: flex;
|
|
806
806
|
flex-direction: row;
|
|
807
807
|
font-weight: normal;
|
|
808
808
|
font-size: 14px;
|
|
809
|
-
`,
|
|
809
|
+
`,n$=a.div`
|
|
810
810
|
display: flex;
|
|
811
811
|
flex-direction: row;
|
|
812
|
-
`,
|
|
812
|
+
`,nB=({title:e,titleLabel:i})=>r(n$,{children:[t(eY,{component:"h2",m:0,fontSize:22,fontWeight:600,children:e}),i&&t(tU,{title:i,placement:"right",children:t(tM,{size:"small",children:t(t4,{fontSize:"small"})})})]}),nW=a.div`
|
|
813
813
|
margin-top: 10px;
|
|
814
814
|
display: flex;
|
|
815
815
|
flex-direction: row;
|
|
@@ -817,7 +817,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
817
817
|
flex-wrap: wrap;
|
|
818
818
|
align-items: center;
|
|
819
819
|
row-gap: 5px;
|
|
820
|
-
`,
|
|
820
|
+
`,nj=a.div`
|
|
821
821
|
margin-right: 10px;
|
|
822
822
|
align-self: center;
|
|
823
823
|
justify-content: center;
|
|
@@ -825,7 +825,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
825
825
|
@media (max-width: 600px) {
|
|
826
826
|
display: none;
|
|
827
827
|
}
|
|
828
|
-
`,
|
|
828
|
+
`,nG=a.div`
|
|
829
829
|
width: 100%;
|
|
830
830
|
align-self: center;
|
|
831
831
|
align-items: center;
|
|
@@ -834,15 +834,15 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
834
834
|
@media (min-width: 600px) {
|
|
835
835
|
display: none;
|
|
836
836
|
}
|
|
837
|
-
`,
|
|
837
|
+
`,nZ=({title:e,titleLabel:i,subTitle:a,routedTabs:o,routeTo:n,children:l,tagsArray:s,rightComponent:d,middleRightComponent:c})=>r(ar,{children:[r(j,{padding:1,sx:{mx:1,justifyContent:"center","@media (min-width: 600px)":{mx:2}},children:[r(ai,{sx:{justifyContent:"center",flexWrap:"wrap",flexDirection:{xs:"column",sm:"column",md:"row"},gap:1},children:[r(j,{flexGrow:1,children:[e&&t(nB,{title:e,titleLabel:i}),a&&t(nF,{children:a}),s?.length>=1&&t(nW,{children:s.map((e,r)=>t(nV,{label:e.label,value:e.value,onClick:e.onClick},r))}),l&&t(nW,{children:l})]}),c&&t(nj,{children:c}),d&&t(ai,{children:d})]}),c&&t(nG,{children:c})]}),o&&t(nA,{routes:o,routeTo:n})]}),nU=i=>{let a,o=es(),n=ec(),l=ed(),{routes:s,routeTo:d}=i,c=eZ(),{t:p}=eX(),m=eA(()=>nb(s,null,i),[]);ew(()=>{let{pathname:e}=l;if(!(s.filter(t=>el(e,{path:t.path,exact:!1})).length>0)&&s.length>0){let[e]=s;o.replace(`${d(e.name,n)}${l.search}`)}},[o,l,n,d,s]);let h=s.filter(e=>!!e.label),u=s.length>1,x=-1===(a=s.findIndex(e=>ny(l,{path:e.path,exact:!1})))?0:"tabIndex"in s[a]?s[a].tabIndex:a;return r(e,{children:[u&&t(g,{sx:{paddingTop:c.spacing(.5),mx:c.spacing(2)},children:t(K,{value:x,onChange:(e,t)=>{let r=s[t].clearQueryParams?"":l.search,i=`${d(s[t].name,n)}${r}`;if(e?.metaKey||e.ctrlKey){let e=window.open(i,"_blank");e?.focus();return}return o.replace(i)},variant:"scrollable",allowScrollButtonsMobile:!0,TabIndicatorProps:{style:{height:c.spacing(.4),backgroundColor:c.palette.primary.main}},sx:{"& .MuiTabs-scroller":{height:48,paddingTop:c.spacing(1)},"& .MuiTabs-scrollButtons":{backgroundColor:c.palette.grey[200],borderRadius:c.spacing(1),mx:c.spacing(1),my:c.spacing(1),color:c.palette.grey[900]},"& .MuiTabs-scrollButtons.Mui-disabled":{opacity:.3},"& .MuiTab-root":{fontSize:14,textTransform:"none",marginRight:c.spacing(1),minWidth:0,minHeight:0}},children:h.map(({label:e},r)=>t(X,{label:"function"==typeof e?e({t:p}):e,component:"button",sx:{height:32,whiteSpace:"nowrap",fontWeight:c.typography.fontWeightBold,backgroundColor:x===r?c.palette.primary.main:c.palette.grey[200],borderRadius:c.spacing(1),color:c.palette.grey[700],"&.Mui-selected":{color:c.palette.common.white}}},r))})}),t(D,{sx:{mx:c.spacing(2)}}),t(g,{sx:{margin:c.spacing(2)},children:m})]})},nY=a.div`
|
|
838
838
|
display: flex;
|
|
839
839
|
flex-direction: row;
|
|
840
840
|
font-weight: normal;
|
|
841
841
|
font-size: 14px;
|
|
842
|
-
`,
|
|
842
|
+
`,nq=a.div`
|
|
843
843
|
display: flex;
|
|
844
844
|
flex-direction: row;
|
|
845
|
-
`,
|
|
845
|
+
`,nX=({title:e,titleLabel:i})=>r(nq,{children:[t(eY,{component:"h2",m:0,fontSize:22,fontWeight:600,children:e}),i&&t(tU,{title:i,placement:"right",children:t(tM,{size:"small",children:t(t4,{fontSize:"small"})})})]}),nK=a.div`
|
|
846
846
|
margin-top: 10px;
|
|
847
847
|
display: flex;
|
|
848
848
|
flex-direction: row;
|
|
@@ -850,7 +850,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
850
850
|
flex-wrap: wrap;
|
|
851
851
|
align-items: center;
|
|
852
852
|
row-gap: 5px;
|
|
853
|
-
`,
|
|
853
|
+
`,nQ=a.div`
|
|
854
854
|
margin-right: 10px;
|
|
855
855
|
align-self: center;
|
|
856
856
|
justify-content: center;
|
|
@@ -858,7 +858,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
858
858
|
@media (max-width: 600px) {
|
|
859
859
|
display: none;
|
|
860
860
|
}
|
|
861
|
-
`,nJ=
|
|
861
|
+
`,nJ=a.div`
|
|
862
862
|
width: 100%;
|
|
863
863
|
align-self: center;
|
|
864
864
|
align-items: center;
|
|
@@ -867,7 +867,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
867
867
|
@media (min-width: 600px) {
|
|
868
868
|
display: none;
|
|
869
869
|
}
|
|
870
|
-
`,
|
|
870
|
+
`,n1=({title:e,titleLabel:i,subTitle:a,routedTabs:o,routeTo:n,children:l,tagsArray:s,rightComponent:d,middleRightComponent:c})=>r(ar,{children:[r(j,{sx:{mx:1,justifyContent:"center","@media (min-width: 600px)":{mx:2}},children:[r(ai,{sx:{alignItems:"center",justifyContent:"space-between",position:"sticky",mt:2,mb:2*!(o&&o.length>1),gap:2},children:[r(j,{flexGrow:1,children:[e&&t(nX,{title:e,titleLabel:i}),a&&t(nY,{children:a}),s?.length>=1&&t(nK,{children:s.map((e,r)=>t(nV,{label:e.label,value:e.value,onClick:e.onClick},r))}),l&&t(nK,{children:l})]}),c&&t(nQ,{children:c}),d&&t(ai,{sx:{alignItems:"center",justifyContent:"center"},children:d})]}),c&&t(nJ,{children:c})]}),o&&t(nU,{routes:o,routeTo:n})]}),n2=i=>{let a,o=es(),n=ec(),l=ed(),{routes:s,routeTo:d}=i,c=eZ(),{t:p}=eX(),m=eA(()=>nb(s,null,i),[]);ew(()=>{let{pathname:e}=l;if(!(s.filter(t=>el(e,{path:t.path,exact:!1})).length>0)&&s.length>0){let[e]=s;o.replace(`${d(e.name,n)}${l.search}`)}},[o,l,n,d,s]);let h=s.filter(e=>!!e.label),u=s.length>1,x=-1===(a=s.findIndex(e=>ny(l,{path:e.path,exact:!1})))?0:"tabIndex"in s[a]?s[a].tabIndex:a;return r(e,{children:[u&&t(g,{sx:{paddingTop:c.spacing(.5),mx:c.spacing(2)},children:t(K,{value:x,onChange:(e,t)=>{let r=s[t].clearQueryParams?"":l.search,i=`${d(s[t].name,n)}${r}`;if(e?.metaKey||e.ctrlKey){let e=window.open(i,"_blank");e?.focus();return}return o.replace(i)},variant:"scrollable",allowScrollButtonsMobile:!0,TabIndicatorProps:{style:{height:c.spacing(.4),backgroundColor:c.palette.primary.main}},sx:{"& .MuiTabs-scroller":{height:48,paddingTop:c.spacing(1)},"& .MuiTabs-scrollButtons":{backgroundColor:c.palette.grey[200],borderRadius:c.spacing(1),margin:c.spacing(1),color:c.palette.grey[900]},"& .MuiTabs-scrollButtons.Mui-disabled":{opacity:.3},"& .MuiTab-root":{fontSize:14,textTransform:"none",marginRight:c.spacing(1),minWidth:0,minHeight:0}},children:h.map(({label:e},r)=>t(X,{label:"function"==typeof e?e({t:p}):e,component:"button",sx:{height:32,whiteSpace:"nowrap",border:`1px solid ${c.palette.grey[300]}`,fontWeight:c.typography.fontWeightBold,backgroundColor:c.palette.common.white,borderRadius:c.spacing(1),color:c.palette.common.black,"&.Mui-selected":{color:c.palette.primary.dark,borderColor:c.palette.primary.main}}},r))})}),t(D,{sx:{mx:c.spacing(2)}}),t(g,{sx:{margin:c.spacing(2)},children:m})]})},n0=a.div`
|
|
871
871
|
margin-top: 10px;
|
|
872
872
|
display: flex;
|
|
873
873
|
flex-direction: row;
|
|
@@ -875,7 +875,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
875
875
|
flex-wrap: wrap;
|
|
876
876
|
align-items: center;
|
|
877
877
|
row-gap: 5px;
|
|
878
|
-
`,
|
|
878
|
+
`,n3=a.div`
|
|
879
879
|
margin-right: 10px;
|
|
880
880
|
align-self: center;
|
|
881
881
|
justify-content: center;
|
|
@@ -883,7 +883,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
883
883
|
@media (max-width: 600px) {
|
|
884
884
|
display: none;
|
|
885
885
|
}
|
|
886
|
-
`,
|
|
886
|
+
`,n4=a.div`
|
|
887
887
|
width: 100%;
|
|
888
888
|
align-self: center;
|
|
889
889
|
align-items: center;
|
|
@@ -892,23 +892,23 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
892
892
|
@media (min-width: 600px) {
|
|
893
893
|
display: none;
|
|
894
894
|
}
|
|
895
|
-
`,
|
|
895
|
+
`,n5=({title:e,titleLabel:i,subTitle:a,routedTabs:o,routeTo:n,children:l,tagsArray:s,rightComponent:d,middleRightComponent:c})=>r(ar,{children:[r(j,{sx:{mx:1,justifyContent:"center","@media (min-width: 600px)":{mx:2}},children:[r(ai,{sx:{alignItems:"center",justifyContent:"space-between",position:"sticky",mt:2,mb:2*!(o&&o.length>1),gap:2},children:[r(j,{flexGrow:1,children:[e&&t(nX,{title:e,titleLabel:i}),a&&t(nY,{children:a}),s?.length>=1&&t(n0,{children:s.map((e,r)=>t(nV,{label:e.label,value:e.value,onClick:e.onClick},r))}),l&&t(n0,{children:l})]}),c&&t(n3,{children:c}),d&&t(ai,{sx:{alignItems:"center",justifyContent:"center"},children:d})]}),c&&t(n4,{children:c})]}),o&&t(n2,{routes:o,routeTo:n})]}),n6="DEBIT",n9="CREDIT",n7={IN:"#4CAF50",OUT:"#EF5350"},n8=a.span`
|
|
896
896
|
color: ${e=>e.color};
|
|
897
|
-
`,
|
|
898
|
-
background-color: ${e=>
|
|
897
|
+
`,le=eC(({children:e,...r},i)=>{let{isMobile:a}=o6();return a?t(ai,{tabIndex:-1,ref:i,children:t(t7,{direction:"up",mountOnEnter:!0,unmountOnExit:!0,...r,children:e})}):t(ai,{tabIndex:-1,ref:i,children:t(t9,{mountOnEnter:!0,unmountOnExit:!0,...r,children:e})})}),lt=({open:e,title:i,onClose:a,children:o,actions:n,width:l,maxHeight:s="400px",contentProps:d})=>{let c=eZ();return t(t6,{open:e,onClose:a,closeAfterTransition:!0,sx:{"@media (max-width: 600px)":{zIndex:c.zIndex.mobileStepper+d?.sx.zIndex}},children:t(le,{in:e,children:r(eN,{sx:{position:"absolute",left:0,bottom:0,right:0,boxShadow:c.shadows[2],borderTopLeftRadius:c.shape.borderRadius,borderTopRightRadius:c.shape.borderRadius,borderBottomLeftRadius:0,borderBottomRightRadius:0,height:"fit-content","@media (min-width: 600px)":{width:l,maxWidth:700,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},"@media (max-width: 600px)":{marginBottom:12}},children:[t(tZ,{id:"dialog-title",children:i}),t(ai,{sx:{maxHeight:s,overflowY:"auto"},children:t(tW,{sx:d?.sx,dividers:!0,children:o})}),n&&t(tG,{children:n})]})})})},lr={[n9]:"#4CAF50",[n6]:"#FF9800"},li=e=>({[n9]:e.palette.success.light,[n6]:e.palette.error.light}),la=a(nV)`
|
|
898
|
+
background-color: ${e=>lr[e.status]} !important;
|
|
899
899
|
color: white !important;
|
|
900
|
-
`,lo="PENDING",
|
|
900
|
+
`,lo="PENDING",ln="CREATED",ll="PARTIAL_REFUND",ls="IN_PROCESSING",ld="NOT_ACCOMPLISHED",lc="REJECTED",lp="RECEIVED",lm="REFUNDED",lh="CONFIRMED",lu=(e,t)=>({[lh]:e.palette.success.light,[lp]:e.palette.success.light,[ln]:e.palette.warning.light,[lo]:e.palette.warning.light,[ll]:e.palette.warning.light,[ls]:e.palette.warning.light,[lc]:e.palette.error.light,[ld]:e.palette.error.light,[lm]:e.palette.error.light})[t],lx=({status:e})=>{let r=eZ(),{t:i}=eX();return t(nV,{variant:"filled",label:{[lp]:i("Received"),[lm]:i("Refunded"),[ll]:i("Partially refunded"),[ls]:i("In processing"),[ld]:i("Not accomplished"),[lc]:i("Rejected"),[lo]:i("Pending"),[ln]:i("Created"),[lh]:i("Confirmed"),[ln]:i("Created")}[e],sx:{color:"white",backgroundColor:lu(r,e)}})},lf=a.div`
|
|
901
901
|
display: flex;
|
|
902
902
|
justify-content: center;
|
|
903
903
|
flex-wrap: wrap;
|
|
904
|
-
`,
|
|
904
|
+
`,lg=function(e){let{children:r}=e;return t(lf,{...e,children:r})},lC=a.div`
|
|
905
905
|
display: flex;
|
|
906
906
|
flex-direction: column;
|
|
907
907
|
flex: 1;
|
|
908
908
|
justify-content: space-between;
|
|
909
909
|
align-items: center;
|
|
910
910
|
min-height: 300px;
|
|
911
|
-
`,
|
|
911
|
+
`,lb=({children:e,...r})=>t(lC,{...r,children:e}),ly=a.div`
|
|
912
912
|
padding: 12px;
|
|
913
913
|
display: flex;
|
|
914
914
|
align-items: center;
|
|
@@ -924,7 +924,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
924
924
|
border: 1px solid ${e=>e.theme.palette[t].main};
|
|
925
925
|
border-radius: 8px;
|
|
926
926
|
`})[e])(e.variant,e.color)}
|
|
927
|
-
`,
|
|
927
|
+
`,lv=()=>t("svg",{width:90,height:90,viewBox:"0 0 135 135",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M67.5 0C30.172 0 0 30.172 0 67.5S30.172 135 67.5 135 135 104.828 135 67.5 104.828 0 67.5 0zm33.75 91.733l-9.517 9.517L67.5 77.017 43.267 101.25l-9.517-9.517L57.983 67.5 33.75 43.267l9.517-9.517L67.5 57.983 91.733 33.75l9.517 9.517L77.017 67.5l24.233 24.233z",fill:"#EF5350"})}),lw=({errors:e,callbackOnClose:i})=>{let{t:a}=eX(),o=er();return null!=e&&e.length>0?r(j,{direction:"row",gap:1,sx:{backgroundColor:"#FFCDC1",borderRadius:"4px",padding:"16px",alignItems:"flex-start",mb:2,justifyContent:"space-between"},children:[r(j,{direction:"column",spacing:1,children:[t(ee,{variant:"body1",sx:{color:o.palette.error.main},children:a("Error!!!")}),e.map(e=>t(j,{direction:"row",spacing:.5,children:t(ee,{component:"span",sx:{color:o.palette.error.main},children:e})}))]}),t(tM,{sx:{width:55,height:55},onClick:i,children:t(lv,{})})]}):null},lM=({errors:i,columns:a,titleHeader:o,onClose:n,isOpen:l=!1,color:s,name:d,refColumn:c})=>{let p=d?`banner-infos-${d}`:"banner-infos",m=er();if(!(null!=i&&i.length>0)||!l)return null;let h=(e,t)=>t.valueGetter?t.valueGetter({row:e}):t.field?"-":String(e[t.field]),u={ERROR:{HEADER_BG:"#dc3545",HEADER_TEXT:m.palette.error.dark,CONTENT_BG:"#FFCDC1",CONTENT_TEXT:"#721c24"},SUCCESS:{HEADER_BG:"#28a745",HEADER_TEXT:m.palette.success.dark,CONTENT_BG:"#C8E6C9",CONTENT_TEXT:"#155724"}}[s||"ERROR"],x="SUCCESS"===s;return r(j,{"data-testid":p,direction:"column",sx:{alignItems:"flex-start",justifyContent:"space-between"},mb:1,children:[r(j,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",backgroundColor:u.HEADER_BG,color:"white",borderRadius:"8px 8px 0 0",flexDirection:"row",padding:2},children:[r(j,{sx:{display:"flex",alignItems:"center",gap:2,flexDirection:"row"},children:[x?t(eJ,{size:20}):t(e5,{size:20}),t(ee,{sx:{fontSize:m.typography.body1,fontWeight:m.typography.fontWeightBold},children:o?.toUpperCase()})]}),t(C,{sx:{background:"none",border:"none",color:"white",cursor:"pointer",padding:1,borderRadius:1,display:"flex",alignItems:"center",justifyContent:"center",transition:"background-color 0.2s"},onClick:n,onMouseEnter:e=>{e.currentTarget.style.backgroundColor="rgba(255, 255, 255, 0.2)"},onMouseLeave:e=>{e.currentTarget.style.backgroundColor="transparent"},"aria-label":"Fechar",children:t(e2,{size:20})})]}),t(j,{direction:"row",gap:1,sx:{width:"100%",backgroundColor:u.CONTENT_BG,padding:2,borderBottomLeftRadius:1,borderBottomRightRadius:1},children:t(j,{direction:"column",spacing:1,sx:{width:"100%"},children:i.map((o,n)=>r(e,{children:[(({error:e,index:i})=>t(j,{"data-testid":((e,t)=>{if(!c)return`row-${t}`;let r=h(e,c);return`row-${r||t}`})(e,i),direction:"column",spacing:.5,children:a.map((i,a)=>r(j,{direction:"row",spacing:1,children:[r(ee,{component:"span",sx:{color:u.CONTENT_TEXT,fontWeight:m.typography.fontWeightBold,minWidth:"100px"},children:[i.headerName,":"]}),t(ee,{component:"span",sx:{color:u.CONTENT_TEXT},children:((e,t)=>{if(t.renderCell){let r=h(e,t),i=t.renderCell({color:u.CONTENT_TEXT,value:r,row:e});return null===i?"-":i}return h(e,t)})(e,i)})]},a))},i))({error:o,index:n}),n<i.length-1&&t(D,{sx:{backgroundColor:s||m.palette.error.main}})]}))})})]})},lE=({variant:e,children:r,color:i,...a})=>t(eY,{variant:e,color:i,...a,children:r}),lA=({onClick:e,icon:i})=>{let a=er(),{t:o}=eX();return t(C,{onClick:e,sx:{textTransform:"none",borderRadius:a.spacing(3.75),backgroundColor:a.palette.common.black,py:a.spacing(2),px:a.spacing(6.75),alignItems:"center"},children:r(j,{alignItems:"center",direction:"row",spacing:a.spacing(1),children:[i&&t("img",{src:i,width:24,height:24}),t(lE,{component:"span",variant:"subtitle1",sx:{color:a.palette.common.white},children:o("Donate with")}),t(lE,{component:"span",variant:"subtitle1",sx:{color:a.palette.primary.main},children:"clickpix"})]})})},lI=({onClick:e,icon:i})=>{let a=er(),{t:o}=eX();return t(C,{onClick:e,sx:{textTransform:"none",borderRadius:a.shape.borderRadius,backgroundColor:a.palette.common.black,py:a.spacing(1.5),px:a.spacing(6.75),alignItems:"center"},children:r(j,{alignItems:"center",direction:"row",spacing:a.spacing(1),children:[i&&t("img",{src:i,width:24,height:24}),t(lE,{component:"span",variant:"subtitle1",sx:{color:a.palette.common.white},children:o("Donate to a")}),t(lE,{component:"span",variant:"subtitle1",sx:{fontWeight:a.typography.fontWeightBold,color:a.palette.common.white},children:o("click")})]})})},lk=e=>({startIcon:e?t(t$,{size:"12px"}):null}),lS=a(ao)`
|
|
928
928
|
flex: 1;
|
|
929
929
|
box-sizing: border-box;
|
|
930
930
|
min-height: 150px;
|
|
@@ -938,40 +938,40 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
938
938
|
&:hover {
|
|
939
939
|
box-shadow: 0 10px 20px 0 rgba(96, 115, 137, 0.29);
|
|
940
940
|
}
|
|
941
|
-
`,
|
|
941
|
+
`,lT=a.div`
|
|
942
942
|
display: flex;
|
|
943
943
|
height: 60px;
|
|
944
944
|
align-items: center;
|
|
945
945
|
border-bottom: 1px solid
|
|
946
|
-
${({theme:e})=>`rgba(${
|
|
947
|
-
`,
|
|
946
|
+
${({theme:e})=>`rgba(${oz(e.primaryDarkerColor).join(",")}, 0.12)`};
|
|
947
|
+
`,lD=a.h6`
|
|
948
948
|
font-size: 14px;
|
|
949
949
|
font-weight: normal;
|
|
950
950
|
margin: 0;
|
|
951
951
|
color: ${e=>e.theme.primaryDarkerColor};
|
|
952
|
-
`,
|
|
952
|
+
`,lR=a.p`
|
|
953
953
|
flex: 1;
|
|
954
954
|
font-size: 12px;
|
|
955
955
|
font-weight: normal;
|
|
956
956
|
margin: 10px 0 0 0;
|
|
957
957
|
color: ${e=>e.theme.primaryDarkerColor};
|
|
958
|
-
`,
|
|
958
|
+
`,lL=a(i2)`
|
|
959
959
|
&& {
|
|
960
960
|
color: ${e=>e.theme.primaryLighterColor};
|
|
961
961
|
margin: -5px 5px -5px -5px;
|
|
962
962
|
font-size: 30px;
|
|
963
963
|
}
|
|
964
|
-
`,
|
|
964
|
+
`,l_=a.div`
|
|
965
965
|
display: flex;
|
|
966
966
|
margin: 0 10px 0 0;
|
|
967
|
-
`,
|
|
967
|
+
`,lP=e=>{let{title:i,description:a,icon:n,renderActions:l,primaryAction:s,primaryActionLabel:d,primaryActionProps:c={},secondaryAction:p,secondaryActionLabel:m,secondaryActionProps:h={}}=e,u=ev(o),x=s&&d,f=p&&m;return r(lS,{children:[r(lT,{children:[n?"string"==typeof n?t(lL,{children:n}):t(l_,{children:t(n,{width:25,height:25,color:u.primaryLighterColor})}):null,t(lD,{children:i})]}),t(lR,{children:a}),l?l:x||f?r(ei,{justifyContent:"flex-end",mb:"10px",children:[f?t(i0,{variant:"text",color:"secondary",onClick:p,...h,children:m}):null,x?t(i0,{variant:"text",color:"primary",onClick:s,...c,children:d}):null]}):null]})},lN=i=>{let{t:a}=eX(),{leftComponent:o,rightComponent:n,edges:l,emptyMessage:s=a("No data available"),renderItem:d,isLoading:c,withActionMargin:p=!0}=i;return r(e,{children:[p&&t(oa,{leftComponent:o,rightComponent:n}),c?t(ai,{sx:{flex:1,alignItems:"center",justifyContent:"center"},children:t(o5,{})}):0===l.length?t(ai,{sx:{flex:1,alignItems:"center",justifyContent:"center"},children:t(ee,{children:s})}):l.map((e,t)=>d(e,t))]})},lz=({children:e,isSelected:r=!1,disabled:i=!1,onClick:a,sx:o={},...n})=>{let l,s,d,c=eZ();return t(j,{sx:{width:"100%",justifyContent:"center",p:2,border:1,borderRadius:c.spacing(1),transition:"0.25s ease",...(l=c.palette.primary.main,s=eW(c.palette.primary.dark,.3),d="lightGray",r?{color:i?c.palette.text.disabled:s,borderColor:i?"gray":l,boxShadow:`0px 0px 0px 2px ${i?d:ej(l,.7)}`}:{color:i?c.palette.text.disabled:c.palette.text.secondary,borderColor:d}),...((e,t,r)=>{let i,a;return t?{}:{"&:hover":{cursor:"pointer",...(i=ej(e.palette.primary.main,.7),a=e.palette.primary.main,{boxShadow:`0px 0px 0px ${r?2:1}px ${i}`,borderColor:r?a:ej(a,.3)})}}})(c,i,r),...o},"data-testid":n["data-testid"],onClick:a,children:e})},lO=({title:e,icon:i,content:a,to:o,color:n})=>{let l=er();return r(eO,{component:ea,variant:"outlined",sx:e=>({p:e.spacing(2),cursor:o?"pointer":"default",height:"100%",minHeight:90,display:"flex",alignItems:"stretch",justifyContent:"center",flexDirection:"column",textDecoration:"none",":hover":{borderColor:e.palette.grey[400]}}),...o.startsWith("/")?{}:{component:"a",href:o,target:"_blank",rel:"noopener noreferrer"},children:[r(ei,{direction:"row",sx:{alignItems:"center",justifyContent:"start",width:"100%"},spacing:1,children:[i,t(eY,{variant:"h4",sx:{color:n},fontWeight:l.typography.fontWeightBold,children:e})]}),a&&t(eY,{variant:"subtitle1",sx:{marginTop:1.2,color:n},children:a})]})},lH=({label:e,value:i,alignField:a="inherit"})=>r(ai,{sx:{flexDirection:"column",justifyContent:"center",alignItems:a},children:[t(eY,{variant:"body2",color:"GrayText",children:e}),t(eY,{variant:"body1",fontWeight:600,sx:{lineHeight:"16px",wordBreak:"break-word",display:"flex",flexWrap:"wrap",gap:1},children:i})]}),lV=({label:e,value:i,centeredLabel:a=!1})=>r(ai,{sx:{flexDirection:"column",justifyContent:"center"},children:[t(ee,{fontSize:"14px",fontWeight:"600",sx:{lineHeight:"16px"},textAlign:a?"center":"start",children:e}),t(ee,{fontSize:"12px",textAlign:"center",children:i})]}),lF=({children:e,cardProps:i={},gridProps:a={},actions:o,templateColumns:n="repeat(auto-fit, minmax(150px, 1fr))"})=>r(ao,{mb:"10px",...i,children:[t(aM,{templateColumns:n,gap:"15px",padding:"16px",...a,children:e}),!!o&&t(an,{children:o})]}),l$=a.img`
|
|
968
968
|
object-fit: contain;
|
|
969
969
|
margin: 20px;
|
|
970
|
-
`,
|
|
970
|
+
`,lB=a.h1`
|
|
971
971
|
font-weight: bold;
|
|
972
972
|
text-align: center;
|
|
973
973
|
color: #607389;
|
|
974
|
-
`,
|
|
974
|
+
`,lW=({company:e})=>e?.logo?.url?t(l$,{src:e.logo.url}):t(lB,{children:e.nameFriendly}),lj=ef({showDialog:e=>{},hideDialog:()=>{}}),lG=e=>{let[t,r]=eS(e);return[t,e=>{null!=e&&r(e)}]},lZ=({children:i})=>{let{t:a}=eX(),o=ek(null),n=ek(null),[l,s]=lG(null),[d,c]=lG(""),[p,m]=lG(!1),[h,u]=lG({}),x=()=>{n.current&&n.current(),m(!1)},f=()=>{o.current&&o.current(),m(!1)},[g,C]=lG(r(e,{children:[t(i0,{variant:"outlined",onClick:x,"data-testid":"btn-dialog-cancel",children:a("Cancel")}),t(i3,{color:"primary",onClick:f,"data-testid":"btn-dialog-confirm",children:a("Confirm")})]}));return r(lj.Provider,{value:{showDialog:i=>{let{title:l,message:d,onContinue:p,onClose:h,action:g,...b}=i;p&&(o.current=p),h&&(n.current=h);let y=g||r(e,{children:[t(i0,{variant:"outlined",color:"secondary",onClick:x,"data-testid":"btn-dialog-cancel",children:a("Cancel")}),t(i3,{color:"primary",onClick:f,"data-testid":"btn-dialog-confirm",children:a("Confirm")})]});s(l||null),c(d||""),C(y),u(b),m(!0)},hideDialog:x},children:[r(A,{open:p,onClose:x,...h,children:[l&&t(T,{children:l}),t(k,{children:"string"==typeof d?t(S,{children:d}):d}),!!g&&t(I,{children:g})]}),i]})},lU=({children:e,selectOnLeft:i,onClickSelect:a,selected:o,disabled:n,testId:l})=>{let s=a?t(ei,{alignItems:i?"flex-start":"flex-end",children:t(w,{onClick:a,checked:o,checkedIcon:t(oQ.CheckboxChecked,{}),indeterminateIcon:t(oQ.CheckboxIndeterminate,{}),icon:t(oQ.CheckboxUnchecked,{}),disabled:n,inputProps:{"data-testid":l}})}):null;return r(lF,{gridProps:a?i?{templateColumns:"50px repeat(auto-fit, minmax(150px, 1fr))"}:{templateColumns:"repeat(auto-fit, minmax(150px, 1fr)) 50px"}:{templateColumns:"repeat(auto-fit, minmax(150px, 1fr))"},children:[!!i&&s,e,!i&&s]})},lY=a.div`
|
|
975
975
|
background-color: #f8f8f8;
|
|
976
976
|
width: 900px;
|
|
977
977
|
height: 100%;
|
|
@@ -980,21 +980,21 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
980
980
|
@media (max-width: 1000px) {
|
|
981
981
|
width: 300px;
|
|
982
982
|
}
|
|
983
|
-
`,
|
|
983
|
+
`,lq=class extends eu{state={error:null,fetchKey:0};static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,{componentStack:t}){process.env.JEST_WORKER_ID}_retry=()=>{this.setState(e=>({error:null,fetchKey:e.fetchKey+1}))};render(){let{children:e,fallback:t}=this.props,{error:r,fetchKey:i}=this.state;if(r){if(r.cause?.code===401){let e=new URLSearchParams(window.location.search).get("next"),t=e?`/login?next=${encodeURIComponent(e)}`:"/login";return window.location.replace(t)}return"function"==typeof t?t(r,this._retry):t}return"function"==typeof e?e({fetchKey:i}):e}},lX=a.div`
|
|
984
984
|
display: flex;
|
|
985
985
|
flex: 1;
|
|
986
986
|
align-items: center;
|
|
987
987
|
justify-content: center;
|
|
988
988
|
margin: 10px;
|
|
989
|
-
`,
|
|
989
|
+
`,lK=a.p`
|
|
990
990
|
margin-bottom: 20px;
|
|
991
|
-
`,
|
|
991
|
+
`,lQ=a.div`
|
|
992
992
|
display: flex;
|
|
993
993
|
align-items: center;
|
|
994
994
|
justify-content: center;
|
|
995
995
|
width: 100%;
|
|
996
996
|
max-width: 500px;
|
|
997
|
-
`,lJ="chunk_reload_triggered",
|
|
997
|
+
`,lJ="chunk_reload_triggered",l1=({error:e,retry:i})=>{let a=ek(!1),o=e=>"string"==typeof e?e:e&&"object"==typeof e&&"message"in e?e?.message:void 0,n=e=>"string"==typeof e&&e.includes("Loading chunk"),l=Array.isArray(e)?o(e[0])??"Ocorreu um erro desconhecido":o(e)??"Ocorreu um erro desconhecido";return ew(()=>{(Array.isArray(e)?e.some(e=>n(o(e))):n(o(e)))&&!a.current&&(a.current=!0,localStorage.getItem(lJ)?setTimeout(()=>{localStorage.removeItem(lJ)},6e4):(localStorage.setItem(lJ,"true"),window.location.href="/"))},[e]),t(lX,{children:t(lQ,{children:r(ao,{m:"20px",p:"20px",flexDirection:"column",alignItems:"center",children:[t("h3",{children:"Ops! Ocorreu um erro"}),t(lK,{children:l}),i?t(em,{variant:"outlined",onClick:i,children:"Tentar novamente"}):t(em,{variant:"outlined",onClick:()=>{window.location.href="/login/logout",window.location.reload()},children:"Tentar novamente"})]})})})},l2=({children:e})=>t(lq,{fallback:(e,r)=>t(l1,{error:e,retry:r}),children:({fetchKey:t})=>e({fetchKey:t})}),l0=l1,l3=e=>e.color?e.color:.5>=re(e.background).luminance()?"#FFF":"#000",l4=a.button`
|
|
998
998
|
transition: all 500ms cubic-bezier(0.2, 1, 0.22, 1);
|
|
999
999
|
position: relative;
|
|
1000
1000
|
display: flex;
|
|
@@ -1002,8 +1002,8 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1002
1002
|
justify-content: center;
|
|
1003
1003
|
font-size: 15px;
|
|
1004
1004
|
font-weight: 300;
|
|
1005
|
-
color: ${e=>
|
|
1006
|
-
fill: ${e=>
|
|
1005
|
+
color: ${e=>l3(e)};
|
|
1006
|
+
fill: ${e=>l3(e)};
|
|
1007
1007
|
background: ${e=>e.background};
|
|
1008
1008
|
border: none;
|
|
1009
1009
|
cursor: pointer;
|
|
@@ -1011,13 +1011,13 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1011
1011
|
&:hover {
|
|
1012
1012
|
background: ${e=>re(e.background).brighten(.2)};
|
|
1013
1013
|
}
|
|
1014
|
-
`;function
|
|
1014
|
+
`;function l5(e){let{children:i,...a}=e;return r(l4,{...a,children:[i,t(rt,{})]})}l5.defaultProps={background:"#F9F9F9"};let l6=a.i`
|
|
1015
1015
|
text-align: center;
|
|
1016
1016
|
color: ${e=>e.color};
|
|
1017
1017
|
font-size: ${e=>e.fontSize};
|
|
1018
1018
|
padding: ${e=>e.padding};
|
|
1019
1019
|
font-weight: 800;
|
|
1020
|
-
`;function
|
|
1020
|
+
`;function l9(e){let{children:r}=e,i=e.className?`material-icons ${e.className}`:"material-icons";return t(l6,{...e,className:i,children:r})}l9.defaultProps={color:"#ffffff",fontSize:14,padding:"5px"};let l7=a.div`
|
|
1021
1021
|
position: relative;
|
|
1022
1022
|
display: flex;
|
|
1023
1023
|
justify-content: center;
|
|
@@ -1028,35 +1028,35 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1028
1028
|
box-sizing: border-box;
|
|
1029
1029
|
min-height: 100px;
|
|
1030
1030
|
outline: none;
|
|
1031
|
-
`,
|
|
1031
|
+
`,l8=({onDrop:e,onFileDialogCancel:i,isLoading:a,children:o,url:n,onRemoveFile:l})=>{let{getRootProps:s,getInputProps:d,open:c}=t8({onDrop:e,multiple:!1,noClick:!0,onFileDialogCancel:i}),p=!!l&&!!n&&!a;return t(ei,{flexDirection:"column",children:r(l7,{children:[r("div",{role:"button","aria-pressed":"false",...s(),onClick:c,children:[t("input",{...d()}),a&&t(o5,{}),o({isLoading:a,open:c})]}),p&&t(ei,{children:t(l5,{background:"#fff",onClick:l,size:"large",children:t(l9,{color:"#515c6a",children:"delete"})})})]})})},se=(e,t)=>{let r=oE(e);return tI(ok(t),r)},st=e=>e?e.indexOf("true")>-1||!(e.indexOf("false")>-1)&&e:e,sr=({children:e,forceRow:r})=>t(j,{spacing:2,direction:r?"row":{xs:"column",md:"row"},children:e}),si=a.img`
|
|
1032
1032
|
object-fit: contain;
|
|
1033
1033
|
width: 100%;
|
|
1034
1034
|
max-width: 200px;
|
|
1035
1035
|
max-height: 150px;
|
|
1036
|
-
`,si=({header:e,sidebar:i,children:o})=>{let{width:a}=tj();return a<600?r(_,{container:!0,children:[e,i,o]}):r(_,{container:!0,children:[e,t(or,{sx:{flexDirection:"column",mt:"60px",flex:1},children:o})]})},so=({width:e,height:i="40px",showText:o=!0})=>{let a=o?"#1F6D61":"#fff",n=o?"#4AB7A8":"#fff";return r("svg",{version:"1.1",id:"OpenPixLogo","data-testid":"OpenPixLogo",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:e,height:i,viewBox:"0 0 670.49 140.22",children:[r("g",{fill:o?"#96969A":"#fff",fillRule:"nonzero",id:"open",children:[t("polygon",{points:"469.7,34.9 469.6,35.2 469.8,35"}),t("path",{d:"M264.8,59.4c0,8.5-1.2,15.9-3.7,22.4c-2.5,6.5-5.8,11.9-10,16.2c-4.2,4.3-9.1,7.6-14.7,9.8 c-5.6,2.2-11.5,3.3-17.8,3.3c-6.3,0-12.2-1.1-17.8-3.3c-5.6-2.2-10.5-5.4-14.7-9.8c-4.2-4.3-7.6-9.7-10-16.2 c-2.5-6.5-3.7-13.9-3.7-22.4c0-8.5,1.2-15.9,3.7-22.3c2.5-6.4,5.8-11.8,10-16.1c4.2-4.3,9.1-7.6,14.7-9.8 c5.6-2.2,11.5-3.3,17.8-3.3c6.3,0,12.2,1.1,17.8,3.3c5.6,2.2,10.5,5.4,14.7,9.8c4.2,4.3,7.6,9.7,10,16.1 C263.5,43.5,264.8,51,264.8,59.4L264.8,59.4z M254.5,59.4c0-6.6-0.9-12.6-2.6-17.9c-1.7-5.3-4.1-9.8-7.3-13.5 c-3.1-3.7-6.9-6.5-11.3-8.5c-4.4-1.9-9.4-2.9-14.9-2.9c-5.5,0-10.5,1-14.9,2.9c-4.4,1.9-8.2,4.8-11.3,8.5 c-3.1,3.7-5.6,8.2-7.3,13.5c-1.7,5.3-2.6,11.2-2.6,17.9c0,6.7,0.9,12.6,2.6,17.9c1.7,5.3,4.1,9.8,7.3,13.5 c3.1,3.7,6.9,6.6,11.3,8.5c4.4,2,9.4,3,14.9,3c5.5,0,10.5-1,14.9-3c4.4-2,8.2-4.8,11.3-8.5c3.1-3.7,5.6-8.2,7.3-13.5 C253.6,72,254.5,66.1,254.5,59.4L254.5,59.4z"}),t("path",{d:"M289.7,135.2h-9.3V37.8c2.8-0.9,6.3-1.9,10.5-2.7c4.3-0.9,9.7-1.3,16.2-1.3c5.4,0,10.3,0.9,14.7,2.6 c4.4,1.8,8.2,4.3,11.4,7.6c3.2,3.3,5.6,7.4,7.4,12.1c1.8,4.7,2.6,10.1,2.6,16.1c0,5.6-0.7,10.8-2.2,15.5 c-1.5,4.7-3.6,8.7-6.5,12.1c-2.8,3.4-6.3,6-10.5,7.9c-4.1,1.9-8.9,2.8-14.2,2.8c-4.8,0-9-0.7-12.6-2.1c-3.6-1.4-6.2-2.7-7.8-3.9 V135.2z M289.7,95.6c0.9,0.7,1.9,1.4,3.2,2.1c1.3,0.8,2.8,1.5,4.5,2.1c1.7,0.7,3.6,1.2,5.6,1.6c2,0.4,4.1,0.6,6.3,0.6 c4.6,0,8.4-0.8,11.5-2.4c3.1-1.6,5.6-3.7,7.5-6.4c1.9-2.7,3.3-5.9,4.1-9.5c0.9-3.7,1.3-7.5,1.3-11.6c0-9.7-2.4-17.1-7.3-22.3 c-4.8-5.2-11.3-7.8-19.2-7.8c-4.6,0-8.2,0.2-11,0.6c-2.8,0.4-4.9,0.9-6.3,1.4V95.6z"}),t("path",{d:"M353.7,72c0-6.5,0.9-12.1,2.8-16.9c1.9-4.8,4.3-8.8,7.3-12c3-3.2,6.4-5.6,10.3-7.2c3.8-1.6,7.8-2.4,11.9-2.4 c9,0,16.2,2.9,21.6,8.8c5.4,5.9,8.1,15,8.1,27.2c0,0.8,0,1.5-0.1,2.3c0,0.8-0.1,1.5-0.2,2.1h-51.7c0.3,9,2.5,16,6.7,20.8 c4.2,4.8,10.8,7.3,19.9,7.3c5,0,9-0.5,12-1.4c2.9-0.9,5.1-1.8,6.4-2.4l1.7,8c-1.3,0.8-3.8,1.7-7.5,2.7c-3.7,1-8,1.6-12.9,1.6 c-6.5,0-12-1-16.5-2.9c-4.6-1.9-8.3-4.6-11.3-8c-2.9-3.4-5.1-7.5-6.4-12.2C354.3,82.7,353.7,77.6,353.7,72L353.7,72z M406,66.1 c-0.2-7.7-2-13.7-5.4-18c-3.4-4.3-8.3-6.4-14.5-6.4c-3.3,0-6.3,0.7-8.9,2c-2.6,1.3-4.9,3.1-6.8,5.3c-1.9,2.2-3.5,4.8-4.6,7.8 c-1.1,2.9-1.7,6-1.9,9.3H406z"}),t("path",{d:"M430.7,37.8c2.8-0.8,6.5-1.6,11.1-2.6c4.7-0.9,10.4-1.4,17.1-1.4c5.6,0,10.3,0.8,14,2.4 c3.8,1.6,6.7,3.9,9,6.9c2.2,3,3.8,6.6,4.8,10.8c0.9,4.2,1.4,8.8,1.4,13.8v41.2h-9.3V70.7c0-5.2-0.4-9.6-1.1-13.3 c-0.7-3.6-1.9-6.6-3.6-8.8c-1.7-2.3-3.8-3.9-6.6-4.9c-2.7-1-6.1-1.5-10.2-1.5c-4.4,0-8.1,0.2-11.3,0.7c-3.2,0.5-5.3,0.9-6.2,1.3 v64.7h-9.3V37.8z"})]}),r("g",{fill:n,fillRule:"nonzero",id:"pix",children:[t("path",{d:"M532.1,19.1c12.8,0,22.3,2.4,28.5,7.3c6.3,4.9,9.4,11.8,9.4,20.7c0,5.1-0.9,9.5-2.7,13.1 c-1.8,3.6-4.4,6.5-7.8,8.7c-3.4,2.2-7.5,3.8-12.4,4.8c-4.9,1-10.4,1.5-16.6,1.5h-12.2v34.9h-8.9V21.6c3.1-0.9,6.8-1.5,11-1.9 C524.6,19.3,528.5,19.1,532.1,19.1z M532.5,26.8c-3.3,0-6.1,0.1-8.4,0.3c-2.3,0.2-4.3,0.4-5.9,0.6v39.9h11.2 c4.8,0,9.1-0.3,13-0.8c3.9-0.6,7.2-1.6,9.9-3.1c2.7-1.5,4.8-3.6,6.3-6.3c1.5-2.7,2.2-6.1,2.2-10.3c0-4-0.8-7.3-2.4-9.9 c-1.6-2.6-3.7-4.7-6.4-6.2c-2.6-1.5-5.7-2.6-9.1-3.2C539.6,27.1,536.1,26.8,532.5,26.8z"}),t("path",{d:"M599,22.5c0,2-0.6,3.6-1.8,4.8c-1.2,1.2-2.7,1.8-4.4,1.8c-1.7,0-3.2-0.6-4.4-1.8c-1.2-1.2-1.8-2.8-1.8-4.8 c0-2,0.6-3.6,1.8-4.8c1.2-1.2,2.7-1.8,4.4-1.8c1.7,0,3.2,0.6,4.4,1.8C598.3,19,599,20.5,599,22.5z M597,110.2h-8.5V42.9h8.5 V110.2z"}),t("path",{d:"M643,81.7c-1.9,2.3-3.8,4.7-5.7,7.2c-1.9,2.5-3.7,5-5.5,7.4c-1.8,2.4-3.4,4.9-4.9,7.4 c-1.5,2.5-2.7,4.7-3.7,6.6h-8.8c3.6-6.6,7.5-12.8,11.6-18.4c4.1-5.6,8.2-11.1,12.5-16.5l-22.8-32.4h9.9l17.6,25.5l17.6-25.5h9.2 l-22.3,32c1.9,2.4,3.9,4.9,6.1,7.7c2.2,2.8,4.3,5.7,6.5,8.7c2.2,3,4.2,6.1,6.3,9.3c2,3.2,3.9,6.4,5.6,9.6h-9.1 c-1-1.9-2.3-4-3.8-6.3c-1.5-2.3-3.1-4.7-4.9-7.2c-1.8-2.5-3.7-5-5.6-7.6C646.8,86.5,644.9,84,643,81.7z"})]}),r("g",{children:[t("path",{fill:a,d:"M134.8,93.9c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7 l-43.8,24c-3.5,1.9-8.2,1.9-11.7,0l-43.8-24.1c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3l-7.9-4.3l-7.9,4.3l-11.4,6.2 c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l53.3,29.2c3.5,1.9,8.2,1.9,11.7,0l53.2-29.2 c2.8-1.6,4.5-4.1,4.5-6.9C136,96.4,135.6,95.1,134.8,93.9z"}),t("path",{fill:o?"#308E83":"#fff",d:"M134.8,67.7c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7 l-9.8,5.4l-7.9,4.3L78.3,99c-3.5,1.9-8.2,1.9-11.7,0L40.5,84.7l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3 l-7.9-4.3l-7.9,4.3l-11.4,6.2c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.9c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6 c3.5,1.9,8.2,1.9,11.7,0L112.2,89l7.9-4.3l11.4-6.2c2.8-1.6,4.5-4.1,4.5-6.9C136,70.2,135.6,68.9,134.8,67.7z"}),t("path",{fill:n,d:"M134.8,41.6c-0.8-1.2-1.9-2.2-3.3-3L78.3,9.5c-3.5-1.9-8.2-1.9-11.7,0L13.3,38.6c-2.8,1.6-4.5,4.1-4.5,6.9 c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6c3.5,1.9,8.2,1.9,11.7,0l33.9-18.6l7.9-4.3l11.4-6.2 c2.8-1.6,4.5-4.1,4.5-6.9C136,44.1,135.6,42.8,134.8,41.6z M122.1,48.8l-9.8,5.4l-7.9,4.3l-26,14.3c-3.5,1.9-8.2,1.9-11.7,0 L40.5,58.5l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l43.8-24c3.5-1.9,8.2-1.9,11.7,0l43.8,24.1C125,43.8,125,47.2,122.1,48.8z"}),r("g",{fill:a,children:[t("path",{d:"M65.8,44.1c-3.3-2-6.6-3.9-9.9-5.9c-1.2-0.7-2.4-1.1-3.8-1c-0.8-0.1-1.5,0.1-2.2,0.5 c-3.7,2.2-7.5,4.4-11.3,6.7c-1.4,0.8-1.4,2,0,2.8c3.7,2.1,7.4,4.1,11.1,6.3c2.2,1.3,4.4,1.1,6.6,0c3.2-1.8,6.3-3.7,9.5-5.5 C67.6,46.9,67.6,45.2,65.8,44.1z M58.4,46.4l-5.6,3.1c-0.2,0.1-0.5,0.1-0.8,0l-5.6-3.2c-0.5-0.3-0.5-1.1,0-1.4l5.7-3.2 c0.2-0.1,0.6-0.1,0.8,0l5.5,3.2C58.9,45.4,58.9,46.1,58.4,46.4z"}),t("path",{d:"M86.3,56.4L74.1,49c-0.8-0.5-1.7-0.5-2.5,0L59,56.2c-0.9,0.5-0.9,1.8,0,2.3l11.3,6.6c1.5,0.8,3.2,0.8,4.7,0 l11.3-6.5C87.2,58.2,87.2,56.9,86.3,56.4z M78.9,58l-6,3.4c-0.2,0.1-0.4,0.1-0.6,0l-6-3.5c-0.4-0.2-0.4-0.8,0-1.1l5.8-3.3 c0.4-0.2,0.8-0.2,1.1,0L79,57C79.4,57.2,79.4,57.8,78.9,58z"}),t("path",{d:"M86.6,33.1l-12.3-7.9c-0.8-0.5-1.8-0.5-2.6,0L59,32.3c-1.2,0.7-1.4,2.6-0.2,3.3l11.9,7c1.2,0.7,2.8,0.7,4,0 l11.8-6.4C87.7,35.5,87.7,33.8,86.6,33.1z M78.6,34.9l-5,2.7c-0.5,0.3-1.2,0.3-1.7,0l-5.1-3c-0.5-0.3-0.4-1.1,0.1-1.4l5.4-3 c0.3-0.2,0.8-0.2,1.1,0l5.3,3.4C79.1,33.9,79.1,34.6,78.6,34.9z"}),t("path",{d:"M87.1,52.3l3.5,2.2c0.9,0.7,2.1,0.7,3.1,0.1l3.3-2c0.8-0.5,0.8-1.6,0-2.1l-4-2.5c-0.4-0.2-0.8-0.2-1.2,0 l-4.7,2.6C86.6,50.9,86.5,51.8,87.1,52.3z"}),t("path",{d:"M96.7,46.7l3.4,2.2c0.9,0.6,2.1,0.6,3,0.1l3.6-2.2c0.5-0.3,0.6-1.1,0-1.5l-3.7-2.3c-0.7-0.5-1.7-0.5-2.4,0 l-3.8,2.2C96.2,45.5,96.1,46.3,96.7,46.7z"}),t("path",{d:"M87.6,41l4.2,2.9c0.7,0.5,1.5,0.5,2.2,0l4.3-2.8c0.4-0.3,0.4-0.8,0-1.1l-4.5-2.8c-0.6-0.4-1.3-0.4-1.9,0 l-4.3,2.6C87.2,40.2,87.2,40.7,87.6,41z"})]})]})]})},sa=({width:e,height:i="40px",color:o="#03D69D"})=>t("svg",{id:"WooviLogo","data-testid":"WooviLogo",width:e,height:i,viewBox:"0 0 124 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("g",{id:"Group",children:[t("path",{id:"Vector",d:"M101.243 35.5452C99.1586 35.5452 97.2858 34.3098 96.5084 32.3684L89.4766 15.5312C88.5932 13.4133 90.148 11.1189 92.4095 11.1189C93.7169 11.1189 94.883 11.8955 95.3777 13.1309L101.243 27.709L107.109 13.1309C107.604 11.9308 108.77 11.1189 110.077 11.1189C112.374 11.1189 113.894 13.4486 113.01 15.5312L105.978 32.4037C105.201 34.3098 103.328 35.5452 101.243 35.5452Z",fill:o}),t("path",{id:"Vector_2",d:"M122.833 1.16484C123.575 1.9414 123.964 2.82386 123.964 3.8828C123.964 4.94175 123.575 5.8595 122.833 6.56546C122.091 7.27143 121.137 7.62441 120.042 7.62441C118.911 7.62441 117.957 7.27143 117.215 6.56546C116.473 5.8595 116.12 4.94175 116.12 3.8828C116.12 2.82386 116.508 1.9414 117.25 1.16484C117.992 0.38828 118.946 0 120.042 0C121.137 0 122.091 0.38828 122.833 1.16484ZM116.791 32.3331V14.3664C116.791 12.6015 118.24 11.1542 120.007 11.1542C121.773 11.1542 123.222 12.6015 123.222 14.3664V32.2978C123.222 34.0628 121.773 35.51 120.007 35.51C118.24 35.5453 116.791 34.0981 116.791 32.3331Z",fill:o}),t("g",{id:"Group_2",children:t("path",{id:"Vector_3",d:"M23.8226 35.5453C21.8792 35.5453 20.2184 34.2746 19.7237 32.4391L16.5081 20.5083L13.2572 32.4391C12.7625 34.2746 11.1017 35.5453 9.1936 35.5453C7.32081 35.5453 5.66002 34.3099 5.12998 32.4744L0.112297 14.9665C-0.41774 13.0957 0.995693 11.2249 2.93916 11.2249C4.24659 11.2249 5.41267 12.1073 5.76603 13.378L9.40562 26.5443L12.8332 13.9781C13.2926 12.3544 14.7413 11.2249 16.4374 11.2249C18.1336 11.2249 19.6177 12.3544 20.0417 13.9781L23.4693 26.5443L27.1089 13.378C27.4622 12.1073 28.6283 11.2249 29.9357 11.2249H30.0417C31.9852 11.2249 33.3986 13.0957 32.8686 14.9665L27.8863 32.5097C27.3916 34.3099 25.7308 35.5453 23.8226 35.5453Z",fill:o})}),t("path",{id:"Vector_4",d:"M53.7168 25.6265C55.4482 27.3561 57.0383 28.9446 58.6285 30.533C55.0242 34.9453 50.5366 37.6632 44.5648 36.5337C39.0171 35.4747 35.3775 32.0508 33.9287 26.5443C32.4093 20.7201 35.0948 14.6841 40.2892 11.719C45.4835 8.754 51.9853 9.53056 56.261 13.731C61.0313 18.3904 65.6956 23.1557 70.4306 27.8503C72.8688 30.2506 76.4731 30.533 79.0879 28.5916C82.0208 26.4031 82.5508 22.1673 80.2893 19.3082C77.9925 16.449 73.7522 15.9901 70.996 18.3904C70.0419 19.2023 69.2645 20.2259 68.4518 21.1437C66.685 19.3788 65.0949 17.7903 63.5048 16.2019C67.0031 11.8955 71.42 8.96579 77.9925 10.2718C83.4695 11.3308 87.5332 15.8136 88.4519 21.426C89.3353 26.9326 86.4378 32.6156 81.3847 35.2629C76.2257 37.9456 69.9713 37.0278 65.7663 32.898C61.0666 28.2386 56.4023 23.5439 51.7026 18.8846C49.6885 16.8726 46.8616 16.2725 44.3881 17.4021C41.8793 18.5316 40.5012 20.5083 40.4658 23.2969C40.4305 26.0501 41.7026 28.1327 44.2114 29.2975C46.7556 30.4624 49.1585 30.1094 51.2786 28.2739C52.1973 27.4267 52.9394 26.4737 53.7168 25.6265Z",fill:o})]})}),sn={ACTIVE:"#FF9800",DELETED:"#ff7f50",ACTIVE_WAITING_PAYMENT_METHOD:"#FF9800",EXPIRED:"#ff7f50",OVERDUE:"#e65100",COMPLETED:"#4CAF50",SCHEDULED:"rgb(0 149 255)"},sl=o(nH)`
|
|
1037
|
-
background-color: ${e=>
|
|
1036
|
+
`,sa=({header:e,sidebar:i,children:a})=>{let{width:o}=tj();return o<600?r(_,{container:!0,children:[e,i,a]}):r(_,{container:!0,children:[e,t(ai,{sx:{flexDirection:"column",mt:"60px",flex:1},children:a})]})},so=({width:e,height:i="40px",showText:a=!0})=>{let o=a?"#1F6D61":"#fff",n=a?"#4AB7A8":"#fff";return r("svg",{version:"1.1",id:"OpenPixLogo","data-testid":"OpenPixLogo",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:e,height:i,viewBox:"0 0 670.49 140.22",children:[r("g",{fill:a?"#96969A":"#fff",fillRule:"nonzero",id:"open",children:[t("polygon",{points:"469.7,34.9 469.6,35.2 469.8,35"}),t("path",{d:"M264.8,59.4c0,8.5-1.2,15.9-3.7,22.4c-2.5,6.5-5.8,11.9-10,16.2c-4.2,4.3-9.1,7.6-14.7,9.8 c-5.6,2.2-11.5,3.3-17.8,3.3c-6.3,0-12.2-1.1-17.8-3.3c-5.6-2.2-10.5-5.4-14.7-9.8c-4.2-4.3-7.6-9.7-10-16.2 c-2.5-6.5-3.7-13.9-3.7-22.4c0-8.5,1.2-15.9,3.7-22.3c2.5-6.4,5.8-11.8,10-16.1c4.2-4.3,9.1-7.6,14.7-9.8 c5.6-2.2,11.5-3.3,17.8-3.3c6.3,0,12.2,1.1,17.8,3.3c5.6,2.2,10.5,5.4,14.7,9.8c4.2,4.3,7.6,9.7,10,16.1 C263.5,43.5,264.8,51,264.8,59.4L264.8,59.4z M254.5,59.4c0-6.6-0.9-12.6-2.6-17.9c-1.7-5.3-4.1-9.8-7.3-13.5 c-3.1-3.7-6.9-6.5-11.3-8.5c-4.4-1.9-9.4-2.9-14.9-2.9c-5.5,0-10.5,1-14.9,2.9c-4.4,1.9-8.2,4.8-11.3,8.5 c-3.1,3.7-5.6,8.2-7.3,13.5c-1.7,5.3-2.6,11.2-2.6,17.9c0,6.7,0.9,12.6,2.6,17.9c1.7,5.3,4.1,9.8,7.3,13.5 c3.1,3.7,6.9,6.6,11.3,8.5c4.4,2,9.4,3,14.9,3c5.5,0,10.5-1,14.9-3c4.4-2,8.2-4.8,11.3-8.5c3.1-3.7,5.6-8.2,7.3-13.5 C253.6,72,254.5,66.1,254.5,59.4L254.5,59.4z"}),t("path",{d:"M289.7,135.2h-9.3V37.8c2.8-0.9,6.3-1.9,10.5-2.7c4.3-0.9,9.7-1.3,16.2-1.3c5.4,0,10.3,0.9,14.7,2.6 c4.4,1.8,8.2,4.3,11.4,7.6c3.2,3.3,5.6,7.4,7.4,12.1c1.8,4.7,2.6,10.1,2.6,16.1c0,5.6-0.7,10.8-2.2,15.5 c-1.5,4.7-3.6,8.7-6.5,12.1c-2.8,3.4-6.3,6-10.5,7.9c-4.1,1.9-8.9,2.8-14.2,2.8c-4.8,0-9-0.7-12.6-2.1c-3.6-1.4-6.2-2.7-7.8-3.9 V135.2z M289.7,95.6c0.9,0.7,1.9,1.4,3.2,2.1c1.3,0.8,2.8,1.5,4.5,2.1c1.7,0.7,3.6,1.2,5.6,1.6c2,0.4,4.1,0.6,6.3,0.6 c4.6,0,8.4-0.8,11.5-2.4c3.1-1.6,5.6-3.7,7.5-6.4c1.9-2.7,3.3-5.9,4.1-9.5c0.9-3.7,1.3-7.5,1.3-11.6c0-9.7-2.4-17.1-7.3-22.3 c-4.8-5.2-11.3-7.8-19.2-7.8c-4.6,0-8.2,0.2-11,0.6c-2.8,0.4-4.9,0.9-6.3,1.4V95.6z"}),t("path",{d:"M353.7,72c0-6.5,0.9-12.1,2.8-16.9c1.9-4.8,4.3-8.8,7.3-12c3-3.2,6.4-5.6,10.3-7.2c3.8-1.6,7.8-2.4,11.9-2.4 c9,0,16.2,2.9,21.6,8.8c5.4,5.9,8.1,15,8.1,27.2c0,0.8,0,1.5-0.1,2.3c0,0.8-0.1,1.5-0.2,2.1h-51.7c0.3,9,2.5,16,6.7,20.8 c4.2,4.8,10.8,7.3,19.9,7.3c5,0,9-0.5,12-1.4c2.9-0.9,5.1-1.8,6.4-2.4l1.7,8c-1.3,0.8-3.8,1.7-7.5,2.7c-3.7,1-8,1.6-12.9,1.6 c-6.5,0-12-1-16.5-2.9c-4.6-1.9-8.3-4.6-11.3-8c-2.9-3.4-5.1-7.5-6.4-12.2C354.3,82.7,353.7,77.6,353.7,72L353.7,72z M406,66.1 c-0.2-7.7-2-13.7-5.4-18c-3.4-4.3-8.3-6.4-14.5-6.4c-3.3,0-6.3,0.7-8.9,2c-2.6,1.3-4.9,3.1-6.8,5.3c-1.9,2.2-3.5,4.8-4.6,7.8 c-1.1,2.9-1.7,6-1.9,9.3H406z"}),t("path",{d:"M430.7,37.8c2.8-0.8,6.5-1.6,11.1-2.6c4.7-0.9,10.4-1.4,17.1-1.4c5.6,0,10.3,0.8,14,2.4 c3.8,1.6,6.7,3.9,9,6.9c2.2,3,3.8,6.6,4.8,10.8c0.9,4.2,1.4,8.8,1.4,13.8v41.2h-9.3V70.7c0-5.2-0.4-9.6-1.1-13.3 c-0.7-3.6-1.9-6.6-3.6-8.8c-1.7-2.3-3.8-3.9-6.6-4.9c-2.7-1-6.1-1.5-10.2-1.5c-4.4,0-8.1,0.2-11.3,0.7c-3.2,0.5-5.3,0.9-6.2,1.3 v64.7h-9.3V37.8z"})]}),r("g",{fill:n,fillRule:"nonzero",id:"pix",children:[t("path",{d:"M532.1,19.1c12.8,0,22.3,2.4,28.5,7.3c6.3,4.9,9.4,11.8,9.4,20.7c0,5.1-0.9,9.5-2.7,13.1 c-1.8,3.6-4.4,6.5-7.8,8.7c-3.4,2.2-7.5,3.8-12.4,4.8c-4.9,1-10.4,1.5-16.6,1.5h-12.2v34.9h-8.9V21.6c3.1-0.9,6.8-1.5,11-1.9 C524.6,19.3,528.5,19.1,532.1,19.1z M532.5,26.8c-3.3,0-6.1,0.1-8.4,0.3c-2.3,0.2-4.3,0.4-5.9,0.6v39.9h11.2 c4.8,0,9.1-0.3,13-0.8c3.9-0.6,7.2-1.6,9.9-3.1c2.7-1.5,4.8-3.6,6.3-6.3c1.5-2.7,2.2-6.1,2.2-10.3c0-4-0.8-7.3-2.4-9.9 c-1.6-2.6-3.7-4.7-6.4-6.2c-2.6-1.5-5.7-2.6-9.1-3.2C539.6,27.1,536.1,26.8,532.5,26.8z"}),t("path",{d:"M599,22.5c0,2-0.6,3.6-1.8,4.8c-1.2,1.2-2.7,1.8-4.4,1.8c-1.7,0-3.2-0.6-4.4-1.8c-1.2-1.2-1.8-2.8-1.8-4.8 c0-2,0.6-3.6,1.8-4.8c1.2-1.2,2.7-1.8,4.4-1.8c1.7,0,3.2,0.6,4.4,1.8C598.3,19,599,20.5,599,22.5z M597,110.2h-8.5V42.9h8.5 V110.2z"}),t("path",{d:"M643,81.7c-1.9,2.3-3.8,4.7-5.7,7.2c-1.9,2.5-3.7,5-5.5,7.4c-1.8,2.4-3.4,4.9-4.9,7.4 c-1.5,2.5-2.7,4.7-3.7,6.6h-8.8c3.6-6.6,7.5-12.8,11.6-18.4c4.1-5.6,8.2-11.1,12.5-16.5l-22.8-32.4h9.9l17.6,25.5l17.6-25.5h9.2 l-22.3,32c1.9,2.4,3.9,4.9,6.1,7.7c2.2,2.8,4.3,5.7,6.5,8.7c2.2,3,4.2,6.1,6.3,9.3c2,3.2,3.9,6.4,5.6,9.6h-9.1 c-1-1.9-2.3-4-3.8-6.3c-1.5-2.3-3.1-4.7-4.9-7.2c-1.8-2.5-3.7-5-5.6-7.6C646.8,86.5,644.9,84,643,81.7z"})]}),r("g",{children:[t("path",{fill:o,d:"M134.8,93.9c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7 l-43.8,24c-3.5,1.9-8.2,1.9-11.7,0l-43.8-24.1c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3l-7.9-4.3l-7.9,4.3l-11.4,6.2 c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l53.3,29.2c3.5,1.9,8.2,1.9,11.7,0l53.2-29.2 c2.8-1.6,4.5-4.1,4.5-6.9C136,96.4,135.6,95.1,134.8,93.9z"}),t("path",{fill:a?"#308E83":"#fff",d:"M134.8,67.7c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7 l-9.8,5.4l-7.9,4.3L78.3,99c-3.5,1.9-8.2,1.9-11.7,0L40.5,84.7l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3 l-7.9-4.3l-7.9,4.3l-11.4,6.2c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.9c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6 c3.5,1.9,8.2,1.9,11.7,0L112.2,89l7.9-4.3l11.4-6.2c2.8-1.6,4.5-4.1,4.5-6.9C136,70.2,135.6,68.9,134.8,67.7z"}),t("path",{fill:n,d:"M134.8,41.6c-0.8-1.2-1.9-2.2-3.3-3L78.3,9.5c-3.5-1.9-8.2-1.9-11.7,0L13.3,38.6c-2.8,1.6-4.5,4.1-4.5,6.9 c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6c3.5,1.9,8.2,1.9,11.7,0l33.9-18.6l7.9-4.3l11.4-6.2 c2.8-1.6,4.5-4.1,4.5-6.9C136,44.1,135.6,42.8,134.8,41.6z M122.1,48.8l-9.8,5.4l-7.9,4.3l-26,14.3c-3.5,1.9-8.2,1.9-11.7,0 L40.5,58.5l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l43.8-24c3.5-1.9,8.2-1.9,11.7,0l43.8,24.1C125,43.8,125,47.2,122.1,48.8z"}),r("g",{fill:o,children:[t("path",{d:"M65.8,44.1c-3.3-2-6.6-3.9-9.9-5.9c-1.2-0.7-2.4-1.1-3.8-1c-0.8-0.1-1.5,0.1-2.2,0.5 c-3.7,2.2-7.5,4.4-11.3,6.7c-1.4,0.8-1.4,2,0,2.8c3.7,2.1,7.4,4.1,11.1,6.3c2.2,1.3,4.4,1.1,6.6,0c3.2-1.8,6.3-3.7,9.5-5.5 C67.6,46.9,67.6,45.2,65.8,44.1z M58.4,46.4l-5.6,3.1c-0.2,0.1-0.5,0.1-0.8,0l-5.6-3.2c-0.5-0.3-0.5-1.1,0-1.4l5.7-3.2 c0.2-0.1,0.6-0.1,0.8,0l5.5,3.2C58.9,45.4,58.9,46.1,58.4,46.4z"}),t("path",{d:"M86.3,56.4L74.1,49c-0.8-0.5-1.7-0.5-2.5,0L59,56.2c-0.9,0.5-0.9,1.8,0,2.3l11.3,6.6c1.5,0.8,3.2,0.8,4.7,0 l11.3-6.5C87.2,58.2,87.2,56.9,86.3,56.4z M78.9,58l-6,3.4c-0.2,0.1-0.4,0.1-0.6,0l-6-3.5c-0.4-0.2-0.4-0.8,0-1.1l5.8-3.3 c0.4-0.2,0.8-0.2,1.1,0L79,57C79.4,57.2,79.4,57.8,78.9,58z"}),t("path",{d:"M86.6,33.1l-12.3-7.9c-0.8-0.5-1.8-0.5-2.6,0L59,32.3c-1.2,0.7-1.4,2.6-0.2,3.3l11.9,7c1.2,0.7,2.8,0.7,4,0 l11.8-6.4C87.7,35.5,87.7,33.8,86.6,33.1z M78.6,34.9l-5,2.7c-0.5,0.3-1.2,0.3-1.7,0l-5.1-3c-0.5-0.3-0.4-1.1,0.1-1.4l5.4-3 c0.3-0.2,0.8-0.2,1.1,0l5.3,3.4C79.1,33.9,79.1,34.6,78.6,34.9z"}),t("path",{d:"M87.1,52.3l3.5,2.2c0.9,0.7,2.1,0.7,3.1,0.1l3.3-2c0.8-0.5,0.8-1.6,0-2.1l-4-2.5c-0.4-0.2-0.8-0.2-1.2,0 l-4.7,2.6C86.6,50.9,86.5,51.8,87.1,52.3z"}),t("path",{d:"M96.7,46.7l3.4,2.2c0.9,0.6,2.1,0.6,3,0.1l3.6-2.2c0.5-0.3,0.6-1.1,0-1.5l-3.7-2.3c-0.7-0.5-1.7-0.5-2.4,0 l-3.8,2.2C96.2,45.5,96.1,46.3,96.7,46.7z"}),t("path",{d:"M87.6,41l4.2,2.9c0.7,0.5,1.5,0.5,2.2,0l4.3-2.8c0.4-0.3,0.4-0.8,0-1.1l-4.5-2.8c-0.6-0.4-1.3-0.4-1.9,0 l-4.3,2.6C87.2,40.2,87.2,40.7,87.6,41z"})]})]})]})},sn=({width:e,height:i="40px",color:a="#03D69D"})=>t("svg",{id:"WooviLogo","data-testid":"WooviLogo",width:e,height:i,viewBox:"0 0 124 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r("g",{id:"Group",children:[t("path",{id:"Vector",d:"M101.243 35.5452C99.1586 35.5452 97.2858 34.3098 96.5084 32.3684L89.4766 15.5312C88.5932 13.4133 90.148 11.1189 92.4095 11.1189C93.7169 11.1189 94.883 11.8955 95.3777 13.1309L101.243 27.709L107.109 13.1309C107.604 11.9308 108.77 11.1189 110.077 11.1189C112.374 11.1189 113.894 13.4486 113.01 15.5312L105.978 32.4037C105.201 34.3098 103.328 35.5452 101.243 35.5452Z",fill:a}),t("path",{id:"Vector_2",d:"M122.833 1.16484C123.575 1.9414 123.964 2.82386 123.964 3.8828C123.964 4.94175 123.575 5.8595 122.833 6.56546C122.091 7.27143 121.137 7.62441 120.042 7.62441C118.911 7.62441 117.957 7.27143 117.215 6.56546C116.473 5.8595 116.12 4.94175 116.12 3.8828C116.12 2.82386 116.508 1.9414 117.25 1.16484C117.992 0.38828 118.946 0 120.042 0C121.137 0 122.091 0.38828 122.833 1.16484ZM116.791 32.3331V14.3664C116.791 12.6015 118.24 11.1542 120.007 11.1542C121.773 11.1542 123.222 12.6015 123.222 14.3664V32.2978C123.222 34.0628 121.773 35.51 120.007 35.51C118.24 35.5453 116.791 34.0981 116.791 32.3331Z",fill:a}),t("g",{id:"Group_2",children:t("path",{id:"Vector_3",d:"M23.8226 35.5453C21.8792 35.5453 20.2184 34.2746 19.7237 32.4391L16.5081 20.5083L13.2572 32.4391C12.7625 34.2746 11.1017 35.5453 9.1936 35.5453C7.32081 35.5453 5.66002 34.3099 5.12998 32.4744L0.112297 14.9665C-0.41774 13.0957 0.995693 11.2249 2.93916 11.2249C4.24659 11.2249 5.41267 12.1073 5.76603 13.378L9.40562 26.5443L12.8332 13.9781C13.2926 12.3544 14.7413 11.2249 16.4374 11.2249C18.1336 11.2249 19.6177 12.3544 20.0417 13.9781L23.4693 26.5443L27.1089 13.378C27.4622 12.1073 28.6283 11.2249 29.9357 11.2249H30.0417C31.9852 11.2249 33.3986 13.0957 32.8686 14.9665L27.8863 32.5097C27.3916 34.3099 25.7308 35.5453 23.8226 35.5453Z",fill:a})}),t("path",{id:"Vector_4",d:"M53.7168 25.6265C55.4482 27.3561 57.0383 28.9446 58.6285 30.533C55.0242 34.9453 50.5366 37.6632 44.5648 36.5337C39.0171 35.4747 35.3775 32.0508 33.9287 26.5443C32.4093 20.7201 35.0948 14.6841 40.2892 11.719C45.4835 8.754 51.9853 9.53056 56.261 13.731C61.0313 18.3904 65.6956 23.1557 70.4306 27.8503C72.8688 30.2506 76.4731 30.533 79.0879 28.5916C82.0208 26.4031 82.5508 22.1673 80.2893 19.3082C77.9925 16.449 73.7522 15.9901 70.996 18.3904C70.0419 19.2023 69.2645 20.2259 68.4518 21.1437C66.685 19.3788 65.0949 17.7903 63.5048 16.2019C67.0031 11.8955 71.42 8.96579 77.9925 10.2718C83.4695 11.3308 87.5332 15.8136 88.4519 21.426C89.3353 26.9326 86.4378 32.6156 81.3847 35.2629C76.2257 37.9456 69.9713 37.0278 65.7663 32.898C61.0666 28.2386 56.4023 23.5439 51.7026 18.8846C49.6885 16.8726 46.8616 16.2725 44.3881 17.4021C41.8793 18.5316 40.5012 20.5083 40.4658 23.2969C40.4305 26.0501 41.7026 28.1327 44.2114 29.2975C46.7556 30.4624 49.1585 30.1094 51.2786 28.2739C52.1973 27.4267 52.9394 26.4737 53.7168 25.6265Z",fill:a})]})}),sl={ACTIVE:"#FF9800",DELETED:"#ff7f50",ACTIVE_WAITING_PAYMENT_METHOD:"#FF9800",EXPIRED:"#ff7f50",OVERDUE:"#e65100",COMPLETED:"#4CAF50",SCHEDULED:"rgb(0 149 255)"},ss=a(nV)`
|
|
1037
|
+
background-color: ${e=>sl[e.status]} !important;
|
|
1038
1038
|
color: white !important;
|
|
1039
|
-
`,
|
|
1040
|
-
background-color: ${e=>
|
|
1039
|
+
`,sd=({label:e,text:i})=>r(ai,{sx:{mb:"10px",flexDirection:"column",alignItems:"center",textAlign:"center"},children:[t(ee,{sx:{fontWeight:600},variant:"h6",children:e}),"string"==typeof i?t(ee,{variant:"h6",sx:{overflowWrap:"anywhere"},children:i}):i]}),sc=({charge:i})=>{let{t:a}=eX();return!i.additionalInfo||i.additionalInfo.length<=0?null:i?.additionalInfo?.length>0?r(e,{children:[t(ai,{sx:{justifyContent:"center",mb:"18px"},children:t(ee,{sx:{fontWeight:600,fontSize:"18px",textAlign:"center"},children:a("Additional information")})}),i.additionalInfo?.map(e=>t(sd,{label:e?.key,text:e?.value},e?.key))]}):null};var sp="5.0.2";let sm=({children:e,heading:i,secondaryHeading:a,primaryAction:n,primaryActionLabel:l,primaryActionProps:s,payAsGuestAction:d=null,payAsGuestActionLabel:c=null,payAsGuestActionProps:p=null,secondaryAction:m=null,secondaryActionLabel:h=null,secondaryActionProps:u=null,renderFooter:x=null,isTemp:f=!1,withCard:g=!0})=>{let C=ev(o),b=()=>r(j,{sx:{gap:2},flexDirection:"column",children:[t(sn,{}),r(j,{sx:{flexDirection:"column",justifyContent:"center"},children:[t(ee,{variant:"h5",color:"secondary",align:"center",children:i}),a&&t(ee,{color:"secondary",textAlign:"center",children:a})]})]}),y=()=>r(j,{sx:{flexDirection:"column"},children:[r(j,{sx:{flexDirection:"column",gap:1},children:[e,n?t(j,{children:t(i0,{fullWidth:!0,endIcon:t(te,{htmlColor:"#fff",fontSize:"large"}),height:42,onClick:n,...s,children:t(ee,{color:"#FFF",fontSize:18,fontWeight:600,children:l})})}):null,d?t(j,{sx:{ml:"-8px"},children:t(i0,{fullWidth:!0,variant:"outlined",color:"secondary",endIcon:t(te,{htmlColor:"#607389",fontSize:"large"}),height:42,onClick:d,...p,children:t(ee,{color:"#607389",fontSize:18,fontWeight:600,children:c})})}):null,m||h||u?t(j,{sx:{justifyContent:"center"},children:t(i0,{color:"secondary",variant:"none",onClick:m,...u,children:t(ee,{color:C?.palette?.primary?.light,fontSize:18,children:h})})}):null]}),t(D,{light:!0}),r(j,{sx:{flexDirection:"column",justifyContent:"center",alignItems:"center",gap:2,py:2},children:[x&&x(),r(j,{sx:{justifyContent:"center",alignItems:"center",width:"100%"},children:[t(om,{}),r(ee,{variant:"body2",sx:{fontSize:10,textAlign:"center",color:C.palette.grey[400]},children:["(v",sp,")"]})]})]})]});return g?r(ao,{sx:{display:"flex",flexDirection:"column",width:"464px",minHeight:"500px",align:"center",justifyContent:"center",padding:4},children:[b(),y()]}):r(j,{sx:{flexDirection:"column",width:"464px",alignItems:"center",minHeight:"500px",padding:4},children:[b(),y()]})},sh={REFUND:"#FF9800",PAYMENT:"#4CAF50",WITHDRAW:"#ff7f50",FEE:"#ff0000",BALANCE_BLOCK:"#ff0000",BALANCE_UNBLOCK:"#4CAF50",INTERNAL_TRANSFER:"#4CAF50",REVERSAL:"#4CAF50"},su=a(nV)`
|
|
1040
|
+
background-color: ${e=>sh[e.status]} !important;
|
|
1041
1041
|
color: white !important;
|
|
1042
|
-
`,
|
|
1042
|
+
`,sx=(e,t)=>{if(e<1)return[];let r=Array(e).fill("");if(t){let i=t.trim().split("");for(let t=0;t<Math.min(e,i.length);t+=1)r[t]=i[t]}return r},sf={number:/^[0-9]+$/,alphanumeric:/^[a-zA-Z0-9]+$/i},sg=eC(({name:e,length:i=6,type:a="alphanumeric",placeholder:o="",manageFocus:n=!0,error:l,disabled:s,autoFocus:d,onComplete:c,onChange:p},m)=>{let[h,u]=eS(-1),{t:x}=eX(),[f,g]=eS(""),[C,b]=eS(null),y=ek([]),v=e=>{let t=a instanceof RegExp?a:a in sf?sf[a]:null;return t?.test(e)},w=(e,t)=>{if(n){if("next"===e){let e=t+1;y.current[e<i?e:t].focus()}if("prev"===e){let e=t-1;y.current[e>-1?e:t].focus()}}},M=(e,t)=>{let r=[...sx(i,f)];r[t]=e;let a=r.join("");g(a),p&&p(a),t===i-1&&(a.length===i&&a.replaceAll(" ","").length===i?b(null):b(x("Code must be {{ size }} digits",{size:i})))},E=()=>{u(-1)},A=e=>{e.preventDefault();let t=e.clipboardData.getData("Text");v(t)&&(g(t),p&&p(t))};return ew(()=>{f.length===i&&c?.(f)},[f]),ew(()=>{e&&g("")},[e]),r(ai,{sx:{flexDirection:"column"},children:[r(ai,{sx:{gap:1},ref:m,children:[sx(i,f).map((r,i)=>t(Q,{id:`${e}-${i+1}`,name:`${e}-${i}`,inputProps:{"data-testid":`code-input-${i+1}`},inputRef:e=>{y.current[i]=e},onChange:e=>{let t,r;v(r=(t=e.target.value).length>1?t.split("")[t.length-1]:t)?(M(r,i),w("next",i)):M("",i)},onKeyDown:e=>{"Backspace"===e.key&&(""!==e.target.value?M("",i):w("prev",i))},onFocus:e=>{e.target.select(),u(i)},onBlur:E,onPaste:A,error:l,disabled:s,placeholder:h===i?"":o,value:r,autoFocus:d&&0===i,size:"small",sx:{width:"40px"}},`${e}-${i}`)),t("input",{type:"hidden",name:e,value:f})]}),!!C&&t(ee,{sx:{fontWeight:"400",fontSize:"0.64rem",paddingLeft:"10px"},color:"error",children:C})]})}),sC=e=>{let{name:r,...i}=e,[a]=tb(r);return t(sg,{...a,...i})},sb="staging",sy=a.div`
|
|
1043
1043
|
display: flex;
|
|
1044
1044
|
flex: 1;
|
|
1045
1045
|
align-items: center;
|
|
1046
1046
|
justify-content: center;
|
|
1047
1047
|
margin: 10px;
|
|
1048
|
-
`,
|
|
1048
|
+
`,sv=a.div`
|
|
1049
1049
|
display: flex;
|
|
1050
1050
|
align-items: center;
|
|
1051
1051
|
justify-content: center;
|
|
1052
1052
|
width: 100%;
|
|
1053
1053
|
max-width: 500px;
|
|
1054
|
-
`,
|
|
1054
|
+
`,sw=({error:e,resetErrorBoundary:i})=>{let{t:a}=eX(),o=()=>{i&&i(),window.location.href="/login/logout",window.location.reload()};return process.env.NODE_ENV===sb?t(sy,{children:t(sv,{children:r(ao,{children:[t(ee,{children:a("Error rendering")}),r(ee,{children:[t("strong",{children:"Error:"})," ",e.toString()]}),i?t(C,{variant:"outlined",onClick:i,children:"Tentar novamente"}):t(C,{variant:"outlined",onClick:o,children:"Tentar novamente"})]})})}):t(sy,{children:t(sv,{children:r(ao,{children:[t(ee,{children:a("Oops! an error has occurred")}),i?t(C,{variant:"outlined",onClick:i,children:"Tentar novamente"}):t(C,{variant:"outlined",onClick:o,children:"Tentar novamente"})]})})})},sM=({children:e})=>t(rr,{FallbackComponent:sw,onError:(e,t)=>{},onReset:e=>{window.location.href="/login/logout",window.location.reload()},children:e}),sE=a.div`
|
|
1055
1055
|
display: flex;
|
|
1056
1056
|
flex-direction: row;
|
|
1057
1057
|
font-weight: normal;
|
|
1058
1058
|
font-size: 14px;
|
|
1059
|
-
`,
|
|
1059
|
+
`,sA=a.div`
|
|
1060
1060
|
margin-top: 10px;
|
|
1061
1061
|
display: flex;
|
|
1062
1062
|
flex-direction: row;
|
|
@@ -1064,7 +1064,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1064
1064
|
flex-wrap: wrap;
|
|
1065
1065
|
align-items: center;
|
|
1066
1066
|
row-gap: 5px;
|
|
1067
|
-
`,
|
|
1067
|
+
`,sI=a.div`
|
|
1068
1068
|
margin-right: 10px;
|
|
1069
1069
|
align-self: center;
|
|
1070
1070
|
justify-content: center;
|
|
@@ -1072,7 +1072,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1072
1072
|
@media (max-width: 600px) {
|
|
1073
1073
|
display: none;
|
|
1074
1074
|
}
|
|
1075
|
-
`,sk=
|
|
1075
|
+
`,sk=a.div`
|
|
1076
1076
|
width: 100%;
|
|
1077
1077
|
align-self: center;
|
|
1078
1078
|
align-items: center;
|
|
@@ -1081,7 +1081,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1081
1081
|
@media (min-width: 600px) {
|
|
1082
1082
|
display: none;
|
|
1083
1083
|
}
|
|
1084
|
-
`,
|
|
1084
|
+
`,sS=({title:e,titleLabel:i,subTitle:a,routedTabs:o,routeTo:n,children:l,tagsArray:s,rightComponent:d,middleRightComponent:c})=>r(ar,{children:[r(j,{sx:{mx:1,justifyContent:"center","@media (min-width: 600px)":{mx:2}},children:[r(ai,{sx:{alignItems:"center",justifyContent:"space-between",position:"sticky",mt:2,mb:2*!(o&&o.length>1),gap:2},children:[r(j,{flexGrow:1,children:[r(j,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[e&&t(nL,{title:e,titleLabel:i}),s&&s.length>=1&&t(j,{direction:"row",spacing:1,children:s.map((e,r)=>t(nV,{label:e.label,value:e.value,onClick:e.onClick,sx:t=>({backgroundColor:e.theme&&t.palette[e.theme]?.light?t.palette[e.theme].light:t.palette.warning.main,color:"white"})},r))})]}),a&&t(sE,{children:a}),l&&t(sA,{children:l})]}),c&&t(sI,{children:c}),d&&t(ai,{sx:{alignItems:"center",justifyContent:"center"},children:d})]}),c&&t(sk,{children:c})]}),o&&t(nA,{routes:o,routeTo:n})]}),sT=a(ee)`
|
|
1085
1085
|
&& {
|
|
1086
1086
|
border-right: 1px solid #607389;
|
|
1087
1087
|
line-height: 18px;
|
|
@@ -1092,7 +1092,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1092
1092
|
display: flex;
|
|
1093
1093
|
align-items: center;
|
|
1094
1094
|
}
|
|
1095
|
-
`,
|
|
1095
|
+
`,sD=({clearAll:i,selectAll:a,selectedAll:o,edges:n,selectedCount:l})=>{let{t:s}=eX();return o?r(e,{children:[t(sT,{children:s("{{count}} selected",{count:l})}),t(i0,{variant:"text",color:"primary",onClick:i,children:s("Clear Selection")})]}):t(i0,{variant:"text",color:"primary",onClick:()=>a(n),children:s("Select all")})},sR=e=>e.map(({link:e})=>e).reduce((e,t)=>t?[...e,t]:e,[]),sL=({link:e,label:r,isMobile:i,disabled:a=!1})=>{let o=ed(),{sidebarClose:n}=o8(),l=!!el(o.pathname,{path:e,exact:!0}),s=eA(()=>eC((r,i)=>t(eo,{to:e,ref:i,...r})),[e]);return t(V,{dense:!0,component:s,onClick:()=>{!a&&i&&n()},disableGutters:!0,selected:l,disabled:a,sx:{opacity:a?.5:1,cursor:a?"not-allowed":"pointer","&:hover":{backgroundColor:a?"transparent":void 0}},children:t($,{primary:r,sx:a?{"& .MuiTypography-root":{color:"text.disabled"}}:void 0})})},s_=i=>{let{link:a,label:o,icon:n,items:l,isMobile:s,newChip:d,notificationCounter:c,disabled:p=!1,requiredRoles:m}=i,{t:h}=eX(),u=ed(),{sidebarClose:x}=o8(),[f,g]=eS(!1),{width:C}=tj(),b=s?"8px":"4px",y=(({link:e,location:t,items:r})=>{let i;if((i="function"==typeof e?e():e)&&"string"==typeof i){let e=(e=>{let[t]=e.split("/").filter(Boolean);return t?`/${t}`:"/"})(t.pathname);return ny(t,{path:i,exact:"/home"===i||"/console"===i||i===e})}return sR(r||[]).map(e=>ny(t,{path:e,exact:!1})).reduce((e,t)=>e||t,!1)})({link:a,location:u,items:l}),v=()=>!!c&&!!(c>0);if(eA(()=>eC((e,r)=>t(eo,{to:a===window.location.pathname?`${a}${window.location.search}`:a,ref:r,...e})),[a]),a){let e=m?.filter(e=>!e.includes("ADMIN"))||[];return t(J,{title:e.length>0?e.join(", "):"",children:t(eo,{to:a,onClick:e=>{if(p){e.preventDefault(),e.stopPropagation();return}s&&x()},style:{textDecoration:"none",color:"text.primary"},children:r(V,{button:!0,disableRipple:!1,selected:y,disabled:p,sx:{paddingTop:b,paddingBottom:b,cursor:p?"not-allowed":"pointer","&:hover":{backgroundColor:e=>ej(e.palette.secondary.main,.9)},"& .MuiTouchRipple-root":{color:e=>e.palette.secondary.main}},children:[n&&t(F,{sx:p?{color:"text.disabled"}:void 0,children:n}),r(ai,{sx:{alignItems:"center",gap:1},children:[t($,{primary:o,sx:{"& .MuiTypography-root":{color:p?"text.disabled":"text.primary"}}}),d&&t(nV,{label:h("New"),size:"small",color:"primary"}),v()&&c&&t(nV,{label:c.toString(),size:"small",color:"error"})]})]})})})}return r(e,{children:[r(V,{button:!0,disableRipple:!1,onClick:()=>{p||g(!f)},selected:y,disabled:p,sx:{paddingTop:b,paddingBottom:b,cursor:p?"not-allowed":"pointer","&:hover":{backgroundColor:e=>ej(e.palette.secondary.main,.9)},"& .MuiTouchRipple-root":{color:e=>e.palette.secondary.main}},children:[n&&t(F,{sx:p?{color:"text.disabled"}:void 0,children:n}),r(ai,{sx:{alignItems:"center",gap:1},children:[t($,{primary:o,sx:{"& .MuiTypography-root":{color:p?"text.disabled":void 0}}}),d&&t(nV,{label:h("New"),size:"small",color:"primary"}),v()&&c&&t(nV,{label:c.toString(),size:"small",color:"error"})]})]}),l&&!!l.length&&t(E,{in:f,children:t(H,{component:"div",disablePadding:!0,children:l.map((e,r)=>t(sL,{link:e.link,label:e.label,isMobile:s,disabled:e.disabled},r))})})]})},sP=a(H)`
|
|
1096
1096
|
padding-top: 0;
|
|
1097
1097
|
padding-bottom: 20px;
|
|
1098
1098
|
transition: width 200ms ease-out;
|
|
@@ -1118,7 +1118,7 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1118
1118
|
padding-left: 52px;
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
`,
|
|
1121
|
+
`,sN=(e,i)=>e.map((e,a)=>{let{items:o,link:n,label:l,icon:s,separator:d,newChip:c,notificationCounter:p,disabled:m,requiredRoles:h}=e;return d?r(ex,{children:[t(V,{children:t($,{primary:l})}),o&&sN(o,i)]},a):t(s_,{label:l,icon:s,link:n,items:o,isMobile:i,newChip:c,notificationCounter:p,disabled:m,requiredRoles:h},a)}),sz=({items:e})=>{let{width:r=1024}=tj();return t(sP,{children:sN(e,r<600)})},sO=a.div`
|
|
1122
1122
|
display: flex;
|
|
1123
1123
|
align-items: center;
|
|
1124
1124
|
flex-grow: 0;
|
|
@@ -1126,23 +1126,23 @@ import{Fragment as e,jsx as t,jsxs as r}from"react/jsx-runtime";import i from"@m
|
|
|
1126
1126
|
flex-basis: auto;
|
|
1127
1127
|
height: 60px;
|
|
1128
1128
|
justify-content: center;
|
|
1129
|
-
`,
|
|
1129
|
+
`,sH={sx:{width:"240px"}},sV=({items:e,header:i})=>{let{isSidebarOpen:a,sidebarClose:o}=o8();return r(R,{variant:ri(e=>e.breakpoints.down("lg"))?"temporary":"persistent",open:a,onClose:o,PaperProps:sH,children:[i&&t(sO,{children:i}),t(D,{}),t(sz,{items:e})]})},sF=a(C)({cursor:"pointer",backgroundColor:"rgba(0, 0, 0, 0.08)",border:"none",color:"inherit",padding:"4x 4px",maxWidth:"24px",maxHeight:"24px",minWidth:"auto","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.26)"}}),s$=({key:e})=>{let{closeSnackbar:r}=ra();return t(sF,{onClick:()=>r(e),"aria-label":"Close snackbar",children:t(ti,{sx:{fontSize:e=>e.spacing(3)}})})},sB=ef({showSnackbar:e=>{}}),sW=a(rn)`
|
|
1130
1130
|
background-color: #fff;
|
|
1131
1131
|
color: #000;
|
|
1132
1132
|
margin-bottom: 45px;
|
|
1133
|
-
`,
|
|
1134
|
-
background-color: ${e=>
|
|
1133
|
+
`,sj=({handleClose:e})=>t(tM,{"aria-label":"Close",color:"primary",onClick:e,size:"large",children:t(tv,{})},"close"),sG=eh.forwardRef(({handleClose:e,message:r,action:i},a)=>t(sW,{message:r,ref:a,action:i||t(sj,{handleClose:e})})),sZ=({children:e})=>{let i=(e,t)=>{"clickaway"!==t&&o("")},[a,o]=eS(""),[n,l]=eS(t(sj,{handleClose:i})),[s,d]=eS(8e3),[c,p]=eS(null);return r(sB.Provider,{value:{showSnackbar:({message:e,action:r=t(sj,{handleClose:i}),duration:a=4e3,onActionClick:n=null})=>{o(e),l(r),d(a),p(n)}},children:[t(ro,{open:!!a,autoHideDuration:s,onClose:i,children:t(sG,{handleClose:c||i,message:a,action:n})}),e]})},sU=()=>({showSnackbar:ev(sB).showSnackbar}),sY=eG(Z)(()=>({marginLeft:19,padding:0})),sq=eG("div")(({ownerState:e})=>({backgroundColor:"#d4f8ee",fontSize:"18px",zIndex:1,color:"#03D69D",width:40,height:40,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center",...e.active&&{backgroundColor:"#03d69d",color:"#fff"},...e.completed&&{backgroundColor:"#03d69d",color:"#fff"}})),sX=e=>{let{active:t,completed:i,className:a,icon:o}=e;return r(sq,{ownerState:{completed:i,active:t},className:a,children:[o,"\xba"]})},sK=({steps:e,orientation:r="vertical"})=>{let[i,a]=eS(0);return t(Y,{activeStep:i,orientation:r,connector:t(sY,{}),children:e.map((e,r)=>t(G,{children:t(U,{StepIconComponent:sX,children:e.label})},r))})},sQ={SUCCESS:"#4CAF50",PENDING:"#FF9800",FAILED:"#EF5350",NOT_APPLY:"#EF5350"},sJ=a(nV)`
|
|
1134
|
+
background-color: ${e=>sQ[e.webhookStatus]} !important;
|
|
1135
1135
|
color: white !important;
|
|
1136
|
-
`,
|
|
1136
|
+
`,s1=a.p`
|
|
1137
1137
|
font-size: 14px;
|
|
1138
1138
|
text-align: center;
|
|
1139
1139
|
white-space: pre-lin;
|
|
1140
1140
|
color: ${e=>e.theme.palette.primary.dark};
|
|
1141
|
-
`,
|
|
1141
|
+
`,s2=a.a`
|
|
1142
1142
|
font-weight: 600;
|
|
1143
1143
|
cursor: pointer;
|
|
1144
1144
|
color: ${e=>e.theme.palette.primary.main};
|
|
1145
|
-
`,
|
|
1145
|
+
`,s0=()=>({title:"Termos de Uso e Politica de Privacidade",content:`
|
|
1146
1146
|
Este documento informa as responsabilidades, deveres e obriga\xe7\xf5es que todo usu\xe1rio assume ao acessar e/ou utilizar a plataforma OpenPix e seus servi\xe7os relacionados, como softwares, complementos, plug-ins, e acess\xf3rios. Informar\xe1 tamb\xe9m sobre a LGPD e compartilhamento de informa\xe7\xf5es pessoais. \xc9 importante que voc\xea leia as orienta\xe7\xf5es abaixo para usufruir da melhor maneira os servi\xe7os disponibilizados:
|
|
1147
1147
|
|
|
1148
1148
|
1. NOSSOS SERVI\xc7OS
|
|
@@ -1187,9 +1187,9 @@ Este documento \xe9 regido e deve ser interpretado de acordo com a lei de prote\
|
|
|
1187
1187
|
|
|
1188
1188
|
11. IMPORTANTE
|
|
1189
1189
|
A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa plataforma para usufruir dos nossos servi\xe7os, mesmo que de forma gratuita. Isso indicar\xe1 que voc\xea est\xe1 ciente e em total acordo com a forma como utilizaremos as suas informa\xe7\xf5es, seus dados e cobran\xe7a pelos servi\xe7os OpenPix. Qualquer d\xfavida em rela\xe7\xe3o \xe0 nossa pol\xedtica de privacidade entre em contato conosco. Envie um e-mail para juridico@openpix.com.br Estamos localizados na Avenida Santo Amaro, 3432 - S\xe3o Paulo/SP CEP: 04556-300
|
|
1190
|
-
`}),
|
|
1190
|
+
`}),s3={PRIVACY_POLICY:"PRIVACY_POLICY",USE_TERMS:"USE_TERMS"},s4=a(rl)`
|
|
1191
1191
|
white-space: pre-line;
|
|
1192
|
-
`,
|
|
1192
|
+
`,s5=({isOpen:e,handleClose:r})=>{let{title:i,content:a}=s0();return t(ni,{isOpen:e,handleClose:r,showClose:!0,scroll:"paper",title:i,maxWidth:"lg",children:t(s4,{children:a})})},s6=({children:e,...r})=>e?t(ai,{sx:{flexDirection:"column"},children:e.split("\n").map((e,i)=>t(ee,{as:"p",...r,children:e},i))}):null,s9="#00bc7d",s7="#4D4D4D",s8="#133A6F",de="#607389",dt={...{darkGray:de,lightGray:"#f8f8f8",highlightColor:s9,primaryDarkerColor:s8,primaryLighterColor:s9,button:{textColor:"#FFFFFF"},richHeaderColor1:s9,richHeaderColor2:"#009966",richHeaderTextColor:"#FFFFFF"},typography:{fontFamily:'Nunito,"Open Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"',fontSize:12,fontWeightBold:600},components:{MuiTextField:{defaultProps:{variant:"outlined"}},MuiFormControl:{defaultProps:{margin:"normal"}},MuiButton:{styleOverrides:{root:({theme:e})=>({textTransform:"inherit",label:{fontWeight:e.typography.fontWeightBold}})}},MuiChip:{defaultProps:{size:"small"},styleOverrides:{sizeSmall:{height:"20px"}}},MuiIcon:{styleOverrides:{colorPrimary:{color:"#ff0000"},colorSecondary:{color:s7},colorDisabled:{color:s7,opacity:.7}}},Accordion:{styleOverrides:{root:{border:"none",boxShadow:"0 2px 4px 0 rgba(0, 0, 0, 0.08)",borderRadius:2,margin:"10px 0","&:before":{display:"none"},"&$expanded":{border:"none",margin:"10px 0"}}}},AccordionSummary:{styleOverrides:{root:{minHeight:0,"&$expanded":{minHeight:0}},content:{"&$expanded":{margin:"12px 0"},paddingRight:32,"& > :last-child":{paddingRight:0}}}},AccordionActions:{styleOverrides:{root:{borderTop:`1px solid rgba(${oz(s7).join(",")}, 0.12)`,padding:"8px 4px"}}},MuiAvatar:{styleOverrides:{root:({theme:e})=>({fontWeight:e.typography.fontWeightRegular})}},MuiFab:{defaultProps:{style:{zIndex:1500}}},MuiCssBaseline:{styleOverrides:({theme:e})=>({a:{color:e.palette.primary.main}})}},shape:{borderRadius:4,borderWidth:1},sizing:{maxModalHeight:"400px",maxPixWidth:"320px",maxPaymentLinkWidth:"600px",maxCardModalWidth:"600px",maxTutorialCardActivateWidth:"960px"}},dr=eB(dt,{palette:{mode:"light",primary:{main:s9,dark:s9,light:s9,contrastText:"#fff"},default:{main:s9,dark:s9,light:s9,contrastText:"#fff"},secondary:{main:s7,dark:s7,light:s7,contrastText:"#fff"},tertiary:{main:s8,contrastText:"#fff",light:ej(s8,.2),dark:eW(s8,.3)},quaternary:{main:de,light:ej(de,.2),dark:eW(de,.3)},background:{default:"#f8f8f8"},clickpix:{purple:"#5832F4",green:"#43F1C2",gradient:"linear-gradient(83.04deg, #401CD3 25.21%, #03D59C 90.83%)"}}}),di=eB(dt,{palette:{mode:"dark",primary:{main:s9,dark:s9,light:s9,contrastText:"#fff"},secondary:{main:"#ededed",dark:"#ededed",light:"#ededed",contrastText:"#fff"},tertiary:{main:"#2e66b3",contrastText:"#fff",light:ej("#2e66b3",.2),dark:eW("#2e66b3",.3)},quaternary:{main:"#7997ba",light:ej("#7997ba",.2),dark:eW("#7997ba",.3)},default:{main:s9,dark:s9,light:s9,contrastText:"#fff"},background:{default:"#333",paper:"#454545"},text:{primary:"#fff",secondary:"#f5f5f5",disabled:"#e8e8e8"}},components:{MuiListItemIcon:{styleOverrides:{root:({theme:e})=>({color:e.palette.common.white})}},MuiSvgIcon:{styleOverrides:{root:({theme:e})=>({color:e.palette.common.white})}},MuiButton:{styleOverrides:{root:({theme:e})=>{let t=e$(e.palette.common.white,.4);return{textTransform:"inherit",label:{fontWeight:e.typography.fontWeightBold},"&.Mui-disabled":{pointerEvents:"visible",cursor:"not-allowed",color:t,border:`1px solid ${t}`,"&:hover":{backgroundColor:e$(t,.04)}}}}}}}}),da=eB(dt,{palette:{mode:"light",primary:{main:s9,light:ej(s9,.1),dark:eW(s9,.1),contrastText:"#fff"},secondary:{main:s7,light:ej(s7,.1),dark:eW(s7,.1),contrastText:"#fff"},tertiary:{main:s8,light:ej(s8,.1),dark:eW(s8,.1),contrastText:"#fff"},background:{default:"#fff"}},typography:{allVariants:{color:s7},h1:{color:s9,fontSize:"3rem",fontWeight:900,lineHeight:1.1},h2:{fontSize:"2rem",fontWeight:700,lineHeight:1.1},h3:{fontSize:"1.6rem",fontWeight:700,lineHeight:1.1},h4:{fontSize:"1.3rem",fontWeight:700,lineHeight:1.1},h5:{fontSize:"1rem",fontWeight:700,lineHeight:1.1},body1:{fontSize:"1.2rem"},body2:{fontSize:"0.85rem"},fontWeightMedium:"600"},shape:{borderRadius:8},components:{MuiContainer:{styleOverrides:{root:({theme:e})=>({[e.breakpoints.down("lg")]:{paddingLeft:"30px",paddingRight:"30px"}})},defaultProps:{disableGutters:!0,maxWidth:"lg"}},MuiPaper:{styleOverrides:{root:({theme:e})=>({color:e.palette.secondary.main,fontSize:"1rem"})}},MuiButton:{defaultProps:{variant:"contained"},styleOverrides:{contained:({theme:e})=>({boxShadow:e.shadows[0],"&:hover":{boxShadow:e.shadows[0]}})}},MuiCard:{defaultProps:{variant:"outlined"}}}}),dn=()=>!!document.documentMode,dl=()=>process.env.APP_ENV!==sb&&!![dn].find(e=>e()),ds=a.div`
|
|
1193
1193
|
position: fixed;
|
|
1194
1194
|
top: 0;
|
|
1195
1195
|
bottom: 0;
|
|
@@ -1198,34 +1198,34 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1198
1198
|
display: flex;
|
|
1199
1199
|
justify-content: center;
|
|
1200
1200
|
align-items: center;
|
|
1201
|
-
`,
|
|
1201
|
+
`,dd=a(ao)`
|
|
1202
1202
|
display: flex;
|
|
1203
1203
|
flex-direction: column;
|
|
1204
1204
|
align-items: center;
|
|
1205
1205
|
height: auto;
|
|
1206
1206
|
padding: 20px 60px;
|
|
1207
|
-
`,
|
|
1207
|
+
`,dc=a.h1`
|
|
1208
1208
|
font-weight: normal;
|
|
1209
1209
|
text-align: center;
|
|
1210
|
-
`,
|
|
1210
|
+
`,dp=a.ul`
|
|
1211
1211
|
display: flex;
|
|
1212
1212
|
justify-content: space-between;
|
|
1213
1213
|
width: 100%;
|
|
1214
1214
|
max-width: 500px;
|
|
1215
1215
|
margin: 20px 0;
|
|
1216
1216
|
padding: 0;
|
|
1217
|
-
`,
|
|
1217
|
+
`,dm=a.li`
|
|
1218
1218
|
display: inline-flex;
|
|
1219
1219
|
list-style-type: none;
|
|
1220
1220
|
flex-direction: column;
|
|
1221
1221
|
align-items: center;
|
|
1222
|
-
`,
|
|
1222
|
+
`,dh=a.a`
|
|
1223
1223
|
text-decoration: none;
|
|
1224
1224
|
color: inherit;
|
|
1225
|
-
`,
|
|
1226
|
-
background-color: ${e=>{var t,r;return t=e.status,({[
|
|
1225
|
+
`,du=()=>{let{t:e}=eX();return t(ds,{children:r(dd,{children:[t(dc,{children:e("Browser not supported.")}),r(dp,{children:[t(dm,{children:t(dh,{href:"https://www.mozilla.org/en-US/firefox/new/",children:"Firefox"})}),t(dm,{children:t(dh,{href:"https://www.google.com/chrome/",children:"Chrome"})}),t(dm,{children:t(dh,{href:"https://www.microsoft.com/en-us/windows/microsoft-edge",children:"Edge"})})]})]})})},dx=eC((e,r)=>t(ea,{ref:r,to:"/",...e,role:void 0})),df=({children:i})=>{let[a,o]=eS(null);return r(e,{children:[t(em,{variant:"contained",disableElevation:!0,onClick:e=>{o(e.currentTarget)},children:t(rs,{})}),t(rp,{open:!!a,onClose:()=>{o(null)},anchorEl:a,anchorOrigin:{horizontal:"left",vertical:36},children:t(tg,{children:i})})]})},dg=({children:e,href:r,onClick:i})=>t(rd,{disablePadding:!0,children:t(rc,{LinkComponent:dx,to:r,onClick:i,children:e})}),dC=async e=>await navigator.clipboard.writeText(e).then(()=>!0).catch(e=>!1),db=({value:e,onError:r,debounceDelay:i=1e3,children:a,...o})=>{let{t:n}=eX(),l=eZ(),[s,d]=eS(!1),c=ru(()=>{d(!1)},i),p=async()=>{d(!0);let t=await dC(e);!t&&r&&r(!t),c()},m=o["data-testid"]??"btn-copy";return t(ai,{sx:{flex:1,"@media print":{display:"none"}},children:t(i0,{color:"tertiary",onClick:p,startIcon:s?t(rm,{}):t(rh,{}),disabled:!1,sx:{display:"flex !important",width:"100% !important",backgroundColor:`${l.palette.tertiary.main} !important`,color:"white !important",border:"0 !important"},size:"large","data-testid":m,children:t(eY,{as:"span",sx:{textTransform:"uppercase"},children:s?t(eY,{as:"span",sx:{textTransform:"uppercase"},children:n("Copied")}):t(eY,{as:"span",sx:{textTransform:"uppercase"},children:a})})})})},dy=({color:e="primary",sx:r,disabled:i,onClick:a,isPending:o})=>{let n=eZ(),{t:l}=eX(),s=eA(()=>"tertiary"===e?{backgroundColor:n.palette.tertiary.main,color:n.palette.common.white,"&:hover":{backgroundColor:ej(n.palette.tertiary.main,.125)}}:"white"===e?{backgroundColor:n.palette.common.white,color:n.palette.tertiary.main,"&:hover":{backgroundColor:eW(n.palette.common.white,.2)}}:{backgroundColor:n.palette.primary.main,color:n.palette.common.white},[e]);return t(i0,{sx:{...r,...s,textTransform:"none",fontWeight:700,fontSize:16},disabled:i||o,onClick:a,...lk(o),children:l("Pay with Pix")})},dv="PENDING",dw=a(nV)`
|
|
1226
|
+
background-color: ${e=>{var t,r;return t=e.status,({[dv]:(r=e.theme).palette.warning.light,PENDING_EXCLUSIVE:r.palette.warning.light,PROCESSING:r.palette.warning.light,ERROR_PROCESSING:r.palette.error.light,CREATED:r.palette.success.light,ERROR_CREATING:r.palette.error.light,CONFIRMED:r.palette.success.light,EXPIRED:r.palette.error.light,NOT_APPLY:r.palette.error.light,REFUNDED:r.palette.error.light})[t]}} !important;
|
|
1227
1227
|
color: white !important;
|
|
1228
|
-
`,dw=({color:e,size:i=101})=>{let o=tF();return r("svg",{width:i,height:i,viewBox:"0 0 101 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{x:"0.5",y:"0.599976",width:"100",height:"100",rx:"50",fill:e||o.palette.warning.light}),t("path",{d:"M50.975 26C37.175 26 26 37.2 26 51C26 64.8 37.175 76 50.975 76C64.8 76 76 64.8 76 51C76 37.2 64.8 26 50.975 26ZM51 71C39.95 71 31 62.05 31 51C31 39.95 39.95 31 51 31C62.05 31 71 39.95 71 51C71 62.05 62.05 71 51 71Z",fill:"white"}),t("path",{d:"M52.25 38.5H48.5V53.5L61.625 61.375L63.5 58.3L52.25 51.625V38.5Z",fill:"white"})]})},dM=({value:e,error:r=!1,onError:i})=>{let{t:o}=eX(),{enqueueSnackbar:a}=ro(),[n,l]=eS(!1),[s,d]=eS(!1),c=ru(()=>{l(!1)},600),p=async()=>{l(!0);let t=await dg(e);t||(a(o("Error copying QR Code"),{variant:"error"}),i?.(!t)),d(!t),c()};return s||r?t(J,{value:e,sx:{width:"100% !important",m:"0 !important"},multiline:!0,InputProps:{endAdornment:t(P,{onClick:p,edge:"end",children:n?t(eQ,{}):t(rx,{})})}}):t(J,{disabled:!0,value:e,sx:{width:"100% !important",m:"0 !important"},inputProps:{sx:{border:"none !important"}},InputProps:{endAdornment:t(P,{onClick:p,edge:"end",sx:e=>({display:"flex !important",color:`${e.palette.action.disabled} !important`,border:"0 !important",backgroundColor:"transparent !important",textDecoration:"none !important","&:hover":{textDecoration:"none !important",backgroundColor:`${e.palette.action.hover} !important`}}),children:n?t(eQ,{}):t(rx,{})})}})},dE=({content:e})=>{let r=er(),[i,o]=((e,t)=>{let[r,i]=eS(!1),o=ey(()=>void 0,[void 0]),a=ru(()=>{i(!1)},1e3);return[r,async()=>{i(await dg(e)),o(),a()}]})(e),{t:a}=eX(),n=async()=>{"function"==typeof o&&await o()};return t(b,{sx:{border:`1px solid ${r.palette.grey[400]}`,backgroundColor:r.palette.grey[200],boxShadow:"none"},children:t(y,{onClick:n,sx:{p:2,height:"100%",width:"100%",position:"relative","&:before":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.40)",zIndex:1,opacity:0,transition:"opacity 0.3s ease"},"&:after":{content:`"${a(i?"Copied":"Copy")}"`,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"white",fontSize:r.typography.body1,fontWeight:r.typography.fontWeightBold,lineHeight:1.2,zIndex:2,opacity:0,textAlign:"center",transition:"opacity 0.1s ease"},"&:hover":{"&:before, &:after":{opacity:1}}},children:t(ee,{variant:"body1",component:"div",color:r.palette.text.secondary,children:e})})})},dA=({children:e,image:i,imageAlt:o="",gutterSpacing:a=!1,imageSize:n="large",renderImageOnBottom:l=!1})=>t(oo,{sx:{padding:2*!!a},children:r(or,{sx:{alignItems:"center",flexDirection:"column","@media (min-width: 765px)":{flexDirection:l?"column":"row",justifyContent:"space-between"}},children:[t(j,{spacing:2,sx:{padding:5},children:e}),t(v,{component:"img",sx:{maxWidth:{small:"200px",medium:"332px",large:"437px",full:"95%"}[n],"@media (min-width: 962px)":{display:"block"}},image:i,alt:o})]})}),dk=eh.forwardRef(({size:e=20,color:i="#43F1C2",full:o=!1,...a},n)=>o?r("svg",{width:e/24*86,height:e,viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M9.35259 21.9167C8.39041 21.9167 7.57361 21.3352 7.21926 20.5146L6.59357 19.0654L5.51893 20.1403C4.61084 21.0487 3.14104 21.0487 2.23292 20.1403C1.32484 19.232 1.3248 17.7617 2.23292 16.8534L3.30756 15.7784L1.85875 15.1526C1.03904 14.7984 0.457031 13.9818 0.457031 13.0187C0.457031 11.9252 1.20827 11.0158 2.21557 10.764L10.9782 8.57265C11.7662 8.37555 12.6123 8.6098 13.1863 9.18388C13.7602 9.75796 13.9943 10.6042 13.7973 11.3925L11.6066 20.1577C11.3553 21.1635 10.448 21.9167 9.35259 21.9167ZM6.85238 16.9361C6.90074 16.9361 6.94938 16.9406 6.99779 16.9499C7.24986 16.9981 7.46169 17.168 7.56342 17.4037L8.64132 19.9003C8.75788 20.1702 9.02908 20.3673 9.35256 20.3673C9.72285 20.3673 10.0217 20.1104 10.1038 19.7819L12.2945 11.0168C12.3613 10.7495 12.2851 10.4739 12.0909 10.2796C11.8966 10.0853 11.6211 10.0091 11.3539 10.0759L2.59125 12.2672C2.26278 12.3494 2.00607 12.6483 2.00607 13.0187C2.00607 13.343 2.20376 13.6138 2.47294 13.7301L4.96879 14.8083C5.20436 14.9101 5.37429 15.122 5.42246 15.3741C5.47064 15.6262 5.39086 15.8858 5.20939 16.0674L3.32824 17.9491C3.02552 18.2519 3.02552 18.7419 3.32824 19.0447C3.63096 19.3475 4.12089 19.3475 4.42357 19.0447L6.30471 17.163C6.45133 17.0164 6.64895 16.9361 6.85238 16.9361Z",fill:i}),t("path",{d:"M19.5159 10.9737H16.4178C15.99 10.9737 15.6433 10.6269 15.6433 10.199C15.6433 9.77109 15.99 9.42424 16.4178 9.42424H19.5159C19.9436 9.42424 20.2904 9.77109 20.2904 10.199C20.2904 10.6269 19.9436 10.9737 19.5159 10.9737Z",fill:i}),t("path",{d:"M16.6996 16.2251L14.509 14.0338C14.2065 13.7312 14.2065 13.2407 14.509 12.9382C14.8115 12.6356 15.3019 12.6356 15.6043 12.9382L17.795 15.1294C18.0974 15.432 18.0974 15.9225 17.795 16.2251C17.4925 16.5276 17.0021 16.5276 16.6996 16.2251Z",fill:i}),t("path",{d:"M8.29224 7.86643L6.10155 5.67515C5.79906 5.37258 5.79906 4.88205 6.10155 4.57952C6.40404 4.27698 6.89442 4.27694 7.19687 4.57952L9.38756 6.77079C9.69004 7.07337 9.69004 7.56389 9.38756 7.86643C9.08507 8.16897 8.59468 8.16897 8.29224 7.86643Z",fill:i}),t("path",{d:"M12.1258 6.73182C11.698 6.73182 11.3513 6.38497 11.3513 5.95708V2.85811C11.3513 2.43023 11.698 2.08337 12.1258 2.08337C12.5536 2.08337 12.9003 2.43023 12.9003 2.85811V5.95708C12.9003 6.38497 12.5536 6.73182 12.1258 6.73182Z",fill:i}),t("path",{d:"M14.8642 7.86643C14.5617 7.56385 14.5617 7.07332 14.8642 6.77079L17.0548 4.57951C17.3573 4.27694 17.8477 4.27694 18.1502 4.57951C18.4526 4.88209 18.4527 5.37261 18.1502 5.67515L15.9595 7.86643C15.6571 8.16896 15.1667 8.16896 14.8642 7.86643Z",fill:i}),t("path",{d:"M29.525 18.1939C28.585 18.1939 27.7624 18.0118 27.0574 17.6475C26.3641 17.2715 25.8294 16.7427 25.4534 16.0611C25.0773 15.3796 24.8893 14.5746 24.8893 13.6463C24.8893 12.953 24.9951 12.3302 25.2066 11.778C25.4181 11.2257 25.7236 10.7556 26.1232 10.3679C26.5344 9.98008 27.028 9.68631 27.6038 9.48654C28.1796 9.27503 28.82 9.16927 29.525 9.16927C29.8893 9.16927 30.2771 9.21628 30.6884 9.31028C31.0996 9.39254 31.505 9.53942 31.9046 9.75094C32.1396 9.85669 32.2982 10.0095 32.3805 10.2092C32.4745 10.3972 32.5097 10.597 32.4862 10.8085C32.4627 11.0083 32.3863 11.1904 32.2571 11.3549C32.1396 11.5077 31.9868 11.6134 31.7988 11.6722C31.6108 11.7192 31.3993 11.6839 31.1643 11.5664C30.941 11.4372 30.706 11.3432 30.4592 11.2844C30.2242 11.2257 30.0009 11.1963 29.7894 11.1963C29.4369 11.1963 29.1255 11.255 28.8552 11.3725C28.585 11.4783 28.3558 11.6369 28.1678 11.8485C27.9915 12.0482 27.8505 12.3009 27.7448 12.6064C27.6508 12.9119 27.6038 13.2644 27.6038 13.664C27.6038 14.4395 27.7918 15.0505 28.1678 15.4971C28.5556 15.9319 29.0961 16.1492 29.7894 16.1492C30.0009 16.1492 30.2242 16.1257 30.4592 16.0787C30.6942 16.02 30.9292 15.926 31.1643 15.7967C31.3993 15.6792 31.6108 15.6498 31.7988 15.7086C31.9868 15.7673 32.1337 15.879 32.2395 16.0435C32.357 16.1963 32.4216 16.3784 32.4333 16.5899C32.4568 16.7897 32.4216 16.9894 32.3276 17.1892C32.2453 17.3772 32.0926 17.5241 31.8693 17.6298C31.4698 17.8296 31.0703 17.9706 30.6707 18.0529C30.2712 18.1469 29.8893 18.1939 29.525 18.1939ZM36.8494 18.1939C35.8036 18.1939 35.0221 17.906 34.5051 17.3302C33.9881 16.7427 33.7296 15.8731 33.7296 14.7215V6.77211C33.7296 6.32558 33.8412 5.99068 34.0645 5.76742C34.2995 5.5324 34.6344 5.41489 35.0692 5.41489C35.4922 5.41489 35.8153 5.5324 36.0386 5.76742C36.2736 5.99068 36.3911 6.32558 36.3911 6.77211V14.6158C36.3911 15.0976 36.491 15.456 36.6908 15.691C36.9023 15.9142 37.1784 16.0259 37.5192 16.0259C37.6132 16.0259 37.7013 16.02 37.7836 16.0082C37.8658 15.9965 37.954 15.9906 38.048 15.9906C38.236 15.9671 38.3653 16.0259 38.4358 16.1669C38.518 16.2961 38.5591 16.5605 38.5591 16.9601C38.5591 17.3126 38.4886 17.5828 38.3476 17.7709C38.2066 17.9471 37.9892 18.0646 37.6955 18.1234C37.5779 18.1351 37.4428 18.1469 37.2901 18.1586C37.1373 18.1821 36.9904 18.1939 36.8494 18.1939ZM40.9388 18.141C40.504 18.141 40.1691 18.0176 39.9341 17.7709C39.7109 17.5123 39.5992 17.1539 39.5992 16.6957V10.6675C39.5992 10.1975 39.7109 9.83907 39.9341 9.5923C40.1691 9.33378 40.504 9.20453 40.9388 9.20453C41.3618 9.20453 41.685 9.33378 41.9083 9.5923C42.1433 9.83907 42.2608 10.1975 42.2608 10.6675V16.6957C42.2608 17.1539 42.1491 17.5123 41.9259 17.7709C41.7026 18.0176 41.3736 18.141 40.9388 18.141ZM40.9388 7.75918C40.4453 7.75918 40.0634 7.64754 39.7931 7.42428C39.5346 7.18926 39.4053 6.86024 39.4053 6.43721C39.4053 6.00243 39.5346 5.67341 39.7931 5.45014C40.0634 5.21513 40.4453 5.09762 40.9388 5.09762C41.4323 5.09762 41.8084 5.21513 42.0669 5.45014C42.3254 5.67341 42.4547 6.00243 42.4547 6.43721C42.4547 6.86024 42.3254 7.18926 42.0669 7.42428C41.8084 7.64754 41.4323 7.75918 40.9388 7.75918ZM48.5283 18.1939C47.5882 18.1939 46.7656 18.0118 46.0606 17.6475C45.3673 17.2715 44.8326 16.7427 44.4566 16.0611C44.0806 15.3796 43.8926 14.5746 43.8926 13.6463C43.8926 12.953 43.9983 12.3302 44.2098 11.778C44.4214 11.2257 44.7269 10.7556 45.1264 10.3679C45.5377 9.98008 46.0312 9.68631 46.607 9.48654C47.1828 9.27503 47.8232 9.16927 48.5283 9.16927C48.8925 9.16927 49.2803 9.21628 49.6916 9.31028C50.1029 9.39254 50.5083 9.53942 50.9078 9.75094C51.1428 9.85669 51.3015 10.0095 51.3837 10.2092C51.4777 10.3972 51.513 10.597 51.4895 10.8085C51.466 11.0083 51.3896 11.1904 51.2603 11.3549C51.1428 11.5077 50.9901 11.6134 50.802 11.6722C50.614 11.7192 50.4025 11.6839 50.1675 11.5664C49.9442 11.4372 49.7092 11.3432 49.4625 11.2844C49.2274 11.2257 49.0042 11.1963 48.7927 11.1963C48.4401 11.1963 48.1287 11.255 47.8585 11.3725C47.5882 11.4783 47.3591 11.6369 47.1711 11.8485C46.9948 12.0482 46.8538 12.3009 46.748 12.6064C46.654 12.9119 46.607 13.2644 46.607 13.664C46.607 14.4395 46.795 15.0505 47.1711 15.4971C47.5588 15.9319 48.0994 16.1492 48.7927 16.1492C49.0042 16.1492 49.2274 16.1257 49.4625 16.0787C49.6975 16.02 49.9325 15.926 50.1675 15.7967C50.4025 15.6792 50.614 15.6498 50.802 15.7086C50.9901 15.7673 51.1369 15.879 51.2427 16.0435C51.3602 16.1963 51.4248 16.3784 51.4366 16.5899C51.4601 16.7897 51.4248 16.9894 51.3308 17.1892C51.2486 17.3772 51.0958 17.5241 50.8726 17.6298C50.473 17.8296 50.0735 17.9706 49.674 18.0529C49.2744 18.1469 48.8925 18.1939 48.5283 18.1939ZM54.0724 18.1586C53.6376 18.1586 53.3027 18.0411 53.0677 17.8061C52.8444 17.5711 52.7328 17.2362 52.7328 16.8014V6.77211C52.7328 6.32558 52.8444 5.99068 53.0677 5.76742C53.3027 5.5324 53.6376 5.41489 54.0724 5.41489C54.4954 5.41489 54.8186 5.5324 55.0418 5.76742C55.2769 5.99068 55.3944 6.32558 55.3944 6.77211V12.9237H55.4296L57.9854 10.0858C58.2439 9.79206 58.4789 9.57468 58.6905 9.43367C58.9137 9.28091 59.2075 9.20453 59.5718 9.20453C59.936 9.20453 60.2122 9.29853 60.4002 9.48654C60.6 9.67456 60.6999 9.9037 60.6999 10.174C60.7116 10.4325 60.6 10.6969 60.365 10.9671L57.6681 13.9812V12.9765L60.6646 16.4313C60.8879 16.7015 60.9819 16.9718 60.9466 17.2421C60.9231 17.5123 60.8056 17.7356 60.5941 17.9119C60.3826 18.0764 60.1123 18.1586 59.7833 18.1586C59.3838 18.1586 59.0606 18.0823 58.8138 17.9295C58.5788 17.7767 58.3379 17.5417 58.0912 17.2244L55.4296 14.2632H55.3944V16.8014C55.3944 17.7062 54.9537 18.1586 54.0724 18.1586ZM63.5838 21.2961C63.3488 21.2961 63.1725 21.2315 63.055 21.1022C62.9375 20.9847 62.8788 20.8084 62.8788 20.5734V10.033C62.8788 9.79794 62.9375 9.62168 63.055 9.50417C63.1725 9.37491 63.3429 9.31028 63.5662 9.31028C63.8012 9.31028 63.9775 9.37491 64.095 9.50417C64.2242 9.62168 64.2888 9.79794 64.2888 10.033V11.7074L64.095 11.4607C64.283 10.7909 64.6531 10.2621 65.2054 9.87432C65.7695 9.47479 66.4392 9.27503 67.2148 9.27503C67.9786 9.27503 68.6425 9.45717 69.2066 9.82144C69.7823 10.174 70.223 10.6851 70.5285 11.3549C70.8458 12.013 71.0044 12.8003 71.0044 13.7168C71.0044 14.6216 70.8458 15.4089 70.5285 16.0787C70.223 16.7368 69.7882 17.2479 69.2242 17.6122C68.6601 17.9765 67.9904 18.1586 67.2148 18.1586C66.4392 18.1586 65.7753 17.9647 65.223 17.577C64.6708 17.1774 64.2947 16.6487 64.095 15.9906H64.3065V20.5734C64.3065 20.8084 64.2418 20.9847 64.1126 21.1022C63.9833 21.2315 63.8071 21.2961 63.5838 21.2961ZM66.9152 17.0129C67.4557 17.0129 67.9198 16.8837 68.3076 16.6252C68.7072 16.3666 69.0127 15.9906 69.2242 15.4971C69.4475 15.0035 69.5591 14.4101 69.5591 13.7168C69.5591 12.6475 69.3182 11.8308 68.8364 11.2668C68.3664 10.7028 67.726 10.4207 66.9152 10.4207C66.3864 10.4207 65.9222 10.55 65.5227 10.8085C65.1232 11.0553 64.8118 11.4254 64.5885 11.919C64.377 12.4007 64.2712 13 64.2712 13.7168C64.2712 14.7744 64.5121 15.5911 64.9939 16.1669C65.4757 16.7309 66.1161 17.0129 66.9152 17.0129ZM73.86 18.0881C73.625 18.0881 73.4487 18.0235 73.3312 17.8942C73.2137 17.7532 73.155 17.5593 73.155 17.3126V10.1035C73.155 9.85669 73.2137 9.66868 73.3312 9.53942C73.4487 9.41016 73.625 9.34553 73.86 9.34553C74.0833 9.34553 74.2595 9.41016 74.3888 9.53942C74.5181 9.66868 74.5827 9.85669 74.5827 10.1035V17.3126C74.5827 17.5593 74.5181 17.7532 74.3888 17.8942C74.2713 18.0235 74.095 18.0881 73.86 18.0881ZM73.86 7.3714C73.5662 7.3714 73.3371 7.29502 73.1726 7.14226C73.0081 6.97775 72.9258 6.76036 72.9258 6.49009C72.9258 6.20807 73.0081 5.99656 73.1726 5.85555C73.3371 5.70279 73.5662 5.62641 73.86 5.62641C74.1655 5.62641 74.3947 5.70279 74.5474 5.85555C74.7119 5.99656 74.7942 6.20807 74.7942 6.49009C74.7942 6.76036 74.7119 6.97775 74.5474 7.14226C74.3947 7.29502 74.1655 7.3714 73.86 7.3714ZM77.2869 18.1058C77.1342 18.1058 76.999 18.0588 76.8815 17.9647C76.764 17.8707 76.6994 17.7474 76.6876 17.5946C76.6876 17.4301 76.764 17.2597 76.9168 17.0834L80.0014 13.2057V13.946L77.1107 10.3326C76.9579 10.1446 76.8815 9.9742 76.8815 9.82144C76.8933 9.66868 76.9579 9.5453 77.0754 9.45129C77.1929 9.35729 77.3281 9.31028 77.4808 9.31028C77.6571 9.31028 77.804 9.34553 77.9215 9.41604C78.0507 9.47479 78.1682 9.57468 78.274 9.71568L80.7945 12.906H80.301L82.8392 9.71568C82.9449 9.57468 83.0566 9.47479 83.1741 9.41604C83.2916 9.34553 83.4385 9.31028 83.6147 9.31028C83.7793 9.31028 83.9144 9.35729 84.0201 9.45129C84.1377 9.5453 84.1964 9.67456 84.1964 9.83907C84.2082 9.99183 84.1377 10.1622 83.9849 10.3502L81.1118 13.9107V13.2586L84.1964 17.0834C84.3374 17.2597 84.402 17.4301 84.3903 17.5946C84.3903 17.7474 84.3315 17.8707 84.214 17.9647C84.0965 18.0588 83.9555 18.1058 83.791 18.1058C83.6265 18.1058 83.4796 18.0705 83.3503 18C83.2328 17.9412 83.1153 17.8414 82.9978 17.7004L80.2834 14.2809H80.7945L78.0801 17.7004C77.9744 17.8296 77.8568 17.9295 77.7276 18C77.6101 18.0705 77.4632 18.1058 77.2869 18.1058Z",fill:i})]}):t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 21 21",ref:n,...a,children:t("path",{fill:i,d:"M9.478 20.453a2.321 2.321 0 0 1-2.134-1.402L6.72 17.6l-1.075 1.076a2.323 2.323 0 1 1-3.286-3.287l1.075-1.075-1.45-.626A2.323 2.323 0 0 1 2.34 9.3l8.763-2.191a2.336 2.336 0 0 1 2.208.611c.574.574.808 1.42.611 2.209l-2.19 8.765a2.322 2.322 0 0 1-2.254 1.759Zm-2.5-4.98a.77.77 0 0 1 .71.467l1.078 2.496a.775.775 0 0 0 1.463-.118l2.19-8.765a.77.77 0 0 0-.203-.737.77.77 0 0 0-.737-.204l-8.763 2.191a.775.775 0 0 0-.118 1.463l2.496 1.079a.775.775 0 0 1 .24 1.259l-1.88 1.881a.774.774 0 1 0 1.095 1.096l1.88-1.882a.775.775 0 0 1 .548-.227ZM19.64 9.51h-3.097a.775.775 0 0 1 0-1.55h3.098a.775.775 0 0 1 0 1.55ZM16.825 14.761l-2.191-2.191a.775.775 0 0 1 1.095-1.096l2.191 2.192a.775.775 0 0 1-1.095 1.095ZM8.417 6.403 6.227 4.21a.775.775 0 0 1 1.095-1.095l2.19 2.191a.775.775 0 0 1-1.095 1.096ZM12.25 5.268a.775.775 0 0 1-.774-.775V1.394a.775.775 0 1 1 1.55 0v3.1a.775.775 0 0 1-.775.774ZM14.99 6.403a.775.775 0 0 1 0-1.096l2.19-2.191a.774.774 0 1 1 1.095 1.095l-2.19 2.192a.774.774 0 0 1-1.096 0Z"})})),dI={DEFAULT:"DEFAULT",PURPLE:"PURPLE",GREEN:"GREEN",GRADIENT:"GRADIENT"},dS=eh.forwardRef(({variant:e=dI.DEFAULT,...i},o)=>{let a=er(),n={[dI.DEFAULT]:{bgColor:a.palette.common.black,textColor:a.palette.common.white,accentColor:a.palette.clickpix.green},[dI.PURPLE]:{bgColor:a.palette.clickpix.purple,textColor:a.palette.common.white,accentColor:a.palette.clickpix.green},[dI.GREEN]:{bgColor:a.palette.clickpix.green,textColor:a.palette.common.black,accentColor:a.palette.common.black},[dI.GRADIENT]:{bgColor:a.palette.clickpix.gradient,textColor:a.palette.common.white,accentColor:a.palette.common.white}}[e];return t(C,{ref:o,sx:{background:n.bgColor,backgroundColor:n.bgColor,"&:hover":{backgroundColor:n.bgColor},py:1.25,px:2,borderRadius:8,width:"fit-content"},...i,children:r(j,{direction:"row",sx:{alignItems:"center"},gap:.5,children:[r(j,{direction:"row",gap:.75,sx:{alignItems:"center"},children:[t(dk,{color:n.accentColor,size:18}),t("span",{style:{color:n.textColor,fontWeight:a.typography.fontWeightMedium},children:"Pagar com"})]}),r(j,{direction:"row",children:[t("span",{style:{fontWeight:800,color:n.accentColor},children:"click"}),t("span",{style:{fontWeight:a.typography.fontWeightMedium,color:n.accentColor},children:"pix"})]})]})})}),dT=(e=[],t="D",r="M",i=!0)=>{let o="/";for(let i=0;i<2;i++){for(let i=1;i<=2;i++)for(let a=1;a<=2;a++)for(let n=2;n<=4;n+=2)e.push(`${t.repeat(i)}${o}${r.repeat(a)}${o}${"Y".repeat(n)}`);o="-"}return i?dT(e,"M","D",!1):e},dD=dT(),dR=e=>tR(e,dD,!0).isValid(),dL=({days:e,hours:i,minutes:o,seconds:a,sx:n})=>{let l,s,d,c,p=er();return r(j,{direction:"row",sx:{alignItems:"center",gap:.5},children:[t(rf,{color:"primary"}),t(ee,{variant:"h6",sx:{color:p.palette.text.secondary,...n},children:(l=e>0?`${e}d `:"",s=i>0?`${i}h `.padStart(4,"0"):"",d=o>0?`${o}m `.padStart(4,"0"):"",c=`${a}s `.padStart(4,"0"),`${l}${s}${d}${c}`)})]})},d_=({targetDate:e,fallback:i,sx:o})=>{let[a,n,l,s]=(e=>{let t,r=new Date(e).getTime(),[i,o]=eS(r-new Date().getTime());return ew(()=>{let e=setInterval(()=>{o(r-new Date().getTime())},1e3);return()=>clearInterval(e)},[r]),[Math.floor((t=i)/864e5),Math.floor(t%864e5/36e5),Math.floor(t%36e5/6e4),Math.floor(t%6e4/1e3)]})(new Date(e));if(a+n+l+s<=0)return i||t(ee,{variant:"body1",sx:o,children:tR(e).format("DD/MM/YYYY")});if(a>0){let t;return r(ee,{variant:"body1",sx:o,children:[" ",(t=tR(e).valueOf(),tR(t).format("DD/MM/YYYY"))]})}return t(dL,{days:a,hours:n,minutes:l,seconds:s,sx:o})},dP={extendType:"number",valueFormatter:({value:e})=>null===e?"-":"number"!=typeof e?e:`${((e,t={})=>{var r,i;if(null==e||"boolean"==typeof e)return null;if("string"!=typeof e)return e;let{decimalSeparator:o=",",thousandSeparator:a="."}=t;return parseFloat((r=e.toString(),i=a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),r.replace(RegExp(i,"g"),"")).replace(o,"."))})(e/100)}%`},dN={type:"dateTime",valueFormatter:({value:e})=>e&&tR(e).isValid()?tR(e).format("DD-MM-YYYY HH:mm"):"-"},dz=({id:e,value:r,isExpandable:i})=>{let{t:o}=eX(),a=rR(rS(),rk);return t(tM,{"data-testid":"expand",size:"small",sx:{height:"100%"},disabled:!(eh.isValidElement(a[e])&&i),tabIndex:-1,"aria-label":o(r?"Hide":"Expand"),children:r?t(e9,{}):t(e1,{})})},dO=e=>({...rg,align:"center",renderCell:r=>e?t(dz,{isExpandable:e(r),...r}):t(dz,{isExpandable:r.row?.isExpandable,...r})}),dH=e=>({renderCell:r=>r.value?"-"===r.value?"-":t(O,{href:e(r),onClick:e=>e.stopPropagation(),children:r.value.toString()}):null}),dV={renderCell:({value:e})=>{if(!e)return"-";let r=(e=>{try{let t=r_(e,"BR");if(!t.isValid())return null;return t}catch(e){return null}})(e);if(!r)return"-";let i=r.number;return t("a",{href:`tel:${i}`,children:rL(i,"INTERNATIONAL")})}},dF=(e,r=!0)=>({extendType:"string",type:"string",renderCell:({value:i})=>Array.isArray(i)&&0!==i.length?i.map((i,o)=>t(nH,{label:i,breakByColon:r,onClick:t=>{t.stopPropagation(),e&&e(i)}},o)):"-"}),d$=({value:e})=>{let{t}=eX();return"boolean"!=typeof e?"-":t(e?"Yes":"No")},dB={type:"boolean",renderCell:({value:e})=>t(d$,{value:e})},dW=e=>"number"!=typeof e?null:new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(e),dj={type:"number",valueFormatter:({value:e})=>null===e?"-":"number"!=typeof e?e:dW(e/100)},dG={type:"dateTime",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY"):"-"},dZ={valueFormatter:({value:e})=>e?rz(e):"-"},dU={boolean:{extendType:"string",renderCell:({value:e})=>t(d$,{value:e})},currency:{extendType:"number",valueFormatter:({value:e})=>null===e?"-":"number"!=typeof e?e:dW(e/100)},dateAny:{extendType:"date",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY"):"-"},datetime:{extendType:"dateTime",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY HH:mm"):"-"},datetimeSeconds:{extendType:"dateTime",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY HH:mm:ss"):"-"},phone:dV,tag:dF(),taxID:dZ,time:{extendType:"time",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("HH:mm"):"-"}},dY={delimiter:";"},dq=e=>t(rv,{...e,children:t(rw,{children:t(rb,{options:dY})})}),dX=e=>{let r=rD();return r.experimentalFeatures?.rowAnchor?t(rH,{className:"MuiDataGrid-rowLink",href:e.href(e.row),sx:{cursor:e.href?"pointer":"default",textDecoration:"none",color:"black"},children:t(ry,{...e})}):t(ry,{...e})},dK=e=>e.map(e=>{if(e.type){let t={date:{...dG,...e},datetime:{...dN,...e},taxID:{...dZ,...e},boolean:{...dB,...e},currency:{...dj,...e},tag:{...dF(),...e}};if(e.type in t)return t[e.type]}return e}),dJ={Compact:"compact",Standard:"standard",Comfortable:"comfortable"},dQ=void 0!==process.env.JEST_WORKER_ID,d1=({columns:e,rows:r,onRowClick:i,maxLines:o,rowHref:a,experimentalFeatures:n,exportBeta:l=!0,initialState:s={columns:{columnVisibilityModel:{}}},getCustomRoute:d,...c})=>{let p=eZ(),m=rT(),[h,u]=eX(),x=es(),f=eA(()=>"pt-BR"===u.language?rI.components.MuiDataGrid.defaultProps.localeText:"es-ES"===u.language?rE.components.MuiDataGrid.defaultProps.localeText:rM.components.MuiDataGrid.defaultProps.localeText,[]),[g,C]=eS("calc(100vh - 210px)");eE(()=>{if(!n?.persistState)return;if(!c.tableName)throw Error("tableName is required when persistState is true");let e=JSON.parse(localStorage.getItem(`@datagrid/${c.tableName}`)||null);e&&m.current.restoreState(e)},[]);let b=dK(e);return t(eN,{sx:{height:g},elevation:0,children:t(rP,{apiRef:m,slots:{detailPanelExpandIcon:e1,detailPanelCollapseIcon:e9,row:dX,toolbar:n?.exportTable||"CONSOLE"===process.env.ENTRYPOINT||l&&"production"!==process.env.NODE_ENV?dq:null},columns:b,columnTypes:dU,columnBuffer:4,columnThreshold:4,rows:r,hideFooter:!0,disableRowSelectionOnClick:!0,onStateChange:e=>{let t=c.density===dJ.Compact?56:c.density===dJ.Comfortable?90:(c.density===dJ.Standard,74);if(n?.persistState){if(!c.tableName)throw Error("tableName is required when persistState is true");localStorage.setItem(`@datagrid/${c.tableName}`,JSON.stringify(m.current.exportState()))}o&&e.rowsMeta?.positions?.length>o+1?C(e.rowsMeta.positions[o+1]):0===e.rows.totalRowCount?C(t+65):e.rows.totalRowCount<20?C(null):C("calc(100vh - 210px)")},sx:e=>({...(()=>{if(n?.zebraRow)return n.rowAnchor?{"& .MuiDataGrid-rowLink:nth-child(odd)":{backgroundColor:ej(p.palette.primary.main,.9)}}:{"& .MuiDataGrid-row:nth-child(odd)":{backgroundColor:ej(p.palette.primary.main,.9)}}})(),...!c.checkboxSelection||!c.disableSelectAllCheckbox?{}:{"& .MuiDataGrid-columnHeaderCheckbox .MuiDataGrid-columnHeaderTitleContainer":{display:"none"}},"& .MuiDataGrid-cell":{flexWrap:"wrap",gap:e.spacing(.5),py:e.spacing(.5),overflowWrap:"anywhere"}}),density:"compact",onRowClick:({row:e,...t},r,o)=>{if(i&&!((()=>{if(window.getSelection)return window?.getSelection()?.toString();if(document.getSelection)return document?.getSelection()?.toString();let e=document.selection&&document.selection.createRange();return e.text?e.text.toString():""})().length>0)){if(d){let t=d(e.id);if(r?.metaKey||r.ctrlKey){let e=window.open(t,"_blank");e?.focus();return}x.push(t)}return i({row:e,...t},r,o)}},localeText:{...f,toolbarExport:h("Export via Datagrid (BETA)")},autoHeight:!g,disableVirtualization:dQ,...c,slotProps:{row:a?{href:a}:{}},experimentalFeatures:n,initialState:s})})},d2=({children:e})=>t(or,{sx:{height:"100%",flexDirection:"column",py:2,pl:"50px",pr:2},children:e}),d0=({minWidth:e=50})=>t(rV,{width:eA(()=>Math.max(e-10,120*Math.random()),[]),animation:"wave",variant:"rounded"}),d3=({size:e=10,...r})=>{let i=r.columns.map(e=>({...e,renderCell:e=>t(d0,{minWidth:e.colDef?.minWidth})}));return t("div",{"data-testid":"loading",children:t(d1,{density:"compact",columns:i,rows:Array.from({length:e},(e,t)=>({id:t}))})})},d4={TABLE_VIEW_MODEL:"TABLE_VIEW_MODEL",CARD_VIEW_MODEL:"CARD_VIEW_MODEL"},d5={[d4.TABLE_VIEW_MODEL]:{icon:t(r$,{fontSize:"medium"}),value:d4.TABLE_VIEW_MODEL,onSwitchGoTo:()=>d4.CARD_VIEW_MODEL},[d4.CARD_VIEW_MODEL]:{icon:t(rB,{fontSize:"medium"}),value:d4.CARD_VIEW_MODEL,onSwitchGoTo:()=>d4.TABLE_VIEW_MODEL}},d6=()=>{let[e,r]=d9(),[i,o]=eS(d5[e]);return t(tM,{size:"small",color:"secondary",onClick:()=>{let e=d5[i.onSwitchGoTo()];o(e),r(e.value)},"data-testid":"table-toggle-view-model",children:i.icon})},d9=()=>{let{isMobile:e}=a5(),[t,r]=rF("@datagrid/table-view-mode",{defaultValue:e?d4.CARD_VIEW_MODEL:d4.TABLE_VIEW_MODEL});return ew(()=>{r(e?d4.CARD_VIEW_MODEL:d4.TABLE_VIEW_MODEL)},[e,r]),[t,r]},d7=()=>{let e=ev(lW);return{showDialog:e.showDialog,hideDialog:e.hideDialog}},d8=({anchor:e="bottom",children:r,handleDrawer:i,...o})=>{let[a,n]=oA(o.open,i);return t(q,{anchor:e,open:a,onClose:()=>{n(!1)},onOpen:()=>{n(!0)},children:r})},ce=({size:e,color:i,viewBox:o})=>r("svg",{viewBox:o,width:e,height:e,children:[t("path",{fill:"#004B62",d:"M184 401H1.029V1.091h399.817V401H184m-27.964-168.999s.027-.063-.339-.533c-.554-.183-1.107-.366-1.62-.499 0 0 .014-.063-.157-.703-1.948-1.475-3.896-2.95-6.207-4.972-14.487-12.587-23.39-28.594-27.826-46.938-1.158.146-1.512.117-1.798.241-.608.264-1.232.54-1.762.929-14.68 10.762-25.548 24.299-30.038 42.247-4.354 17.407-3.042 34.273 5.887 50.703.18.3.44.495.765.522 0 0-.033.054-.003.787 1.656 2.438 3.31 4.875 5.011 7.226 0 0-.057.089.056.77 1.986 2.423 3.973 4.847 5.994 7.22 0 0-.05.036.287.61 2.9 2.472 5.801 4.943 8.717 7.39 0 0-.026.011.316.583 1.871 1.183 3.743 2.365 6.135 4.04 3.85 1.856 7.582 4.022 11.568 5.513 17.383 6.504 34.757 6.178 51.97-.725 2.784-1.117 5.381-2.702 8.53-4.308-4.874-5.265-9.018-9.742-13.343-14.931-2.35-4.078-4.7-8.156-7.145-12.791-.29-.473-.58-.945-.967-2.188-3.304-10.121-7.02-20.204-6.038-31.104.486-5.396-2.11-7.585-6.982-8.196 0 0 .007.056-.183-.412-.276-.183-.553-.366-.828-.48m35.817 54.052s-.027.07.007.726c.7.775 1.402 1.55 2.458 2.88 16.549 16.545 36.35 24.189 59.763 21.477 34.029-3.94 60.088-30.328 63.749-64.323 3.5-32.51-16.909-64.073-48.527-75.2-12.592-4.43-25.423-4.479-38.993-2.507-2.065 2.39-1.563 3.237 2.687 4.857 0 0 .125-.098.06.764.987 3.145 2.794 6.281 2.83 9.438.252 21.62.139 43.246.12 64.87 0 2.078-.157 4.156-.545 6.732-.337.185-.673.37-1.788.378-3.444-.042-6.888-.116-10.332-.12-12.315-.013-24.63-.063-36.945.065-1.812.02-3.614.924-6.06 1.5-.425-.042-.85-.085-1.484-.532-.65.206-1.3.413-2.064 1.4-.006.525-.012 1.05-.36 2.113.498 1.155.996 2.31 1.843 4.096 1.18 2.258 2.36 4.517 3.538 7.072 0 0 .13.268.228.985a633.61 633.61 0 0 1 5.04 8.188s.088.028.23.655c1.165 1.21 2.331 2.42 3.567 3.607 0 0-.026-.069.114.452.301.163.602.327.864.427m-62.844-120.705c.666 26.045 19.118 51.55 35.916 57.99v-5.061c.01-12.158-.1-24.319.14-36.473.045-2.258.898-5.068 2.406-6.636 9.348-9.723 18.959-19.195 28.55-28.681 3.527-3.488 6.354-3.463 9.905-.044 3.48 3.35 7.043 6.643 10.211 10.273 2.94 3.371 5.832 4.004 10.402 3.194 8.064-1.43 16.391-1.992 24.59-1.857 7.163.12 14.302 1.698 22.552 2.776-1.25-6.575-1.886-13.037-3.734-19.132-11.362-37.467-49.06-58.743-87.194-49.044-31.15 7.924-54.695 36.842-53.744 72.695m98.318 29.184c.002-2.163.025-4.327.001-6.49-.073-6.552-3.57-10.086-10.051-10.099-10.982-.023-21.965-.03-32.947 0-5.843.015-9.62 3.647-9.64 9.48-.058 17.472.059 34.944-.056 52.415-.031 4.719 1.89 6.478 6.589 6.41 12.976-.188 25.956-.04 38.935-.072 6.384-.015 7.154-.803 7.164-7.226.023-14.476.006-28.952.005-44.418m-21.263-25.929h6.278c-3.404-3.373-5.505-6.005-8.153-7.857-1.392-.973-4.295-1.444-5.542-.637-3.075 1.988-5.587 4.846-8.325 7.355l.7 1.14h15.042z"}),t("path",{fill:"#62AF69",d:"M234.452 256.323c.337-.185.673-.37 1.425-1.016.907-2.175 1.822-3.887 1.83-5.604.096-22.592.093-45.184.033-67.776-.01-3.447-.867-6.643-4.618-8.06 0 0-.125.097-.156-.263-.712-1.755-1.392-3.148-2.073-4.541 12.987-1.928 25.818-1.88 38.41 2.551 31.618 11.127 52.028 42.69 48.527 75.2-3.661 33.995-29.72 60.383-63.749 64.323-23.413 2.712-43.214-4.932-60.053-22.049-.927-1.37-1.565-2.167-2.202-2.965 0 0 .027-.07-.072-.258a5.64 5.64 0 0 0-.905-.759s.026.069-.02-.257c-1.253-1.52-2.458-2.714-3.663-3.908 0 0-.088-.028-.12-.43-1.724-3.103-3.415-5.803-5.107-8.503 0 0-.129-.268-.124-.825-1.374-4.808-3.719-9.075.635-13.252 1.439.015 2.485.06 3.639.432 3.959 1.097 7.79 2.389 11.664 2.529 9.079.328 18.187.333 27.262-.035 2.696-.11 5.324-1.894 8.111-3.154.528-.622.927-1.001 1.326-1.38z"}),t("path",{fill:"#1A8576",d:"M129.01 164.872c-.952-35.376 22.592-64.294 53.743-72.218 38.133-9.7 75.832 11.577 87.194 49.044 1.848 6.095 2.484 12.557 3.734 19.132-8.25-1.078-15.389-2.657-22.551-2.776-8.2-.135-16.527.427-24.591 1.857-4.57.81-7.461.177-10.402-3.194-3.168-3.63-6.731-6.924-10.21-10.273-3.552-3.419-6.38-3.444-9.906.044-9.591 9.486-19.202 18.958-28.55 28.68-1.508 1.569-2.361 4.38-2.406 6.637-.24 12.154-.13 24.315-.14 36.473v5.06c-16.798-6.44-35.25-31.944-35.916-58.466z"}),t("path",{fill:"#28956A",d:"M170.163 272.964c.29.473.58.945.694 1.932.527 5.815 2.332 10.438 7.502 12.99l13.164 14.218c-3.15 1.606-5.747 3.191-8.532 4.308-17.212 6.903-34.586 7.229-51.969.725-3.986-1.491-7.719-3.657-11.868-6.127-2.258-1.742-4.218-2.87-6.177-3.998 0 0 .026-.012.006-.36-2.17-3.832-4.193-7.471-9.034-7.615 0 0 .05-.036.03-.385-.67-3.905-2.13-6.78-6.087-7.552 0 0 .057-.09.01-.404-1.696-2.758-3.345-5.2-4.994-7.644 0 0 .033-.054-.081-.233-.312-.445-.559-.65-.855-.796-8.725-15.977-10.037-32.843-5.683-50.25 4.49-17.948 15.359-31.485 30.038-42.247.53-.39 1.154-.665 1.762-.929.286-.124.64-.095 1.798-.241 4.436 18.344 13.339 34.35 28.039 47.574 2.197 2.083 4.18 3.53 6.165 4.976 0 0-.013.063.154.269.717.391 1.268.577 1.818.763 0 0-.027.063.099.239.333.436.589.635.892.773 0 0-.007-.056.055.307 3.57 3.179 6.158 6.412 5.914 11.313-.188 3.783-.155 7.59.01 11.376.286 6.516 2.952 12.1 7.13 17.018z"}),t("path",{fill:"#FDFFFE",d:"M227.327 195.028c0 14.97.018 29.447-.005 43.923-.01 6.423-.78 7.21-7.164 7.226-12.979.032-25.96-.116-38.935.072-4.698.068-6.62-1.691-6.589-6.41.115-17.47-.002-34.943.057-52.414.02-5.834 3.796-9.466 9.64-9.481 10.981-.03 21.964-.023 32.946 0 6.482.013 9.978 3.547 10.051 10.1.024 2.162 0 4.326-.001 6.984z"}),t("path",{fill:"#155E53",d:"M233.09 174.297c3.783.987 4.64 4.183 4.65 7.63.06 22.592.063 45.184-.033 67.776-.008 1.717-.923 3.43-1.679 5.355-.178-1.866-.022-3.944-.02-6.021.018-21.625.13-43.25-.12-64.871-.037-3.157-1.844-6.293-2.799-9.869z"}),t("path",{fill:"#DBEDEF",d:"M205.62 168.605h-14.598l-.7-1.14c2.738-2.509 5.25-5.367 8.325-7.355 1.247-.807 4.15-.336 5.542.637 2.648 1.852 4.75 4.484 8.153 7.857h-6.722z"}),t("path",{fill:"#155E53",d:"M185.981 258.034c-1.046-.044-2.092-.088-3.805-.207-.845-.156-1.022-.236-1.2-.317 1.807-.495 3.61-1.4 5.421-1.419 12.314-.128 24.63-.078 36.945-.064 3.444.003 6.888.077 10.721.208-.01.467-.41.846-1.405 1.497-15.957.282-31.317.292-46.677.302z"}),t("path",{fill:"#2D8C76",d:"M170.115 272.579c-4.13-4.534-6.796-10.117-7.081-16.633-.166-3.787-.2-7.593-.011-11.376.244-4.9-2.344-8.134-5.886-11.314 4.781.249 7.378 2.438 6.892 7.834-.982 10.9 2.734 20.983 6.086 31.489z"}),t("path",{fill:"#2D8E75",d:"M178.27 287.53c-5.081-2.196-6.886-6.819-7.365-12.355 2.575 3.842 4.924 7.92 7.364 12.354z"}),t("path",{fill:"#58A37A",d:"M180.657 257.55c.497.04.674.121 1.127.305-3.688 4.253-1.343 8.52.033 13.18-1.184-1.85-2.365-4.109-3.705-7.038a91.108 91.108 0 0 0-1.341-3.962c.006-.526.012-1.051.44-1.934.9-.45 1.375-.544 1.85-.637.426.042.851.085 1.596.087z"}),t("path",{fill:"#2A8D75",d:"M104.118 289.324c4.672-.143 6.695 3.496 8.858 7.34-2.889-2.11-5.79-4.581-8.858-7.34zM97.949 281.44c3.9.431 5.36 3.307 6.013 7.237-1.984-2.05-3.97-4.473-6.013-7.237z"}),t("path",{fill:"#58A37A",d:"M181.989 272.366c1.642 2.342 3.333 5.042 5.057 8.099-1.648-2.343-3.328-5.042-5.057-8.099z"}),t("path",{fill:"#2A8D75",d:"M92.923 273.419c1.634 2.076 3.283 4.52 4.956 7.32-1.63-2.079-3.285-4.516-4.956-7.32z"}),t("path",{fill:"#2D8C76",d:"M154.005 230.586c-1.898-1.127-3.882-2.573-5.898-4.383 1.917 1.113 3.865 2.588 5.898 4.383z"}),t("path",{fill:"#2A8D75",d:"M113.148 297.298a33.25 33.25 0 0 1 5.746 3.466c-1.832-.815-3.704-1.997-5.746-3.466z"}),t("path",{fill:"#155E53",d:"M230.602 169.085c.972 1.371 1.652 2.764 2.433 4.48-4.288-1.22-4.79-2.069-2.433-4.48z"}),t("path",{fill:"#58A37A",d:"M187.237 281.255c1.134.88 2.34 2.074 3.556 3.605-1.154-.872-2.32-2.082-3.556-3.605z"}),t("path",{fill:"#155E53",d:"M176.6 260.303c.564.829.958 1.926 1.338 3.379-.513-.8-1.011-1.955-1.339-3.379zM178.957 257.261c-.371.296-.847.39-1.688.45.285-.24.934-.446 1.688-.45z"}),t("path",{fill:"#58A37A",d:"M191.843 286.452c.62.469 1.258 1.266 2.007 2.359-.588-.48-1.29-1.256-2.007-2.36z"}),t("path",{fill:"#2D8C76",d:"M155.88 231.703c-.367.049-.918-.137-1.656-.553.366-.048.92.135 1.656.553z"}),t("path",{fill:"#2A8D75",d:"M92.074 272.25c.194-.081.44.124.76.6-.218.121-.478-.073-.76-.6z"}),t("path",{fill:"#2D8C76",d:"M156.96 232.716c-.21.096-.465-.103-.8-.573.15-.027.428.156.8.573z"}),t("path",{fill:"#58A37A",d:"M190.92 285.366c.198-.07.467.12.854.53-.183.058-.484-.106-.855-.53z"}),t("path",{fill:"#63AD79",d:"M186.089 258.363c15.252-.34 30.612-.35 46.44-.388-2.19.988-4.818 2.773-7.514 2.882-9.075.368-18.183.363-27.262.035-3.873-.14-7.705-1.432-11.664-2.53z"})]});ce.defaultProps={color:"#47C557",viewBox:"15 15 420 420",size:24};let ct=ce,cr=({size:e,color:i,viewBox:o})=>r("svg",{viewBox:o,width:e,height:e,children:[t("path",{fill:"#46C556",d:"M78 1c99.021 0 198.043 0 297.727.375 4.23.79 7.843.97 11.358 1.657 16.984 3.317 30.315 12.585 40.862 25.963 6.924 8.782 10.45 19.18 12.965 30.432.069 103.853.078 207.24.08 310.625 0 .997-.09 1.993-.472 3.193-1.726 5.193-2.602 10.401-4.605 15.132-6.975 16.472-18.494 28.741-35.185 35.638-5.752 2.376-11.811 4.011-17.73 5.985-103.688 0-207.376 0-311.703-.361-18.13-3.169-32.382-11.297-43.647-25.185-7.589-9.356-11.742-19.987-14.562-31.88-.069-103.854-.078-207.24-.08-310.626 0-.997.09-1.993.473-3.193.412-1.36.34-2.55.593-3.667 5.795-25.592 26.975-47.515 53.669-52.14C71.172 2.352 74.58 1.651 78 1m51.305 162.799-10.4 6.818c-.307-2.644-.726-4.754-.768-6.87a3233.94 3233.94 0 0 1-.497-33.49c-.158-16.656-.083-33.318-.514-49.968-.08-3.105-1.522-6.53-3.287-9.17-4.991-7.467-15.961-10.354-25.647-7.278-9.489 3.012-14.325 9.62-14.34 19.75-.074 47.829-.178 95.658-.157 143.486.007 15.66-1.114 31.502.814 46.944 6.684 53.52 53.018 95.047 107.68 94.953 31.328-.054 62.657-.007 93.986-.126 4.307-.016 8.675-.387 12.91-1.167 84.892-15.644 120.339-114.069 64.6-179.87-18.164-21.441-41.54-35.28-69.723-36.712-33.745-1.715-67.63-.68-101.455-.824-18.638-.08-36.238 4.027-53.202 13.524z"}),t("path",{d:"M440.853 373.041c.049-.996.14-1.992.14-2.989-.003-103.386-.012-206.772-.012-311.09.012-19.942.015-38.952.019-57.962h13.968v429c-4.362 0-8.69 0-13.494-.469-.523-19.142-.572-37.816-.621-56.49zM13.147 58.959c-.049.996-.14 1.992-.14 2.989.003 103.386.012 206.772.012 311.09-.012 19.609-.015 38.285-.019 56.962H1.02c.006-143 .006-286 .006-429 3.69 0 7.353 0 11.495.469.528 19.475.577 38.483.626 57.49z"}),t("path",{fill:"#FFF",d:"M13.48 58.755c-.382-18.803-.43-37.81-.48-57.286C34.354 1 55.708 1 77.531 1c-2.95.652-6.36 1.353-9.788 1.947-26.694 4.626-47.874 26.549-53.67 52.141-.252 1.117-.18 2.307-.592 3.667zM440.531 1c.465 19.01.462 38.02.39 57.495-2.525-10.32-6.05-20.718-12.974-29.5C417.4 15.617 404.07 6.35 387.085 3.032c-3.515-.687-7.128-.867-10.89-1.657C397.354 1 418.707 1 440.53 1zM13.469 430c-.465-18.677-.462-37.353-.39-56.495 2.829 10.962 6.982 21.593 14.571 30.95 11.265 13.887 25.516 22.015 43.179 25.184-18.85.361-37.87.361-57.36.361zM440.52 373.245c.382 18.47.43 37.144.48 56.286-19.02.469-38.042.469-57.531.469 5.45-1.974 11.509-3.609 17.261-5.985 16.691-6.897 28.21-19.166 35.185-35.638 2.003-4.73 2.879-9.939 4.605-15.132z"}),t("path",{fill:"#FEFFFE",d:"M129.61 163.597c16.659-9.295 34.259-13.401 52.897-13.322 33.825.145 67.71-.89 101.455.824 28.184 1.431 51.559 15.27 69.722 36.713 55.74 65.8 20.293 164.225-64.6 179.869-4.234.78-8.602 1.151-12.91 1.167-31.328.119-62.657.072-93.986.126-54.661.094-100.995-41.433-107.679-94.953-1.928-15.442-.807-31.285-.814-46.944-.02-47.828.083-95.657.156-143.486.016-10.13 4.852-16.738 14.341-19.75 9.686-3.076 20.656-.19 25.647 7.278 1.765 2.64 3.207 6.065 3.287 9.17.431 16.65.356 33.312.514 49.969.106 11.163.276 22.327.497 33.488.042 2.117.461 4.227.768 6.871 3.794-2.487 7.097-4.652 10.705-7.02M335.92 260.4c-.28-37.293-27.253-65.541-64.462-66.348-29.805-.646-59.639-.362-89.454.012-13.023.163-25.279 3.823-35.954 11.776-22.212 16.55-32.296 38.435-26.741 65.818 5.388 26.563 21.294 44.786 48.31 50.651 12.04 2.614 24.782 2.123 37.22 2.72 7.268.35 14.566.064 21.713.064 3.235 9.731-2.882 20.075 4.074 28.907 2.723-.915 5.57-1.443 7.993-2.754 21.654-11.722 43.332-23.406 64.808-35.45 21.157-11.865 31.06-30.696 32.494-55.396z"}),t("path",{fill:"#47C557",d:"M335.906 260.866c-1.42 24.234-11.322 43.065-32.479 54.93-21.476 12.044-43.154 23.728-64.808 35.45-2.423 1.311-5.27 1.839-7.993 2.754-6.956-8.832-.84-19.176-4.074-28.907-7.147 0-14.445.286-21.712-.063-12.44-.598-25.18-.107-37.22-2.721-27.017-5.865-42.923-24.088-48.311-50.651-5.555-27.383 4.529-49.269 26.74-65.818 10.676-7.953 22.932-11.613 35.955-11.776 29.815-.374 59.649-.658 89.454-.012 37.209.807 64.183 29.055 64.448 66.814m-170.068-15.457c-.8 1.26-1.72 2.46-2.384 3.789-4.691 9.384-2.75 19.656 5.006 26.778 7.542 6.925 17.613 7.769 26.675 2.236 8.505-5.194 12.48-15.115 9.83-24.533-4.802-17.069-25.878-21.891-39.127-8.27m91.293-3.906c-1.08 1.031-2.259 1.978-3.225 3.106-6.77 7.898-6.962 21.255-.466 29.071 7.05 8.483 18.526 10.499 28.383 4.985 9.435-5.278 13.593-16.277 10.128-26.573-3.742-11.116-19.741-20.565-34.82-10.589z"}),t("path",{fill:"#FDFEFD",d:"M166.053 245.117c13.034-13.33 34.11-8.507 38.913 8.562 2.65 9.418-1.326 19.34-9.831 24.533-9.062 5.533-19.133 4.689-26.675-2.236-7.756-7.122-9.697-17.394-5.006-26.778.664-1.329 1.583-2.53 2.6-4.081zM257.431 241.292c14.779-9.765 30.778-.316 34.52 10.8 3.465 10.296-.693 21.295-10.128 26.573-9.857 5.514-21.333 3.498-28.383-4.985-6.496-7.816-6.303-21.173.466-29.071.966-1.128 2.145-2.075 3.525-3.317z"})]});cr.defaultProps={color:"#47C557",viewBox:"15 15 420 420",size:24};let ci=cr,co=({children:e})=>r(or,{sx:{mb:"10px"},children:[t(or,{sx:{pr:"5px"},children:t(rm,{color:"primary"})}),t(or,{sx:{pl:"5px"},children:t(ee,{variant:"h6",children:e})})]}),ca=({size:e,viewBox:i})=>r("svg",{id:"meta",enableBackground:"new 0 0 512 512",viewBox:i,xmlns:"http://www.w3.org/2000/svg",width:e,height:e,children:[r("linearGradient",{id:"SVGID_1_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"5.3",x2:"506.8",y1:"258.1",y2:"258.1",children:[t("stop",{offset:"0",stopColor:"#0064e0"}),t("stop",{offset:".06176297",stopColor:"#006ae5"}),t("stop",{offset:".2183",stopColor:"#007af4"}),t("stop",{offset:".8106",stopColor:"#007df6"}),t("stop",{offset:"1",stopColor:"#0080f9"})]}),r("linearGradient",{id:"SVGID_00000108294422424748979490000015468411590085554596_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"49.786",x2:"230.719",y1:"320.675",y2:"133.579",children:[t("stop",{offset:"0",stopColor:"#0064e0"}),t("stop",{offset:".0134753",stopColor:"#0065e1"}),t("stop",{offset:".2894",stopColor:"#0075f0"}),t("stop",{offset:".5971",stopColor:"#007ff9"}),t("stop",{offset:"1",stopColor:"#0082fc"})]}),r("linearGradient",{id:"SVGID_00000011014187292083061840000001297153340796386228_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"110.25",x2:"416.1",y1:"451.784",y2:"121.254",children:[t("stop",{offset:"0",stopColor:"#0082fb"}),t("stop",{offset:".02167212",stopColor:"#017cf5"}),t("stop",{offset:".09047851",stopColor:"#0471ea"}),t("stop",{offset:".1872",stopColor:"#066ae3"}),t("stop",{offset:".4561",stopColor:"#0668e1"}),t("stop",{offset:".7462",stopColor:"#056ae3"}),t("stop",{offset:".8847",stopColor:"#0472eb"}),t("stop",{offset:".9742",stopColor:"#017cf5"}),t("stop",{offset:"1",stopColor:"#0082fb"})]}),r("linearGradient",{id:"SVGID_00000115496449546236234580000017061870114335014073_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"49",x2:"262.7",y1:"365.75",y2:"365.75",children:[t("stop",{offset:"0",stopColor:"#0064e0"}),t("stop",{offset:".4218",stopColor:"#0069e4"}),t("stop",{offset:".4332",stopColor:"#0069e4"}),t("stop",{offset:"1",stopColor:"#0668e1"})]}),r("linearGradient",{id:"SVGID_00000150100707639943330890000011886544216348691624_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"324.016",x2:"506.8",y1:"149.85",y2:"149.85",children:[t("stop",{offset:"0",stopColor:"#066be3"}),t("stop",{offset:".3087",stopColor:"#0470e9"}),t("stop",{offset:".559",stopColor:"#0279f2"}),t("stop",{offset:"1",stopColor:"#0080f9"})]}),t("path",{d:"m149.4 89.4c-81.6 0-144.1 106.2-144.1 218.5 0 70.3 34 114.7 91 114.7 41 0 70.5-19.3 123-111 0 0 21.9-38.6 36.9-65.2l31.2-52.8c26.5-40.9 48.4-61.3 74.4-61.3 54 0 97.2 79.5 97.2 177.2 0 37.2-12.2 58.8-37.5 58.8-24.2 0-35.8-16-81.8-90l-42.3 36.9c47.9 80.2 74.6 107.4 123 107.4 55.5 0 86.4-45.1 86.4-116.9 0-117.7-63.9-216.5-141.6-216.5-41.1 0-73.3 31-102.4 70.3l-32.3 47.4c-31.9 49-51.3 79.7-51.3 79.7-42.5 66.7-57.2 81.6-80.9 81.6-24.4 0-38.8-21.4-38.8-59.5 0-81.6 40.7-165 89.2-165z",fill:"url(#SVGID_1_)"}),t("path",{d:"m265.5 196.4-35 10.8c-31.9 49-51.3 79.7-51.3 79.7-42.5 66.7-57.2 81.6-80.9 81.6-24.4 0-38.8-21.4-38.8-59.5 0-81.6 40.7-165 89.2-165l.7-54.5c-81.6-.1-144.1 106.1-144.1 218.4 0 70.3 34 114.7 91 114.7 41 0 70.5-19.3 123-111 0 0 21.9-38.6 36.9-65.2z",fill:"url(#SVGID_00000108294422424748979490000015468411590085554596_)"}),t("path",{d:"m297.4 315.3c47.9 80.2 74.6 107.3 123 107.3l1.1-54.3c-24.2 0-35.8-15.9-81.8-89.9-38.6-62.8-58.3-94.2-76.9-118.7-40-50.9-73.4-70.3-113.4-70.3l-.7 54.5c26.3 0 48.2 15.2 81.8 63.3 14.1 19.8 43 66.9 66.9 108.1z",fill:"url(#SVGID_00000011014187292083061840000001297153340796386228_)"}),t("path",{d:"m262.7 159.7c-40-50.9-73.4-70.3-113.5-70.3-39.5 0-74.5 24.9-100.2 63.3l38.6 39.5c16.1-29.1 37.8-48.2 61.1-48.2 26.3 0 48 15 81.6 63.1z",fill:"url(#SVGID_00000115496449546236234580000017061870114335014073_)"}),t("path",{d:"m324 357.3c32.9 47.9 57.7 65.3 96.4 65.3 55.5 0 86.4-45.1 86.4-116.9l-47.8 3.8c0 37.2-12.2 58.8-37.5 58.8-19.5 0-30.9-10.4-58.8-53.4z",fill:"url(#SVGID_00000150100707639943330890000011886544216348691624_)"})]});ca.defaultProps={viewBox:"0 0 512 512",color:"#C505F2",size:50};let cn=ca,cl=({size:e,viewBox:i})=>r("svg",{viewBox:i,width:e,height:e,children:[t("path",{fill:"#EA4B71",d:"M154 281H1V1h280v280H154m79.497-187.055c-12.326-9.083-26.388-5.528-33.26 8.23-.61 1.222-2.614 2.406-4.016 2.46-6.656.26-13.328.064-19.994.135-11.91.127-19.327 6.532-21.268 18.264-1.759 10.628-4.677 13.051-15.14 13.008-2.627-.01-3.907-.6-5.111-3.32-5.12-11.57-19.214-16.144-29.861-9.304-4.346 2.792-7.414 7.572-11.874 12.31H83.44c-4.385-11.382-12.857-16.884-23.074-15.185-10.85 1.805-17.629 9.45-17.857 20.142-.217 10.229 6.123 18.24 16.21 20.48 11.12 2.47 19.526-2.518 25.023-15.115 2.821 0 5.825-.207 8.775.102 1.167.123 2.827 1.157 3.219 2.177 3.505 9.127 10.633 13.161 19.774 13.362 9.241.203 15.486-4.993 19.64-13.052.595-1.156 2.238-2.375 3.496-2.492 10.622-.982 14.513 2.142 16.286 12.697 1.754 10.44 7.675 17.206 17.143 18.027 4.796.416 7.044 2.376 9.307 6.327 4.403 7.688 11.662 10.648 20.387 9.677 8.25-.918 14.918-6.596 17.05-14.172 3.133-11.129-1.552-21.224-11.83-25.488-10.337-4.29-21.188-.214-26.716 10.033-2.429 4.502-7.156 5.473-10.743 1.724-1.853-1.938-2.99-4.709-3.997-7.28-2.205-5.625-4.12-11.363-6.014-16.66 1.937-5.423 4.15-11.057 5.946-16.82 1.483-4.759 3.523-8.988 9.077-9.2 8.3-.317 16.621-.083 25.005-.083 1.977 6.224 5.365 10.973 11.267 13.55 9.487 4.141 20.286 1.388 25.948-6.596 5.816-8.202 4.717-19.321-3.266-27.938z"}),t("path",{fill:"#FFFBFC",d:"M233.773 94.18c7.707 8.382 8.806 19.5 2.99 27.703-5.662 7.984-16.461 10.737-25.948 6.596-5.902-2.577-9.29-7.326-11.267-13.55-8.384 0-16.705-.234-25.005.083-5.554.212-7.594 4.441-9.077 9.2-1.795 5.763-4.009 11.397-5.946 16.82 1.893 5.297 3.81 11.035 6.014 16.66 1.008 2.571 2.144 5.342 3.997 7.28 3.587 3.75 8.314 2.778 10.743-1.724 5.528-10.247 16.38-14.322 26.716-10.033 10.278 4.264 14.963 14.36 11.83 25.488-2.132 7.576-8.8 13.254-17.05 14.172-8.725.971-15.984-1.989-20.387-9.677-2.263-3.951-4.51-5.911-9.307-6.327-9.468-.82-15.39-7.587-17.143-18.027-1.773-10.555-5.664-13.68-16.286-12.697-1.258.117-2.9 1.336-3.497 2.492-4.153 8.059-10.398 13.255-19.64 13.052-9.14-.2-16.268-4.235-19.773-13.362-.392-1.02-2.052-2.054-3.219-2.177-2.95-.309-5.954-.102-8.775-.102-5.497 12.597-13.903 17.586-25.023 15.116-10.087-2.241-16.427-10.252-16.21-20.481.228-10.691 7.007-18.337 17.857-20.142 10.217-1.699 18.689 3.803 23.074 15.184h9.532c4.46-4.737 7.528-9.517 11.874-12.309 10.647-6.84 24.74-2.266 29.861 9.304 1.204 2.72 2.484 3.31 5.11 3.32 10.464.043 13.382-2.38 15.14-13.008 1.942-11.732 9.359-18.137 21.269-18.264 6.666-.071 13.338.124 19.994-.134 1.402-.055 3.407-1.24 4.017-2.46 6.87-13.759 20.933-17.314 33.535-7.996m-10.204 25.394c.725-.403 1.5-.735 2.165-1.221 3.909-2.859 5.33-6.757 4.19-11.384-1.052-4.268-4.09-6.823-8.308-7.667-4.613-.922-7.988 1.195-10.547 4.96-2.272 3.343-2.643 6.613-.436 10.198 2.865 4.653 6.757 6.656 12.936 5.114M56.07 133.614c-5.586 6.367-3.828 14.604 3.708 17.371 4.682 1.72 9.446-.077 12.465-4.699 2.739-4.193 1.937-9.206-2.09-13.058-3.72-3.559-8.368-3.618-14.083.385m51.162 1.244c-3.589 6.762-1.55 13.923 4.596 16.139 5.014 1.808 10.016-.142 12.647-4.933 2.5-4.548 1.155-10.706-3.016-13.82-4.1-3.06-9.624-2.252-14.227 2.614M209.06 173.28c.199-5.008-1.888-8.94-6.46-10.782-3.658-1.475-7.589-1.134-10.63 2.006-3.303 3.41-4.43 7.415-2.591 11.907 1.837 4.487 5.327 6.783 10.18 6.489 5.46-.332 8.16-3.867 9.5-9.62z"}),t("path",{fill:"#EB5075",d:"M223.186 119.716c-5.796 1.4-9.688-.603-12.553-5.256-2.207-3.585-1.836-6.855.436-10.199 2.559-3.764 5.934-5.881 10.547-4.959 4.217.844 7.256 3.399 8.308 7.667 1.14 4.627-.281 8.525-4.19 11.384-.664.486-1.44.818-2.548 1.363z"}),t("path",{fill:"#EA5075",d:"M56.328 133.334c5.458-3.724 10.106-3.665 13.826-.106 4.027 3.852 4.829 8.865 2.09 13.058-3.02 4.622-7.783 6.418-12.465 4.7-7.536-2.768-9.294-11.005-3.451-17.652z"}),t("path",{fill:"#EB5075",d:"M107.464 134.557c4.372-4.566 9.896-5.374 13.996-2.313 4.171 3.113 5.515 9.271 3.016 13.82-2.631 4.79-7.633 6.74-12.647 4.932-6.146-2.216-8.185-9.377-4.365-16.44z"}),t("path",{fill:"#EA4F74",d:"M209.023 173.684c-1.304 5.35-4.005 8.885-9.464 9.217-4.854.294-8.344-2.002-10.181-6.489-1.839-4.492-.712-8.498 2.59-11.907 3.042-3.14 6.973-3.481 10.631-2.006 4.572 1.842 6.659 5.774 6.424 11.185z"})]});cl.defaultProps={viewBox:"0 0 280 280",size:24};let cs=cl,cd=({size:e=50})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:e,height:e,viewBox:"0 0 900 900",children:[r("defs",{children:[t("style",{children:`
|
|
1228
|
+
`,dM=({color:e,size:i=101})=>{let a=tF();return r("svg",{width:i,height:i,viewBox:"0 0 101 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("rect",{x:"0.5",y:"0.599976",width:"100",height:"100",rx:"50",fill:e||a.palette.warning.light}),t("path",{d:"M50.975 26C37.175 26 26 37.2 26 51C26 64.8 37.175 76 50.975 76C64.8 76 76 64.8 76 51C76 37.2 64.8 26 50.975 26ZM51 71C39.95 71 31 62.05 31 51C31 39.95 39.95 31 51 31C62.05 31 71 39.95 71 51C71 62.05 62.05 71 51 71Z",fill:"white"}),t("path",{d:"M52.25 38.5H48.5V53.5L61.625 61.375L63.5 58.3L52.25 51.625V38.5Z",fill:"white"})]})},dE=({value:e,error:r=!1,onError:i})=>{let{t:a}=eX(),{enqueueSnackbar:o}=ra(),[n,l]=eS(!1),[s,d]=eS(!1),c=ru(()=>{l(!1)},600),p=async()=>{l(!0);let t=await dC(e);t||(o(a("Error copying QR Code"),{variant:"error"}),i?.(!t)),d(!t),c()};return s||r?t(Q,{value:e,sx:{width:"100% !important",m:"0 !important"},multiline:!0,InputProps:{endAdornment:t(P,{onClick:p,edge:"end",children:n?t(eJ,{}):t(rx,{})})}}):t(Q,{disabled:!0,value:e,sx:{width:"100% !important",m:"0 !important"},inputProps:{sx:{border:"none !important"}},InputProps:{endAdornment:t(P,{onClick:p,edge:"end",sx:e=>({display:"flex !important",color:`${e.palette.action.disabled} !important`,border:"0 !important",backgroundColor:"transparent !important",textDecoration:"none !important","&:hover":{textDecoration:"none !important",backgroundColor:`${e.palette.action.hover} !important`}}),children:n?t(eJ,{}):t(rx,{})})}})},dA=({content:e})=>{let r=er(),[i,a]=((e,t)=>{let[r,i]=eS(!1),a=ey(()=>void 0,[void 0]),o=ru(()=>{i(!1)},1e3);return[r,async()=>{i(await dC(e)),a(),o()}]})(e),{t:o}=eX(),n=async()=>{"function"==typeof a&&await a()};return t(b,{sx:{border:`1px solid ${r.palette.grey[400]}`,backgroundColor:r.palette.grey[200],boxShadow:"none"},children:t(y,{onClick:n,sx:{p:2,height:"100%",width:"100%",position:"relative","&:before":{content:'""',position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"rgba(0, 0, 0, 0.40)",zIndex:1,opacity:0,transition:"opacity 0.3s ease"},"&:after":{content:`"${o(i?"Copied":"Copy")}"`,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"white",fontSize:r.typography.body1,fontWeight:r.typography.fontWeightBold,lineHeight:1.2,zIndex:2,opacity:0,textAlign:"center",transition:"opacity 0.1s ease"},"&:hover":{"&:before, &:after":{opacity:1}}},children:t(ee,{variant:"body1",component:"div",color:r.palette.text.secondary,children:e})})})},dI=({children:e,image:i,imageAlt:a="",gutterSpacing:o=!1,imageSize:n="large",renderImageOnBottom:l=!1})=>t(ao,{sx:{padding:2*!!o},children:r(ai,{sx:{alignItems:"center",flexDirection:"column","@media (min-width: 765px)":{flexDirection:l?"column":"row",justifyContent:"space-between"}},children:[t(j,{spacing:2,sx:{padding:5},children:e}),t(v,{component:"img",sx:{maxWidth:{small:"200px",medium:"332px",large:"437px",full:"95%"}[n],"@media (min-width: 962px)":{display:"block"}},image:i,alt:a})]})}),dk=eh.forwardRef(({size:e=20,color:i="#43F1C2",full:a=!1,...o},n)=>a?r("svg",{width:e/24*86,height:e,viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M9.35259 21.9167C8.39041 21.9167 7.57361 21.3352 7.21926 20.5146L6.59357 19.0654L5.51893 20.1403C4.61084 21.0487 3.14104 21.0487 2.23292 20.1403C1.32484 19.232 1.3248 17.7617 2.23292 16.8534L3.30756 15.7784L1.85875 15.1526C1.03904 14.7984 0.457031 13.9818 0.457031 13.0187C0.457031 11.9252 1.20827 11.0158 2.21557 10.764L10.9782 8.57265C11.7662 8.37555 12.6123 8.6098 13.1863 9.18388C13.7602 9.75796 13.9943 10.6042 13.7973 11.3925L11.6066 20.1577C11.3553 21.1635 10.448 21.9167 9.35259 21.9167ZM6.85238 16.9361C6.90074 16.9361 6.94938 16.9406 6.99779 16.9499C7.24986 16.9981 7.46169 17.168 7.56342 17.4037L8.64132 19.9003C8.75788 20.1702 9.02908 20.3673 9.35256 20.3673C9.72285 20.3673 10.0217 20.1104 10.1038 19.7819L12.2945 11.0168C12.3613 10.7495 12.2851 10.4739 12.0909 10.2796C11.8966 10.0853 11.6211 10.0091 11.3539 10.0759L2.59125 12.2672C2.26278 12.3494 2.00607 12.6483 2.00607 13.0187C2.00607 13.343 2.20376 13.6138 2.47294 13.7301L4.96879 14.8083C5.20436 14.9101 5.37429 15.122 5.42246 15.3741C5.47064 15.6262 5.39086 15.8858 5.20939 16.0674L3.32824 17.9491C3.02552 18.2519 3.02552 18.7419 3.32824 19.0447C3.63096 19.3475 4.12089 19.3475 4.42357 19.0447L6.30471 17.163C6.45133 17.0164 6.64895 16.9361 6.85238 16.9361Z",fill:i}),t("path",{d:"M19.5159 10.9737H16.4178C15.99 10.9737 15.6433 10.6269 15.6433 10.199C15.6433 9.77109 15.99 9.42424 16.4178 9.42424H19.5159C19.9436 9.42424 20.2904 9.77109 20.2904 10.199C20.2904 10.6269 19.9436 10.9737 19.5159 10.9737Z",fill:i}),t("path",{d:"M16.6996 16.2251L14.509 14.0338C14.2065 13.7312 14.2065 13.2407 14.509 12.9382C14.8115 12.6356 15.3019 12.6356 15.6043 12.9382L17.795 15.1294C18.0974 15.432 18.0974 15.9225 17.795 16.2251C17.4925 16.5276 17.0021 16.5276 16.6996 16.2251Z",fill:i}),t("path",{d:"M8.29224 7.86643L6.10155 5.67515C5.79906 5.37258 5.79906 4.88205 6.10155 4.57952C6.40404 4.27698 6.89442 4.27694 7.19687 4.57952L9.38756 6.77079C9.69004 7.07337 9.69004 7.56389 9.38756 7.86643C9.08507 8.16897 8.59468 8.16897 8.29224 7.86643Z",fill:i}),t("path",{d:"M12.1258 6.73182C11.698 6.73182 11.3513 6.38497 11.3513 5.95708V2.85811C11.3513 2.43023 11.698 2.08337 12.1258 2.08337C12.5536 2.08337 12.9003 2.43023 12.9003 2.85811V5.95708C12.9003 6.38497 12.5536 6.73182 12.1258 6.73182Z",fill:i}),t("path",{d:"M14.8642 7.86643C14.5617 7.56385 14.5617 7.07332 14.8642 6.77079L17.0548 4.57951C17.3573 4.27694 17.8477 4.27694 18.1502 4.57951C18.4526 4.88209 18.4527 5.37261 18.1502 5.67515L15.9595 7.86643C15.6571 8.16896 15.1667 8.16896 14.8642 7.86643Z",fill:i}),t("path",{d:"M29.525 18.1939C28.585 18.1939 27.7624 18.0118 27.0574 17.6475C26.3641 17.2715 25.8294 16.7427 25.4534 16.0611C25.0773 15.3796 24.8893 14.5746 24.8893 13.6463C24.8893 12.953 24.9951 12.3302 25.2066 11.778C25.4181 11.2257 25.7236 10.7556 26.1232 10.3679C26.5344 9.98008 27.028 9.68631 27.6038 9.48654C28.1796 9.27503 28.82 9.16927 29.525 9.16927C29.8893 9.16927 30.2771 9.21628 30.6884 9.31028C31.0996 9.39254 31.505 9.53942 31.9046 9.75094C32.1396 9.85669 32.2982 10.0095 32.3805 10.2092C32.4745 10.3972 32.5097 10.597 32.4862 10.8085C32.4627 11.0083 32.3863 11.1904 32.2571 11.3549C32.1396 11.5077 31.9868 11.6134 31.7988 11.6722C31.6108 11.7192 31.3993 11.6839 31.1643 11.5664C30.941 11.4372 30.706 11.3432 30.4592 11.2844C30.2242 11.2257 30.0009 11.1963 29.7894 11.1963C29.4369 11.1963 29.1255 11.255 28.8552 11.3725C28.585 11.4783 28.3558 11.6369 28.1678 11.8485C27.9915 12.0482 27.8505 12.3009 27.7448 12.6064C27.6508 12.9119 27.6038 13.2644 27.6038 13.664C27.6038 14.4395 27.7918 15.0505 28.1678 15.4971C28.5556 15.9319 29.0961 16.1492 29.7894 16.1492C30.0009 16.1492 30.2242 16.1257 30.4592 16.0787C30.6942 16.02 30.9292 15.926 31.1643 15.7967C31.3993 15.6792 31.6108 15.6498 31.7988 15.7086C31.9868 15.7673 32.1337 15.879 32.2395 16.0435C32.357 16.1963 32.4216 16.3784 32.4333 16.5899C32.4568 16.7897 32.4216 16.9894 32.3276 17.1892C32.2453 17.3772 32.0926 17.5241 31.8693 17.6298C31.4698 17.8296 31.0703 17.9706 30.6707 18.0529C30.2712 18.1469 29.8893 18.1939 29.525 18.1939ZM36.8494 18.1939C35.8036 18.1939 35.0221 17.906 34.5051 17.3302C33.9881 16.7427 33.7296 15.8731 33.7296 14.7215V6.77211C33.7296 6.32558 33.8412 5.99068 34.0645 5.76742C34.2995 5.5324 34.6344 5.41489 35.0692 5.41489C35.4922 5.41489 35.8153 5.5324 36.0386 5.76742C36.2736 5.99068 36.3911 6.32558 36.3911 6.77211V14.6158C36.3911 15.0976 36.491 15.456 36.6908 15.691C36.9023 15.9142 37.1784 16.0259 37.5192 16.0259C37.6132 16.0259 37.7013 16.02 37.7836 16.0082C37.8658 15.9965 37.954 15.9906 38.048 15.9906C38.236 15.9671 38.3653 16.0259 38.4358 16.1669C38.518 16.2961 38.5591 16.5605 38.5591 16.9601C38.5591 17.3126 38.4886 17.5828 38.3476 17.7709C38.2066 17.9471 37.9892 18.0646 37.6955 18.1234C37.5779 18.1351 37.4428 18.1469 37.2901 18.1586C37.1373 18.1821 36.9904 18.1939 36.8494 18.1939ZM40.9388 18.141C40.504 18.141 40.1691 18.0176 39.9341 17.7709C39.7109 17.5123 39.5992 17.1539 39.5992 16.6957V10.6675C39.5992 10.1975 39.7109 9.83907 39.9341 9.5923C40.1691 9.33378 40.504 9.20453 40.9388 9.20453C41.3618 9.20453 41.685 9.33378 41.9083 9.5923C42.1433 9.83907 42.2608 10.1975 42.2608 10.6675V16.6957C42.2608 17.1539 42.1491 17.5123 41.9259 17.7709C41.7026 18.0176 41.3736 18.141 40.9388 18.141ZM40.9388 7.75918C40.4453 7.75918 40.0634 7.64754 39.7931 7.42428C39.5346 7.18926 39.4053 6.86024 39.4053 6.43721C39.4053 6.00243 39.5346 5.67341 39.7931 5.45014C40.0634 5.21513 40.4453 5.09762 40.9388 5.09762C41.4323 5.09762 41.8084 5.21513 42.0669 5.45014C42.3254 5.67341 42.4547 6.00243 42.4547 6.43721C42.4547 6.86024 42.3254 7.18926 42.0669 7.42428C41.8084 7.64754 41.4323 7.75918 40.9388 7.75918ZM48.5283 18.1939C47.5882 18.1939 46.7656 18.0118 46.0606 17.6475C45.3673 17.2715 44.8326 16.7427 44.4566 16.0611C44.0806 15.3796 43.8926 14.5746 43.8926 13.6463C43.8926 12.953 43.9983 12.3302 44.2098 11.778C44.4214 11.2257 44.7269 10.7556 45.1264 10.3679C45.5377 9.98008 46.0312 9.68631 46.607 9.48654C47.1828 9.27503 47.8232 9.16927 48.5283 9.16927C48.8925 9.16927 49.2803 9.21628 49.6916 9.31028C50.1029 9.39254 50.5083 9.53942 50.9078 9.75094C51.1428 9.85669 51.3015 10.0095 51.3837 10.2092C51.4777 10.3972 51.513 10.597 51.4895 10.8085C51.466 11.0083 51.3896 11.1904 51.2603 11.3549C51.1428 11.5077 50.9901 11.6134 50.802 11.6722C50.614 11.7192 50.4025 11.6839 50.1675 11.5664C49.9442 11.4372 49.7092 11.3432 49.4625 11.2844C49.2274 11.2257 49.0042 11.1963 48.7927 11.1963C48.4401 11.1963 48.1287 11.255 47.8585 11.3725C47.5882 11.4783 47.3591 11.6369 47.1711 11.8485C46.9948 12.0482 46.8538 12.3009 46.748 12.6064C46.654 12.9119 46.607 13.2644 46.607 13.664C46.607 14.4395 46.795 15.0505 47.1711 15.4971C47.5588 15.9319 48.0994 16.1492 48.7927 16.1492C49.0042 16.1492 49.2274 16.1257 49.4625 16.0787C49.6975 16.02 49.9325 15.926 50.1675 15.7967C50.4025 15.6792 50.614 15.6498 50.802 15.7086C50.9901 15.7673 51.1369 15.879 51.2427 16.0435C51.3602 16.1963 51.4248 16.3784 51.4366 16.5899C51.4601 16.7897 51.4248 16.9894 51.3308 17.1892C51.2486 17.3772 51.0958 17.5241 50.8726 17.6298C50.473 17.8296 50.0735 17.9706 49.674 18.0529C49.2744 18.1469 48.8925 18.1939 48.5283 18.1939ZM54.0724 18.1586C53.6376 18.1586 53.3027 18.0411 53.0677 17.8061C52.8444 17.5711 52.7328 17.2362 52.7328 16.8014V6.77211C52.7328 6.32558 52.8444 5.99068 53.0677 5.76742C53.3027 5.5324 53.6376 5.41489 54.0724 5.41489C54.4954 5.41489 54.8186 5.5324 55.0418 5.76742C55.2769 5.99068 55.3944 6.32558 55.3944 6.77211V12.9237H55.4296L57.9854 10.0858C58.2439 9.79206 58.4789 9.57468 58.6905 9.43367C58.9137 9.28091 59.2075 9.20453 59.5718 9.20453C59.936 9.20453 60.2122 9.29853 60.4002 9.48654C60.6 9.67456 60.6999 9.9037 60.6999 10.174C60.7116 10.4325 60.6 10.6969 60.365 10.9671L57.6681 13.9812V12.9765L60.6646 16.4313C60.8879 16.7015 60.9819 16.9718 60.9466 17.2421C60.9231 17.5123 60.8056 17.7356 60.5941 17.9119C60.3826 18.0764 60.1123 18.1586 59.7833 18.1586C59.3838 18.1586 59.0606 18.0823 58.8138 17.9295C58.5788 17.7767 58.3379 17.5417 58.0912 17.2244L55.4296 14.2632H55.3944V16.8014C55.3944 17.7062 54.9537 18.1586 54.0724 18.1586ZM63.5838 21.2961C63.3488 21.2961 63.1725 21.2315 63.055 21.1022C62.9375 20.9847 62.8788 20.8084 62.8788 20.5734V10.033C62.8788 9.79794 62.9375 9.62168 63.055 9.50417C63.1725 9.37491 63.3429 9.31028 63.5662 9.31028C63.8012 9.31028 63.9775 9.37491 64.095 9.50417C64.2242 9.62168 64.2888 9.79794 64.2888 10.033V11.7074L64.095 11.4607C64.283 10.7909 64.6531 10.2621 65.2054 9.87432C65.7695 9.47479 66.4392 9.27503 67.2148 9.27503C67.9786 9.27503 68.6425 9.45717 69.2066 9.82144C69.7823 10.174 70.223 10.6851 70.5285 11.3549C70.8458 12.013 71.0044 12.8003 71.0044 13.7168C71.0044 14.6216 70.8458 15.4089 70.5285 16.0787C70.223 16.7368 69.7882 17.2479 69.2242 17.6122C68.6601 17.9765 67.9904 18.1586 67.2148 18.1586C66.4392 18.1586 65.7753 17.9647 65.223 17.577C64.6708 17.1774 64.2947 16.6487 64.095 15.9906H64.3065V20.5734C64.3065 20.8084 64.2418 20.9847 64.1126 21.1022C63.9833 21.2315 63.8071 21.2961 63.5838 21.2961ZM66.9152 17.0129C67.4557 17.0129 67.9198 16.8837 68.3076 16.6252C68.7072 16.3666 69.0127 15.9906 69.2242 15.4971C69.4475 15.0035 69.5591 14.4101 69.5591 13.7168C69.5591 12.6475 69.3182 11.8308 68.8364 11.2668C68.3664 10.7028 67.726 10.4207 66.9152 10.4207C66.3864 10.4207 65.9222 10.55 65.5227 10.8085C65.1232 11.0553 64.8118 11.4254 64.5885 11.919C64.377 12.4007 64.2712 13 64.2712 13.7168C64.2712 14.7744 64.5121 15.5911 64.9939 16.1669C65.4757 16.7309 66.1161 17.0129 66.9152 17.0129ZM73.86 18.0881C73.625 18.0881 73.4487 18.0235 73.3312 17.8942C73.2137 17.7532 73.155 17.5593 73.155 17.3126V10.1035C73.155 9.85669 73.2137 9.66868 73.3312 9.53942C73.4487 9.41016 73.625 9.34553 73.86 9.34553C74.0833 9.34553 74.2595 9.41016 74.3888 9.53942C74.5181 9.66868 74.5827 9.85669 74.5827 10.1035V17.3126C74.5827 17.5593 74.5181 17.7532 74.3888 17.8942C74.2713 18.0235 74.095 18.0881 73.86 18.0881ZM73.86 7.3714C73.5662 7.3714 73.3371 7.29502 73.1726 7.14226C73.0081 6.97775 72.9258 6.76036 72.9258 6.49009C72.9258 6.20807 73.0081 5.99656 73.1726 5.85555C73.3371 5.70279 73.5662 5.62641 73.86 5.62641C74.1655 5.62641 74.3947 5.70279 74.5474 5.85555C74.7119 5.99656 74.7942 6.20807 74.7942 6.49009C74.7942 6.76036 74.7119 6.97775 74.5474 7.14226C74.3947 7.29502 74.1655 7.3714 73.86 7.3714ZM77.2869 18.1058C77.1342 18.1058 76.999 18.0588 76.8815 17.9647C76.764 17.8707 76.6994 17.7474 76.6876 17.5946C76.6876 17.4301 76.764 17.2597 76.9168 17.0834L80.0014 13.2057V13.946L77.1107 10.3326C76.9579 10.1446 76.8815 9.9742 76.8815 9.82144C76.8933 9.66868 76.9579 9.5453 77.0754 9.45129C77.1929 9.35729 77.3281 9.31028 77.4808 9.31028C77.6571 9.31028 77.804 9.34553 77.9215 9.41604C78.0507 9.47479 78.1682 9.57468 78.274 9.71568L80.7945 12.906H80.301L82.8392 9.71568C82.9449 9.57468 83.0566 9.47479 83.1741 9.41604C83.2916 9.34553 83.4385 9.31028 83.6147 9.31028C83.7793 9.31028 83.9144 9.35729 84.0201 9.45129C84.1377 9.5453 84.1964 9.67456 84.1964 9.83907C84.2082 9.99183 84.1377 10.1622 83.9849 10.3502L81.1118 13.9107V13.2586L84.1964 17.0834C84.3374 17.2597 84.402 17.4301 84.3903 17.5946C84.3903 17.7474 84.3315 17.8707 84.214 17.9647C84.0965 18.0588 83.9555 18.1058 83.791 18.1058C83.6265 18.1058 83.4796 18.0705 83.3503 18C83.2328 17.9412 83.1153 17.8414 82.9978 17.7004L80.2834 14.2809H80.7945L78.0801 17.7004C77.9744 17.8296 77.8568 17.9295 77.7276 18C77.6101 18.0705 77.4632 18.1058 77.2869 18.1058Z",fill:i})]}):t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 21 21",ref:n,...o,children:t("path",{fill:i,d:"M9.478 20.453a2.321 2.321 0 0 1-2.134-1.402L6.72 17.6l-1.075 1.076a2.323 2.323 0 1 1-3.286-3.287l1.075-1.075-1.45-.626A2.323 2.323 0 0 1 2.34 9.3l8.763-2.191a2.336 2.336 0 0 1 2.208.611c.574.574.808 1.42.611 2.209l-2.19 8.765a2.322 2.322 0 0 1-2.254 1.759Zm-2.5-4.98a.77.77 0 0 1 .71.467l1.078 2.496a.775.775 0 0 0 1.463-.118l2.19-8.765a.77.77 0 0 0-.203-.737.77.77 0 0 0-.737-.204l-8.763 2.191a.775.775 0 0 0-.118 1.463l2.496 1.079a.775.775 0 0 1 .24 1.259l-1.88 1.881a.774.774 0 1 0 1.095 1.096l1.88-1.882a.775.775 0 0 1 .548-.227ZM19.64 9.51h-3.097a.775.775 0 0 1 0-1.55h3.098a.775.775 0 0 1 0 1.55ZM16.825 14.761l-2.191-2.191a.775.775 0 0 1 1.095-1.096l2.191 2.192a.775.775 0 0 1-1.095 1.095ZM8.417 6.403 6.227 4.21a.775.775 0 0 1 1.095-1.095l2.19 2.191a.775.775 0 0 1-1.095 1.096ZM12.25 5.268a.775.775 0 0 1-.774-.775V1.394a.775.775 0 1 1 1.55 0v3.1a.775.775 0 0 1-.775.774ZM14.99 6.403a.775.775 0 0 1 0-1.096l2.19-2.191a.774.774 0 1 1 1.095 1.095l-2.19 2.192a.774.774 0 0 1-1.096 0Z"})})),dS={DEFAULT:"DEFAULT",PURPLE:"PURPLE",GREEN:"GREEN",GRADIENT:"GRADIENT"},dT=eh.forwardRef(({variant:e=dS.DEFAULT,...i},a)=>{let o=er(),n={[dS.DEFAULT]:{bgColor:o.palette.common.black,textColor:o.palette.common.white,accentColor:o.palette.clickpix.green},[dS.PURPLE]:{bgColor:o.palette.clickpix.purple,textColor:o.palette.common.white,accentColor:o.palette.clickpix.green},[dS.GREEN]:{bgColor:o.palette.clickpix.green,textColor:o.palette.common.black,accentColor:o.palette.common.black},[dS.GRADIENT]:{bgColor:o.palette.clickpix.gradient,textColor:o.palette.common.white,accentColor:o.palette.common.white}}[e];return t(C,{ref:a,sx:{background:n.bgColor,backgroundColor:n.bgColor,"&:hover":{backgroundColor:n.bgColor},py:1.25,px:2,borderRadius:8,width:"fit-content"},...i,children:r(j,{direction:"row",sx:{alignItems:"center"},gap:.5,children:[r(j,{direction:"row",gap:.75,sx:{alignItems:"center"},children:[t(dk,{color:n.accentColor,size:18}),t("span",{style:{color:n.textColor,fontWeight:o.typography.fontWeightMedium},children:"Pagar com"})]}),r(j,{direction:"row",children:[t("span",{style:{fontWeight:800,color:n.accentColor},children:"click"}),t("span",{style:{fontWeight:o.typography.fontWeightMedium,color:n.accentColor},children:"pix"})]})]})})}),dD=(e=[],t="D",r="M",i=!0)=>{let a="/";for(let i=0;i<2;i++){for(let i=1;i<=2;i++)for(let o=1;o<=2;o++)for(let n=2;n<=4;n+=2)e.push(`${t.repeat(i)}${a}${r.repeat(o)}${a}${"Y".repeat(n)}`);a="-"}return i?dD(e,"M","D",!1):e},dR=dD(),dL=e=>tR(e,dR,!0).isValid(),d_=({days:e,hours:i,minutes:a,seconds:o,sx:n})=>{let l,s,d,c,p=er();return r(j,{direction:"row",sx:{alignItems:"center",gap:.5},children:[t(rf,{color:"primary"}),t(ee,{variant:"h6",sx:{color:p.palette.text.secondary,...n},children:(l=e>0?`${e}d `:"",s=i>0?`${i}h `.padStart(4,"0"):"",d=a>0?`${a}m `.padStart(4,"0"):"",c=`${o}s `.padStart(4,"0"),`${l}${s}${d}${c}`)})]})},dP=({targetDate:e,fallback:i,sx:a})=>{let[o,n,l,s]=(e=>{let t,r=new Date(e).getTime(),[i,a]=eS(r-new Date().getTime());return ew(()=>{let e=setInterval(()=>{a(r-new Date().getTime())},1e3);return()=>clearInterval(e)},[r]),[Math.floor((t=i)/864e5),Math.floor(t%864e5/36e5),Math.floor(t%36e5/6e4),Math.floor(t%6e4/1e3)]})(new Date(e));if(o+n+l+s<=0)return i||t(ee,{variant:"body1",sx:a,children:tR(e).format("DD/MM/YYYY")});if(o>0){let t;return r(ee,{variant:"body1",sx:a,children:[" ",(t=tR(e).valueOf(),tR(t).format("DD/MM/YYYY"))]})}return t(d_,{days:o,hours:n,minutes:l,seconds:s,sx:a})},dN={extendType:"number",valueFormatter:({value:e})=>null===e?"-":"number"!=typeof e?e:`${((e,t={})=>{var r,i;if(null==e||"boolean"==typeof e)return null;if("string"!=typeof e)return e;let{decimalSeparator:a=",",thousandSeparator:o="."}=t;return parseFloat((r=e.toString(),i=o.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),r.replace(RegExp(i,"g"),"")).replace(a,"."))})(e/100)}%`},dz={type:"dateTime",valueFormatter:({value:e})=>e&&tR(e).isValid()?tR(e).format("DD-MM-YYYY HH:mm"):"-"},dO=({id:e,value:r,isExpandable:i})=>{let{t:a}=eX(),o=rR(rS(),rI);return t(tM,{"data-testid":"expand",size:"small",sx:{height:"100%"},disabled:!(eh.isValidElement(o[e])&&i),tabIndex:-1,"aria-label":a(r?"Hide":"Expand"),children:r?t(e9,{}):t(e1,{})})},dH=e=>({...rg,align:"center",renderCell:r=>e?t(dO,{isExpandable:e(r),...r}):t(dO,{isExpandable:r.row?.isExpandable,...r})}),dV=e=>({renderCell:r=>r.value?"-"===r.value?"-":t(O,{href:e(r),onClick:e=>e.stopPropagation(),children:r.value.toString()}):null}),dF={renderCell:({value:e})=>{if(!e)return"-";let r=(e=>{try{let t=r_(e,"BR");if(!t.isValid())return null;return t}catch(e){return null}})(e);if(!r)return"-";let i=r.number;return t("a",{href:`tel:${i}`,children:rL(i,"INTERNATIONAL")})}},d$=(e,r=!0)=>({extendType:"string",type:"string",renderCell:({value:i})=>Array.isArray(i)&&0!==i.length?i.map((i,a)=>t(nV,{label:i,breakByColon:r,onClick:t=>{t.stopPropagation(),e&&e(i)}},a)):"-"}),dB=({value:e})=>{let{t}=eX();return"boolean"!=typeof e?"-":t(e?"Yes":"No")},dW={type:"boolean",renderCell:({value:e})=>t(dB,{value:e})},dj=e=>"number"!=typeof e?null:new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(e),dG={type:"number",valueFormatter:({value:e})=>null===e?"-":"number"!=typeof e?e:dj(e/100)},dZ={type:"dateTime",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY"):"-"},dU={valueFormatter:({value:e})=>e?rz(e):"-"},dY={boolean:{extendType:"string",renderCell:({value:e})=>t(dB,{value:e})},currency:{extendType:"number",valueFormatter:({value:e})=>null===e?"-":"number"!=typeof e?e:dj(e/100)},dateAny:{extendType:"date",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY"):"-"},datetime:{extendType:"dateTime",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY HH:mm"):"-"},datetimeSeconds:{extendType:"dateTime",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("DD-MM-YYYY HH:mm:ss"):"-"},phone:dF,tag:d$(),taxID:dU,time:{extendType:"time",valueFormatter:({value:e})=>tR(e).isValid()?tR(e).format("HH:mm"):"-"}},dq={delimiter:";"},dX=e=>t(rv,{...e,children:t(rw,{children:t(rb,{options:dq})})}),dK=e=>{let r=rD();return r.experimentalFeatures?.rowAnchor?t(rH,{className:"MuiDataGrid-rowLink",href:e.href(e.row),sx:{cursor:e.href?"pointer":"default",textDecoration:"none",color:"black"},children:t(ry,{...e})}):t(ry,{...e})},dQ=e=>e.map(e=>{if(e.type){let t={date:{...dZ,...e},datetime:{...dz,...e},taxID:{...dU,...e},boolean:{...dW,...e},currency:{...dG,...e},tag:{...d$(),...e}};if(e.type in t)return t[e.type]}return e}),dJ={Compact:"compact",Standard:"standard",Comfortable:"comfortable"},d1=void 0!==process.env.JEST_WORKER_ID,d2=({columns:e,rows:r,onRowClick:i,maxLines:a,rowHref:o,experimentalFeatures:n,exportBeta:l=!0,initialState:s={columns:{columnVisibilityModel:{}}},getCustomRoute:d,...c})=>{let p=eZ(),m=rT(),[h,u]=eX(),x=es(),f=eA(()=>"pt-BR"===u.language?rk.components.MuiDataGrid.defaultProps.localeText:"es-ES"===u.language?rE.components.MuiDataGrid.defaultProps.localeText:rM.components.MuiDataGrid.defaultProps.localeText,[]),[g,C]=eS("calc(100vh - 210px)");eE(()=>{if(!n?.persistState)return;if(!c.tableName)throw Error("tableName is required when persistState is true");let e=JSON.parse(localStorage.getItem(`@datagrid/${c.tableName}`)||null);e&&m.current.restoreState(e)},[]);let b=dQ(e);return t(eN,{sx:{height:g},elevation:0,children:t(rP,{apiRef:m,slots:{detailPanelExpandIcon:e1,detailPanelCollapseIcon:e9,row:dK,toolbar:n?.exportTable||"CONSOLE"===process.env.ENTRYPOINT||l&&"production"!==process.env.NODE_ENV?dX:null},columns:b,columnTypes:dY,columnBuffer:4,columnThreshold:4,rows:r,hideFooter:!0,disableRowSelectionOnClick:!0,onStateChange:e=>{let t=c.density===dJ.Compact?56:c.density===dJ.Comfortable?90:(c.density===dJ.Standard,74);if(n?.persistState){if(!c.tableName)throw Error("tableName is required when persistState is true");localStorage.setItem(`@datagrid/${c.tableName}`,JSON.stringify(m.current.exportState()))}a&&e.rowsMeta?.positions?.length>a+1?C(e.rowsMeta.positions[a+1]):0===e.rows.totalRowCount?C(t+65):e.rows.totalRowCount<20?C(null):C("calc(100vh - 210px)")},sx:e=>({...(()=>{if(n?.zebraRow)return n.rowAnchor?{"& .MuiDataGrid-rowLink:nth-child(odd)":{backgroundColor:ej(p.palette.primary.main,.9)}}:{"& .MuiDataGrid-row:nth-child(odd)":{backgroundColor:ej(p.palette.primary.main,.9)}}})(),...!c.checkboxSelection||!c.disableSelectAllCheckbox?{}:{"& .MuiDataGrid-columnHeaderCheckbox .MuiDataGrid-columnHeaderTitleContainer":{display:"none"}},"& .MuiDataGrid-cell":{flexWrap:"wrap",gap:e.spacing(.5),py:e.spacing(.5),overflowWrap:"anywhere"}}),density:"compact",onRowClick:({row:e,...t},r,a)=>{if(i&&!((()=>{if(window.getSelection)return window?.getSelection()?.toString();if(document.getSelection)return document?.getSelection()?.toString();let e=document.selection&&document.selection.createRange();return e.text?e.text.toString():""})().length>0)){if(d){let t=d(e.id);if(r?.metaKey||r.ctrlKey){let e=window.open(t,"_blank");e?.focus();return}x.push(t)}return i({row:e,...t},r,a)}},localeText:{...f,toolbarExport:h("Export via Datagrid (BETA)")},autoHeight:!g,disableVirtualization:d1,...c,slotProps:{row:o?{href:o}:{}},experimentalFeatures:n,initialState:s})})},d0=({children:e})=>t(ai,{sx:{height:"100%",flexDirection:"column",py:2,pl:"50px",pr:2},children:e}),d3=({minWidth:e=50})=>t(rV,{width:eA(()=>Math.max(e-10,120*Math.random()),[]),animation:"wave",variant:"rounded"}),d4=({size:e=10,...r})=>{let i=r.columns.map(e=>({...e,renderCell:e=>t(d3,{minWidth:e.colDef?.minWidth})}));return t("div",{"data-testid":"loading",children:t(d2,{density:"compact",columns:i,rows:Array.from({length:e},(e,t)=>({id:t}))})})},d5={TABLE_VIEW_MODEL:"TABLE_VIEW_MODEL",CARD_VIEW_MODEL:"CARD_VIEW_MODEL"},d6={[d5.TABLE_VIEW_MODEL]:{icon:t(r$,{fontSize:"medium"}),value:d5.TABLE_VIEW_MODEL,onSwitchGoTo:()=>d5.CARD_VIEW_MODEL},[d5.CARD_VIEW_MODEL]:{icon:t(rB,{fontSize:"medium"}),value:d5.CARD_VIEW_MODEL,onSwitchGoTo:()=>d5.TABLE_VIEW_MODEL}},d9=()=>{let[e,r]=d7(),[i,a]=eS(d6[e]);return t(tM,{size:"small",color:"secondary",onClick:()=>{let e=d6[i.onSwitchGoTo()];a(e),r(e.value)},"data-testid":"table-toggle-view-model",children:i.icon})},d7=()=>{let{isMobile:e}=o6(),[t,r]=rF("@datagrid/table-view-mode",{defaultValue:e?d5.CARD_VIEW_MODEL:d5.TABLE_VIEW_MODEL});return ew(()=>{r(e?d5.CARD_VIEW_MODEL:d5.TABLE_VIEW_MODEL)},[e,r]),[t,r]},d8=()=>{let e=ev(lj);return{showDialog:e.showDialog,hideDialog:e.hideDialog}},ce=({anchor:e="bottom",children:r,handleDrawer:i,...a})=>{let[o,n]=aI(a.open,i);return t(q,{anchor:e,open:o,onClose:()=>{n(!1)},onOpen:()=>{n(!0)},children:r})},ct=({size:e,color:i,viewBox:a})=>r("svg",{viewBox:a,width:e,height:e,children:[t("path",{fill:"#004B62",d:"M184 401H1.029V1.091h399.817V401H184m-27.964-168.999s.027-.063-.339-.533c-.554-.183-1.107-.366-1.62-.499 0 0 .014-.063-.157-.703-1.948-1.475-3.896-2.95-6.207-4.972-14.487-12.587-23.39-28.594-27.826-46.938-1.158.146-1.512.117-1.798.241-.608.264-1.232.54-1.762.929-14.68 10.762-25.548 24.299-30.038 42.247-4.354 17.407-3.042 34.273 5.887 50.703.18.3.44.495.765.522 0 0-.033.054-.003.787 1.656 2.438 3.31 4.875 5.011 7.226 0 0-.057.089.056.77 1.986 2.423 3.973 4.847 5.994 7.22 0 0-.05.036.287.61 2.9 2.472 5.801 4.943 8.717 7.39 0 0-.026.011.316.583 1.871 1.183 3.743 2.365 6.135 4.04 3.85 1.856 7.582 4.022 11.568 5.513 17.383 6.504 34.757 6.178 51.97-.725 2.784-1.117 5.381-2.702 8.53-4.308-4.874-5.265-9.018-9.742-13.343-14.931-2.35-4.078-4.7-8.156-7.145-12.791-.29-.473-.58-.945-.967-2.188-3.304-10.121-7.02-20.204-6.038-31.104.486-5.396-2.11-7.585-6.982-8.196 0 0 .007.056-.183-.412-.276-.183-.553-.366-.828-.48m35.817 54.052s-.027.07.007.726c.7.775 1.402 1.55 2.458 2.88 16.549 16.545 36.35 24.189 59.763 21.477 34.029-3.94 60.088-30.328 63.749-64.323 3.5-32.51-16.909-64.073-48.527-75.2-12.592-4.43-25.423-4.479-38.993-2.507-2.065 2.39-1.563 3.237 2.687 4.857 0 0 .125-.098.06.764.987 3.145 2.794 6.281 2.83 9.438.252 21.62.139 43.246.12 64.87 0 2.078-.157 4.156-.545 6.732-.337.185-.673.37-1.788.378-3.444-.042-6.888-.116-10.332-.12-12.315-.013-24.63-.063-36.945.065-1.812.02-3.614.924-6.06 1.5-.425-.042-.85-.085-1.484-.532-.65.206-1.3.413-2.064 1.4-.006.525-.012 1.05-.36 2.113.498 1.155.996 2.31 1.843 4.096 1.18 2.258 2.36 4.517 3.538 7.072 0 0 .13.268.228.985a633.61 633.61 0 0 1 5.04 8.188s.088.028.23.655c1.165 1.21 2.331 2.42 3.567 3.607 0 0-.026-.069.114.452.301.163.602.327.864.427m-62.844-120.705c.666 26.045 19.118 51.55 35.916 57.99v-5.061c.01-12.158-.1-24.319.14-36.473.045-2.258.898-5.068 2.406-6.636 9.348-9.723 18.959-19.195 28.55-28.681 3.527-3.488 6.354-3.463 9.905-.044 3.48 3.35 7.043 6.643 10.211 10.273 2.94 3.371 5.832 4.004 10.402 3.194 8.064-1.43 16.391-1.992 24.59-1.857 7.163.12 14.302 1.698 22.552 2.776-1.25-6.575-1.886-13.037-3.734-19.132-11.362-37.467-49.06-58.743-87.194-49.044-31.15 7.924-54.695 36.842-53.744 72.695m98.318 29.184c.002-2.163.025-4.327.001-6.49-.073-6.552-3.57-10.086-10.051-10.099-10.982-.023-21.965-.03-32.947 0-5.843.015-9.62 3.647-9.64 9.48-.058 17.472.059 34.944-.056 52.415-.031 4.719 1.89 6.478 6.589 6.41 12.976-.188 25.956-.04 38.935-.072 6.384-.015 7.154-.803 7.164-7.226.023-14.476.006-28.952.005-44.418m-21.263-25.929h6.278c-3.404-3.373-5.505-6.005-8.153-7.857-1.392-.973-4.295-1.444-5.542-.637-3.075 1.988-5.587 4.846-8.325 7.355l.7 1.14h15.042z"}),t("path",{fill:"#62AF69",d:"M234.452 256.323c.337-.185.673-.37 1.425-1.016.907-2.175 1.822-3.887 1.83-5.604.096-22.592.093-45.184.033-67.776-.01-3.447-.867-6.643-4.618-8.06 0 0-.125.097-.156-.263-.712-1.755-1.392-3.148-2.073-4.541 12.987-1.928 25.818-1.88 38.41 2.551 31.618 11.127 52.028 42.69 48.527 75.2-3.661 33.995-29.72 60.383-63.749 64.323-23.413 2.712-43.214-4.932-60.053-22.049-.927-1.37-1.565-2.167-2.202-2.965 0 0 .027-.07-.072-.258a5.64 5.64 0 0 0-.905-.759s.026.069-.02-.257c-1.253-1.52-2.458-2.714-3.663-3.908 0 0-.088-.028-.12-.43-1.724-3.103-3.415-5.803-5.107-8.503 0 0-.129-.268-.124-.825-1.374-4.808-3.719-9.075.635-13.252 1.439.015 2.485.06 3.639.432 3.959 1.097 7.79 2.389 11.664 2.529 9.079.328 18.187.333 27.262-.035 2.696-.11 5.324-1.894 8.111-3.154.528-.622.927-1.001 1.326-1.38z"}),t("path",{fill:"#1A8576",d:"M129.01 164.872c-.952-35.376 22.592-64.294 53.743-72.218 38.133-9.7 75.832 11.577 87.194 49.044 1.848 6.095 2.484 12.557 3.734 19.132-8.25-1.078-15.389-2.657-22.551-2.776-8.2-.135-16.527.427-24.591 1.857-4.57.81-7.461.177-10.402-3.194-3.168-3.63-6.731-6.924-10.21-10.273-3.552-3.419-6.38-3.444-9.906.044-9.591 9.486-19.202 18.958-28.55 28.68-1.508 1.569-2.361 4.38-2.406 6.637-.24 12.154-.13 24.315-.14 36.473v5.06c-16.798-6.44-35.25-31.944-35.916-58.466z"}),t("path",{fill:"#28956A",d:"M170.163 272.964c.29.473.58.945.694 1.932.527 5.815 2.332 10.438 7.502 12.99l13.164 14.218c-3.15 1.606-5.747 3.191-8.532 4.308-17.212 6.903-34.586 7.229-51.969.725-3.986-1.491-7.719-3.657-11.868-6.127-2.258-1.742-4.218-2.87-6.177-3.998 0 0 .026-.012.006-.36-2.17-3.832-4.193-7.471-9.034-7.615 0 0 .05-.036.03-.385-.67-3.905-2.13-6.78-6.087-7.552 0 0 .057-.09.01-.404-1.696-2.758-3.345-5.2-4.994-7.644 0 0 .033-.054-.081-.233-.312-.445-.559-.65-.855-.796-8.725-15.977-10.037-32.843-5.683-50.25 4.49-17.948 15.359-31.485 30.038-42.247.53-.39 1.154-.665 1.762-.929.286-.124.64-.095 1.798-.241 4.436 18.344 13.339 34.35 28.039 47.574 2.197 2.083 4.18 3.53 6.165 4.976 0 0-.013.063.154.269.717.391 1.268.577 1.818.763 0 0-.027.063.099.239.333.436.589.635.892.773 0 0-.007-.056.055.307 3.57 3.179 6.158 6.412 5.914 11.313-.188 3.783-.155 7.59.01 11.376.286 6.516 2.952 12.1 7.13 17.018z"}),t("path",{fill:"#FDFFFE",d:"M227.327 195.028c0 14.97.018 29.447-.005 43.923-.01 6.423-.78 7.21-7.164 7.226-12.979.032-25.96-.116-38.935.072-4.698.068-6.62-1.691-6.589-6.41.115-17.47-.002-34.943.057-52.414.02-5.834 3.796-9.466 9.64-9.481 10.981-.03 21.964-.023 32.946 0 6.482.013 9.978 3.547 10.051 10.1.024 2.162 0 4.326-.001 6.984z"}),t("path",{fill:"#155E53",d:"M233.09 174.297c3.783.987 4.64 4.183 4.65 7.63.06 22.592.063 45.184-.033 67.776-.008 1.717-.923 3.43-1.679 5.355-.178-1.866-.022-3.944-.02-6.021.018-21.625.13-43.25-.12-64.871-.037-3.157-1.844-6.293-2.799-9.869z"}),t("path",{fill:"#DBEDEF",d:"M205.62 168.605h-14.598l-.7-1.14c2.738-2.509 5.25-5.367 8.325-7.355 1.247-.807 4.15-.336 5.542.637 2.648 1.852 4.75 4.484 8.153 7.857h-6.722z"}),t("path",{fill:"#155E53",d:"M185.981 258.034c-1.046-.044-2.092-.088-3.805-.207-.845-.156-1.022-.236-1.2-.317 1.807-.495 3.61-1.4 5.421-1.419 12.314-.128 24.63-.078 36.945-.064 3.444.003 6.888.077 10.721.208-.01.467-.41.846-1.405 1.497-15.957.282-31.317.292-46.677.302z"}),t("path",{fill:"#2D8C76",d:"M170.115 272.579c-4.13-4.534-6.796-10.117-7.081-16.633-.166-3.787-.2-7.593-.011-11.376.244-4.9-2.344-8.134-5.886-11.314 4.781.249 7.378 2.438 6.892 7.834-.982 10.9 2.734 20.983 6.086 31.489z"}),t("path",{fill:"#2D8E75",d:"M178.27 287.53c-5.081-2.196-6.886-6.819-7.365-12.355 2.575 3.842 4.924 7.92 7.364 12.354z"}),t("path",{fill:"#58A37A",d:"M180.657 257.55c.497.04.674.121 1.127.305-3.688 4.253-1.343 8.52.033 13.18-1.184-1.85-2.365-4.109-3.705-7.038a91.108 91.108 0 0 0-1.341-3.962c.006-.526.012-1.051.44-1.934.9-.45 1.375-.544 1.85-.637.426.042.851.085 1.596.087z"}),t("path",{fill:"#2A8D75",d:"M104.118 289.324c4.672-.143 6.695 3.496 8.858 7.34-2.889-2.11-5.79-4.581-8.858-7.34zM97.949 281.44c3.9.431 5.36 3.307 6.013 7.237-1.984-2.05-3.97-4.473-6.013-7.237z"}),t("path",{fill:"#58A37A",d:"M181.989 272.366c1.642 2.342 3.333 5.042 5.057 8.099-1.648-2.343-3.328-5.042-5.057-8.099z"}),t("path",{fill:"#2A8D75",d:"M92.923 273.419c1.634 2.076 3.283 4.52 4.956 7.32-1.63-2.079-3.285-4.516-4.956-7.32z"}),t("path",{fill:"#2D8C76",d:"M154.005 230.586c-1.898-1.127-3.882-2.573-5.898-4.383 1.917 1.113 3.865 2.588 5.898 4.383z"}),t("path",{fill:"#2A8D75",d:"M113.148 297.298a33.25 33.25 0 0 1 5.746 3.466c-1.832-.815-3.704-1.997-5.746-3.466z"}),t("path",{fill:"#155E53",d:"M230.602 169.085c.972 1.371 1.652 2.764 2.433 4.48-4.288-1.22-4.79-2.069-2.433-4.48z"}),t("path",{fill:"#58A37A",d:"M187.237 281.255c1.134.88 2.34 2.074 3.556 3.605-1.154-.872-2.32-2.082-3.556-3.605z"}),t("path",{fill:"#155E53",d:"M176.6 260.303c.564.829.958 1.926 1.338 3.379-.513-.8-1.011-1.955-1.339-3.379zM178.957 257.261c-.371.296-.847.39-1.688.45.285-.24.934-.446 1.688-.45z"}),t("path",{fill:"#58A37A",d:"M191.843 286.452c.62.469 1.258 1.266 2.007 2.359-.588-.48-1.29-1.256-2.007-2.36z"}),t("path",{fill:"#2D8C76",d:"M155.88 231.703c-.367.049-.918-.137-1.656-.553.366-.048.92.135 1.656.553z"}),t("path",{fill:"#2A8D75",d:"M92.074 272.25c.194-.081.44.124.76.6-.218.121-.478-.073-.76-.6z"}),t("path",{fill:"#2D8C76",d:"M156.96 232.716c-.21.096-.465-.103-.8-.573.15-.027.428.156.8.573z"}),t("path",{fill:"#58A37A",d:"M190.92 285.366c.198-.07.467.12.854.53-.183.058-.484-.106-.855-.53z"}),t("path",{fill:"#63AD79",d:"M186.089 258.363c15.252-.34 30.612-.35 46.44-.388-2.19.988-4.818 2.773-7.514 2.882-9.075.368-18.183.363-27.262.035-3.873-.14-7.705-1.432-11.664-2.53z"})]});ct.defaultProps={color:"#47C557",viewBox:"15 15 420 420",size:24};let cr=ct,ci=({size:e,color:i,viewBox:a})=>r("svg",{viewBox:a,width:e,height:e,children:[t("path",{fill:"#46C556",d:"M78 1c99.021 0 198.043 0 297.727.375 4.23.79 7.843.97 11.358 1.657 16.984 3.317 30.315 12.585 40.862 25.963 6.924 8.782 10.45 19.18 12.965 30.432.069 103.853.078 207.24.08 310.625 0 .997-.09 1.993-.472 3.193-1.726 5.193-2.602 10.401-4.605 15.132-6.975 16.472-18.494 28.741-35.185 35.638-5.752 2.376-11.811 4.011-17.73 5.985-103.688 0-207.376 0-311.703-.361-18.13-3.169-32.382-11.297-43.647-25.185-7.589-9.356-11.742-19.987-14.562-31.88-.069-103.854-.078-207.24-.08-310.626 0-.997.09-1.993.473-3.193.412-1.36.34-2.55.593-3.667 5.795-25.592 26.975-47.515 53.669-52.14C71.172 2.352 74.58 1.651 78 1m51.305 162.799-10.4 6.818c-.307-2.644-.726-4.754-.768-6.87a3233.94 3233.94 0 0 1-.497-33.49c-.158-16.656-.083-33.318-.514-49.968-.08-3.105-1.522-6.53-3.287-9.17-4.991-7.467-15.961-10.354-25.647-7.278-9.489 3.012-14.325 9.62-14.34 19.75-.074 47.829-.178 95.658-.157 143.486.007 15.66-1.114 31.502.814 46.944 6.684 53.52 53.018 95.047 107.68 94.953 31.328-.054 62.657-.007 93.986-.126 4.307-.016 8.675-.387 12.91-1.167 84.892-15.644 120.339-114.069 64.6-179.87-18.164-21.441-41.54-35.28-69.723-36.712-33.745-1.715-67.63-.68-101.455-.824-18.638-.08-36.238 4.027-53.202 13.524z"}),t("path",{d:"M440.853 373.041c.049-.996.14-1.992.14-2.989-.003-103.386-.012-206.772-.012-311.09.012-19.942.015-38.952.019-57.962h13.968v429c-4.362 0-8.69 0-13.494-.469-.523-19.142-.572-37.816-.621-56.49zM13.147 58.959c-.049.996-.14 1.992-.14 2.989.003 103.386.012 206.772.012 311.09-.012 19.609-.015 38.285-.019 56.962H1.02c.006-143 .006-286 .006-429 3.69 0 7.353 0 11.495.469.528 19.475.577 38.483.626 57.49z"}),t("path",{fill:"#FFF",d:"M13.48 58.755c-.382-18.803-.43-37.81-.48-57.286C34.354 1 55.708 1 77.531 1c-2.95.652-6.36 1.353-9.788 1.947-26.694 4.626-47.874 26.549-53.67 52.141-.252 1.117-.18 2.307-.592 3.667zM440.531 1c.465 19.01.462 38.02.39 57.495-2.525-10.32-6.05-20.718-12.974-29.5C417.4 15.617 404.07 6.35 387.085 3.032c-3.515-.687-7.128-.867-10.89-1.657C397.354 1 418.707 1 440.53 1zM13.469 430c-.465-18.677-.462-37.353-.39-56.495 2.829 10.962 6.982 21.593 14.571 30.95 11.265 13.887 25.516 22.015 43.179 25.184-18.85.361-37.87.361-57.36.361zM440.52 373.245c.382 18.47.43 37.144.48 56.286-19.02.469-38.042.469-57.531.469 5.45-1.974 11.509-3.609 17.261-5.985 16.691-6.897 28.21-19.166 35.185-35.638 2.003-4.73 2.879-9.939 4.605-15.132z"}),t("path",{fill:"#FEFFFE",d:"M129.61 163.597c16.659-9.295 34.259-13.401 52.897-13.322 33.825.145 67.71-.89 101.455.824 28.184 1.431 51.559 15.27 69.722 36.713 55.74 65.8 20.293 164.225-64.6 179.869-4.234.78-8.602 1.151-12.91 1.167-31.328.119-62.657.072-93.986.126-54.661.094-100.995-41.433-107.679-94.953-1.928-15.442-.807-31.285-.814-46.944-.02-47.828.083-95.657.156-143.486.016-10.13 4.852-16.738 14.341-19.75 9.686-3.076 20.656-.19 25.647 7.278 1.765 2.64 3.207 6.065 3.287 9.17.431 16.65.356 33.312.514 49.969.106 11.163.276 22.327.497 33.488.042 2.117.461 4.227.768 6.871 3.794-2.487 7.097-4.652 10.705-7.02M335.92 260.4c-.28-37.293-27.253-65.541-64.462-66.348-29.805-.646-59.639-.362-89.454.012-13.023.163-25.279 3.823-35.954 11.776-22.212 16.55-32.296 38.435-26.741 65.818 5.388 26.563 21.294 44.786 48.31 50.651 12.04 2.614 24.782 2.123 37.22 2.72 7.268.35 14.566.064 21.713.064 3.235 9.731-2.882 20.075 4.074 28.907 2.723-.915 5.57-1.443 7.993-2.754 21.654-11.722 43.332-23.406 64.808-35.45 21.157-11.865 31.06-30.696 32.494-55.396z"}),t("path",{fill:"#47C557",d:"M335.906 260.866c-1.42 24.234-11.322 43.065-32.479 54.93-21.476 12.044-43.154 23.728-64.808 35.45-2.423 1.311-5.27 1.839-7.993 2.754-6.956-8.832-.84-19.176-4.074-28.907-7.147 0-14.445.286-21.712-.063-12.44-.598-25.18-.107-37.22-2.721-27.017-5.865-42.923-24.088-48.311-50.651-5.555-27.383 4.529-49.269 26.74-65.818 10.676-7.953 22.932-11.613 35.955-11.776 29.815-.374 59.649-.658 89.454-.012 37.209.807 64.183 29.055 64.448 66.814m-170.068-15.457c-.8 1.26-1.72 2.46-2.384 3.789-4.691 9.384-2.75 19.656 5.006 26.778 7.542 6.925 17.613 7.769 26.675 2.236 8.505-5.194 12.48-15.115 9.83-24.533-4.802-17.069-25.878-21.891-39.127-8.27m91.293-3.906c-1.08 1.031-2.259 1.978-3.225 3.106-6.77 7.898-6.962 21.255-.466 29.071 7.05 8.483 18.526 10.499 28.383 4.985 9.435-5.278 13.593-16.277 10.128-26.573-3.742-11.116-19.741-20.565-34.82-10.589z"}),t("path",{fill:"#FDFEFD",d:"M166.053 245.117c13.034-13.33 34.11-8.507 38.913 8.562 2.65 9.418-1.326 19.34-9.831 24.533-9.062 5.533-19.133 4.689-26.675-2.236-7.756-7.122-9.697-17.394-5.006-26.778.664-1.329 1.583-2.53 2.6-4.081zM257.431 241.292c14.779-9.765 30.778-.316 34.52 10.8 3.465 10.296-.693 21.295-10.128 26.573-9.857 5.514-21.333 3.498-28.383-4.985-6.496-7.816-6.303-21.173.466-29.071.966-1.128 2.145-2.075 3.525-3.317z"})]});ci.defaultProps={color:"#47C557",viewBox:"15 15 420 420",size:24};let ca=ci,co=({children:e})=>r(ai,{sx:{mb:"10px"},children:[t(ai,{sx:{pr:"5px"},children:t(rm,{color:"primary"})}),t(ai,{sx:{pl:"5px"},children:t(ee,{variant:"h6",children:e})})]}),cn=({size:e,viewBox:i})=>r("svg",{id:"meta",enableBackground:"new 0 0 512 512",viewBox:i,xmlns:"http://www.w3.org/2000/svg",width:e,height:e,children:[r("linearGradient",{id:"SVGID_1_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"5.3",x2:"506.8",y1:"258.1",y2:"258.1",children:[t("stop",{offset:"0",stopColor:"#0064e0"}),t("stop",{offset:".06176297",stopColor:"#006ae5"}),t("stop",{offset:".2183",stopColor:"#007af4"}),t("stop",{offset:".8106",stopColor:"#007df6"}),t("stop",{offset:"1",stopColor:"#0080f9"})]}),r("linearGradient",{id:"SVGID_00000108294422424748979490000015468411590085554596_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"49.786",x2:"230.719",y1:"320.675",y2:"133.579",children:[t("stop",{offset:"0",stopColor:"#0064e0"}),t("stop",{offset:".0134753",stopColor:"#0065e1"}),t("stop",{offset:".2894",stopColor:"#0075f0"}),t("stop",{offset:".5971",stopColor:"#007ff9"}),t("stop",{offset:"1",stopColor:"#0082fc"})]}),r("linearGradient",{id:"SVGID_00000011014187292083061840000001297153340796386228_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"110.25",x2:"416.1",y1:"451.784",y2:"121.254",children:[t("stop",{offset:"0",stopColor:"#0082fb"}),t("stop",{offset:".02167212",stopColor:"#017cf5"}),t("stop",{offset:".09047851",stopColor:"#0471ea"}),t("stop",{offset:".1872",stopColor:"#066ae3"}),t("stop",{offset:".4561",stopColor:"#0668e1"}),t("stop",{offset:".7462",stopColor:"#056ae3"}),t("stop",{offset:".8847",stopColor:"#0472eb"}),t("stop",{offset:".9742",stopColor:"#017cf5"}),t("stop",{offset:"1",stopColor:"#0082fb"})]}),r("linearGradient",{id:"SVGID_00000115496449546236234580000017061870114335014073_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"49",x2:"262.7",y1:"365.75",y2:"365.75",children:[t("stop",{offset:"0",stopColor:"#0064e0"}),t("stop",{offset:".4218",stopColor:"#0069e4"}),t("stop",{offset:".4332",stopColor:"#0069e4"}),t("stop",{offset:"1",stopColor:"#0668e1"})]}),r("linearGradient",{id:"SVGID_00000150100707639943330890000011886544216348691624_",gradientTransform:"matrix(1 0 0 -1 0 514)",gradientUnits:"userSpaceOnUse",x1:"324.016",x2:"506.8",y1:"149.85",y2:"149.85",children:[t("stop",{offset:"0",stopColor:"#066be3"}),t("stop",{offset:".3087",stopColor:"#0470e9"}),t("stop",{offset:".559",stopColor:"#0279f2"}),t("stop",{offset:"1",stopColor:"#0080f9"})]}),t("path",{d:"m149.4 89.4c-81.6 0-144.1 106.2-144.1 218.5 0 70.3 34 114.7 91 114.7 41 0 70.5-19.3 123-111 0 0 21.9-38.6 36.9-65.2l31.2-52.8c26.5-40.9 48.4-61.3 74.4-61.3 54 0 97.2 79.5 97.2 177.2 0 37.2-12.2 58.8-37.5 58.8-24.2 0-35.8-16-81.8-90l-42.3 36.9c47.9 80.2 74.6 107.4 123 107.4 55.5 0 86.4-45.1 86.4-116.9 0-117.7-63.9-216.5-141.6-216.5-41.1 0-73.3 31-102.4 70.3l-32.3 47.4c-31.9 49-51.3 79.7-51.3 79.7-42.5 66.7-57.2 81.6-80.9 81.6-24.4 0-38.8-21.4-38.8-59.5 0-81.6 40.7-165 89.2-165z",fill:"url(#SVGID_1_)"}),t("path",{d:"m265.5 196.4-35 10.8c-31.9 49-51.3 79.7-51.3 79.7-42.5 66.7-57.2 81.6-80.9 81.6-24.4 0-38.8-21.4-38.8-59.5 0-81.6 40.7-165 89.2-165l.7-54.5c-81.6-.1-144.1 106.1-144.1 218.4 0 70.3 34 114.7 91 114.7 41 0 70.5-19.3 123-111 0 0 21.9-38.6 36.9-65.2z",fill:"url(#SVGID_00000108294422424748979490000015468411590085554596_)"}),t("path",{d:"m297.4 315.3c47.9 80.2 74.6 107.3 123 107.3l1.1-54.3c-24.2 0-35.8-15.9-81.8-89.9-38.6-62.8-58.3-94.2-76.9-118.7-40-50.9-73.4-70.3-113.4-70.3l-.7 54.5c26.3 0 48.2 15.2 81.8 63.3 14.1 19.8 43 66.9 66.9 108.1z",fill:"url(#SVGID_00000011014187292083061840000001297153340796386228_)"}),t("path",{d:"m262.7 159.7c-40-50.9-73.4-70.3-113.5-70.3-39.5 0-74.5 24.9-100.2 63.3l38.6 39.5c16.1-29.1 37.8-48.2 61.1-48.2 26.3 0 48 15 81.6 63.1z",fill:"url(#SVGID_00000115496449546236234580000017061870114335014073_)"}),t("path",{d:"m324 357.3c32.9 47.9 57.7 65.3 96.4 65.3 55.5 0 86.4-45.1 86.4-116.9l-47.8 3.8c0 37.2-12.2 58.8-37.5 58.8-19.5 0-30.9-10.4-58.8-53.4z",fill:"url(#SVGID_00000150100707639943330890000011886544216348691624_)"})]});cn.defaultProps={viewBox:"0 0 512 512",color:"#C505F2",size:50};let cl=cn,cs=({size:e,viewBox:i})=>r("svg",{viewBox:i,width:e,height:e,children:[t("path",{fill:"#EA4B71",d:"M154 281H1V1h280v280H154m79.497-187.055c-12.326-9.083-26.388-5.528-33.26 8.23-.61 1.222-2.614 2.406-4.016 2.46-6.656.26-13.328.064-19.994.135-11.91.127-19.327 6.532-21.268 18.264-1.759 10.628-4.677 13.051-15.14 13.008-2.627-.01-3.907-.6-5.111-3.32-5.12-11.57-19.214-16.144-29.861-9.304-4.346 2.792-7.414 7.572-11.874 12.31H83.44c-4.385-11.382-12.857-16.884-23.074-15.185-10.85 1.805-17.629 9.45-17.857 20.142-.217 10.229 6.123 18.24 16.21 20.48 11.12 2.47 19.526-2.518 25.023-15.115 2.821 0 5.825-.207 8.775.102 1.167.123 2.827 1.157 3.219 2.177 3.505 9.127 10.633 13.161 19.774 13.362 9.241.203 15.486-4.993 19.64-13.052.595-1.156 2.238-2.375 3.496-2.492 10.622-.982 14.513 2.142 16.286 12.697 1.754 10.44 7.675 17.206 17.143 18.027 4.796.416 7.044 2.376 9.307 6.327 4.403 7.688 11.662 10.648 20.387 9.677 8.25-.918 14.918-6.596 17.05-14.172 3.133-11.129-1.552-21.224-11.83-25.488-10.337-4.29-21.188-.214-26.716 10.033-2.429 4.502-7.156 5.473-10.743 1.724-1.853-1.938-2.99-4.709-3.997-7.28-2.205-5.625-4.12-11.363-6.014-16.66 1.937-5.423 4.15-11.057 5.946-16.82 1.483-4.759 3.523-8.988 9.077-9.2 8.3-.317 16.621-.083 25.005-.083 1.977 6.224 5.365 10.973 11.267 13.55 9.487 4.141 20.286 1.388 25.948-6.596 5.816-8.202 4.717-19.321-3.266-27.938z"}),t("path",{fill:"#FFFBFC",d:"M233.773 94.18c7.707 8.382 8.806 19.5 2.99 27.703-5.662 7.984-16.461 10.737-25.948 6.596-5.902-2.577-9.29-7.326-11.267-13.55-8.384 0-16.705-.234-25.005.083-5.554.212-7.594 4.441-9.077 9.2-1.795 5.763-4.009 11.397-5.946 16.82 1.893 5.297 3.81 11.035 6.014 16.66 1.008 2.571 2.144 5.342 3.997 7.28 3.587 3.75 8.314 2.778 10.743-1.724 5.528-10.247 16.38-14.322 26.716-10.033 10.278 4.264 14.963 14.36 11.83 25.488-2.132 7.576-8.8 13.254-17.05 14.172-8.725.971-15.984-1.989-20.387-9.677-2.263-3.951-4.51-5.911-9.307-6.327-9.468-.82-15.39-7.587-17.143-18.027-1.773-10.555-5.664-13.68-16.286-12.697-1.258.117-2.9 1.336-3.497 2.492-4.153 8.059-10.398 13.255-19.64 13.052-9.14-.2-16.268-4.235-19.773-13.362-.392-1.02-2.052-2.054-3.219-2.177-2.95-.309-5.954-.102-8.775-.102-5.497 12.597-13.903 17.586-25.023 15.116-10.087-2.241-16.427-10.252-16.21-20.481.228-10.691 7.007-18.337 17.857-20.142 10.217-1.699 18.689 3.803 23.074 15.184h9.532c4.46-4.737 7.528-9.517 11.874-12.309 10.647-6.84 24.74-2.266 29.861 9.304 1.204 2.72 2.484 3.31 5.11 3.32 10.464.043 13.382-2.38 15.14-13.008 1.942-11.732 9.359-18.137 21.269-18.264 6.666-.071 13.338.124 19.994-.134 1.402-.055 3.407-1.24 4.017-2.46 6.87-13.759 20.933-17.314 33.535-7.996m-10.204 25.394c.725-.403 1.5-.735 2.165-1.221 3.909-2.859 5.33-6.757 4.19-11.384-1.052-4.268-4.09-6.823-8.308-7.667-4.613-.922-7.988 1.195-10.547 4.96-2.272 3.343-2.643 6.613-.436 10.198 2.865 4.653 6.757 6.656 12.936 5.114M56.07 133.614c-5.586 6.367-3.828 14.604 3.708 17.371 4.682 1.72 9.446-.077 12.465-4.699 2.739-4.193 1.937-9.206-2.09-13.058-3.72-3.559-8.368-3.618-14.083.385m51.162 1.244c-3.589 6.762-1.55 13.923 4.596 16.139 5.014 1.808 10.016-.142 12.647-4.933 2.5-4.548 1.155-10.706-3.016-13.82-4.1-3.06-9.624-2.252-14.227 2.614M209.06 173.28c.199-5.008-1.888-8.94-6.46-10.782-3.658-1.475-7.589-1.134-10.63 2.006-3.303 3.41-4.43 7.415-2.591 11.907 1.837 4.487 5.327 6.783 10.18 6.489 5.46-.332 8.16-3.867 9.5-9.62z"}),t("path",{fill:"#EB5075",d:"M223.186 119.716c-5.796 1.4-9.688-.603-12.553-5.256-2.207-3.585-1.836-6.855.436-10.199 2.559-3.764 5.934-5.881 10.547-4.959 4.217.844 7.256 3.399 8.308 7.667 1.14 4.627-.281 8.525-4.19 11.384-.664.486-1.44.818-2.548 1.363z"}),t("path",{fill:"#EA5075",d:"M56.328 133.334c5.458-3.724 10.106-3.665 13.826-.106 4.027 3.852 4.829 8.865 2.09 13.058-3.02 4.622-7.783 6.418-12.465 4.7-7.536-2.768-9.294-11.005-3.451-17.652z"}),t("path",{fill:"#EB5075",d:"M107.464 134.557c4.372-4.566 9.896-5.374 13.996-2.313 4.171 3.113 5.515 9.271 3.016 13.82-2.631 4.79-7.633 6.74-12.647 4.932-6.146-2.216-8.185-9.377-4.365-16.44z"}),t("path",{fill:"#EA4F74",d:"M209.023 173.684c-1.304 5.35-4.005 8.885-9.464 9.217-4.854.294-8.344-2.002-10.181-6.489-1.839-4.492-.712-8.498 2.59-11.907 3.042-3.14 6.973-3.481 10.631-2.006 4.572 1.842 6.659 5.774 6.424 11.185z"})]});cs.defaultProps={viewBox:"0 0 280 280",size:24};let cd=cs,cc=({size:e=50})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:e,height:e,viewBox:"0 0 900 900",children:[r("defs",{children:[t("style",{children:`
|
|
1229
1229
|
.cls-1 {
|
|
1230
1230
|
clip-path: url(#clippath);
|
|
1231
1231
|
}
|
|
@@ -1437,7 +1437,7 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1437
1437
|
|
|
1438
1438
|
.cls-52 {
|
|
1439
1439
|
isolation: isolate;
|
|
1440
|
-
}`}),t("clipPath",{id:"clippath",children:t("rect",{className:"cls-2",x:"-176.26",y:"-1848",width:"1995.52",height:"1126"})}),r("linearGradient",{id:"linear-gradient",x1:"840.33",y1:"-947.8",x2:"1082.58",y2:"-154.2",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:"0",stopColor:"#fff"}),t("stop",{offset:".97",stopColor:"#000"})]}),t("mask",{id:"mask",x:"-196.74",y:"-2008.25",width:"2088.26",height:"3023.19",maskUnits:"userSpaceOnUse",children:t("rect",{className:"cls-3",x:"-196.74",y:"-2008.25",width:"2088.26",height:"2167.16"})}),r("linearGradient",{id:"linear-gradient-2",x1:"10923.5",y1:"-1899.63",x2:"12869.89",y2:"493.68",gradientTransform:"translate(12906.88) rotate(-180) scale(1 -1)",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:"0",stopColor:"#fff"}),t("stop",{offset:".23",stopColor:"#606060"}),t("stop",{offset:".52",stopColor:"#fff"}),t("stop",{offset:".77",stopColor:"#000"}),t("stop",{offset:".97",stopColor:"#fff"})]}),t("linearGradient",{id:"linear-gradient-3",x1:"11262.65",y1:"-2175.45",x2:"13209.04",y2:"217.86",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-4",x1:"11202.09",y1:"-2126.2",x2:"13148.48",y2:"267.11",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-5",x1:"11141.68",y1:"-2077.07",x2:"13088.07",y2:"316.24",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-6",x1:"11020.71",y1:"-1978.7",x2:"12967.1",y2:"414.61",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-7",x1:"11020.71",y1:"-1978.7",x2:"12967.1",y2:"414.61",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-8",x1:"10899.74",y1:"-1880.32",x2:"12846.13",y2:"512.99",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-9",x1:"10899.74",y1:"-1880.31",x2:"12846.13",y2:"512.99",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-10",x1:"11113.9",y1:"-2054.49",x2:"13060.3",y2:"338.82",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-11",x1:"11113.9",y1:"-2054.49",x2:"13060.3",y2:"338.82",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-12",x1:"10992.94",y1:"-1956.11",x2:"12939.33",y2:"437.2",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-13",x1:"10992.94",y1:"-1956.11",x2:"12939.33",y2:"437.2",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-14",x1:"10871.97",y1:"-1857.73",x2:"12818.36",y2:"535.58",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-15",x1:"10871.97",y1:"-1857.73",x2:"12818.36",y2:"535.58",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-16",x1:"10751",y1:"-1759.35",x2:"12697.39",y2:"633.96",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-17",x1:"10965.16",y1:"-1933.52",x2:"12911.55",y2:"459.79",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-18",x1:"10965.26",y1:"-1933.6",x2:"12911.65",y2:"459.71",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-19",x1:"10844.19",y1:"-1835.14",x2:"12790.58",y2:"558.17",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-20",x1:"10844.19",y1:"-1835.14",x2:"12790.58",y2:"558.17",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-21",x1:"10723.22",y1:"-1736.76",x2:"12669.61",y2:"656.55",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-22",x1:"10762.45",y1:"-1768.66",x2:"12708.84",y2:"624.65",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-23",x1:"10602.25",y1:"-1638.38",x2:"12548.65",y2:"754.93",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-24",x1:"10641.48",y1:"-1670.28",x2:"12587.87",y2:"723.03",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-25",x1:"10816.42",y1:"-1812.55",x2:"12762.81",y2:"580.76",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-26",x1:"10695.45",y1:"-1714.17",x2:"12641.84",y2:"679.14",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-27",x1:"10695.45",y1:"-1714.17",x2:"12641.84",y2:"679.14",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-28",x1:"10695.45",y1:"-1714.17",x2:"12641.84",y2:"679.14",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-29",x1:"10574.48",y1:"-1615.79",x2:"12520.87",y2:"777.52",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-30",x1:"10453.51",y1:"-1517.41",x2:"12399.9",y2:"875.9",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-31",x1:"10492.74",y1:"-1549.31",x2:"12439.13",y2:"844",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-32",x1:"10667.67",y1:"-1691.58",x2:"12614.06",y2:"701.73",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-33",x1:"10546.7",y1:"-1593.2",x2:"12493.09",y2:"800.11",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-34",x1:"10425.73",y1:"-1494.82",x2:"12372.12",y2:"898.49",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-35",x1:"10304.76",y1:"-1396.44",x2:"12251.16",y2:"996.87",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-36",x1:"10778.77",y1:"-1781.94",x2:"12725.17",y2:"611.37",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-37",x1:"10630.03",y1:"-1660.97",x2:"12576.42",y2:"732.34",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-38",x1:"10481.29",y1:"-1540",x2:"12427.68",y2:"853.31",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-39",x1:"10481.29",y1:"-1540",x2:"12427.68",y2:"853.31",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-40",x1:"10332.54",y1:"-1419.03",x2:"12278.93",y2:"974.28",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-41",x1:"10183.8",y1:"-1298.06",x2:"12130.19",y2:"1095.25",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-42",x1:"10183.8",y1:"-1298.06",x2:"12130.19",y2:"1095.25",xlinkHref:"#linear-gradient-2"})]}),t("g",{className:"cls-52",children:r("g",{id:"Layer_1","data-name":"Layer 1",children:[r("g",{className:"cls-1",children:[t("rect",{className:"cls-38",x:"-268.24",y:"-2057.56",width:"2179.48",height:"2179.48"}),t("g",{className:"cls-50",children:r("g",{className:"cls-51",children:[t("path",{className:"cls-43",d:"M-168.37-1954.76h1979.46s0,2967.96,0,2967.96H-168.37s0-2967.96,0-2967.96ZM1808.62-1952.3H-165.91V1010.73h1974.53V-1952.3Z"}),r("g",{children:[t("path",{className:"cls-44",d:"M-168.37-224.89H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75-222.43h-244.66V22.23H78.75v-244.66Z"}),t("path",{className:"cls-42",d:"M81.22-226.64V24.7s-251.33,0-251.33,0L81.22-226.64ZM78.75-220.68L-164.16,22.23H78.75v-242.92Z"}),t("path",{className:"cls-48",d:"M-168.37,22.23H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,24.7h-244.66v244.66H78.75V24.7Z"}),t("path",{className:"cls-49",d:"M-168.37,269.36H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,271.82h-244.66v244.66H78.75v-244.66Z"}),t("path",{className:"cls-47",d:"M-113.5,394.15c0-38.56,31.37-69.93,69.93-69.93,38.56,0,69.93,31.37,69.93,69.93,0,38.56-31.37,69.93-69.93,69.93s-69.93-31.37-69.93-69.93ZM-111.04,394.15c0,37.2,30.26,67.46,67.46,67.46,37.2,0,67.46-30.26,67.46-67.46,0-37.2-30.26-67.46-67.46-67.46-37.2,0-67.46,30.26-67.46,67.46Z"}),t("path",{className:"cls-45",d:"M-168.37,516.48H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,518.95h-244.66v244.66H78.75v-244.66Z"}),t("path",{className:"cls-46",d:"M-168.37,516.48h1.23c136.94,0,248.36,111.41,248.36,248.36v1.23s-249.59,0-249.59,0v-249.59ZM-165.91,518.95v244.66H78.75c-.67-134.6-110.05-243.99-244.66-244.66Z"}),t("path",{className:"cls-21",d:"M78.75-224.89h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88-222.43H81.22V22.23h244.66v-244.66Z"}),t("path",{className:"cls-18",d:"M78.75-224.89h1.23c136.94,0,248.36,111.41,248.36,248.36v1.23s-249.59,0-249.59,0v-249.59ZM81.22-222.43V22.23h244.66c-.67-134.6-110.05-243.99-244.66-244.66Z"}),t("path",{className:"cls-19",d:"M78.75,22.23h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,24.7H81.22v244.66h244.66V24.7Z"}),t("path",{className:"cls-20",d:"M78.75,22.23h1.23c136.94,0,248.36,111.41,248.36,248.36v1.23s-249.59,0-249.59,0V22.23ZM81.22,24.7v244.66h244.66c-.67-134.6-110.05-243.99-244.66-244.66Z"}),t("path",{className:"cls-29",d:"M78.75,269.36h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,271.82H81.22v244.66h244.66v-244.66Z"}),t("path",{className:"cls-25",d:"M78.75,270.59v-1.23s249.59,0,249.59,0v249.59s-1.23,0-1.23,0c-136.94,0-248.36-111.41-248.36-248.36ZM81.22,271.82c.67,134.6,110.05,243.99,244.66,244.66v-244.66H81.22Z"}),t("path",{className:"cls-23",d:"M78.75,516.48h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,518.95H81.22v244.66h244.66v-244.66Z"}),t("path",{className:"cls-22",d:"M325.88-224.89h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573-222.43h-244.66V22.23h244.66v-244.66Z"}),t("path",{className:"cls-28",d:"M324.13-224.89h251.33s0,251.33,0,251.33l-251.33-251.33ZM330.08-222.43L573,20.49v-242.92h-242.91Z"}),t("path",{className:"cls-24",d:"M325.88,22.23h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,24.7h-244.66v244.66h244.66V24.7Z"}),t("path",{className:"cls-31",d:"M387.14,147.03c0-35.03,28.5-63.53,63.53-63.53,35.03,0,63.53,28.5,63.53,63.53,0,35.03-28.5,63.53-63.53,63.53-35.03,0-63.53-28.5-63.53-63.53ZM389.61,147.03c0,33.67,27.39,61.06,61.06,61.06,33.67,0,61.06-27.39,61.06-61.06,0-33.67-27.39-61.06-61.06-61.06-33.67,0-61.06,27.39-61.06,61.06Z"}),t("path",{className:"cls-27",d:"M325.88,269.36h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,271.82h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-30",d:"M325.88,269.36h249.59s0,1.23,0,1.23c0,136.94-111.41,248.36-248.36,248.36h-1.23s0-249.59,0-249.59ZM328.34,271.82v244.66c134.6-.67,243.99-110.05,244.66-244.66h-244.66Z"}),t("path",{className:"cls-26",d:"M325.88,516.48h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,518.95h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-33",d:"M325.88,516.48h249.59v1.24c0,136.94-111.41,248.36-248.36,248.36h-1.23s0-249.59,0-249.59ZM328.34,518.95v244.66c134.6-.67,243.99-110.06,244.66-244.66h-244.66Z"}),t("path",{className:"cls-17",d:"M573-224.89h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12-222.43h-244.66V22.23h244.66v-244.66Z"}),t("path",{className:"cls-34",d:"M573,22.23h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,24.7h-244.66v244.66h244.66V24.7Z"}),r("g",{children:[t("path",{className:"cls-32",d:"M609.24,147.03c0-48.83,39.72-88.55,88.56-88.55,48.83,0,88.56,39.72,88.56,88.55,0,48.83-39.72,88.56-88.56,88.56-48.83,0-88.56-39.72-88.56-88.56ZM611.71,147.03c0,47.47,38.62,86.09,86.09,86.09,47.47,0,86.09-38.62,86.09-86.09,0-47.47-38.62-86.09-86.09-86.09s-86.09,38.62-86.09,86.09Z"}),t("path",{className:"cls-16",d:"M661.67,147.03c0-19.92,16.21-36.13,36.13-36.13,19.92,0,36.13,16.21,36.13,36.13,0,19.92-16.21,36.13-36.13,36.13s-36.13-16.21-36.13-36.13ZM664.14,147.03c0,18.56,15.1,33.66,33.66,33.66s33.66-15.1,33.66-33.66c0-18.56-15.1-33.66-33.66-33.66s-33.66,15.1-33.66,33.66Z"})]}),t("path",{className:"cls-7",d:"M573,269.36h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,271.82h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-9",d:"M573,516.48h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,518.95h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-10",d:"M573,516.48h249.59v1.24c0,136.94-111.41,248.36-248.36,248.36h-1.23s0-249.59,0-249.59ZM575.46,518.95v244.66c134.6-.67,243.99-110.06,244.66-244.66h-244.66Z"}),t("path",{className:"cls-8",d:"M820.12-224.89h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25-222.43h-244.66V22.23h244.66v-244.66Z"}),t("path",{className:"cls-6",d:"M820.12,22.23h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,24.7h-244.66v244.66h244.66V24.7Z"}),t("path",{className:"cls-13",d:"M820.12,269.36h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,271.82h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-15",d:"M820.12,516.48h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,518.95h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-11",d:"M-168.37,763.61H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,766.07h-244.66v244.66H78.75v-244.66Z"}),t("path",{className:"cls-14",d:"M78.75,763.61h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,766.07H81.22v244.66h244.66v-244.66Z"}),t("path",{className:"cls-5",d:"M325.88,763.61h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,766.07h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-12",d:"M371.2,888.4c0-43.82,35.65-79.47,79.47-79.47s79.47,35.65,79.47,79.47c0,43.82-35.65,79.47-79.47,79.47-43.82,0-79.47-35.65-79.47-79.47ZM373.67,888.4c0,42.46,34.55,77.01,77.01,77.01,42.46,0,77-34.55,77-77.01,0-42.46-34.54-77-77-77-42.46,0-77.01,34.54-77.01,77Z"}),t("path",{className:"cls-36",d:"M573,763.61h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,766.07h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-37",d:"M820.12,763.61h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,766.07h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-35",d:"M820.12,764.84v-1.23s249.59,0,249.59,0v249.59s-1.23,0-1.23,0c-136.94,0-248.36-111.41-248.36-248.36ZM822.59,766.07c.67,134.6,110.05,243.99,244.66,244.66v-244.66h-244.66Z"})]})]})})]}),r("g",{children:[t("path",{className:"cls-40",d:"M282.48,297c.09,1.75.24,3.49.24,5.24.01,95.99.01,191.97.01,287.96,0,16.31-9.03,25.43-25.41,25.56-9.41.08-18.83-.26-28.23.08-17.35.63-30-6.69-38.61-21.59-12.9-22.35-24.45-45.42-36.61-68.16-21.08-39.45-42.03-78.98-62.81-118.59-7.25-13.81-13.55-28.09-19.35-42.58-.52-1.3-1.17-2.55-1.5-3.25,0,9.89-.41,20.24.11,30.56.63,12.43.65,24.85.67,37.27.09,57.24.04,114.48.04,171.72,0,9.71-1.92,12.54-11.62,14.16-12.49,2.09-25.13,2.07-37.64.06-9.43-1.52-11.31-4.21-11.31-13.8,0-96.31,0-192.61,0-288.92,0-1.75.02-3.51.1-5.26.58-13.61,8.78-22.02,22.41-22.15,16.42-.15,32.85-.49,49.28.31,15.88,2.77,24.26,13.93,30.66,27.34,1.23,2.58,2.77,5.02,4.1,7.56,35.09,66.62,70.72,132.95,104.97,200.01.49.96.74,2.14,2.44,1.93,1.29-4.22-.17-8.45-.21-12.65-.34-34.41.32-68.82-.85-103.23-.63-18.31-.19-36.66-.24-54.99.7-.3,1.39-.79,2.12-.87,18.9-2.07,33.63-11.18,44.99-26.23,6.22-8.25,9.57-17.69,12.25-27.48Z"}),t("path",{className:"cls-40",d:"M728.6,568.8c-23.03,35.98-58.01,49.27-98.62,51.84-27.48,1.74-53.96-2.48-79.27-13.48-1.6-.7-3.14-1.56-4.74-2.26-12.22-5.35-19.97-13.78-20.02-27.93-.03-9.22-.69-18.45,1.4-27.57,2.24-9.8,7.16-12.17,15.78-6.99,8.48,5.1,17.01,10.04,26.1,13.97,20,8.65,40.81,12.54,62.51,9.61,14.54-1.97,27.88-7.17,35.09-21.01,9.46-18.17,6.96-36.48-12.69-50.6-11.74-8.44-25-13.94-38.08-19.78-16.3-7.28-32.65-14.53-47.08-25.23-28.11-20.85-39.38-48.89-37.08-83.63,2.66-40.17,29.54-71.6,71.7-81.92,34.69-8.49,68.58-5.85,101.42,8.46,2.76,1.2,5.4,2.72,8.02,4.23,4.84,2.8,7.73,6.96,8.53,12.56,1.75,12.21,1.8,24.42-.35,36.58-1.46,8.29-5.76,10.39-13.28,6.59-6.11-3.09-12.02-6.59-18.22-9.47-18.37-8.53-37.42-13.11-57.93-10.32-23.43,3.19-37.62,24.35-30.08,45.65,2.77,7.81,8.34,13.49,14.8,18.33,13.02,9.76,28.23,15.3,42.86,21.93,17.86,8.09,35.67,16.23,50.99,28.84,7.44,6.13,13.19,13.7,19.08,21.19,0,.33,0,.66,0,.99-.38.29-.93.49-1.1.87-5.17,11.49-8.89,23.43-9.22,36.09-.33,12.68-1.07,25.49,1.97,37.94,1.89,7.73,2.84,15.9,7.62,22.71-.03.61-.06,1.22-.1,1.83Z"}),t("path",{className:"cls-40",d:"M327.57,454.14c0-49.27,0-98.55,0-147.82,0-10.88,3.41-16.66,11.6-19.9,3.03-1.2,6.21-1.37,9.4-1.37,50.73,0,101.45.04,152.18-.07,5.11-.01,8.11,2.06,9.66,6.73,2.92,8.8,2.72,17.88,2.23,26.93-.27,4.88-.11,9.83-2.14,14.55-1.99,4.6-4.76,6.89-10.13,6.86-33.34-.19-66.68-.01-100.02-.2-4.22-.02-5.31,1.03-5.27,5.26.21,26.15.23,52.3-.01,78.45-.04,4.64,1.53,5.41,5.69,5.39,31.11-.16,62.21-.09,93.32-.08,6.29,0,8.38,1.16,10.11,7.19,2.44,8.49,2.64,17.28,1.85,26.04-.43,4.71-.38,9.49-2.32,14.05-1.91,4.51-4.71,6.66-9.79,6.63-31.27-.13-62.53,0-93.8-.16-3.92-.02-5.06.89-5.04,4.94.16,38.27.1,76.54.09,114.81,0,7.6-1.59,10.25-8.94,11.9-16.38,3.67-32.93,3.59-49.33.2-7.86-1.63-9.33-4.26-9.33-12.5,0-49.27,0-98.55,0-147.82Z"}),t("path",{className:"cls-41",d:"M728.6,568.8c.03-.61.06-1.22.1-1.83,1.56-.81,1.99-2.44,2.7-3.82,8.03-15.69,9.96-32.44,9.89-49.87-.07-15.89-3.76-30.39-11.85-43.92,0-.33,0-.66,0-.99,10.5-21.54,27.43-35.93,50.2-42.59,23.52-6.88,46.97-6.26,69.17,5.48,19.31,10.2,30.6,26.8,36.47,47.42,3.08,10.83,3.48,21.94,3.17,33.1-.18,6.62-2.32,8.7-9.16,8.72-15.79.05-31.59.08-47.38-.04-2.76-.02-4.68.76-6.68,2.68-8.64,8.29-22.1,7.76-29.89-.96-7.61-8.51-6.64-21.95,2.13-29.5,8.89-7.65,22.3-6.32,29.63,3.27,1.9,2.49,3.8,3.26,6.74,3.19,6.85-.18,13.72-.18,20.58,0,2.81.07,3.58-.96,3.39-3.58-1.98-28.38-19.16-49.08-50.14-48.66-31.24.43-46.88,20.39-52.53,44.93-4.79,20.78-3.9,41.55,3.24,61.52,9.13,25.54,27.02,37.5,54.14,38.05,12.84.26,24.92-2.64,36.41-8.33,2.96-1.47,5.05-3.31,6.56-6.37,3.68-7.45,11.22-11.04,19.48-9.86,7.36,1.05,13.85,7.31,15.19,14.65,1.51,8.29-1.87,15.89-8.96,19.97-1.23.71-2.61,1.65-3.92,1.65-10.47-.04-18.71,6.48-28.19,9.34-27.56,8.3-54.86,9.34-81.54-3.23-17.09-8.06-29.18-21.24-37.56-38-.42-.83-.94-1.61-1.41-2.42Z"}),t("path",{className:"cls-4",d:"M223.13,351.58c.05,18.33-.39,36.68.24,54.99,1.18,34.41.51,68.82.85,103.23.04,4.2,1.5,8.43.21,12.65-1.7.21-1.95-.97-2.44-1.93-34.25-67.06-69.88-133.39-104.97-200.01-1.34-2.54-2.87-4.97-4.1-7.56-6.41-13.41-14.78-24.57-30.66-27.34,22.97-.26,45.93-.53,68.9-.79.54,27.77,13.34,47.91,38.02,60.45,10.64,5.41,22.2,6.56,33.95,6.3Z"}),t("path",{className:"cls-41",d:"M223.13,351.58c-11.76.26-23.31-.89-33.95-6.3-24.68-12.54-37.48-32.68-38.02-60.45,23.39-.07,46.78-.17,70.18-.2,19.08-.02,38.16-.71,57.25-.13,4,.12,4.95,1.24,4.34,4.9-.42,2.49-.31,5.07-.44,7.61-2.68,9.78-6.03,19.23-12.25,27.48-11.36,15.05-26.09,24.16-44.99,26.23-.73.08-1.41.57-2.12.87Z"}),t("path",{className:"cls-39",d:"M729.44,469.37c8.09,13.52,11.78,28.03,11.85,43.92.07,17.43-1.86,34.18-9.89,49.87-.71,1.39-1.14,3.02-2.7,3.82-4.78-6.81-5.73-14.98-7.62-22.71-3.04-12.45-2.3-25.26-1.97-37.94.33-12.66,4.05-24.6,9.22-36.09.17-.38.73-.58,1.1-.87Z"})]})]})})]}),cc=({size:e,color:r,viewBox:i})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:i,color:r,children:t("path",{d:"M10.25 2.24a5.79 5.79 0 0 0-4 1.63 4.48 4.48 0 1 0 0 8.26 5.76 5.76 0 1 0 4-9.89zm0 10.24A4.49 4.49 0 0 1 5.76 8H4.48a5.74 5.74 0 0 0 .89 3.07 3.29 3.29 0 0 1-.88.13 3.2 3.2 0 0 1 0-6.4A3.2 3.2 0 0 1 7.69 8H9a4.42 4.42 0 0 0-1.63-3.43 4.48 4.48 0 1 1 2.88 7.91z"})});cc.defaultProps={viewBox:"0 0 16 16",color:"#2B3356",size:24};let cp=cc,cm=({width:e="8",viewBox:r="0 0 11 11"})=>t("svg",{width:e,height:e,viewBox:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M10 1L1 10M10 8.5L10 1L2.5 1",stroke:"#133A6F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),ch=({size:e,viewBox:i})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",style:{enableBackground:`new ${i}`},viewBox:i,height:e,children:[t("path",{d:"M269.9 197.9 220.3 229l-105.8 41.5h-14.1L188 55l14.5 11.1 66.6 99.3z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#ff3600"}}),t("path",{d:"m188 55-2.8-12.6L110 11.3 78.9 37.2 10.7 216.4l5.2 19.3 20 15.5 37 14.1 27.5 5.2z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#0063ff"}}),t("path",{d:"M114.7 3.6c-5.3-.2-10.5.8-15.4 2.7-4.9 1.9-9.4 4.8-13.1 8.5-3.7 3.7-6.7 8.1-8.7 13L6.4 203.9c-3.7 9.1-3.7 19.4-.1 28.5C10 241.6 17 249 26 253.1l44.2 20.4c8.6 4 18 6.1 27.5 6.3s18.9-1.6 27.7-5.2L256 220.8c2.9-1.2 5.6-2.7 8.1-4.6 1.9-1.4 3.8-3 5.4-4.8 3.8-4.1 6.7-8.9 8.4-14.1 1.7-5.3 2.3-10.8 1.7-16.3-.6-5.5-2.4-10.8-5.3-15.5L208.1 56.1c-7-11.6-17.4-20.8-29.7-26.5L129.9 7.2c-4.8-2.2-9.9-3.4-15.2-3.6zM106 23.4c2.6-1 5.4-1.5 8.1-1.4 2.8.1 5.5.7 8 1.9l48.4 22.4c2.9 1.3 5.6 2.9 8.2 4.7l-85 210.1c-5.5-.6-10.8-2.1-15.8-4.4l-44.2-20.4c-4.7-2.2-8.4-6.1-10.3-10.8-1.9-4.7-1.9-10 0-14.8l71.2-176c1-2.5 2.6-4.8 4.5-6.8 2-1.9 4.3-3.5 6.9-4.5zm8.5 235.6 78.1-193 66 108.9c1.1 1.7 1.8 3.6 2.3 5.6.2.8.3 1.6.4 2.5.3 2.9 0 5.7-.9 8.5-.9 2.7-2.4 5.2-4.4 7.4a20.5 20.5 0 0 1-5 3.9c-.7.4-1.4.7-2.1 1l-130.6 53.9c-1.2.5-2.5.9-3.8 1.3z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#010005"}})]});ch.defaultProps={viewBox:"0 0 283.5 283.5",size:24};let cu=ch,cx=e=>r("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,width:e.size,height:e.size,viewBox:"0 0 393 393",...e,children:[t("style",{children:".st1{fill:#fff}"}),t("path",{d:"M331.4 393H61.6C27.6 393 0 365.5 0 331.4V61.6C0 27.6 27.6 0 61.6 0h269.9c34 0 61.6 27.6 61.6 61.6v269.9c-.1 34-27.6 61.5-61.7 61.5z",style:{fill:e.color}}),t("path",{d:"m131.8 204.8 43.4-43.4c5.7-5.7 5.7-15 0-20.7l-13-13c-5.7-5.7-15-5.7-20.7 0l-34.8 34.8-34.8-34.8c-5.7-5.7-15-5.7-20.7 0l-13 13c-5.7 5.7-5.7 15 0 20.7l43.4 43.4c.5.7 1 1.4 1.6 2l13 13c2.9 2.9 6.7 4.3 10.5 4.3s7.6-1.4 10.5-4.3l13-13c.6-.6 1.2-1.3 1.6-2M258.5 146.7l-13-13c-5.7-5.7-15-5.7-20.7 0L127 231.5c-5.7 5.7-5.7 15 0 20.7l13 13c5.7 5.7 15 5.7 20.7 0l97.8-97.8c5.7-5.7 5.7-14.9 0-20.7M354.9 231.6l-43.4-43.4c-.5-.7-1-1.4-1.6-2l-13-13c-2.9-2.9-6.7-4.3-10.5-4.3s-7.6 1.4-10.5 4.3l-13 13c-.6.6-1.2 1.3-1.6 2l-43.4 43.4c-5.7 5.7-5.7 15 0 20.7l13 13c5.7 5.7 15 5.7 20.7 0l34.8-34.8 34.8 34.8c5.7 5.7 15 5.7 20.7 0l13-13c5.7-5.7 5.7-15 0-20.7",className:"st1"})]});cx.defaultProps={color:"#72ba00",size:32};let cf=cx,cg=({size:e,color:i,viewBox:o})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:o,color:i,children:[t("path",{d:"M51.2762 0H46.1914V22.4778H51.2762V0Z",fill:"#1A1A1A"}),t("path",{d:"M60.8644 16.775V22.5842L46.2188 14.151V8.34351L60.8644 16.775Z",fill:"#1A1A1A"}),t("path",{d:"M46.1914 13.9701V19.9918L60.9556 11.5587V5.53857L46.1914 13.9701Z",fill:"#C505F2"}),t("path",{d:"M20.2774 4.8313L17.6222 14.417L14.9914 4.91932L15.0157 4.8313H14.9654H10.163H10.1143L10.1387 4.91932L7.50785 14.417L4.85268 4.8313H0L2.22996 12.9489L2.25268 12.8725L4.88838 22.4781H5.34768H5.36716H9.88063H9.90011H10.1257L12.5764 13.6364L15.0027 22.4781H15.462H15.4799H19.995H20.0145H20.24L25.1284 4.8313H20.2774Z",fill:"#1A1A1A"}),t("path",{d:"M31.1741 16.9577C32.0261 17.8611 33.0665 18.3129 34.36 18.3129C35.6535 18.3129 36.6938 17.8611 37.5442 16.9245C38.3963 15.9895 38.8377 14.8918 38.8377 13.6014C38.8377 12.311 38.3963 11.2133 37.5442 10.3098C36.6938 9.40641 35.6518 8.95469 34.36 8.95469C33.0665 8.95469 32.0261 9.40641 31.1741 10.3098C30.3545 11.2133 29.9439 12.311 29.9439 13.6014C29.9422 14.925 30.3529 16.0227 31.1741 16.9577ZM38.8377 4.84275H43.5054V22.4763H38.8377V20.6678C37.356 22.1857 35.5885 22.9263 33.5079 22.9263C31.0475 22.9263 28.9977 22.0229 27.3893 20.2476C25.781 18.4407 24.9922 16.2137 24.9922 13.535C24.9922 10.8878 25.8118 8.69396 27.4218 6.95187C29.0301 5.20977 31.0799 4.33789 33.5079 4.33789C35.5902 4.33789 37.356 5.11345 38.8377 6.66124V4.84275Z",fill:"#1A1A1A"}),t("path",{d:"M67.0985 11.763H75.2361C74.7622 9.73024 73.3112 8.47141 71.2614 8.47141C69.2441 8.47141 67.6357 9.69703 67.0985 11.763ZM79.8404 15.3767H67.131C67.7298 17.6037 69.3074 18.7015 71.8295 18.7015C73.7851 18.7015 75.5818 18.1219 77.2226 16.9909L79.1782 20.4435C77.0651 22.0893 74.543 22.8964 71.6103 22.8964C68.551 22.8964 66.2172 21.993 64.5764 20.2177C62.968 18.4424 62.1484 16.2486 62.1484 13.6346C62.1484 10.9558 62.9989 8.76204 64.6722 7.01828C66.3438 5.24297 68.5511 4.37109 71.263 4.37109C73.8176 4.37109 75.8999 5.1782 77.5391 6.75921C79.1783 8.34022 79.9995 10.5025 79.9995 13.246C79.9978 13.8604 79.9362 14.5712 79.8404 15.3767Z",fill:"#1A1A1A"})]});cg.defaultProps={viewBox:"0 0 80 23",color:"#C505F2",size:50};let cC=cg,cb=o.div`
|
|
1440
|
+
}`}),t("clipPath",{id:"clippath",children:t("rect",{className:"cls-2",x:"-176.26",y:"-1848",width:"1995.52",height:"1126"})}),r("linearGradient",{id:"linear-gradient",x1:"840.33",y1:"-947.8",x2:"1082.58",y2:"-154.2",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:"0",stopColor:"#fff"}),t("stop",{offset:".97",stopColor:"#000"})]}),t("mask",{id:"mask",x:"-196.74",y:"-2008.25",width:"2088.26",height:"3023.19",maskUnits:"userSpaceOnUse",children:t("rect",{className:"cls-3",x:"-196.74",y:"-2008.25",width:"2088.26",height:"2167.16"})}),r("linearGradient",{id:"linear-gradient-2",x1:"10923.5",y1:"-1899.63",x2:"12869.89",y2:"493.68",gradientTransform:"translate(12906.88) rotate(-180) scale(1 -1)",gradientUnits:"userSpaceOnUse",children:[t("stop",{offset:"0",stopColor:"#fff"}),t("stop",{offset:".23",stopColor:"#606060"}),t("stop",{offset:".52",stopColor:"#fff"}),t("stop",{offset:".77",stopColor:"#000"}),t("stop",{offset:".97",stopColor:"#fff"})]}),t("linearGradient",{id:"linear-gradient-3",x1:"11262.65",y1:"-2175.45",x2:"13209.04",y2:"217.86",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-4",x1:"11202.09",y1:"-2126.2",x2:"13148.48",y2:"267.11",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-5",x1:"11141.68",y1:"-2077.07",x2:"13088.07",y2:"316.24",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-6",x1:"11020.71",y1:"-1978.7",x2:"12967.1",y2:"414.61",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-7",x1:"11020.71",y1:"-1978.7",x2:"12967.1",y2:"414.61",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-8",x1:"10899.74",y1:"-1880.32",x2:"12846.13",y2:"512.99",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-9",x1:"10899.74",y1:"-1880.31",x2:"12846.13",y2:"512.99",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-10",x1:"11113.9",y1:"-2054.49",x2:"13060.3",y2:"338.82",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-11",x1:"11113.9",y1:"-2054.49",x2:"13060.3",y2:"338.82",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-12",x1:"10992.94",y1:"-1956.11",x2:"12939.33",y2:"437.2",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-13",x1:"10992.94",y1:"-1956.11",x2:"12939.33",y2:"437.2",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-14",x1:"10871.97",y1:"-1857.73",x2:"12818.36",y2:"535.58",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-15",x1:"10871.97",y1:"-1857.73",x2:"12818.36",y2:"535.58",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-16",x1:"10751",y1:"-1759.35",x2:"12697.39",y2:"633.96",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-17",x1:"10965.16",y1:"-1933.52",x2:"12911.55",y2:"459.79",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-18",x1:"10965.26",y1:"-1933.6",x2:"12911.65",y2:"459.71",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-19",x1:"10844.19",y1:"-1835.14",x2:"12790.58",y2:"558.17",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-20",x1:"10844.19",y1:"-1835.14",x2:"12790.58",y2:"558.17",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-21",x1:"10723.22",y1:"-1736.76",x2:"12669.61",y2:"656.55",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-22",x1:"10762.45",y1:"-1768.66",x2:"12708.84",y2:"624.65",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-23",x1:"10602.25",y1:"-1638.38",x2:"12548.65",y2:"754.93",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-24",x1:"10641.48",y1:"-1670.28",x2:"12587.87",y2:"723.03",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-25",x1:"10816.42",y1:"-1812.55",x2:"12762.81",y2:"580.76",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-26",x1:"10695.45",y1:"-1714.17",x2:"12641.84",y2:"679.14",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-27",x1:"10695.45",y1:"-1714.17",x2:"12641.84",y2:"679.14",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-28",x1:"10695.45",y1:"-1714.17",x2:"12641.84",y2:"679.14",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-29",x1:"10574.48",y1:"-1615.79",x2:"12520.87",y2:"777.52",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-30",x1:"10453.51",y1:"-1517.41",x2:"12399.9",y2:"875.9",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-31",x1:"10492.74",y1:"-1549.31",x2:"12439.13",y2:"844",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-32",x1:"10667.67",y1:"-1691.58",x2:"12614.06",y2:"701.73",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-33",x1:"10546.7",y1:"-1593.2",x2:"12493.09",y2:"800.11",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-34",x1:"10425.73",y1:"-1494.82",x2:"12372.12",y2:"898.49",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-35",x1:"10304.76",y1:"-1396.44",x2:"12251.16",y2:"996.87",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-36",x1:"10778.77",y1:"-1781.94",x2:"12725.17",y2:"611.37",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-37",x1:"10630.03",y1:"-1660.97",x2:"12576.42",y2:"732.34",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-38",x1:"10481.29",y1:"-1540",x2:"12427.68",y2:"853.31",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-39",x1:"10481.29",y1:"-1540",x2:"12427.68",y2:"853.31",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-40",x1:"10332.54",y1:"-1419.03",x2:"12278.93",y2:"974.28",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-41",x1:"10183.8",y1:"-1298.06",x2:"12130.19",y2:"1095.25",xlinkHref:"#linear-gradient-2"}),t("linearGradient",{id:"linear-gradient-42",x1:"10183.8",y1:"-1298.06",x2:"12130.19",y2:"1095.25",xlinkHref:"#linear-gradient-2"})]}),t("g",{className:"cls-52",children:r("g",{id:"Layer_1","data-name":"Layer 1",children:[r("g",{className:"cls-1",children:[t("rect",{className:"cls-38",x:"-268.24",y:"-2057.56",width:"2179.48",height:"2179.48"}),t("g",{className:"cls-50",children:r("g",{className:"cls-51",children:[t("path",{className:"cls-43",d:"M-168.37-1954.76h1979.46s0,2967.96,0,2967.96H-168.37s0-2967.96,0-2967.96ZM1808.62-1952.3H-165.91V1010.73h1974.53V-1952.3Z"}),r("g",{children:[t("path",{className:"cls-44",d:"M-168.37-224.89H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75-222.43h-244.66V22.23H78.75v-244.66Z"}),t("path",{className:"cls-42",d:"M81.22-226.64V24.7s-251.33,0-251.33,0L81.22-226.64ZM78.75-220.68L-164.16,22.23H78.75v-242.92Z"}),t("path",{className:"cls-48",d:"M-168.37,22.23H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,24.7h-244.66v244.66H78.75V24.7Z"}),t("path",{className:"cls-49",d:"M-168.37,269.36H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,271.82h-244.66v244.66H78.75v-244.66Z"}),t("path",{className:"cls-47",d:"M-113.5,394.15c0-38.56,31.37-69.93,69.93-69.93,38.56,0,69.93,31.37,69.93,69.93,0,38.56-31.37,69.93-69.93,69.93s-69.93-31.37-69.93-69.93ZM-111.04,394.15c0,37.2,30.26,67.46,67.46,67.46,37.2,0,67.46-30.26,67.46-67.46,0-37.2-30.26-67.46-67.46-67.46-37.2,0-67.46,30.26-67.46,67.46Z"}),t("path",{className:"cls-45",d:"M-168.37,516.48H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,518.95h-244.66v244.66H78.75v-244.66Z"}),t("path",{className:"cls-46",d:"M-168.37,516.48h1.23c136.94,0,248.36,111.41,248.36,248.36v1.23s-249.59,0-249.59,0v-249.59ZM-165.91,518.95v244.66H78.75c-.67-134.6-110.05-243.99-244.66-244.66Z"}),t("path",{className:"cls-21",d:"M78.75-224.89h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88-222.43H81.22V22.23h244.66v-244.66Z"}),t("path",{className:"cls-18",d:"M78.75-224.89h1.23c136.94,0,248.36,111.41,248.36,248.36v1.23s-249.59,0-249.59,0v-249.59ZM81.22-222.43V22.23h244.66c-.67-134.6-110.05-243.99-244.66-244.66Z"}),t("path",{className:"cls-19",d:"M78.75,22.23h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,24.7H81.22v244.66h244.66V24.7Z"}),t("path",{className:"cls-20",d:"M78.75,22.23h1.23c136.94,0,248.36,111.41,248.36,248.36v1.23s-249.59,0-249.59,0V22.23ZM81.22,24.7v244.66h244.66c-.67-134.6-110.05-243.99-244.66-244.66Z"}),t("path",{className:"cls-29",d:"M78.75,269.36h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,271.82H81.22v244.66h244.66v-244.66Z"}),t("path",{className:"cls-25",d:"M78.75,270.59v-1.23s249.59,0,249.59,0v249.59s-1.23,0-1.23,0c-136.94,0-248.36-111.41-248.36-248.36ZM81.22,271.82c.67,134.6,110.05,243.99,244.66,244.66v-244.66H81.22Z"}),t("path",{className:"cls-23",d:"M78.75,516.48h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,518.95H81.22v244.66h244.66v-244.66Z"}),t("path",{className:"cls-22",d:"M325.88-224.89h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573-222.43h-244.66V22.23h244.66v-244.66Z"}),t("path",{className:"cls-28",d:"M324.13-224.89h251.33s0,251.33,0,251.33l-251.33-251.33ZM330.08-222.43L573,20.49v-242.92h-242.91Z"}),t("path",{className:"cls-24",d:"M325.88,22.23h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,24.7h-244.66v244.66h244.66V24.7Z"}),t("path",{className:"cls-31",d:"M387.14,147.03c0-35.03,28.5-63.53,63.53-63.53,35.03,0,63.53,28.5,63.53,63.53,0,35.03-28.5,63.53-63.53,63.53-35.03,0-63.53-28.5-63.53-63.53ZM389.61,147.03c0,33.67,27.39,61.06,61.06,61.06,33.67,0,61.06-27.39,61.06-61.06,0-33.67-27.39-61.06-61.06-61.06-33.67,0-61.06,27.39-61.06,61.06Z"}),t("path",{className:"cls-27",d:"M325.88,269.36h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,271.82h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-30",d:"M325.88,269.36h249.59s0,1.23,0,1.23c0,136.94-111.41,248.36-248.36,248.36h-1.23s0-249.59,0-249.59ZM328.34,271.82v244.66c134.6-.67,243.99-110.05,244.66-244.66h-244.66Z"}),t("path",{className:"cls-26",d:"M325.88,516.48h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,518.95h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-33",d:"M325.88,516.48h249.59v1.24c0,136.94-111.41,248.36-248.36,248.36h-1.23s0-249.59,0-249.59ZM328.34,518.95v244.66c134.6-.67,243.99-110.06,244.66-244.66h-244.66Z"}),t("path",{className:"cls-17",d:"M573-224.89h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12-222.43h-244.66V22.23h244.66v-244.66Z"}),t("path",{className:"cls-34",d:"M573,22.23h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,24.7h-244.66v244.66h244.66V24.7Z"}),r("g",{children:[t("path",{className:"cls-32",d:"M609.24,147.03c0-48.83,39.72-88.55,88.56-88.55,48.83,0,88.56,39.72,88.56,88.55,0,48.83-39.72,88.56-88.56,88.56-48.83,0-88.56-39.72-88.56-88.56ZM611.71,147.03c0,47.47,38.62,86.09,86.09,86.09,47.47,0,86.09-38.62,86.09-86.09,0-47.47-38.62-86.09-86.09-86.09s-86.09,38.62-86.09,86.09Z"}),t("path",{className:"cls-16",d:"M661.67,147.03c0-19.92,16.21-36.13,36.13-36.13,19.92,0,36.13,16.21,36.13,36.13,0,19.92-16.21,36.13-36.13,36.13s-36.13-16.21-36.13-36.13ZM664.14,147.03c0,18.56,15.1,33.66,33.66,33.66s33.66-15.1,33.66-33.66c0-18.56-15.1-33.66-33.66-33.66s-33.66,15.1-33.66,33.66Z"})]}),t("path",{className:"cls-7",d:"M573,269.36h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,271.82h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-9",d:"M573,516.48h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,518.95h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-10",d:"M573,516.48h249.59v1.24c0,136.94-111.41,248.36-248.36,248.36h-1.23s0-249.59,0-249.59ZM575.46,518.95v244.66c134.6-.67,243.99-110.06,244.66-244.66h-244.66Z"}),t("path",{className:"cls-8",d:"M820.12-224.89h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25-222.43h-244.66V22.23h244.66v-244.66Z"}),t("path",{className:"cls-6",d:"M820.12,22.23h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,24.7h-244.66v244.66h244.66V24.7Z"}),t("path",{className:"cls-13",d:"M820.12,269.36h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,271.82h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-15",d:"M820.12,516.48h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,518.95h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-11",d:"M-168.37,763.61H81.22s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM78.75,766.07h-244.66v244.66H78.75v-244.66Z"}),t("path",{className:"cls-14",d:"M78.75,763.61h249.59s0,249.59,0,249.59H78.75s0-249.59,0-249.59ZM325.88,766.07H81.22v244.66h244.66v-244.66Z"}),t("path",{className:"cls-5",d:"M325.88,763.61h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM573,766.07h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-12",d:"M371.2,888.4c0-43.82,35.65-79.47,79.47-79.47s79.47,35.65,79.47,79.47c0,43.82-35.65,79.47-79.47,79.47-43.82,0-79.47-35.65-79.47-79.47ZM373.67,888.4c0,42.46,34.55,77.01,77.01,77.01,42.46,0,77-34.55,77-77.01,0-42.46-34.54-77-77-77-42.46,0-77.01,34.54-77.01,77Z"}),t("path",{className:"cls-36",d:"M573,763.61h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM820.12,766.07h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-37",d:"M820.12,763.61h249.59s0,249.59,0,249.59h-249.59s0-249.59,0-249.59ZM1067.25,766.07h-244.66v244.66h244.66v-244.66Z"}),t("path",{className:"cls-35",d:"M820.12,764.84v-1.23s249.59,0,249.59,0v249.59s-1.23,0-1.23,0c-136.94,0-248.36-111.41-248.36-248.36ZM822.59,766.07c.67,134.6,110.05,243.99,244.66,244.66v-244.66h-244.66Z"})]})]})})]}),r("g",{children:[t("path",{className:"cls-40",d:"M282.48,297c.09,1.75.24,3.49.24,5.24.01,95.99.01,191.97.01,287.96,0,16.31-9.03,25.43-25.41,25.56-9.41.08-18.83-.26-28.23.08-17.35.63-30-6.69-38.61-21.59-12.9-22.35-24.45-45.42-36.61-68.16-21.08-39.45-42.03-78.98-62.81-118.59-7.25-13.81-13.55-28.09-19.35-42.58-.52-1.3-1.17-2.55-1.5-3.25,0,9.89-.41,20.24.11,30.56.63,12.43.65,24.85.67,37.27.09,57.24.04,114.48.04,171.72,0,9.71-1.92,12.54-11.62,14.16-12.49,2.09-25.13,2.07-37.64.06-9.43-1.52-11.31-4.21-11.31-13.8,0-96.31,0-192.61,0-288.92,0-1.75.02-3.51.1-5.26.58-13.61,8.78-22.02,22.41-22.15,16.42-.15,32.85-.49,49.28.31,15.88,2.77,24.26,13.93,30.66,27.34,1.23,2.58,2.77,5.02,4.1,7.56,35.09,66.62,70.72,132.95,104.97,200.01.49.96.74,2.14,2.44,1.93,1.29-4.22-.17-8.45-.21-12.65-.34-34.41.32-68.82-.85-103.23-.63-18.31-.19-36.66-.24-54.99.7-.3,1.39-.79,2.12-.87,18.9-2.07,33.63-11.18,44.99-26.23,6.22-8.25,9.57-17.69,12.25-27.48Z"}),t("path",{className:"cls-40",d:"M728.6,568.8c-23.03,35.98-58.01,49.27-98.62,51.84-27.48,1.74-53.96-2.48-79.27-13.48-1.6-.7-3.14-1.56-4.74-2.26-12.22-5.35-19.97-13.78-20.02-27.93-.03-9.22-.69-18.45,1.4-27.57,2.24-9.8,7.16-12.17,15.78-6.99,8.48,5.1,17.01,10.04,26.1,13.97,20,8.65,40.81,12.54,62.51,9.61,14.54-1.97,27.88-7.17,35.09-21.01,9.46-18.17,6.96-36.48-12.69-50.6-11.74-8.44-25-13.94-38.08-19.78-16.3-7.28-32.65-14.53-47.08-25.23-28.11-20.85-39.38-48.89-37.08-83.63,2.66-40.17,29.54-71.6,71.7-81.92,34.69-8.49,68.58-5.85,101.42,8.46,2.76,1.2,5.4,2.72,8.02,4.23,4.84,2.8,7.73,6.96,8.53,12.56,1.75,12.21,1.8,24.42-.35,36.58-1.46,8.29-5.76,10.39-13.28,6.59-6.11-3.09-12.02-6.59-18.22-9.47-18.37-8.53-37.42-13.11-57.93-10.32-23.43,3.19-37.62,24.35-30.08,45.65,2.77,7.81,8.34,13.49,14.8,18.33,13.02,9.76,28.23,15.3,42.86,21.93,17.86,8.09,35.67,16.23,50.99,28.84,7.44,6.13,13.19,13.7,19.08,21.19,0,.33,0,.66,0,.99-.38.29-.93.49-1.1.87-5.17,11.49-8.89,23.43-9.22,36.09-.33,12.68-1.07,25.49,1.97,37.94,1.89,7.73,2.84,15.9,7.62,22.71-.03.61-.06,1.22-.1,1.83Z"}),t("path",{className:"cls-40",d:"M327.57,454.14c0-49.27,0-98.55,0-147.82,0-10.88,3.41-16.66,11.6-19.9,3.03-1.2,6.21-1.37,9.4-1.37,50.73,0,101.45.04,152.18-.07,5.11-.01,8.11,2.06,9.66,6.73,2.92,8.8,2.72,17.88,2.23,26.93-.27,4.88-.11,9.83-2.14,14.55-1.99,4.6-4.76,6.89-10.13,6.86-33.34-.19-66.68-.01-100.02-.2-4.22-.02-5.31,1.03-5.27,5.26.21,26.15.23,52.3-.01,78.45-.04,4.64,1.53,5.41,5.69,5.39,31.11-.16,62.21-.09,93.32-.08,6.29,0,8.38,1.16,10.11,7.19,2.44,8.49,2.64,17.28,1.85,26.04-.43,4.71-.38,9.49-2.32,14.05-1.91,4.51-4.71,6.66-9.79,6.63-31.27-.13-62.53,0-93.8-.16-3.92-.02-5.06.89-5.04,4.94.16,38.27.1,76.54.09,114.81,0,7.6-1.59,10.25-8.94,11.9-16.38,3.67-32.93,3.59-49.33.2-7.86-1.63-9.33-4.26-9.33-12.5,0-49.27,0-98.55,0-147.82Z"}),t("path",{className:"cls-41",d:"M728.6,568.8c.03-.61.06-1.22.1-1.83,1.56-.81,1.99-2.44,2.7-3.82,8.03-15.69,9.96-32.44,9.89-49.87-.07-15.89-3.76-30.39-11.85-43.92,0-.33,0-.66,0-.99,10.5-21.54,27.43-35.93,50.2-42.59,23.52-6.88,46.97-6.26,69.17,5.48,19.31,10.2,30.6,26.8,36.47,47.42,3.08,10.83,3.48,21.94,3.17,33.1-.18,6.62-2.32,8.7-9.16,8.72-15.79.05-31.59.08-47.38-.04-2.76-.02-4.68.76-6.68,2.68-8.64,8.29-22.1,7.76-29.89-.96-7.61-8.51-6.64-21.95,2.13-29.5,8.89-7.65,22.3-6.32,29.63,3.27,1.9,2.49,3.8,3.26,6.74,3.19,6.85-.18,13.72-.18,20.58,0,2.81.07,3.58-.96,3.39-3.58-1.98-28.38-19.16-49.08-50.14-48.66-31.24.43-46.88,20.39-52.53,44.93-4.79,20.78-3.9,41.55,3.24,61.52,9.13,25.54,27.02,37.5,54.14,38.05,12.84.26,24.92-2.64,36.41-8.33,2.96-1.47,5.05-3.31,6.56-6.37,3.68-7.45,11.22-11.04,19.48-9.86,7.36,1.05,13.85,7.31,15.19,14.65,1.51,8.29-1.87,15.89-8.96,19.97-1.23.71-2.61,1.65-3.92,1.65-10.47-.04-18.71,6.48-28.19,9.34-27.56,8.3-54.86,9.34-81.54-3.23-17.09-8.06-29.18-21.24-37.56-38-.42-.83-.94-1.61-1.41-2.42Z"}),t("path",{className:"cls-4",d:"M223.13,351.58c.05,18.33-.39,36.68.24,54.99,1.18,34.41.51,68.82.85,103.23.04,4.2,1.5,8.43.21,12.65-1.7.21-1.95-.97-2.44-1.93-34.25-67.06-69.88-133.39-104.97-200.01-1.34-2.54-2.87-4.97-4.1-7.56-6.41-13.41-14.78-24.57-30.66-27.34,22.97-.26,45.93-.53,68.9-.79.54,27.77,13.34,47.91,38.02,60.45,10.64,5.41,22.2,6.56,33.95,6.3Z"}),t("path",{className:"cls-41",d:"M223.13,351.58c-11.76.26-23.31-.89-33.95-6.3-24.68-12.54-37.48-32.68-38.02-60.45,23.39-.07,46.78-.17,70.18-.2,19.08-.02,38.16-.71,57.25-.13,4,.12,4.95,1.24,4.34,4.9-.42,2.49-.31,5.07-.44,7.61-2.68,9.78-6.03,19.23-12.25,27.48-11.36,15.05-26.09,24.16-44.99,26.23-.73.08-1.41.57-2.12.87Z"}),t("path",{className:"cls-39",d:"M729.44,469.37c8.09,13.52,11.78,28.03,11.85,43.92.07,17.43-1.86,34.18-9.89,49.87-.71,1.39-1.14,3.02-2.7,3.82-4.78-6.81-5.73-14.98-7.62-22.71-3.04-12.45-2.3-25.26-1.97-37.94.33-12.66,4.05-24.6,9.22-36.09.17-.38.73-.58,1.1-.87Z"})]})]})})]}),cp=({size:e,color:r,viewBox:i})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:i,color:r,children:t("path",{d:"M10.25 2.24a5.79 5.79 0 0 0-4 1.63 4.48 4.48 0 1 0 0 8.26 5.76 5.76 0 1 0 4-9.89zm0 10.24A4.49 4.49 0 0 1 5.76 8H4.48a5.74 5.74 0 0 0 .89 3.07 3.29 3.29 0 0 1-.88.13 3.2 3.2 0 0 1 0-6.4A3.2 3.2 0 0 1 7.69 8H9a4.42 4.42 0 0 0-1.63-3.43 4.48 4.48 0 1 1 2.88 7.91z"})});cp.defaultProps={viewBox:"0 0 16 16",color:"#2B3356",size:24};let cm=cp,ch=({width:e="8",viewBox:r="0 0 11 11"})=>t("svg",{width:e,height:e,viewBox:r,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t("path",{d:"M10 1L1 10M10 8.5L10 1L2.5 1",stroke:"#133A6F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),cu=({size:e,viewBox:i})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",style:{enableBackground:`new ${i}`},viewBox:i,height:e,children:[t("path",{d:"M269.9 197.9 220.3 229l-105.8 41.5h-14.1L188 55l14.5 11.1 66.6 99.3z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#ff3600"}}),t("path",{d:"m188 55-2.8-12.6L110 11.3 78.9 37.2 10.7 216.4l5.2 19.3 20 15.5 37 14.1 27.5 5.2z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#0063ff"}}),t("path",{d:"M114.7 3.6c-5.3-.2-10.5.8-15.4 2.7-4.9 1.9-9.4 4.8-13.1 8.5-3.7 3.7-6.7 8.1-8.7 13L6.4 203.9c-3.7 9.1-3.7 19.4-.1 28.5C10 241.6 17 249 26 253.1l44.2 20.4c8.6 4 18 6.1 27.5 6.3s18.9-1.6 27.7-5.2L256 220.8c2.9-1.2 5.6-2.7 8.1-4.6 1.9-1.4 3.8-3 5.4-4.8 3.8-4.1 6.7-8.9 8.4-14.1 1.7-5.3 2.3-10.8 1.7-16.3-.6-5.5-2.4-10.8-5.3-15.5L208.1 56.1c-7-11.6-17.4-20.8-29.7-26.5L129.9 7.2c-4.8-2.2-9.9-3.4-15.2-3.6zM106 23.4c2.6-1 5.4-1.5 8.1-1.4 2.8.1 5.5.7 8 1.9l48.4 22.4c2.9 1.3 5.6 2.9 8.2 4.7l-85 210.1c-5.5-.6-10.8-2.1-15.8-4.4l-44.2-20.4c-4.7-2.2-8.4-6.1-10.3-10.8-1.9-4.7-1.9-10 0-14.8l71.2-176c1-2.5 2.6-4.8 4.5-6.8 2-1.9 4.3-3.5 6.9-4.5zm8.5 235.6 78.1-193 66 108.9c1.1 1.7 1.8 3.6 2.3 5.6.2.8.3 1.6.4 2.5.3 2.9 0 5.7-.9 8.5-.9 2.7-2.4 5.2-4.4 7.4a20.5 20.5 0 0 1-5 3.9c-.7.4-1.4.7-2.1 1l-130.6 53.9c-1.2.5-2.5.9-3.8 1.3z",style:{fillRule:"evenodd",clipRule:"evenodd",fill:"#010005"}})]});cu.defaultProps={viewBox:"0 0 283.5 283.5",size:24};let cx=cu,cf=e=>r("svg",{xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",id:"Layer_1",x:0,y:0,width:e.size,height:e.size,viewBox:"0 0 393 393",...e,children:[t("style",{children:".st1{fill:#fff}"}),t("path",{d:"M331.4 393H61.6C27.6 393 0 365.5 0 331.4V61.6C0 27.6 27.6 0 61.6 0h269.9c34 0 61.6 27.6 61.6 61.6v269.9c-.1 34-27.6 61.5-61.7 61.5z",style:{fill:e.color}}),t("path",{d:"m131.8 204.8 43.4-43.4c5.7-5.7 5.7-15 0-20.7l-13-13c-5.7-5.7-15-5.7-20.7 0l-34.8 34.8-34.8-34.8c-5.7-5.7-15-5.7-20.7 0l-13 13c-5.7 5.7-5.7 15 0 20.7l43.4 43.4c.5.7 1 1.4 1.6 2l13 13c2.9 2.9 6.7 4.3 10.5 4.3s7.6-1.4 10.5-4.3l13-13c.6-.6 1.2-1.3 1.6-2M258.5 146.7l-13-13c-5.7-5.7-15-5.7-20.7 0L127 231.5c-5.7 5.7-5.7 15 0 20.7l13 13c5.7 5.7 15 5.7 20.7 0l97.8-97.8c5.7-5.7 5.7-14.9 0-20.7M354.9 231.6l-43.4-43.4c-.5-.7-1-1.4-1.6-2l-13-13c-2.9-2.9-6.7-4.3-10.5-4.3s-7.6 1.4-10.5 4.3l-13 13c-.6.6-1.2 1.3-1.6 2l-43.4 43.4c-5.7 5.7-5.7 15 0 20.7l13 13c5.7 5.7 15 5.7 20.7 0l34.8-34.8 34.8 34.8c5.7 5.7 15 5.7 20.7 0l13-13c5.7-5.7 5.7-15 0-20.7",className:"st1"})]});cf.defaultProps={color:"#72ba00",size:32};let cg=cf,cC=({size:e,color:i,viewBox:a})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:a,color:i,children:[t("path",{d:"M51.2762 0H46.1914V22.4778H51.2762V0Z",fill:"#1A1A1A"}),t("path",{d:"M60.8644 16.775V22.5842L46.2188 14.151V8.34351L60.8644 16.775Z",fill:"#1A1A1A"}),t("path",{d:"M46.1914 13.9701V19.9918L60.9556 11.5587V5.53857L46.1914 13.9701Z",fill:"#C505F2"}),t("path",{d:"M20.2774 4.8313L17.6222 14.417L14.9914 4.91932L15.0157 4.8313H14.9654H10.163H10.1143L10.1387 4.91932L7.50785 14.417L4.85268 4.8313H0L2.22996 12.9489L2.25268 12.8725L4.88838 22.4781H5.34768H5.36716H9.88063H9.90011H10.1257L12.5764 13.6364L15.0027 22.4781H15.462H15.4799H19.995H20.0145H20.24L25.1284 4.8313H20.2774Z",fill:"#1A1A1A"}),t("path",{d:"M31.1741 16.9577C32.0261 17.8611 33.0665 18.3129 34.36 18.3129C35.6535 18.3129 36.6938 17.8611 37.5442 16.9245C38.3963 15.9895 38.8377 14.8918 38.8377 13.6014C38.8377 12.311 38.3963 11.2133 37.5442 10.3098C36.6938 9.40641 35.6518 8.95469 34.36 8.95469C33.0665 8.95469 32.0261 9.40641 31.1741 10.3098C30.3545 11.2133 29.9439 12.311 29.9439 13.6014C29.9422 14.925 30.3529 16.0227 31.1741 16.9577ZM38.8377 4.84275H43.5054V22.4763H38.8377V20.6678C37.356 22.1857 35.5885 22.9263 33.5079 22.9263C31.0475 22.9263 28.9977 22.0229 27.3893 20.2476C25.781 18.4407 24.9922 16.2137 24.9922 13.535C24.9922 10.8878 25.8118 8.69396 27.4218 6.95187C29.0301 5.20977 31.0799 4.33789 33.5079 4.33789C35.5902 4.33789 37.356 5.11345 38.8377 6.66124V4.84275Z",fill:"#1A1A1A"}),t("path",{d:"M67.0985 11.763H75.2361C74.7622 9.73024 73.3112 8.47141 71.2614 8.47141C69.2441 8.47141 67.6357 9.69703 67.0985 11.763ZM79.8404 15.3767H67.131C67.7298 17.6037 69.3074 18.7015 71.8295 18.7015C73.7851 18.7015 75.5818 18.1219 77.2226 16.9909L79.1782 20.4435C77.0651 22.0893 74.543 22.8964 71.6103 22.8964C68.551 22.8964 66.2172 21.993 64.5764 20.2177C62.968 18.4424 62.1484 16.2486 62.1484 13.6346C62.1484 10.9558 62.9989 8.76204 64.6722 7.01828C66.3438 5.24297 68.5511 4.37109 71.263 4.37109C73.8176 4.37109 75.8999 5.1782 77.5391 6.75921C79.1783 8.34022 79.9995 10.5025 79.9995 13.246C79.9978 13.8604 79.9362 14.5712 79.8404 15.3767Z",fill:"#1A1A1A"})]});cC.defaultProps={viewBox:"0 0 80 23",color:"#C505F2",size:50};let cb=cC,cy=a.div`
|
|
1441
1441
|
padding: 20px 8px;
|
|
1442
1442
|
display: flex;
|
|
1443
1443
|
align-items: center;
|
|
@@ -1445,13 +1445,13 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1445
1445
|
background-color: rgba(96, 115, 137, 0.05);
|
|
1446
1446
|
border: 1px dashed #ccc;
|
|
1447
1447
|
border-radius: 8px;
|
|
1448
|
-
`,
|
|
1448
|
+
`,cv=a(cy)`
|
|
1449
1449
|
flex-direction: column;
|
|
1450
1450
|
gap: 10px;
|
|
1451
|
-
`,
|
|
1451
|
+
`,cw=a(tM)`
|
|
1452
1452
|
width: 30px;
|
|
1453
1453
|
height: 30px;
|
|
1454
|
-
`,
|
|
1454
|
+
`,cM=a.div`
|
|
1455
1455
|
display: flex;
|
|
1456
1456
|
max-width: 265px;
|
|
1457
1457
|
justify-content: space-between;
|
|
@@ -1459,30 +1459,30 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1459
1459
|
font-size: 14px;
|
|
1460
1460
|
font-weight: 600;
|
|
1461
1461
|
color: ${e=>e.theme.primaryDarkerColor};
|
|
1462
|
-
`,
|
|
1462
|
+
`,cE=a.p`
|
|
1463
1463
|
margin: 0;
|
|
1464
1464
|
white-space: nowrap;
|
|
1465
1465
|
overflow: hidden;
|
|
1466
1466
|
text-overflow: ellipsis;
|
|
1467
|
-
`,
|
|
1467
|
+
`,cA=a(lE)`
|
|
1468
1468
|
&& {
|
|
1469
1469
|
cursor: pointer;
|
|
1470
1470
|
color: ${e=>e.theme.primaryLighterColor};
|
|
1471
1471
|
}
|
|
1472
|
-
`,
|
|
1472
|
+
`,cI=["audio/mp3","audio/ogg","audio/wav","video/mp4","image/*","application/pdf","text/plain","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","text/csv","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],ck=({file:e,files:i=[],multiple:a=!0,onRemoveFile:o,onChange:n,isImagePreview:l=!1,allowRemoval:s=!0,isLoading:d,dataComplete:c,shouldUseOriginalName:p,allowedTypes:m=cI,...h})=>{let{t:u}=eX(),[x,f]=eS(()=>e?.url?e?.url.split("/smart/")[1]:e),g=e=>e.map((e,t)=>{let r,i=p?e.name:(r=rG.extension(e.type),`${rj(new Date)}-${t}.${r}`),a={lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,type:e.type};return new File([e],i,a)}),C=ey(({files:e})=>{let t=g(e);return a?n(t):n(t[0])},[a,n,g]),{getRootProps:b,getInputProps:y}=t8({onDropAccepted:e=>C({files:e}),accept:m.reduce((e,t)=>({...e,[t]:[]}),{}),multiple:a,noClick:!1,noKeyboard:!1}),v=h.description??r(ai,{sx:{alignItems:"center",gap:"15px"},children:[t(rW,{color:"secondary",fontSize:"large"}),r(lE,{children:[u("Drag and drop or")," ",t(cA,{as:"span",children:u("choose a file")})," ",u("to upload your data")]})]});return r(cv,{...b(),...h,children:[t("input",{"data-testid":"input-drop",...y(),style:{display:"none"}}),v,c&&t(lE,{sx:{fontSize:"12px",padding:"15px"},children:u("File uploaded successfully. Click the go forward button")}),d&&t(lE,{sx:{fontSize:"12px",padding:"15px"},children:u("We are analyzing your file, this may take a while...")}),(({file:e,files:i,multiple:a,onRemoveFile:o,allowRemoval:n})=>{if(a&&i.length)return i.map((e,i)=>r(ai,{sx:{alignItems:"center"},children:[t(lE,{children:e.name}),o&&t(cw,{onClick:e=>o(i,e),size:"large",children:t(tv,{"data-testid":"close"})})]},i));if(e){if(e instanceof File&&l){let t=new FileReader;t.addEventListener("load",()=>{f(t.result)}),t.readAsDataURL(e)}return r(ai,{sx:{alignItems:"center",flexDirection:"column",img:{width:"auto",height:"auto",maxWidth:"265px"},backgroundColor:"rgba(96, 115, 137, 0.19)",p:l?"10px":"0 10px"},children:[l?t("img",{src:x,alt:"preview"}):null,r(cM,{children:[t(cE,{children:e.name}),o&&!!n&&t(cw,{onClick:e=>o(void 0,e),size:"large",children:t(tv,{"data-testid":"close"})})]})]})}return null})({file:e,files:i,multiple:a,onRemoveFile:(e,t)=>{t.stopPropagation(),o(e)},allowRemoval:s})]})},cS=a(r0)`
|
|
1473
1473
|
padding: 6px 6px 6px 0px;
|
|
1474
1474
|
margin: 0;
|
|
1475
|
-
`,
|
|
1475
|
+
`,cT=eC(({indeterminate:e,...r},i)=>{let a=ek(),o=i||a;return ew(()=>{o.current.indeterminate=e},[o,e]),t(cS,{ref:o,color:"primary",...r})}),cD="error",cR="processing",cL=a(r3)`
|
|
1476
1476
|
color: #3fbe33;
|
|
1477
|
-
`,
|
|
1477
|
+
`,c_=a(r5)`
|
|
1478
1478
|
color: #f22728;
|
|
1479
|
-
`,
|
|
1479
|
+
`,cP=a(r5)`
|
|
1480
1480
|
color: #f2ab27;
|
|
1481
|
-
`,
|
|
1481
|
+
`,cN=a(r4)`
|
|
1482
1482
|
color: ${e=>e.theme.primaryLighterColor};
|
|
1483
|
-
`,
|
|
1483
|
+
`,cz=a(r6)`
|
|
1484
1484
|
color: ${e=>e.theme.primaryLighterColor};
|
|
1485
|
-
`,
|
|
1485
|
+
`,cO=({row:e})=>{let{t:r}=eX(),i=e?.original?.importStatus,{title:a,...o}=e?.getToggleRowExpandedProps(),n=r(i?.value?.status!==cR?"See details":"Processing data");return t(j,{alignItems:"center",justifyContent:"center",pr:"9px",children:t(j,{py:"6px",justifyContent:"center",pr:"9px",children:i?.value&&t(tU,{title:n,children:(()=>{switch(i?.value?.status){case"success":return t(cL,{...o});case cD:return t(c_,{...o});case cR:return t(cz,{...o});case"warning":return t(cP,{...o});default:return t(cN,{...o})}})()})})})},cH=a(({$isGrouped:e,...r})=>t(r7,{...r}))`
|
|
1486
1486
|
border: 1px solid rgba(224, 224, 224, 1);
|
|
1487
1487
|
${e=>e.$isGrouped&&"background: #fafafa"};
|
|
1488
1488
|
&:hover {
|
|
@@ -1491,17 +1491,17 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1491
1491
|
&& {
|
|
1492
1492
|
padding: 6px 6px 6px 12px;
|
|
1493
1493
|
}
|
|
1494
|
-
`,
|
|
1494
|
+
`,cV=e=>{let{isValid:r=!0,isGrouped:i,...a}=e;return t(cH,{isValid:r,$isGrouped:i,...a})},cF=a.div`
|
|
1495
1495
|
height: ${e=>e.hasData?"calc(100vh - 482px)":"0px"};
|
|
1496
1496
|
min-height: ${e=>e.hasData?"335px":"47px"};
|
|
1497
1497
|
width: 100%;
|
|
1498
1498
|
overflow-y: auto;
|
|
1499
1499
|
overflow-x: hidden;
|
|
1500
|
-
`,
|
|
1500
|
+
`,c$=a.div`
|
|
1501
1501
|
height: ${e=>e.height};
|
|
1502
1502
|
width: 100%;
|
|
1503
1503
|
position: relative;
|
|
1504
|
-
`,
|
|
1504
|
+
`,cB=a.div`
|
|
1505
1505
|
position: absolute;
|
|
1506
1506
|
top: 0;
|
|
1507
1507
|
left: 0;
|
|
@@ -1510,12 +1510,12 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1510
1510
|
transform: ${e=>e.transform};
|
|
1511
1511
|
background-color: #fff;
|
|
1512
1512
|
z-index: ${e=>e.zIndex};
|
|
1513
|
-
`,
|
|
1513
|
+
`,cW=a(cV)`
|
|
1514
1514
|
min-width: ${e=>e.minWidth?e.minWidth:"inherit"};
|
|
1515
|
-
`,
|
|
1515
|
+
`,cj=({parentRef:e,hasData:i,rowVirtualizer:a,rows:o,prepareRow:n,visibleColumns:l,renderRowSubComponent:s,isProcessing:d})=>t(cF,{ref:e,hasData:i,children:t(c$,{height:`${a.totalSize}px`,children:a.virtualItems.map(e=>{let i=o[e.index];return n(i),r(cB,{height:`${o[e.index]}px`,transform:`translateY(${e.start}px)`,zIndex:+!!i.isExpanded,ref:e.measureRef,children:[t(r9,{component:"div",...i.getRowProps(),children:i.cells.map((e,r)=>t(cW,{minWidth:e?.column?.id==="selection"?"inherit":"211px",component:"div",...e.getCellProps(),isValid:e.value?.isValid,children:e.render("Cell",{isProcessing:d})},r))}),i.isExpanded?t(r9,{component:"div",...i.getRowProps(),children:t(cW,{colSpan:l.length,children:s({row:i})})}):null]},e.index)})})}),cG=({headerGroups:e})=>{let{t:i}=eX();return t(r8,{component:"div",style:{display:"block"},children:e.map((e,a)=>t(r9,{component:"div",...e.getHeaderGroupProps(),children:e.headers.map((e,a)=>t(cV,{component:"div",..."selection"===e.id?e.getHeaderProps():e.getHeaderProps(e.getSortByToggleProps({title:i("Order by this column")})),children:r(j,{style:{minWidth:"selection"===e.id?"inherit":"211px"},children:[t(ee,{fontSize:"14px",children:e.render("Header")}),"selection"!==e.id?t(ie,{active:e.isSorted,direction:e.isSortedDesc?"desc":"asc"}):null]})},a))},a))})},cZ=a(rX)`
|
|
1516
1516
|
background: #fff;
|
|
1517
1517
|
min-height: ${e=>e.hasData?"400px":"47px"};
|
|
1518
|
-
`,
|
|
1518
|
+
`,cU=({columns:e,data:i,updateMyData:a,skipPageReset:o,setSelectedData:n,renderRowSubComponent:l,isProcessing:s,firstImport:d,defaultSort:c})=>{let p=ek(),m=r2({size:i.length,parentRef:p,estimateSize:ey(()=>47,[])}),{getTableProps:h,headerGroups:u,prepareRow:x,rows:f,visibleColumns:g,selectedFlatRows:C,toggleAllRowsSelected:b}=r1({columns:e,data:i,autoResetPage:!o,autoResetSelectedRows:!1,updateMyData:a},rJ,rK,rQ,e=>{e.allColumns.push(e=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:e})=>t(j,{justifyContent:"center",children:t(cT,{...e()})}),Cell:({row:e})=>{let r=Object.values(e.original).filter(e=>"boolean"==typeof e?.isValid&&!e?.isValid);return t(j,{alignItems:"center",children:t(cT,{"data-testid":"selectionRow",index:e.index,...e.getToggleRowSelectedProps(),disabled:!!r?.length})})}},{id:"status",Header:"Status",accessor:e=>e.importStatus?.value?.status??e[c]?.value,Cell:({row:e})=>t(cO,{row:e})},...e])});ew(()=>{n&&n(C)},[C]),ew(()=>{d||b(!0)},[s]);let y=!!i?.length;return t(cZ,{hasData:y,children:r(rq,{component:"div",...h(),stickyHeader:!0,children:[t(cG,{headerGroups:u}),t(cj,{parentRef:p,hasData:y,rowVirtualizer:m,rows:f,prepareRow:x,visibleColumns:g,renderRowSubComponent:l,isProcessing:s})]})})},cY=a(N)`
|
|
1519
1519
|
margin: 0 0 0 -5px;
|
|
1520
1520
|
border: 0;
|
|
1521
1521
|
padding: 0px;
|
|
@@ -1530,26 +1530,26 @@ A aceita\xe7\xe3o deste termo ser\xe1 feita quando voc\xea se cadastrar em nossa
|
|
|
1530
1530
|
&::focus {
|
|
1531
1531
|
border: 0;
|
|
1532
1532
|
}
|
|
1533
|
-
`,
|
|
1533
|
+
`,cq=({value:e,onChange:r,onBlur:i,isValid:a,isProcessing:o})=>t(cY,{"data-testid":e,value:e,onChange:r,onBlur:i,isValid:a,useFormik:!1,disabled:o}),cX=e=>{let{value:r,valueFormat:i="DD/MM/YYYY",onChange:a,onBlur:o,isProcessing:n,isValid:l,...s}=e,[d,c]=eS(r?tR(r,i):null);return t(ir,{value:d,onChange:e=>{c(e);let t={target:{value:e.format(i)}};a&&a(t)},renderInput:e=>{let{inputProps:r={},InputProps:i={}}=e;return t(cY,{onBlur:o,isValid:l,useFormik:!1,disabled:n,...r,...i,...e,...s})}})},cK=a(z)`
|
|
1534
1534
|
color: ${e=>e.isValid?e.theme.primaryDarkerColor:"#b71111"};
|
|
1535
|
-
`,cK=e=>{let{value:r,onChange:i,onBlur:o,isProcessing:a,adorn:n="R$",isValid:l,...s}=e,d=ii({value:r,onChange:e=>{i({target:{value:e}})},format:e=>{if(!e||null===e)return"";""===e&&(e="0");let t=(parseInt(e.replace(/[^\d]+/gi,""),10)/100).toFixed(2);return t?new Intl.NumberFormat("pt-br",{style:"currency",currency:"BRL"}).format(t).replace("R$\xa0",""):""}});return t(cU,{"data-testid":r,value:d.value,onChange:d.onChange,onBlur:o,isValid:l,useFormik:!1,disabled:a,startAdornment:t(cX,{position:"start",children:n}),...s})};function cJ(e){let{getInputRef:r,onChange:i,...o}=e;return t(io,{...o,getInputRef:r,onValueChange:e=>{i({target:{value:e.value}})},mask:"_",format:"+55 (##) #####-####",type:"tel"})}let cQ=e=>{let{value:r,onChange:i,onBlur:o,isValid:a,isProcessing:n,...l}=e;return t(cU,{"data-testid":r,value:r,onChange:(...e)=>{i(...e)},onBlur:o,isValid:a,useFormik:!1,disabled:n,inputComponent:cJ,...l})},c1="99.999.999/9999-99",c2=e=>{let{value:r,onChange:i,onBlur:o,isValid:a,isProcessing:n,...l}=e,s=c1.length,d=ii({value:r,onChange:e=>{i({target:{value:e}})},format:e=>{let t;if(!e)return"";let r=(t=e?.slice(0,s))&&t.replace(/[^0-9]/g,""),i=r?.length>11?c1:"999.999.999-999";var o=r,a=i;let n="",l=0;if(Array.from(o).forEach((e,t)=>{a[t+l]&&(!a[t+l].match(/[0-9]/)&&(n+=a[t+l],l++),n+=e)}),0!==o.length){let e=o.length+l;a[e]&&!a[e].match(/[0-9]/)&&(n+=a[e])}return n},mask:(s<=r?.length)??0});return t(cU,{"data-testid":r,value:d.value,onChange:d.onChange,onBlur:o,isValid:a,useFormik:!1,disabled:n,...l})},c0=(e,t={})=>{var r,i;if(null==e||"boolean"==typeof e)return null;if("string"!=typeof e)return e;let{decimalSeparator:o=",",thousandSeparator:a="."}=t;return parseFloat((r=e.toString(),i=a.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),r.replace(RegExp(i,"g"),"")).replace(o,"."))},c3=(e,{prefix:t="R$",...r}={})=>{if(!e)return null;let i=c0(e.replace(t,""),r);return i?Math.round(100*i):i},c4=e=>Number(e).toLocaleString("pt-BR",{minimumFractionDigits:2,style:"currency",currency:"BRL"}),c5=e=>"number"!=typeof e?null:c4(c0(e/100)),c6=/\D/g,c9=/^(\d{14}|\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2})$/,c7="00000000000000",c8=/^(\d{11}|\d{3}\.\d{3}\.\d{3}-\d{2})$/,pe=/\D/g,pt="00000000000",pr=e=>{if(!e)return!1;if(!c8.test(e)){let t;return rO((t=e.replace(pe,""),pt.substring(0,pt.length-t.length)+t))}return rO(e)},pi=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,po=e=>"boolean"==typeof e?e.toString().toLowerCase():"string"==typeof e?e?.trim()?.toLowerCase():e,pa="taxID",pn="active",pl="email",ps="gender",pd="date",pc="phone",pp="phone",pm="currency",ph=["sim","true","ativo","\xe1tivo","si"],pu=["n\xe3o","false","inativo","nao","no"],px=["sim","true","ativo","\xe1tivo","si"],pf=["CPF Colaborador","CPF Gestor","CPF/CNPJ do Cliente"],pg=["Ativo"],pC=["E-mail Colaborador","E-mail Gestor"],pb=["G\xeanero Colaborador"],py=["Nascimento Colaborador","Admiss\xe3o Colaborador","Demiss\xe3o Colaborador","Data de Vencimento"],pv=["Celulares"],pw=["Celular do Cliente"],pM=["Tags"],pE=["Valor","Valor em Reais"],pA=e=>pf.includes(e)?pa:pg.includes(e)?pn:pC.includes(e)?pl:pb.includes(e)?ps:py.includes(e)?pd:pv.includes(e)?pc:pw.includes(e)?pp:pM.includes(e)?"tag":pE.includes(e)?pm:"text",pk=[pa,pl,pm,pd],pI=(e,t,r)=>t.reduce((t,{name:i})=>{let o,a=r?.map(e=>e?.trim().replace(/\.+$/,"")).indexOf(i?.trim()),n=pA(i),l=e[a],s=l&&pk.includes(n)?(o={[pa]:()=>"number"==typeof l?l.toString():l?l?.trim()?.replace(/\D+/g,""):null,[pl]:()=>po(l),[pd]:()=>(e=>{if(tR.isDate(e))return tR(e).format("DD/MM/YYYY");if("boolean"==typeof e)return e.toString().toLowerCase();let t=(e=>{if("boolean"==typeof e)return e.toString().toLowerCase();let t=e.split("/").at(2);return t&&4===t.length?"DD/MM/YYYY":"DD/MM/YY"})(e);return tR(e,t).format("DD/MM/YYYY")})(l),[pm]:()=>"number"==typeof l?c5(c3(l.toString(),{decimalSeparator:".",thousandSeparator:","})):l?c5(c3(l,{decimalSeparator:".",thousandSeparator:","})):null},n&&o[n]?o[n]()??l:l):l;return{...t,[i]:{value:s,isValid:!0,columnType:n}}},{}),pS=({type:e,value:t,requiredMessage:r,customColumnValidation:i,columnName:o=""})=>{if(!t)return({"N\xe3o obrigat\xf3rio":!0,Obrigatório:!1})[r];let a={[pa]:()=>pr(t)||(e=>{if(!c9.test(e)){let t,r;return t=e.replace(c6,""),r=c7.substring(0,c7.length-t.length)+t,c9.test(r)}return c9.test(e)})(t),[pn]:()=>{let e;return e=po(t),!!(ph.includes(e)||pu.includes(e))},[ps]:()=>{let e;return e=po(t),pR.MALE.includes(e)||pR.FEMALE.includes(e)||pR.OTHER.includes(e)},[pl]:()=>pi.test(t),[pd]:()=>dR(t)},n=i?.[o];return!!(!n||n(t))&&(!t||!a[e]||(a[e]()??!0))},pT=({value:r,row:{index:i},column:{id:o,columnType:a,customColumnValidation:n,requiredMessage:l},updateMyData:s,isProcessing:d})=>{let[c,p]=eS({value:r?.value,isValid:r?.isValid}),m=e=>{if(p({...c,value:e?.target?.value}),a===pd){let t={...r,...c,value:e?.target?.value,isValid:pS({type:a,value:e?.target?.value,columnName:o,customColumnValidation:n,requiredMessage:l})};s(i,o,t)}},h=()=>{let e={...r,...c,isValid:pS({type:a,value:c.value,columnName:o,customColumnValidation:n,requiredMessage:l})};s(i,o,e)};return ew(()=>{p({value:r?.value,isValid:r?.isValid})},[r]),t(e,{children:(()=>{let e,r={[pn]:cY,[ps]:cY,[pd]:cq,[pm]:cK,[pa]:c2,[pp]:cQ}[a]||cY;return r?t(r,{...(e=c.value,{value:e,onChange:m,onBlur:h,isValid:c.isValid,isProcessing:d}),inputProps:{"data-testid":`${a}-${i}-${o}`.replaceAll(" ","").toLocaleLowerCase()}}):null})()})},pD={ADD:"add",REMOVE:"remove",UPDATE:"update"},pR={MALE:["masculino","male"],FEMALE:["feminino","female","femenino"],OTHER:["outro","other","otro"]},pL=e=>Object.entries(e).reduce((e,[,t])=>{if(t.field&&t.value){var r,i;let o,a=(r=t.value,i=t.columnType,o={[pn]:()=>px.includes(po(r)),[ps]:()=>{let e;return e=po(r),pR.MALE.includes(e)?"male":pR.FEMALE.includes(e)?"female":pR.OTHER.includes(e)?"other":r},[pa]:()=>({type:"BR:CPF",taxID:r}),[pd]:()=>{let e;return(e=dR(r)?tR(r,dD).utc().toISOString():null)||null},[pc]:()=>r?r.toString().split(";").map(e=>"+55"===e.substring(0,3)?e.slice(1):"55"===e.substring(0,2)?e:`55${e}`):null,[pp]:()=>(e=>{if(!e)return null;let t=e.toString();return"+55"===t.substring(0,3)?t.slice(1):"55"===t.substring(0,2)?t:`55${t}`})(r),[pl]:()=>po(r),tag:()=>r?r.toString().split(";").map(e=>e.trim().toLowerCase()):null},i&&o[i]?o[i]()??r:r);return{...e,[t.field]:a}}return e},{}),p_={Obrigatório:!0,"N\xe3o obrigat\xf3rio":!1},pP=({data:e,setData:i,isProcessing:o,setSelectedData:a,firstImport:n,selectedData:l,dataImportTable:s,getInvalidFieldsMessage:d,getReferences:c,setIsNextEnabled:p,customColumnValidation:m={}})=>{let{t:h}=eX(),u=async(t,r,o)=>{let a={...e[t],[r]:o},n=async()=>{let t=await c(a,h,e),r=Object.values(t).filter(e=>"boolean"==typeof e?.isValid&&!e?.isValid);return r?.length?{...t,importStatus:{...t.importStatus,value:{status:cT,message:[...d(r,h),...t.importStatus?.value?.message.length?t.importStatus?.value?.message:[]]}}}:t},l=await n();i(e=>e.map((e,r)=>r===t?l:e))},x=ey(({row:e})=>{let i=e.original.importStatus;return r(j,{direction:"column",children:[r(ee,{fontSize:"12px",fontWeight:"600",mr:"5px",children:[h("Status"),":"]}),i.value?.message?.map((e,r)=>t(ee,{fontSize:"12px",mr:"5px",children:`- ${e}`},r))]})},[]),f=eA(()=>s.map(({name:e,requiredMessage:t})=>({Header:e,accessor:e,columnType:pA(e),customColumnValidation:m,requiredMessage:t,Cell:pT})),[]);return r(j,{flexDirection:"column",mt:"20px",children:[t(j,{justifyContent:"flex-end",height:"19px",mb:"20px",children:!!l.length&&r(ee,{fontSize:"14px",fontWeight:"600",children:[l.length," ",h("Row selected",{count:l.length})]})}),t(cZ,{columns:f,data:e,updateMyData:u,setSelectedData:e=>{if(0===e.length){p(!1),a(e);return}p(!0),a(e)},renderRowSubComponent:x,setData:i,isProcessing:o,firstImport:n,dataImportTable:s})]})},pN=({isLoading:e,setIsLoading:r,setSheet:i,setData:o,clearData:a,sheet:n,dataComplete:l,setShowReport:s,setFirstData:d,setFirstImport:c,dataImportTable:p})=>{let{t:m}=eX(),{enqueueSnackbar:h}=ro();return t(ck,{file:n,onChange:e=>{o([]),s(!1),r(!0),i(e),c(!1);let t=new FileReader,a=!!t.readAsBinaryString;t.onload=async e=>{let t=ia(e.target.result,{type:a?"binary":"array",cellDates:!0}),o=t.SheetNames[0],n=t.Sheets[o],[l,...s]=il.sheet_to_json(n,{header:1,raw:!0});if(!(({header:e,defaultHeader:t})=>e.length!==t.length?!(t.filter(t=>!e.includes(t.name)).filter(e=>p_[e?.requiredMessage]??!1).length>0):t.every(t=>{let r=p_[t?.requiredMessage]??!1,i=e.includes(t?.name);return!i&&!r||i}))({header:l,defaultHeader:p}))return r(!1),i(null),h(m("Error: excel out of the template. Do not remove columns or edit titles."),{variant:"error"}),null;d((({excelData:e,dataImportTable:t,header:r,t:i})=>{let o=[];for(let[a,n]of e.entries()){if(0===n.length)continue;let e=pI(n,t,r),l={field:"rowId",value:it()},s={field:"index",value:a},d={field:"importStatus",value:{status:cD,message:[i("We are processing your data, after that you will be able to edit and import")]}};o=[...o,{...e,rowId:l,importStatus:d,index:s}]}return o})({excelData:s,dataImportTable:p,header:l,t:m})),r(!1)},a?t.readAsBinaryString(e):t.readAsArrayBuffer(e)},onRemoveFile:e=>a(e),allowRemoval:!!n,multiple:!1,isLoading:e,dataComplete:l,shouldUseOriginalName:!0})},pz=({setData:e,latestData:i,setIsProcessing:o,isProcessing:n,data:l,updateRows:s})=>{let d=l[0]?.importStatus?.value?.status!==cD,[c,p]=eS(d?l?.length:0),{t:m}=eX(),h=ev(a),u=async()=>{o(!0);let t=0;do{let r=l.slice(t,t+50);await s(r,i),t>1&&t%50==0&&(e(i.current),p(t)),t+=50}while(t<=l.length);e(i.current),o(!1),p(i.current.length)};return ew(()=>{d||u()},[]),t(oo,{mt:"25px",children:r(j,{padding:"30px",alignItems:"center",flexDirection:"column",children:[t(ee,{mb:"15px",fontSize:"14px",children:m(n?"Analyzing data...":"Data analysis completed. Click the go forward button")}),r(j,{children:[t(ee,{fontSize:"20px",fontWeight:"600",color:h.primaryLighterColor,children:c}),r(ee,{fontSize:"20px",fontWeight:"600",children:["/",l.length]})]}),n&&t(ee,{fontSize:"10px",mt:"15px",children:m("Please, do not close this window")})]})})},pO=o(r3)`
|
|
1535
|
+
`,cQ=e=>{let{value:r,onChange:i,onBlur:a,isProcessing:o,adorn:n="R$",isValid:l,...s}=e,d=ii({value:r,onChange:e=>{i({target:{value:e}})},format:e=>{if(!e||null===e)return"";""===e&&(e="0");let t=(parseInt(e.replace(/[^\d]+/gi,""),10)/100).toFixed(2);return t?new Intl.NumberFormat("pt-br",{style:"currency",currency:"BRL"}).format(t).replace("R$\xa0",""):""}});return t(cY,{"data-testid":r,value:d.value,onChange:d.onChange,onBlur:a,isValid:l,useFormik:!1,disabled:o,startAdornment:t(cK,{position:"start",children:n}),...s})};function cJ(e){let{getInputRef:r,onChange:i,...a}=e;return t(ia,{...a,getInputRef:r,onValueChange:e=>{i({target:{value:e.value}})},mask:"_",format:"+55 (##) #####-####",type:"tel"})}let c1=e=>{let{value:r,onChange:i,onBlur:a,isValid:o,isProcessing:n,...l}=e;return t(cY,{"data-testid":r,value:r,onChange:(...e)=>{i(...e)},onBlur:a,isValid:o,useFormik:!1,disabled:n,inputComponent:cJ,...l})},c2="99.999.999/9999-99",c0=e=>{let{value:r,onChange:i,onBlur:a,isValid:o,isProcessing:n,...l}=e,s=c2.length,d=ii({value:r,onChange:e=>{i({target:{value:e}})},format:e=>{let t;if(!e)return"";let r=(t=e?.slice(0,s))&&t.replace(/[^0-9]/g,""),i=r?.length>11?c2:"999.999.999-999";var a=r,o=i;let n="",l=0;if(Array.from(a).forEach((e,t)=>{o[t+l]&&(!o[t+l].match(/[0-9]/)&&(n+=o[t+l],l++),n+=e)}),0!==a.length){let e=a.length+l;o[e]&&!o[e].match(/[0-9]/)&&(n+=o[e])}return n},mask:(s<=r?.length)??0});return t(cY,{"data-testid":r,value:d.value,onChange:d.onChange,onBlur:a,isValid:o,useFormik:!1,disabled:n,...l})},c3=(e,t={})=>{var r,i;if(null==e||"boolean"==typeof e)return null;if("string"!=typeof e)return e;let{decimalSeparator:a=",",thousandSeparator:o="."}=t;return parseFloat((r=e.toString(),i=o.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),r.replace(RegExp(i,"g"),"")).replace(a,"."))},c4=(e,{prefix:t="R$",...r}={})=>{if(!e)return null;let i=c3(e.replace(t,""),r);return i?Math.round(100*i):i},c5=e=>Number(e).toLocaleString("pt-BR",{minimumFractionDigits:2,style:"currency",currency:"BRL"}),c6=e=>"number"!=typeof e?null:c5(c3(e/100)),c9=/\D/g,c7=/^(\d{14}|\d{2}\.\d{3}\.\d{3}\/\d{4}-\d{2})$/,c8="00000000000000",pe=/^(\d{11}|\d{3}\.\d{3}\.\d{3}-\d{2})$/,pt=/\D/g,pr="00000000000",pi=e=>{if(!e)return!1;if(!pe.test(e)){let t;return rO((t=e.replace(pt,""),pr.substring(0,pr.length-t.length)+t))}return rO(e)},pa=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,po=e=>"boolean"==typeof e?e.toString().toLowerCase():"string"==typeof e?e?.trim()?.toLowerCase():e,pn="taxID",pl="active",ps="email",pd="gender",pc="date",pp="phone",pm="phone",ph="currency",pu=["sim","true","ativo","\xe1tivo","si"],px=["n\xe3o","false","inativo","nao","no"],pf=["sim","true","ativo","\xe1tivo","si"],pg=["CPF Colaborador","CPF Gestor","CPF/CNPJ do Cliente"],pC=["Ativo"],pb=["E-mail Colaborador","E-mail Gestor"],py=["G\xeanero Colaborador"],pv=["Nascimento Colaborador","Admiss\xe3o Colaborador","Demiss\xe3o Colaborador","Data de Vencimento"],pw=["Celulares"],pM=["Celular do Cliente"],pE=["Tags"],pA=["Valor","Valor em Reais"],pI=e=>pg.includes(e)?pn:pC.includes(e)?pl:pb.includes(e)?ps:py.includes(e)?pd:pv.includes(e)?pc:pw.includes(e)?pp:pM.includes(e)?pm:pE.includes(e)?"tag":pA.includes(e)?ph:"text",pk=[pn,ps,ph,pc],pS=(e,t,r)=>t.reduce((t,{name:i})=>{let a,o=r?.map(e=>e?.trim().replace(/\.+$/,"")).indexOf(i?.trim()),n=pI(i),l=e[o],s=l&&pk.includes(n)?(a={[pn]:()=>"number"==typeof l?l.toString():l?l?.trim()?.replace(/\D+/g,""):null,[ps]:()=>po(l),[pc]:()=>(e=>{if(tR.isDate(e))return tR(e).format("DD/MM/YYYY");if("boolean"==typeof e)return e.toString().toLowerCase();let t=(e=>{if("boolean"==typeof e)return e.toString().toLowerCase();let t=e.split("/").at(2);return t&&4===t.length?"DD/MM/YYYY":"DD/MM/YY"})(e);return tR(e,t).format("DD/MM/YYYY")})(l),[ph]:()=>"number"==typeof l?c6(c4(l.toString(),{decimalSeparator:".",thousandSeparator:","})):l?c6(c4(l,{decimalSeparator:".",thousandSeparator:","})):null},n&&a[n]?a[n]()??l:l):l;return{...t,[i]:{value:s,isValid:!0,columnType:n}}},{}),pT=({type:e,value:t,requiredMessage:r,customColumnValidation:i,columnName:a=""})=>{if(!t)return({"N\xe3o obrigat\xf3rio":!0,Obrigatório:!1})[r];let o={[pn]:()=>pi(t)||(e=>{if(!c7.test(e)){let t,r;return t=e.replace(c9,""),r=c8.substring(0,c8.length-t.length)+t,c7.test(r)}return c7.test(e)})(t),[pl]:()=>{let e;return e=po(t),!!(pu.includes(e)||px.includes(e))},[pd]:()=>{let e;return e=po(t),pL.MALE.includes(e)||pL.FEMALE.includes(e)||pL.OTHER.includes(e)},[ps]:()=>pa.test(t),[pc]:()=>dL(t)},n=i?.[a];return!!(!n||n(t))&&(!t||!o[e]||(o[e]()??!0))},pD=({value:r,row:{index:i},column:{id:a,columnType:o,customColumnValidation:n,requiredMessage:l},updateMyData:s,isProcessing:d})=>{let[c,p]=eS({value:r?.value,isValid:r?.isValid}),m=e=>{if(p({...c,value:e?.target?.value}),o===pc){let t={...r,...c,value:e?.target?.value,isValid:pT({type:o,value:e?.target?.value,columnName:a,customColumnValidation:n,requiredMessage:l})};s(i,a,t)}},h=()=>{let e={...r,...c,isValid:pT({type:o,value:c.value,columnName:a,customColumnValidation:n,requiredMessage:l})};s(i,a,e)};return ew(()=>{p({value:r?.value,isValid:r?.isValid})},[r]),t(e,{children:(()=>{let e,r={[pl]:cq,[pd]:cq,[pc]:cX,[ph]:cQ,[pn]:c0,[pm]:c1}[o]||cq;return r?t(r,{...(e=c.value,{value:e,onChange:m,onBlur:h,isValid:c.isValid,isProcessing:d}),inputProps:{"data-testid":`${o}-${i}-${a}`.replaceAll(" ","").toLocaleLowerCase()}}):null})()})},pR={ADD:"add",REMOVE:"remove",UPDATE:"update"},pL={MALE:["masculino","male"],FEMALE:["feminino","female","femenino"],OTHER:["outro","other","otro"]},p_=e=>Object.entries(e).reduce((e,[,t])=>{if(t.field&&t.value){var r,i;let a,o=(r=t.value,i=t.columnType,a={[pl]:()=>pf.includes(po(r)),[pd]:()=>{let e;return e=po(r),pL.MALE.includes(e)?"male":pL.FEMALE.includes(e)?"female":pL.OTHER.includes(e)?"other":r},[pn]:()=>({type:"BR:CPF",taxID:r}),[pc]:()=>{let e;return(e=dL(r)?tR(r,dR).utc().toISOString():null)||null},[pp]:()=>r?r.toString().split(";").map(e=>"+55"===e.substring(0,3)?e.slice(1):"55"===e.substring(0,2)?e:`55${e}`):null,[pm]:()=>(e=>{if(!e)return null;let t=e.toString();return"+55"===t.substring(0,3)?t.slice(1):"55"===t.substring(0,2)?t:`55${t}`})(r),[ps]:()=>po(r),tag:()=>r?r.toString().split(";").map(e=>e.trim().toLowerCase()):null},i&&a[i]?a[i]()??r:r);return{...e,[t.field]:o}}return e},{}),pP={Obrigatório:!0,"N\xe3o obrigat\xf3rio":!1},pN=({data:e,setData:i,isProcessing:a,setSelectedData:o,firstImport:n,selectedData:l,dataImportTable:s,getInvalidFieldsMessage:d,getReferences:c,setIsNextEnabled:p,customColumnValidation:m={}})=>{let{t:h}=eX(),u=async(t,r,a)=>{let o={...e[t],[r]:a},n=async()=>{let t=await c(o,h,e),r=Object.values(t).filter(e=>"boolean"==typeof e?.isValid&&!e?.isValid);return r?.length?{...t,importStatus:{...t.importStatus,value:{status:cD,message:[...d(r,h),...t.importStatus?.value?.message.length?t.importStatus?.value?.message:[]]}}}:t},l=await n();i(e=>e.map((e,r)=>r===t?l:e))},x=ey(({row:e})=>{let i=e.original.importStatus;return r(j,{direction:"column",children:[r(ee,{fontSize:"12px",fontWeight:"600",mr:"5px",children:[h("Status"),":"]}),i.value?.message?.map((e,r)=>t(ee,{fontSize:"12px",mr:"5px",children:`- ${e}`},r))]})},[]),f=eA(()=>s.map(({name:e,requiredMessage:t})=>({Header:e,accessor:e,columnType:pI(e),customColumnValidation:m,requiredMessage:t,Cell:pD})),[]);return r(j,{flexDirection:"column",mt:"20px",children:[t(j,{justifyContent:"flex-end",height:"19px",mb:"20px",children:!!l.length&&r(ee,{fontSize:"14px",fontWeight:"600",children:[l.length," ",h("Row selected",{count:l.length})]})}),t(cU,{columns:f,data:e,updateMyData:u,setSelectedData:e=>{if(0===e.length){p(!1),o(e);return}p(!0),o(e)},renderRowSubComponent:x,setData:i,isProcessing:a,firstImport:n,dataImportTable:s})]})},pz=({isLoading:e,setIsLoading:r,setSheet:i,setData:a,clearData:o,sheet:n,dataComplete:l,setShowReport:s,setFirstData:d,setFirstImport:c,dataImportTable:p})=>{let{t:m}=eX(),{enqueueSnackbar:h}=ra();return t(ck,{file:n,onChange:e=>{a([]),s(!1),r(!0),i(e),c(!1);let t=new FileReader,o=!!t.readAsBinaryString;t.onload=async e=>{let t=io(e.target.result,{type:o?"binary":"array",cellDates:!0}),a=t.SheetNames[0],n=t.Sheets[a],[l,...s]=il.sheet_to_json(n,{header:1,raw:!0});if(!(({header:e,defaultHeader:t})=>e.length!==t.length?!(t.filter(t=>!e.includes(t.name)).filter(e=>pP[e?.requiredMessage]??!1).length>0):t.every(t=>{let r=pP[t?.requiredMessage]??!1,i=e.includes(t?.name);return!i&&!r||i}))({header:l,defaultHeader:p}))return r(!1),i(null),h(m("Error: excel out of the template. Do not remove columns or edit titles."),{variant:"error"}),null;d((({excelData:e,dataImportTable:t,header:r,t:i})=>{let a=[];for(let[o,n]of e.entries()){if(0===n.length)continue;let e=pS(n,t,r),l={field:"rowId",value:it()},s={field:"index",value:o},d={field:"importStatus",value:{status:cR,message:[i("We are processing your data, after that you will be able to edit and import")]}};a=[...a,{...e,rowId:l,importStatus:d,index:s}]}return a})({excelData:s,dataImportTable:p,header:l,t:m})),r(!1)},o?t.readAsBinaryString(e):t.readAsArrayBuffer(e)},onRemoveFile:e=>o(e),allowRemoval:!!n,multiple:!1,isLoading:e,dataComplete:l,shouldUseOriginalName:!0})},pO=({setData:e,latestData:i,setIsProcessing:a,isProcessing:n,data:l,updateRows:s})=>{let d=l[0]?.importStatus?.value?.status!==cR,[c,p]=eS(d?l?.length:0),{t:m}=eX(),h=ev(o),u=async()=>{a(!0);let t=0;do{let r=l.slice(t,t+50);await s(r,i),t>1&&t%50==0&&(e(i.current),p(t)),t+=50}while(t<=l.length);e(i.current),a(!1),p(i.current.length)};return ew(()=>{d||u()},[]),t(ao,{mt:"25px",children:r(j,{padding:"30px",alignItems:"center",flexDirection:"column",children:[t(ee,{mb:"15px",fontSize:"14px",children:m(n?"Analyzing data...":"Data analysis completed. Click the go forward button")}),r(j,{children:[t(ee,{fontSize:"20px",fontWeight:"600",color:h.primaryLighterColor,children:c}),r(ee,{fontSize:"20px",fontWeight:"600",children:["/",l.length]})]}),n&&t(ee,{fontSize:"10px",mt:"15px",children:m("Please, do not close this window")})]})})},pH=a(r3)`
|
|
1536
1536
|
color: #3fbe33;
|
|
1537
|
-
`,
|
|
1537
|
+
`,pV=a(r5)`
|
|
1538
1538
|
color: #f22728;
|
|
1539
|
-
`;
|
|
1539
|
+
`;a(r5)`
|
|
1540
1540
|
color: #f2ab27;
|
|
1541
|
-
`,
|
|
1541
|
+
`,a(r4)`
|
|
1542
1542
|
color: ${e=>e.theme.primaryLighterColor};
|
|
1543
|
-
`,
|
|
1543
|
+
`,a(r6)`
|
|
1544
1544
|
color: ${e=>e.theme.primaryLighterColor};
|
|
1545
|
-
`;let
|
|
1545
|
+
`;let pF=({data:e})=>{let{t:i}=eX(),a=e.filter(e=>e.importStatus?.value?.status==="success"),o=e.filter(e=>e.importStatus?.value?.status==="error");return r(j,{children:[r(ee,{mb:"5px",textAlign:"center",fontWeight:"600",fontSize:"14px",children:[i("Import report"),":"]}),r(ai,{sx:{justifyContent:"center"},children:[r(ai,{sx:{alignItems:"center"},children:[t(pH,{}),r(ee,{fontSize:"12px",ml:"5px",children:[i("Correct imports"),": ",a.length]})]}),r(ai,{sx:{alignItems:"center",ml:"15px"},children:[t(pV,{}),r(ee,{fontSize:"12px",ml:"5px",children:[i("Imports with errors"),": ",o.length]})]})]})]})},p$=e=>e.filter(e=>e.fields.importStatus?.status!==cD),pB=(e,t)=>{switch(t.type){case pR.ADD:return[...e,{fields:t.fields}];case pR.REMOVE:return e.filter(e=>e.fields?.rowId!==t.fields?.rowId);case pR.UPDATE:return[...e.filter(e=>e.fields?.rowId!==t.fields?.rowId),{fields:t.fields}];default:throw Error()}},pW=({setShowReport:i,setData:a,data:n,selectedData:l,setSelectedData:s,showReport:d,setFirstImport:c,setActiveStep:p,prepareQueue:m=p$,processQueueItem:h,reducer:u=pB})=>{let{t:x}=eX(),[f,g]=eI(u,[]),[C,b]=eS(!1),[y,v]=eS(!1),w=ev(o),M=async()=>{if(0===f.length)return;v(!0),i(!1);let e=n,t=(t,r,i)=>{e=e.map((a,o)=>o===t?{...e[t],[r]:i}:a)};for(let e of m(f)){let{hasError:r,revalidateQueue:i}=await h({item:e,dispatch:g,updateImportStatus:t});if(r&&b(r),!r&&i&&i(f))break}a(e),v(!1),i(!0),s([]),c(!0)};return ew(()=>{l.length>0&&((e,t)=>{for(let r of e.map(e=>({...e?.original,rowIndex:{field:"rowIndex",value:e?.id}}))){let e=p_(r);Object.keys(e).length<=1||t({type:pR.ADD,fields:e})}})(l,g)},[]),ew(()=>{f.length>0&&!y&&M()},[f]),t(ao,{mt:"25px",children:r(j,{sx:{padding:"30px",alignItems:"center",flexDirection:"column"},children:[y&&r(e,{children:[t(ee,{fontSize:"14px",children:x("Importing...")}),t(ee,{as:"span",fontSize:"20px",fontWeight:"600",color:w.primaryLighterColor,children:f.length}),t(ee,{fontSize:"10px",mt:"15px",children:x("Please, do not close this window")})]}),d&&t(pF,{data:n}),!y&&C&&t(i0,{mt:"15px",fontSize:"12px",onClick:()=>p(e=>e-1),children:x("See errors")})]})})},pj=eb(({row:e,style:r})=>t(r9,{component:"div",...e.getRowProps({style:r}),children:e.cells.map(e=>t(cV,{component:"div",...e.getCellProps(),isValid:e.value?.isValid,children:e.render("Cell")}))}),(e,t)=>{let{row:r,isSelected:i}=e,{row:a,isSelected:o}=t;return ic({...r.values,isSelected:i},{...a.values,isSelected:o})}),pG=a(rq)`
|
|
1546
1546
|
box-sizing: border-box;
|
|
1547
|
-
`,
|
|
1547
|
+
`,pZ=({columns:e,data:i,skipPageReset:a,hasSelection:o=!0,setSelectedData:n})=>{let{t:l}=eX(),{getTableProps:s,headerGroups:d,prepareRow:c,rows:p,state:{selectedRowIds:m},selectedFlatRows:h}=r1({columns:e,data:i,autoResetPage:!a},rJ,rQ,e=>{o&&e.allColumns.push(e=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:e})=>t("div",{children:t(cT,{...e()})}),Cell:({row:e})=>t("div",{children:t(cT,{index:e.index,...e.getToggleRowSelectedProps()})})},...e])});return t(rX,{children:r(pG,{component:"div",...s(),children:[t(r8,{component:"div",children:d.map(e=>t(r9,{component:"div",...e.getHeaderGroupProps(),children:e.headers.map(e=>r(cV,{component:"div",..."selection"===e.id?e.getHeaderProps():e.getHeaderProps(e.getSortByToggleProps({title:l("Order by {{type}}",{type:e?.Header?.toString().toLowerCase()})})),children:[e.render("Header"),"selection"!==e.id?t(ie,{active:e.isSorted,direction:e.isSortedDesc?"desc":"asc",title:l("Order by {{type}}",{type:e?.Header?.toString().toLowerCase()})}):null]}))}))}),t(id,{component:"div",children:p.map(e=>(c(e),t(pj,{...e.getRowProps(),row:e,isSelected:m[e.id]})))})]})})},pU="N\xe3o obrigat\xf3rio",pY="Obrigat\xf3rio",pq=()=>e=>`N\xe3o obrigat\xf3rio se presente: ${e.join(" ou ")}`,pX={CUSTOMER_TAXID:"CPF/CNPJ do Cliente",CUSTOMER_NAME:"Nome do Cliente",CUSTOMER_EMAIL:"Email do Cliente",CUSTOMER_PHONE:"Celular do Cliente",VALUE:"Valor em Reais",COMMENT:"Coment\xe1rio",EXPIRATION_DATE:"Data de Vencimento",ADITIONAL_INFO:"Informa\xe7\xf5es Adicionais"},pK={[pX.CUSTOMER_TAXID]:"CPF/CNPJ do Cliente.",[pX.CUSTOMER_NAME]:"Nome do Cliente",[pX.CUSTOMER_EMAIL]:"Email do Cliente.",[pX.CUSTOMER_PHONE]:"Celular do Cliente",[pX.VALUE]:"Valor em Reais",[pX.COMMENT]:"Coment\xe1rio.",[pX.EXPIRATION_DATE]:"Data de Vencimento. Ex: 16/11/1993",[pX.ADITIONAL_INFO]:"Informa\xe7\xf5es Adicionais. Ex: item1:calca;item2:camisa"},pQ={[pX.CUSTOMER_TAXID]:pU,[pX.CUSTOMER_NAME]:pU,[pX.CUSTOMER_EMAIL]:pU,[pX.CUSTOMER_PHONE]:pU,[pX.VALUE]:pY,[pX.COMMENT]:pU,[pX.EXPIRATION_DATE]:pU,[pX.ADITIONAL_INFO]:pU},pJ=e=>({NAME:e("Company Name"),TRADE_NAME:e("Trade Name"),TAX_ID:e("CNPJ"),EMAIL:e("Email"),PHONE:e("Phone"),WEBSITE:e("Website"),FIRST_NAME:e("First name"),LAST_NAME:e("Last name"),USER_MASTER_TAX_ID:e("User taxID")}),p1=e=>({NAME:e("Name"),TAX_ID:e("CPF/CNPJ"),EMAIL:e("Email"),PHONE:e("Phone")}),p2=e=>({CORRELATION_ID:e("Correlation ID"),VALUE:e("Value"),DESTINATION_PIX_KEY:e("Destination Pix Key"),DESTINATION_PIX_KEY_TYPE:e("Destination Pix Key Type"),COMMENT:e("Comment")}),p0=e=>({VALUE:e("Value"),PSP_ID:e("PSP ID"),PSP_NAME:e("PSP Name"),HOLDER_NAME:e("Holder Name"),CPF_CNPJ:e("CPF ou CNPJ"),BRANCH:e("Ag\xeancia"),ACCOUNT:e("Conta"),ACCOUNT_TYPE:e("Tipo de Conta"),COMMENT:e("Coment\xe1rio")}),p3={EMPLOYEE_ID:"ID/Matr\xedcula Colaborador",CPF:"CPF Colaborador",ACTIVE:"Ativo",NAME:"Nome Colaborador",EMAIL:"E-mail Colaborador",GENDER:"G\xeanero Colaborador",BIRTHDATE:"Nascimento Colaborador",ADMISSION:"Admiss\xe3o Colaborador",DEMISSION:"Demiss\xe3o Colaborador",JOB_TITLE:"Cargo Colaborador",MOBILE_PHONE:"Celulares",CRC_NAME:"\xc1rea",CRC_ID:"ID da \xc1rea",MANAGER_EMPLOYEE_ID:"ID/Matr\xedcula Gestor",MANAGER_CPF:"CPF Gestor",MANAGER_EMAIL:"E-mail Gestor",BUSINESS_DIVISION_ID:"ID da Unidade de Neg\xf3cio",BUSINESS_DIVISION_NAME:"Unidade de Neg\xf3cio",TAGS:"Tags"},p4={[p3.BIRTHDATE]:"d",[p3.ADMISSION]:"d",[p3.DEMISSION]:"d",[p3.MOBILE_PHONE]:"s"},p5={[p3.EMPLOYEE_ID]:"C\xf3digo de identifica\xe7\xe3o do colaborador.",[p3.ACTIVE]:"Se o usu\xe1rio est\xe1 ativo ou n\xe3o. (sim,true,ativo)",[p3.CPF]:"C\xf3digo de identifica\xe7\xe3o do colaborador.",[p3.NAME]:"Nome completo.",[p3.EMAIL]:"C\xf3digo de identifica\xe7\xe3o do colaborador.",[p3.GENDER]:"Masculino, Feminino ou Outro.",[p3.BIRTHDATE]:"Formato: DD/MM/YYYY.",[p3.ADMISSION]:"Formato: DD/MM/YYYY.",[p3.DEMISSION]:"Formato: DD/MM/YYYY.",[p3.JOB_TITLE]:"T\xedtulo do cargo.",[p3.MOBILE_PHONE]:"Celular: 5511912345678, use ; (ponto e v\xedrgula) para separar os celulares",[p3.CRC_NAME]:"Nome da \xe1rea.",[p3.CRC_ID]:"Preencher n\xfameros sem pontos e/ou tra\xe7os.",[p3.MANAGER_EMPLOYEE_ID]:"C\xf3digo de identifica\xe7\xe3o do gestor.",[p3.MANAGER_CPF]:"Preencher n\xfameros sem pontos e/ou tra\xe7os.",[p3.MANAGER_EMAIL]:"E-mail corporativo v\xe1lido.",[p3.BUSINESS_DIVISION_ID]:"Preencher n\xfameros sem pontos e/ou tra\xe7os.",[p3.BUSINESS_DIVISION_NAME]:"Nome da Unidade de Neg\xf3cio",[p3.TAGS]:"Ex: Time de Vendas. Use ; (ponto e v\xedrgula) para separar as tags"},p6={[p3.EMPLOYEE_ID]:pU,[p3.ACTIVE]:pU,[p3.CPF]:pq()([p3.EMAIL]),[p3.NAME]:pY,[p3.EMAIL]:pq()([p3.CPF]),[p3.GENDER]:pU,[p3.BIRTHDATE]:pU,[p3.ADMISSION]:pU,[p3.DEMISSION]:pU,[p3.JOB_TITLE]:pU,[p3.MOBILE_PHONE]:pU,[p3.CRC_NAME]:pU,[p3.CRC_ID]:pU,[p3.MANAGER_EMPLOYEE_ID]:pU,[p3.MANAGER_CPF]:pU,[p3.MANAGER_EMAIL]:pU,[p3.BUSINESS_DIVISION_ID]:pU,[p3.BUSINESS_DIVISION_NAME]:pU,[p3.TAGS]:pU},p9={USERS:"USERS",CHARGE:"CHARGE",PAYMENT:"PAYMENT",PAYMENT_BRANCH_ACCOUNT:"PAYMENT_BRANCH_ACCOUNT",CUSTOMER:"CUSTOMER",COMPANY:"COMPANY"},p7={USER:"USER_IMPORT",USERS:"USER_IMPORT",CHARGE:"CHARGE_IMPORT",PAYMENT:"PAYMENT_IMPORT",PAYMENT_BRANCH_ACCOUNT:"PAYMENT_BRANCH_ACCOUNT_IMPORT",CUSTOMER:"CUSTOMER_IMPORT",COMPANY:"COMPANY_IMPORT"},p8=a.a`
|
|
1548
1548
|
color: ${e=>e.theme.primaryLighterColor};
|
|
1549
|
-
`,p8=({dataImportTable:i,type:o})=>{let{t:a}=eX(),n=[{property:"name",header:{label:a("Field")}},{property:"description",header:{label:a("Description")}},{property:"requiredMessage",header:{label:a("Required")}}],{stream:l,fileName:s}=eA(()=>((e,t)=>{if(!Object.values(p6).includes(t))return null;let{fileName:r,stream:i}=((e,t)=>{var r;let i,o,a=il.book_new(),{columns:n,dataTypes:l}=((e,t=e=>e)=>{switch(e){case p6.USERS:return{columns:p0,comments:p4,requiredFields:p5,dataTypes:p3};case p6.CHARGE:return{columns:pq,comments:pX,requiredFields:pK};case p6.PAYMENT:let r,i;return{columns:p1(t),comments:{[(r=p1(t)).CORRELATION_ID]:t("Unique identifier for tracking the payment"),[r.VALUE]:t("Value"),[r.DESTINATION_PIX_KEY]:t("Destination Pix Key"),[r.COMMENT]:t("Comment")},requiredFields:{[(i=p1(t)).CORRELATION_ID]:pZ,[i.VALUE]:pU,[i.DESTINATION_PIX_KEY]:pU,[i.DESTINATION_PIX_KEY_TYPE]:pZ,[i.COMMENT]:pZ}};case p6.PAYMENT_BRANCH_ACCOUNT:let o,a;return{columns:p2(t),comments:{[(o=p2(t)).VALUE]:t("Value"),[o.PSP_ID]:t("PSP ID"),[o.PSP_NAME]:t("PSP Name"),[o.HOLDER_NAME]:t("Holder Name"),[o.CPF_CNPJ]:t("CPF ou CNPJ"),[o.BRANCH]:t("Ag\xeancia"),[o.ACCOUNT]:t("Conta"),[o.ACCOUNT_TYPE]:t("Tipo de Conta"),[o.COMMENT]:t("Coment\xe1rio")},requiredFields:{[(a=p2(t)).VALUE]:pU,[a.PSP_ID]:pU,[a.PSP_NAME]:pU,[a.HOLDER_NAME]:pU,[a.CPF_CNPJ]:pU,[a.BRANCH]:pU,[a.ACCOUNT]:pU,[a.ACCOUNT_TYPE]:pU,[a.COMMENT]:pZ}};case p6.CUSTOMER:let n;return{columns:pQ(t),comments:pQ(t),requiredFields:{[(n=pQ(t)).NAME]:pU,[n.TAX_ID]:pU,[n.EMAIL]:pZ,[n.PHONE]:pZ}};case p6.COMPANY:let l;return{columns:pJ(t),comments:pJ(t),requiredFields:{[(l=pJ(t)).NAME]:pU,[l.TRADE_NAME]:pZ,[l.TAX_ID]:pU,[l.EMAIL]:pU,[l.PHONE]:pU,[l.WEBSITE]:pZ,[l.FIRST_NAME]:pU,[l.LAST_NAME]:pU,[l.LAST_NAME]:pU,[l.USER_MASTER_TAX_ID]:pU}};default:return{columns:{},comments:{},requiredFields:{}}}})(t,e),s=il.json_to_sheet([],{header:Object.values(n)});(r=s)["!cols"]=[],Object.entries(r).forEach(([e,t])=>{let i,{v:o}=t;o&&r["!cols"]&&r["!cols"].push({width:o.length+2}),l&&o in l&&(r={...r,...(i=o[0],[...Array(1e3).keys()].reduce((e,t)=>{let r=`${i}${2+t}`;return{...e,[r]:"string"==typeof l[o]?{t:l[o],v:" "}:l[o]}},{}))})});let d=p9[t.toLocaleUpperCase()];return a.Sheets[d]=s,a.SheetNames.push(d),{stream:is(a,{type:"buffer",bookType:"xlsx"}),fileName:(i={[p6.USERS]:e("Users"),[p6.CHARGE]:e("Charge"),[p6.PAYMENT]:e("Payment"),[p6.PAYMENT_BRANCH_ACCOUNT]:e("Payment Branch Account"),[p6.CUSTOMER]:e("Customer"),[p6.COMPANY]:e("Company")},o=e("charge_batch_template_time_data"),t===p6.CHARGE?`${o}.xlsx`:`Template_Import_${i[t]}.xlsx`)}})(e,t);return{stream:i,fileName:r}})(a,o),[o]);return r(e,{children:[r(ee,{my:"15px",fontSize:"12px",children:[a("Download here the")," ",t(p7,{href:(()=>{if(!l)return"";let e=new File([l],s);return URL.createObjectURL(e)})(),download:s,children:"excel template"})," ",a("to mount your data")]}),t(pG,{columns:n,rows:i,hideFooter:!0})]})},me=i=>{let[o,a]=eS(null),[n,l]=eS([]),[s,d]=eS(!1),[c,p]=eS(!1),[m,h]=eS(!1),[u,x]=eS(0),[f,g]=eS(new Set),{t:C}=eX(),b=eI(),[y,v]=eS([]),[w,M]=eS(!1),[E,A]=eS(!0),{dataImportTable:k,getColumnType:I,getInvalidFieldsMessage:S,getReferences:T,updateRows:D,prepareQueue:R,processQueueItem:L,reducer:_,labels:P,customColumnValidation:N,type:z}=i,O=((e,t)=>{let{importLabel:r=e("Import")}=t??{};return[e("Select a file to upload"),e("Analyze data"),e("Data review"),r]})(C,P),H=e=>{e.stopPropagation(),a(null),l([]),h(!1),b.current=[]},V=async e=>{l(e),b.current=e},F=0===u||c,$=u===O?.length-1||s||!n?.length||c||!E;return r(e,{children:[t(rY,{activeStep:u,children:O.map((e,r)=>t(rZ,{children:t(rU,{children:e})},r))}),(e=>{switch(e){case 0:return t(pN,{setIsLoading:d,setSheet:a,clearData:H,sheet:o,isLoading:s,dataComplete:!!n.length,setData:l,setShowReport:h,setFirstData:V,setFirstImport:M,dataImportTable:k});case 1:return t(pz,{data:n,setData:l,latestData:b,setIsProcessing:p,isProcessing:c,updateRows:D});case 2:return t(pP,{setData:l,data:n,isProcessing:c,setShowReport:h,showReport:m,setSelectedData:v,firstImport:w,selectedData:y,dataImportTable:k,getColumnType:I,getInvalidFieldsMessage:S,getReferences:T,setIsNextEnabled:A,customColumnValidation:N});case 3:return t(pB,{data:n,setData:l,setShowReport:h,selectedData:y,setSelectedData:v,showReport:m,setFirstImport:M,setActiveStep:x,prepareQueue:R,processQueueItem:L,reducer:_});default:return""}})(u),o&&n.length<1?t(j,{justifyContent:"flex-end",children:t(ee,{color:"error",children:C("You are trying to import a empty sheet")})}):null,t(j,{justifyContent:"flex-end",alignItems:"center",my:"15px",children:r(am,{children:[t(i2,{variant:"text",disabled:F,onClick:()=>{x(e=>e-1)},children:C("Previous")}),t(i2,{variant:"contained",color:"primary",onClick:()=>{let e=f;f.has(u)&&(e=new Set(e.values())).delete(u),x(e=>e+1),g(e)},disabled:$,children:C("Go forward")})]})}),0===u&&t(p8,{dataImportTable:k,type:z})]})},mt=({children:e,to:r,...i})=>t(rH,{component:du,to:r,...i,children:e}),mr=({value:e,onError:r,debounceDelay:i=1e3})=>{let{t:o}=eX(),{enqueueSnackbar:a}=ro();return t(dC,{value:e,debounceDelay:i,onError:async()=>{a(o("Error copying QR Code"),{variant:"error"}),r&&r(!0)},"data-testid":"btn-copy-qrcode-payment-link",children:o("Copy QR Code")})},mi=({qrCodeShow:e,children:r,...i})=>{let o=er();return t(j,{sx:{display:e?"flex":"none",alignItems:"center",justifyContent:"center",border:e?"1px solid":"none",borderColor:o.palette.primary.main,borderRadius:o.shape.borderRadius,boxShadow:e?`0px 0px 0px 3px ${et(o.palette.primary.main,.7)}`:"none","& > svg":{display:e?"block":"none",height:"auto",width:"100%",borderRadius:o.shape.borderRadius},"@media (min-width: 600px)":{display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid",borderColor:o.palette.primary.main,borderRadius:o.shape.borderRadius,boxShadow:`0px 0px 0px 3px ${et(o.palette.primary.main,.7)}`,"& > svg":{display:"block",height:"auto",width:"100%",borderRadius:o.shape.borderRadius}}},"data-testid":i["data-testid"],children:r})},mo=({amount:e=1,onContinue:i})=>{let{t:o}=eX(),a=eZ(),n=a.palette.success.main,l=c5(e)??c5(1);return r(j,{alignItems:"center",sx:{textAlign:"center"},children:[t(g,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:"50%"},children:t(im,{size:30,color:n})}),t(ee,{variant:"h6",fontWeight:a.typography.fontWeightBold,color:"text.primary",sx:{mb:2},children:o("Two-factor verification confirmed")}),t(j,{spacing:1.2,sx:{maxWidth:560,lineHeight:1.7},children:t(ee,{variant:"body1",color:"text.secondary",sx:{lineHeight:1.7},children:o("We received the payment of {{amount}} and confirmed the payer tax ID matches your account. You can continue securely.",{amount:l})})}),t(C,{variant:"contained",color:"primary",onClick:i,sx:{mt:2,px:4},children:o("Continue")})]})},ma=({amount:e=1})=>{let{t:i}=eX(),o=eZ(),a=o.palette.error.main,n=c5(e);return r(j,{alignItems:"center",sx:{textAlign:"center"},children:[t(g,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:"50%"},children:t(ip,{size:30,color:a})}),t(ee,{variant:"h6",fontWeight:o.typography.fontWeightBold,color:"text.primary",sx:{marginBottom:2},children:i("Unable to confirm your identity")}),r(j,{spacing:1.2,sx:{maxWidth:560,lineHeight:1.7},children:[t(ee,{variant:"body1",color:"text.secondary",sx:{lineHeight:1.7},children:i("We received the payment of {{amount}}, but the payer's taxpayer ID does not match the CPF on your account. For security, we cannot grant access.",{amount:n})}),t(ee,{variant:"body1",color:"text.secondary",sx:{lineHeight:1.7},children:i("Try making the payment from a bank account in your name or choose another verification method.")})]})]})},mn=({brCode:e,onGetResult:i,onContinue:o})=>{var a;let n,{t:l}=eX(),s=eZ(),[d,c]=eS(),p=async()=>{if(!i)return;let e=await i();c(e?.result)};return a=!d||"UNVERIFIED"===d,n=eI(),ew(()=>{n.current=p},[p]),ew(()=>{let e;return a?e=setInterval((...e)=>n.current(...e),5e3):e&&clearInterval(e),()=>{e&&clearInterval(e)}},[a,5e3]),"MISMATCH"===d?t(ma,{}):"MATCHED"===d?t(mo,{onContinue:o}):r(j,{flexDirection:"column",spacing:1.5,alignItems:"center",sx:{py:1},children:[t(eY,{variant:"body1",textAlign:"center",sx:{mb:.5},children:l("We will confirm account ownership through payment data. The amount will be automatically refunded.")}),t(j,{sx:{maxWidth:"200px",width:"100%"},children:t(mi,{qrCodeShow:!0,"data-testid":"pix-qrcode",children:t(iC,{value:e,size:160,level:"M",marginSize:4})})}),r(j,{spacing:1,sx:{maxWidth:"320px",width:"100%"},children:[t(eY,{variant:"caption",sx:{px:1.5,py:.5,bgcolor:s.palette.grey[100],borderRadius:1,fontFamily:"monospace",fontSize:"0.7rem",whiteSpace:"nowrap",overflow:"auto",textAlign:"left","&::-webkit-scrollbar":{height:"4px"},"&::-webkit-scrollbar-thumb":{backgroundColor:s.palette.grey[400],borderRadius:"4px"}},children:e}),t(j,{sx:{"& > div":{flex:"unset"}},children:t(mr,{value:e})})]})]})},ml=({title:i,message:o,actionMessage:a,isOpen:n,isMutationPending:l=!1,onConfirm:s,handleOpenChange:d,onTryAnotherWay:c,email:p,isTOTPActive:m,isWhatsAppAuthenticatorActive:h,phoneNumber:u,name:x="multiFactorCode",action:f,onGetResult:g,onContinue:C})=>{let{t:b}=eX(),y=eZ(),[v,w]=eS(!1),[M,E]=eS(!1),[A,k]=eS(null),[I]=tb(x),S=l||I.value.length<6||I.value.replaceAll(" ","").length<6,T=async()=>{if(E(!0),c){let e=await c();e&&e.brCode&&(k(e),w(!0))}E(!1)},D=()=>{k(null),w(!1),d()};return t(le,{open:n,onClose:D,title:i,actions:v?t(i2,{variant:"text",color:"secondary",onClick:D,children:b("Cancel")}):r(e,{children:[c&&t(i2,{variant:"text",color:"secondary",disabled:M,onClick:T,sx:{marginRight:"auto"},children:b("Try another way")}),t(i2,{variant:"text",color:"secondary",onClick:D,children:b("Cancel")}),t(i2,{onClick:()=>s(I.value),disabled:S,children:b("Confirm")},"action-2")]}),children:v&&A?.brCode?t(mn,{brCode:A.brCode,onGetResult:g,onContinue:C}):r(j,{flexDirection:"column",spacing:2,children:[(()=>{if(o)return o;if(m&&"USER_MASTER_AUTHENTICATOR_TOTP_DEACTIVATE_METHOD"!==f){let i=[{icon:t(iu,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Access your authentication app"),description:b("Open the authentication application previously configured on your cell phone.")},{icon:t(ig,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Locate the authentication code"),description:b("Look for the 6-digit authentication code displayed in the app.")},{icon:t(ix,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Enter the code and confirm"),description:b("Enter the 6-digit code in the field below and confirm the operation.")}];return r(e,{children:[r(eY,{children:[b("Validate your code with the authenticator code generated in your app.")," ",a]}),i.map((e,i)=>r(j,{gap:2,flexDirection:"row",children:[e.icon,r(j,{justifyContent:"center",children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[i+1,"\xb0 - ",e.title]}),t(eY,{children:e.description})]})]},i))]})}if(h){let e=[{icon:t(iu,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Access your phone"),description:b("Open the WhatsApp or SMS application on your cell phone.")},{icon:t(ig,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Locate the authentication code"),description:b("Look for the 6-digit authentication code displayed in the WhatsApp or SMS.")},{icon:t(ix,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Enter the code and confirm"),description:b("Enter the 6-digit code in the field below and confirm the operation.")}];return r(j,{sx:{flexDirection:"column",gap:1},children:[t(eY,{children:b("We send a validation code to {{phoneNumber}}.",{phoneNumber:u})}),t(eY,{children:b("The code will be valid for 10 minutes after we send it.")}),e.map((e,i)=>r(j,{gap:2,flexDirection:"row",children:[e.icon,r(j,{justifyContent:"center",children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[i+1,"\xb0 - ",e.title]}),t(eY,{children:e.description})]})]},i))]})}if(!m&&!h&&p){let e=[{icon:t(ih,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Access your email"),description:b("Open your email and look for the message with the authentication code.")},{icon:t(ig,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Locate the authentication code"),description:b("Look for the 6-digit authentication code displayed in the email.")},{icon:t(ix,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Enter the code and confirm"),description:b("Enter the 6-digit code in the field below and confirm the operation.")}];return r(or,{sx:{flexDirection:"column",gap:1},children:[r(eY,{children:[b("We send a validation code to {{email}}.",{email:p})," ",a]}),t(eY,{children:b("The code will be valid for 10 minutes after we send it.")}),e.map((e,i)=>r(j,{gap:2,flexDirection:"row",children:[e.icon,r(j,{justifyContent:"center",children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[i+1,"\xb0 - ",e.title]}),t(eY,{children:e.description})]})]},i))]})}})(),r(j,{children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[b("Authentication code"),":"]}),t(sg,{name:x})]})]})})},ms={ACTIVE:"#FF9800",REJECTED:"#ff7f50",CANCELED:"#FF9800",EXPIRED:"#ff7f50",CREATED:"#e6cf00ff",CONCLUDED:"#4CAF50",PAID:"#4CAF50",SCHEDULED:"#FF9800",REQUESTED:"#e6cf00ff"},md=o(nH)`
|
|
1550
|
-
background-color: ${e=>
|
|
1549
|
+
`,me=({dataImportTable:i,type:a})=>{let{t:o}=eX(),n=[{property:"name",header:{label:o("Field")}},{property:"description",header:{label:o("Description")}},{property:"requiredMessage",header:{label:o("Required")}}],{stream:l,fileName:s}=eA(()=>((e,t)=>{if(!Object.values(p9).includes(t))return null;let{fileName:r,stream:i}=((e,t)=>{var r;let i,a,o=il.book_new(),{columns:n,dataTypes:l}=((e,t=e=>e)=>{switch(e){case p9.USERS:return{columns:p3,comments:p5,requiredFields:p6,dataTypes:p4};case p9.CHARGE:return{columns:pX,comments:pK,requiredFields:pQ};case p9.PAYMENT:let r,i;return{columns:p2(t),comments:{[(r=p2(t)).CORRELATION_ID]:t("Unique identifier for tracking the payment"),[r.VALUE]:t("Value"),[r.DESTINATION_PIX_KEY]:t("Destination Pix Key"),[r.COMMENT]:t("Comment")},requiredFields:{[(i=p2(t)).CORRELATION_ID]:pU,[i.VALUE]:pY,[i.DESTINATION_PIX_KEY]:pY,[i.DESTINATION_PIX_KEY_TYPE]:pU,[i.COMMENT]:pU}};case p9.PAYMENT_BRANCH_ACCOUNT:let a,o;return{columns:p0(t),comments:{[(a=p0(t)).VALUE]:t("Value"),[a.PSP_ID]:t("PSP ID"),[a.PSP_NAME]:t("PSP Name"),[a.HOLDER_NAME]:t("Holder Name"),[a.CPF_CNPJ]:t("CPF ou CNPJ"),[a.BRANCH]:t("Ag\xeancia"),[a.ACCOUNT]:t("Conta"),[a.ACCOUNT_TYPE]:t("Tipo de Conta"),[a.COMMENT]:t("Coment\xe1rio")},requiredFields:{[(o=p0(t)).VALUE]:pY,[o.PSP_ID]:pY,[o.PSP_NAME]:pY,[o.HOLDER_NAME]:pY,[o.CPF_CNPJ]:pY,[o.BRANCH]:pY,[o.ACCOUNT]:pY,[o.ACCOUNT_TYPE]:pY,[o.COMMENT]:pU}};case p9.CUSTOMER:let n;return{columns:p1(t),comments:p1(t),requiredFields:{[(n=p1(t)).NAME]:pY,[n.TAX_ID]:pY,[n.EMAIL]:pU,[n.PHONE]:pU}};case p9.COMPANY:let l;return{columns:pJ(t),comments:pJ(t),requiredFields:{[(l=pJ(t)).NAME]:pY,[l.TRADE_NAME]:pU,[l.TAX_ID]:pY,[l.EMAIL]:pY,[l.PHONE]:pY,[l.WEBSITE]:pU,[l.FIRST_NAME]:pY,[l.LAST_NAME]:pY,[l.LAST_NAME]:pY,[l.USER_MASTER_TAX_ID]:pY}};default:return{columns:{},comments:{},requiredFields:{}}}})(t,e),s=il.json_to_sheet([],{header:Object.values(n)});(r=s)["!cols"]=[],Object.entries(r).forEach(([e,t])=>{let i,{v:a}=t;a&&r["!cols"]&&r["!cols"].push({width:a.length+2}),l&&a in l&&(r={...r,...(i=a[0],[...Array(1e3).keys()].reduce((e,t)=>{let r=`${i}${2+t}`;return{...e,[r]:"string"==typeof l[a]?{t:l[a],v:" "}:l[a]}},{}))})});let d=p7[t.toLocaleUpperCase()];return o.Sheets[d]=s,o.SheetNames.push(d),{stream:is(o,{type:"buffer",bookType:"xlsx"}),fileName:(i={[p9.USERS]:e("Users"),[p9.CHARGE]:e("Charge"),[p9.PAYMENT]:e("Payment"),[p9.PAYMENT_BRANCH_ACCOUNT]:e("Payment Branch Account"),[p9.CUSTOMER]:e("Customer"),[p9.COMPANY]:e("Company")},a=e("charge_batch_template_time_data"),t===p9.CHARGE?`${a}.xlsx`:`Template_Import_${i[t]}.xlsx`)}})(e,t);return{stream:i,fileName:r}})(o,a),[a]);return r(e,{children:[r(ee,{my:"15px",fontSize:"12px",children:[o("Download here the")," ",t(p8,{href:(()=>{if(!l)return"";let e=new File([l],s);return URL.createObjectURL(e)})(),download:s,children:"excel template"})," ",o("to mount your data")]}),t(pZ,{columns:n,rows:i,hideFooter:!0})]})},mt=i=>{let[a,o]=eS(null),[n,l]=eS([]),[s,d]=eS(!1),[c,p]=eS(!1),[m,h]=eS(!1),[u,x]=eS(0),[f,g]=eS(new Set),{t:C}=eX(),b=ek(),[y,v]=eS([]),[w,M]=eS(!1),[E,A]=eS(!0),{dataImportTable:I,getColumnType:k,getInvalidFieldsMessage:S,getReferences:T,updateRows:D,prepareQueue:R,processQueueItem:L,reducer:_,labels:P,customColumnValidation:N,type:z}=i,O=((e,t)=>{let{importLabel:r=e("Import")}=t??{};return[e("Select a file to upload"),e("Analyze data"),e("Data review"),r]})(C,P),H=e=>{e.stopPropagation(),o(null),l([]),h(!1),b.current=[]},V=async e=>{l(e),b.current=e},F=0===u||c,$=u===O?.length-1||s||!n?.length||c||!E;return r(e,{children:[t(rY,{activeStep:u,children:O.map((e,r)=>t(rZ,{children:t(rU,{children:e})},r))}),(e=>{switch(e){case 0:return t(pz,{setIsLoading:d,setSheet:o,clearData:H,sheet:a,isLoading:s,dataComplete:!!n.length,setData:l,setShowReport:h,setFirstData:V,setFirstImport:M,dataImportTable:I});case 1:return t(pO,{data:n,setData:l,latestData:b,setIsProcessing:p,isProcessing:c,updateRows:D});case 2:return t(pN,{setData:l,data:n,isProcessing:c,setShowReport:h,showReport:m,setSelectedData:v,firstImport:w,selectedData:y,dataImportTable:I,getColumnType:k,getInvalidFieldsMessage:S,getReferences:T,setIsNextEnabled:A,customColumnValidation:N});case 3:return t(pW,{data:n,setData:l,setShowReport:h,selectedData:y,setSelectedData:v,showReport:m,setFirstImport:M,setActiveStep:x,prepareQueue:R,processQueueItem:L,reducer:_});default:return""}})(u),a&&n.length<1?t(j,{justifyContent:"flex-end",children:t(ee,{color:"error",children:C("You are trying to import a empty sheet")})}):null,t(j,{justifyContent:"flex-end",alignItems:"center",my:"15px",children:r(oh,{children:[t(i0,{variant:"text",disabled:F,onClick:()=>{x(e=>e-1)},children:C("Previous")}),t(i0,{variant:"contained",color:"primary",onClick:()=>{let e=f;f.has(u)&&(e=new Set(e.values())).delete(u),x(e=>e+1),g(e)},disabled:$,children:C("Go forward")})]})}),0===u&&t(me,{dataImportTable:I,type:z})]})},mr=({children:e,to:r,...i})=>t(rH,{component:dx,to:r,...i,children:e}),mi="MATCHED",ma=/(\d{3})(\d{0,3})(\d{0,3})(\d{0,2})/,mo=({qrCodeShow:e,children:r,...i})=>{let a=er();return t(j,{sx:{display:e?"flex":"none",alignItems:"center",justifyContent:"center",border:e?"1px solid":"none",borderColor:a.palette.primary.main,borderRadius:a.shape.borderRadius,boxShadow:e?`0px 0px 0px 3px ${et(a.palette.primary.main,.7)}`:"none","& > svg":{display:e?"block":"none",height:"auto",width:"100%",borderRadius:a.shape.borderRadius},"@media (min-width: 600px)":{display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid",borderColor:a.palette.primary.main,borderRadius:a.shape.borderRadius,boxShadow:`0px 0px 0px 3px ${et(a.palette.primary.main,.7)}`,"& > svg":{display:"block",height:"auto",width:"100%",borderRadius:a.shape.borderRadius}}},"data-testid":i["data-testid"],children:r})},mn=({amount:e=1})=>{let{t:i}=eX(),a=eZ(),o=a.palette.success.main,n=c6(e)??c6(1);return r(j,{alignItems:"center",sx:{textAlign:"center"},children:[t(g,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:"50%"},children:t(im,{size:30,color:o})}),t(ee,{variant:"h6",fontWeight:a.typography.fontWeightBold,color:"text.primary",sx:{mb:2},children:i("Two-factor verification confirmed")}),t(j,{spacing:1.2,sx:{maxWidth:560,lineHeight:1.7},children:t(ee,{variant:"body1",color:"text.secondary",sx:{lineHeight:1.7},children:i("We received the payment of {{amount}} and confirmed the payer tax ID matches your account. You can continue securely.",{amount:n})})})]})},ml=({amount:e=1})=>{let{t:i}=eX(),a=eZ(),o=a.palette.error.main,n=c6(e);return r(j,{alignItems:"center",sx:{textAlign:"center"},children:[t(g,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:"50%"},children:t(ip,{size:30,color:o})}),t(ee,{variant:"h6",fontWeight:a.typography.fontWeightBold,color:"text.primary",sx:{marginBottom:2},children:i("Unable to confirm your identity")}),r(j,{spacing:1.2,sx:{maxWidth:560,lineHeight:1.7},children:[t(ee,{variant:"body1",color:"text.secondary",sx:{lineHeight:1.7},children:i("We received the payment of {{amount}}, but the payer's taxpayer ID does not match the CPF on your account. For security, we cannot grant access.",{amount:n})}),t(ee,{variant:"body1",color:"text.secondary",sx:{lineHeight:1.7},children:i("Try making the payment from a bank account in your name or choose another verification method.")})]})]})},ms=({onGetResult:e,pixAuthentication:i})=>{var a;let o,{t:n}=eX(),[l,s]=eS(),d=async()=>{if(!e)return;let t=await e();s(t?.result)};if(a=!l||"UNVERIFIED"===l,o=ek(),ew(()=>{o.current=d},[d]),ew(()=>{let e;return a?e=setInterval((...e)=>o.current(...e),5e3):e&&clearInterval(e),()=>{e&&clearInterval(e)}},[a,5e3]),"MISMATCH"===l)return t(ml,{});if(l===mi)return t(mn,{});let c=i.taxID.replace(/\D/g,"").replace(ma,(e,t,r="",i="",a="")=>{let o=r&&`.${r}`,n=i&&`.${i}`,l=a&&`-${a}`;return`${t}${o}${n}${l}`});return r(j,{flexDirection:"column",spacing:2.5,alignItems:"center",sx:{py:2},children:[r(j,{spacing:1.5,alignItems:"center",children:[t(eY,{variant:"body1",textAlign:"center",sx:{lineHeight:1.6},children:n("We will validate your CPF using a Pix transaction. Pay the QR Code below, of R$ 0.01 using your bank's app from an account with your CPF {{taxID}}. After payment, the amount of R$ 0.01 will be automatically refunded.",{taxID:c})}),t(nV,{label:n("CPF"),value:c,sx:{mt:1}})]}),t(j,{sx:{maxWidth:"200px",width:"100%"},children:t(mo,{qrCodeShow:!0,"data-testid":"pix-qrcode",children:t(iC,{value:i.brCode,size:160,level:"M",marginSize:4})})})]})},md=({title:i,message:a,actionMessage:o,isOpen:n,isMutationPending:l=!1,onConfirm:s,handleOpenChange:d,onTryAnotherWay:c,email:p,isTOTPActive:m,isWhatsAppAuthenticatorActive:h,phoneNumber:u,name:x="multiFactorCode",action:f,onGetResult:g,onContinue:C})=>{let{t:b}=eX(),y=eZ(),[v,w]=eS(!1),[M,E]=eS(!1),[A,I]=eS(null),[k,S]=eS(null),[T]=tb(x),D=l||T.value.length<6||T.value.replaceAll(" ","").length<6,R=async()=>{if(E(!0),c){let e=await c();e&&e.brCode&&(I(e),w(!0))}E(!1)},L=async()=>{if(g){let e=await g();return e&&e.result&&S(e.result),e}},_=()=>{d(),I(null),w(!1)};return t(lt,{open:n,onClose:_,title:i,actions:v?r(e,{children:[t(i0,{variant:"text",color:"secondary",onClick:_,children:b("Cancel")}),k===mi&&t(i0,{variant:"contained",color:"primary",onClick:C,children:b("Continue")})]}):r(e,{children:[c&&t(i0,{variant:"text",color:"secondary",disabled:M,onClick:R,sx:{marginRight:"auto"},children:b("Try another way")}),t(i0,{variant:"text",color:"secondary",onClick:_,children:b("Cancel")}),t(i0,{onClick:()=>s(T.value),disabled:D,children:b("Confirm")},"action-2")]}),children:v&&A?.brCode?t(ms,{onGetResult:L,pixAuthentication:A}):r(j,{flexDirection:"column",spacing:2,children:[(()=>{if(a)return a;if(m&&"USER_MASTER_AUTHENTICATOR_TOTP_DEACTIVATE_METHOD"!==f){let i=[{icon:t(iu,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Access your authentication app"),description:b("Open the authentication application previously configured on your cell phone.")},{icon:t(ig,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Locate the authentication code"),description:b("Look for the 6-digit authentication code displayed in the app.")},{icon:t(ix,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Enter the code and confirm"),description:b("Enter the 6-digit code in the field below and confirm the operation.")}];return r(e,{children:[r(eY,{children:[b("Validate your code with the authenticator code generated in your app.")," ",o]}),i.map((e,i)=>r(j,{gap:2,flexDirection:"row",children:[e.icon,r(j,{justifyContent:"center",children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[i+1,"\xb0 - ",e.title]}),t(eY,{children:e.description})]})]},i))]})}if(h){let e=[{icon:t(iu,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Access your phone"),description:b("Open the WhatsApp or SMS application on your cell phone.")},{icon:t(ig,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Locate the authentication code"),description:b("Look for the 6-digit authentication code displayed in the WhatsApp or SMS.")},{icon:t(ix,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Enter the code and confirm"),description:b("Enter the 6-digit code in the field below and confirm the operation.")}];return r(j,{sx:{flexDirection:"column",gap:1},children:[t(eY,{children:b("We send a validation code to {{phoneNumber}}.",{phoneNumber:u})}),t(eY,{children:b("The code will be valid for 10 minutes after we send it.")}),e.map((e,i)=>r(j,{gap:2,flexDirection:"row",children:[e.icon,r(j,{justifyContent:"center",children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[i+1,"\xb0 - ",e.title]}),t(eY,{children:e.description})]})]},i))]})}if(!m&&!h&&p){let e=[{icon:t(ih,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Access your email"),description:b("Open your email and look for the message with the authentication code.")},{icon:t(ig,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Locate the authentication code"),description:b("Look for the 6-digit authentication code displayed in the email.")},{icon:t(ix,{fontSize:y.spacing(6),color:y.palette.primary.main}),title:b("Enter the code and confirm"),description:b("Enter the 6-digit code in the field below and confirm the operation.")}];return r(ai,{sx:{flexDirection:"column",gap:1},children:[r(eY,{children:[b("We send a validation code to {{email}}.",{email:p})," ",o]}),t(eY,{children:b("The code will be valid for 10 minutes after we send it.")}),e.map((e,i)=>r(j,{gap:2,flexDirection:"row",children:[e.icon,r(j,{justifyContent:"center",children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[i+1,"\xb0 - ",e.title]}),t(eY,{children:e.description})]})]},i))]})}})(),r(j,{children:[r(eY,{fontWeight:y.typography.fontWeightBold,children:[b("Authentication code"),":"]}),t(sC,{name:x})]})]})})},mc={ACTIVE:"#FF9800",REJECTED:"#ff7f50",CANCELED:"#FF9800",EXPIRED:"#ff7f50",CREATED:"#e6cf00ff",CONCLUDED:"#4CAF50",PAID:"#4CAF50",SCHEDULED:"#FF9800",REQUESTED:"#e6cf00ff"},mp=a(nV)`
|
|
1550
|
+
background-color: ${e=>mc[e.status]} !important;
|
|
1551
1551
|
color: white !important;
|
|
1552
|
-
`,
|
|
1553
|
-
background-color: ${e=>
|
|
1552
|
+
`,mm=a(nV)`
|
|
1553
|
+
background-color: ${e=>mc[e.status]} !important;
|
|
1554
1554
|
color: white !important;
|
|
1555
|
-
`,mp=()=>r("svg",{width:"259",height:"259",viewBox:"0 0 259 259",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("g",{clipPath:"url(#clip0_41_572)",children:[t("path",{d:"M240.166 54.3437C238.354 51.4256 236.323 48.5625 234.181 45.9196C216.391 24.0059 193.165 14.7559 166.645 8.5342C139.246 2.09224 107.125 0.110096 80.824 11.6726C74.6194 14.4256 68.7443 18.0595 64.0772 23.0149C46.4518 41.68 40.4119 72.9538 20.8098 97.6756C1.20775 122.397 -8.3462 153.176 9.22429 182.412C16.6917 194.801 26.1908 204.987 37.392 213.961C51.2287 224.973 63.1437 239.894 79.1768 248.484C95.9786 257.513 118.381 260.707 136.995 256.522C158.244 251.787 170.653 232.957 186.851 220.183C199.644 210.052 214.909 203.445 227.428 193.039C246.591 177.071 261.141 151.359 258.725 125.921C256.364 101.199 253.289 75.5416 240.166 54.3437Z",fill:"#D4F8EE"}),t("path",{opacity:"0.7",d:"M240.166 54.3437C238.354 51.4256 236.323 48.5625 234.181 45.9196C216.391 24.0059 193.165 14.7559 166.645 8.5342C139.246 2.09224 107.125 0.110096 80.824 11.6726C74.6194 14.4256 68.7443 18.0595 64.0772 23.0149C46.4518 41.68 40.4119 72.9538 20.8098 97.6756C1.20775 122.397 -8.3462 153.176 9.22429 182.412C16.6917 194.801 26.1908 204.987 37.392 213.961C51.2287 224.973 63.1437 239.894 79.1768 248.484C95.9786 257.513 118.381 260.707 136.995 256.522C158.244 251.787 170.653 232.957 186.851 220.183C199.644 210.052 214.909 203.445 227.428 193.039C246.591 177.071 261.141 151.359 258.725 125.921C256.364 101.199 253.289 75.5416 240.166 54.3437Z",fill:"#D4F8EE"}),t("path",{d:"M204 81.0021V57.0662H201.82V26.3657C201.82 15.9067 193.414 7.47708 183.036 7.42505C183.036 7.42505 183.036 7.42505 182.984 7.42505H81.7438C71.3136 7.42505 62.9072 15.8547 62.9072 26.3137C62.9072 26.3137 62.9072 26.3137 62.9072 26.3657V232.631C62.9072 243.09 71.3655 251.52 81.7438 251.52H182.984C193.414 251.52 201.82 243.038 201.82 232.631V101.4H204V87.2463H201.82V81.0021H204Z",fill:"#707070",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M85.9462 10.0789H178.728C190.248 10.0789 199.588 19.4451 199.588 30.9968V227.948C199.588 239.5 190.248 248.866 178.728 248.866H85.9462C74.4264 248.866 65.0859 239.5 65.0859 227.948V30.9968C65.0859 19.4451 74.4264 10.0789 85.9462 10.0789Z",fill:"#263238",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M177.068 11.796H139.707L139.655 11.9521C138.565 15.9587 136.022 18.5605 133.168 18.5605H131.56C128.758 18.5605 126.215 15.9587 125.073 11.9521V11.796H87.6598C77.2296 11.796 68.8232 20.2776 68.8232 30.6846V219.102C68.8232 229.561 77.2815 237.991 87.6598 237.991H177.017C187.395 237.991 195.853 229.561 195.853 219.102V30.6846C195.905 20.2776 187.447 11.796 177.068 11.796Z",fill:"white",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M177.069 11.796H139.707L139.655 11.9521C138.565 15.9587 136.022 18.5605 133.168 18.5605H131.56C128.758 18.5605 126.215 15.9587 125.073 11.9521V11.796H87.6598C77.2296 11.796 68.8232 20.2776 68.8232 30.6846V32.818H195.905V30.6846C195.905 20.2776 187.447 11.796 177.069 11.796Z",fill:"#03D69D"}),t("path",{d:"M181.323 120.601C181.323 116.178 187.342 110.922 186.252 106.811C185.111 102.544 177.275 101.088 175.096 97.341C172.968 93.5945 175.563 85.9975 172.501 82.9274C169.44 79.8574 161.915 82.5111 158.127 80.3257C154.339 78.1402 152.938 70.283 148.683 69.1382C144.584 68.0455 139.395 74.0815 134.932 74.0815C130.469 74.0815 125.28 68.0455 121.181 69.1382C116.926 70.283 115.473 78.1402 111.737 80.3257C108 82.4591 100.424 79.8574 97.3626 82.9274C94.301 85.9975 96.9475 93.5425 94.768 97.341C92.5886 101.14 84.753 102.544 83.6114 106.811C82.5217 110.922 88.5411 116.126 88.5411 120.601C88.5411 125.076 82.5217 130.279 83.6114 134.39C84.753 138.657 92.5886 140.114 94.768 143.86C96.8956 147.607 94.301 155.204 97.3626 158.274C100.424 161.344 107.948 158.69 111.737 160.875C115.525 163.061 116.926 170.918 121.181 172.063C125.28 173.156 130.469 167.12 134.932 167.12C139.395 167.12 144.584 173.156 148.683 172.063C152.938 170.918 154.391 163.061 158.127 160.875C161.864 158.69 169.44 161.344 172.501 158.274C175.563 155.204 172.916 147.659 175.096 143.86C177.275 140.062 185.111 138.657 186.252 134.39C187.394 130.279 181.323 125.023 181.323 120.601Z",fill:"#03D69D"}),t("path",{d:"M134.362 139.229L114.332 117.999C113.398 116.958 113.398 115.345 114.435 114.408C115.473 113.472 117.082 113.472 118.016 114.513L133.739 131.216L153.613 102.336C154.34 101.14 155.897 100.775 157.09 101.504C158.284 102.232 158.647 103.793 157.92 104.99C157.868 105.042 157.817 105.146 157.765 105.198L134.362 139.229Z",fill:"white"}),t("path",{d:"M74.375 199.797H113.449",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M144.792 204.949H158.024",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M133.843 204.949H142.042",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M101.048 204.949H130.678",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M74.375 204.949H97.3628",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M124.295 210.465H150.033",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M101.463 210.465H121.078",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M74.375 210.465H98.2969",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M184.021 215.928H187.187",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M160.307 215.928H181.738",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M118.379 215.928H154.807",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M83.7158 215.928H114.695",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M74.375 215.928H80.083",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M131.974 14.5018C132.949 14.5018 133.739 13.7097 133.739 12.7326C133.739 11.7555 132.949 10.9634 131.974 10.9634C131 10.9634 130.21 11.7555 130.21 12.7326C130.21 13.7097 131 14.5018 131.974 14.5018Z",fill:"#707070"}),t("path",{d:"M156.104 19.7573H154.443V23.9721H156.104V19.7573Z",fill:"white"}),t("path",{d:"M158.335 18.9247H156.675V23.9721H158.335V18.9247Z",fill:"white"}),t("path",{d:"M160.567 18.3003H158.906V23.92H160.567V18.3003Z",fill:"white"}),t("path",{d:"M162.798 17.2596H161.138V23.92H162.798V17.2596Z",fill:"white"}),t("path",{d:"M183.555 23.816H173.488V17.6759H183.555V23.816ZM174.059 23.2957H182.984V18.2483H174.059V23.2957Z",fill:"white"}),t("path",{d:"M180.182 18.8207H174.889V22.6712H180.182V18.8207Z",fill:"white"}),t("path",{d:"M184.437 20.0175H183.191V21.4744H184.437V20.0175Z",fill:"white"}),t("path",{d:"M169.804 22.5151C169.752 22.5151 169.648 22.5151 169.596 22.4631C167.521 21.2663 166.172 22.359 166.12 22.4111C165.964 22.5672 165.756 22.5672 165.601 22.4631C165.445 22.307 165.445 22.0989 165.549 21.9428L165.601 21.8907C165.653 21.8387 167.417 20.3297 169.96 21.8387C170.115 21.9428 170.219 22.1509 170.115 22.359C170.063 22.4111 169.96 22.5151 169.804 22.5151Z",fill:"white"}),t("path",{d:"M170.581 21.2143C170.529 21.2143 170.426 21.2143 170.374 21.1622C167.416 19.393 165.444 21.1102 165.392 21.1102C165.237 21.2663 165.029 21.2143 164.873 21.1102C164.718 20.9541 164.77 20.7459 164.925 20.5898C164.925 20.5898 167.364 18.5085 170.789 20.5378C170.945 20.6419 171.048 20.85 170.945 21.0582C170.841 21.1622 170.685 21.2143 170.581 21.2143Z",fill:"white"}),t("path",{d:"M171.257 19.8093C171.205 19.8093 171.101 19.8093 171.049 19.7573C167.313 17.5198 164.822 19.6012 164.718 19.7052C164.563 19.8613 164.303 19.8093 164.199 19.6532C164.044 19.4971 164.096 19.2369 164.251 19.1328C164.303 19.1328 167.261 16.5831 171.464 19.0808C171.62 19.1849 171.724 19.393 171.62 19.6012C171.516 19.7052 171.36 19.8093 171.257 19.8093Z",fill:"white"}),t("path",{d:"M168.661 23.1395C168.661 23.6599 168.246 24.0761 167.727 24.0761C167.208 24.0761 166.793 23.6599 166.793 23.1395C166.793 22.6192 167.208 22.2029 167.727 22.2029C168.246 22.2029 168.661 22.6192 168.661 23.1395Z",fill:"white"})]}),t("defs",{children:t("clipPath",{id:"clip0_41_572",children:t("rect",{width:"259",height:"259",fill:"white"})})})]}),mm=({children:e,color:r})=>{let i=eZ();return t(or,{sx:{alignItems:"center",gap:1,backgroundColor:r||i.palette.primary.main,padding:"5px 32px 5px 10px",borderRadius:"5px 0 0 5px",clipPath:"polygon(100% 0,0% 0%,0% 100%,100% 100%,calc(100% - 20px) 50%)"},children:e})},mh=({chargeData:e})=>{let{t:i}=eX(),o=eZ();if(!e?.discount)return null;let a=dW(e.discount/100);return r(mm,{children:[t(ee,{children:"\uD83E\uDD11"}),r(ee,{color:o.palette.tertiary.main,sx:{fontSize:"16px"},children:[i("You earned")," ",t("b",{children:a})," ",i("of discount")]})]})},mu=({chargeData:e})=>{let{t:i}=eX(),o=eZ();if(!e?.cashback||e.cashback?.status!==dy)return null;let a=dW(e.cashback.value/100);return r(mm,{children:[t(ee,{children:"\uD83E\uDD11"}),r(ee,{color:o.palette.tertiary.main,sx:{fontSize:"16px"},children:[t("b",{children:a})," ",i("cashback on time!")]})]})},mx=({charge:i,companyName:o})=>{let{t:a}=eX(),n=a("To pay"),l=a("to {{companyName}}",{companyName:o}),s=c4(i?.value/100),d=c4(i?.valueWithDiscount/100);return t(ee,{sx:{fontSize:"24px",fontWeight:"800",textAlign:"center"},children:i?.value||i?.valueWithDiscount?"number"==typeof i?.valueWithDiscount&&i?.value!==i?.valueWithDiscount?r(e,{children:[n,t(ee,{component:"span",sx:{color:"#b2b2b2ff",textDecoration:"line-through",fontSize:"24px",fontWeight:"800"},children:s+" "}),d," ",l," ",a("via Pix")]}):`${n} ${a("{{finalValue}}",{finalValue:(()=>{let{finalValue:e}=i?.decodedBrCode||{};return e?c4(e/100):i?.valueWithDiscount?c4(i?.valueWithDiscount/100):c4(i.value/100)})()})} ${l} ${a("via Pix")}`:a("Define the payment value")})},mf={ALL:"ADMIN"};mf.ALL,mf.ALL,mf.ALL;let mg=({projectType:e})=>{let{t:i}=eX(),o=eZ(),a="WOOVI"===e?r(eq,{t:i,i18nKey:"100% encrypted payment via Woovi",children:["100% encrypted payment via"," ",t(O,{href:"https://woovi.com/?utm_source=payment_link&utm_medium=logo",target:"_blank",rel:"noopener noreferrer",children:t(sa,{color:o.palette.grey[400],height:"14px"})})]}):r(eq,{t:i,i18nKey:"100% encrypted payment via OpenPix",children:["100% encrypted payment via"," ",t(O,{href:"https://woovi.com/?utm_source=payment_link&utm_medium=logo",target:"_blank",rel:"noopener noreferrer",children:"OpenPix"})]});return r(or,{sx:{flexDirection:"column",pb:"10px"},children:[t(ee,{sx:{fontSize:16,textAlign:"center",color:o.palette.grey[400]},children:a}),r(ee,{variant:"body2",sx:{fontSize:10,textAlign:"center",color:o.palette.grey[400]},children:["(v",sc,")"]})]})},mC=({value:e,onError:r,debounceDelay:i=1e3})=>{let{t:o}=eX(),{enqueueSnackbar:a}=ro();return t(dC,{value:e,debounceDelay:i,onError:()=>{a(o("Error copying Barcode"),{variant:"error"}),r&&r(!0)},"data-testid":"btn-copy-barcode-payment-link",children:o("Copy Barcode")})},mb=({projectType:e})=>t(mg,{projectType:e}),my=({qrCodeShow:e,setQrCodeShow:r})=>{let{t:i}=eX();return t(or,{sx:{flex:1,"@media (min-width: 600px)":{display:"none"}},children:t(i2,{variant:"outlined",color:"tertiary",onClick:()=>r(!e),startIcon:t(ib,{color:"tertiary"}),size:"large",sx:e=>({display:"flex !important",width:"100% !important",color:`${e.palette.tertiary.main} !important`,borderColor:`${e.palette.tertiary.main} !important`,backgroundColor:"transparent !important","&:hover":{boxShadow:"none !important",textDecoration:"none !important",backgroundColor:`${e.palette.action.hover} !important`,border:`1px solid ${e.palette.tertiary.main} !important`}}),fullWidth:!0,children:t(ee,{component:"span",sx:{textTransform:"uppercase"},children:i(e?"Hide QR Code":"Show QR Code")})})})},mv=({title:e,value:i,variant:o="h6"})=>r(ei,{direction:"row",sx:{justifyContent:"space-between"},gap:10,children:["string"!=typeof e?e:t(eY,{variant:o,children:e}),t(eY,{variant:o,fontWeight:"bold",children:"number"==typeof i?c5(i):i})]}),mw=({children:e,value:r,labelPlacement:i="start",cardProps:o={},radioTestId:a=null,useFormik:n=!1})=>{let l=eZ(),s=iw(),d=n?null:r===s?.value;return t(oo,{...o,borderRadius:void 0,sx:{...o.sx,p:1,transition:"none",backgroundColor:d?ej(l.palette.primary.light,.95):void 0,borderColor:d?`${l.palette.primary.main}`:void 0,boxShadow:d?`inset 0px 0px 0px 1px ${l.palette.primary.main}`:void 0,"&:hover":{backgroundColor:ej(l.palette.primary.light,.95),borderColor:`${l.palette.primary.main}`,boxShadow:`inset 0px 0px 0px 1px ${l.palette.primary.main}`}},children:t(iy,{sx:{alignItems:"start",marginRight:0},value:r,label:t(or,{sx:{width:"100%",mt:1,flexDirection:"column"},children:e}),labelPlacement:i,control:t(iv,{checkedIcon:t(r3,{}),sx:{"& .MuiSvgIcon-root":{fontSize:28}},...a?{inputProps:{"data-testid":a}}:{}}),disableTypography:!0})})},mM=e=>{let[r,i]=eS(null),[o,a]=eS(!1);ew(()=>{a(!0),"undefined"!=typeof window&&import("react-json-view").then(e=>{i(()=>e.default)})},[]);let n="undefined"==typeof window?"light":"dark"===localStorage.getItem("themeMode")?"dark":"light";return o&&r?t(r,{theme:"light"===n?"rjv-default":"monokai",indentWidth:2,displayObjectSize:!0,...e,enableClipboard:async e=>{"object"==typeof e.src?await dg(JSON.stringify(e.src,null,2)):await dg(e.src)}}):null},mE=({title:e,description:i,value:o,...a})=>{let n=eZ(),l=a.color||n.palette.primary.main;return r(or,{sx:{background:ej(l,.8),width:"100%",borderRadius:"8px",justifyContent:"space-between",mask:"radial-gradient(6px at right center, #0000 98%, #000) 0 0"},children:[r(or,{sx:{flexDirection:"column",padding:"8px 16px",justifyContent:"center"},children:[t(ee,{variant:"h6",sx:{fontWeight:"bold"},children:e}),t(ee,{children:i})]}),t(or,{sx:{background:l,alignItems:"center",justifyContent:"center",padding:"28px 16px",borderRadius:"8px",mask:"radial-gradient(6px at 6px center, #0000 98%, #000) -6px 0"},children:t(ee,{color:"white",variant:"h6",sx:{fontWeight:"bold",whiteSpace:"nowrap"},children:o})})]})},mA=ef(null),mk=()=>{let e=ev(mA);if(!e)throw Error("Only should be used on the SwipeableDialog scope");return e},mI=e=>{let{children:r,isOpen:i=!1,onOpenChange:o,closeOnBackdropClick:a=!0}=e,[n,l]=oA(i,o);return t(mA.Provider,{value:{open:n,setOpen:l,closeOnBackdropClick:a},children:r})};mI.displayName="SwipeableDialog";let mS=e=>{let{children:r}=e;return t(tG,{children:r})};function mT(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),!1===r||!i.defaultPrevented)return t?.(i)}}mS.displayName="SwipeableDialogActions";let mD=e=>{let{setOpen:t}=mk(),{children:r,onClick:i}=e;return eh.cloneElement(r,{onClick:mT(()=>{t(!1)},i)})};function mR(e,...t){let r={...e};return t&&t.forEach(e=>{e&&Object.keys(e).forEach(t=>{r[t]&&"object"==typeof r[t]&&"object"==typeof e[t]?r[t]={...r[t],...e[t]}:r[t]=e[t]})}),r}mD.displayName="SwipeableDialogClose";let mL=e=>{let r=eZ(),{children:i,dividers:o=!0,sx:a}=e;return t(or,{sx:mR({maxHeight:r.sizing.maxModalHeight,overflowY:"auto"},a),children:t(tW,{dividers:o,children:i})})};mL.displayName="SwipeableDialogContent";let m_=({children:e,sx:r})=>{let i=eZ(),{open:o,setOpen:a,closeOnBackdropClick:n}=mk();return t(t6,{open:o,onClose:()=>{n&&a(!1)},closeAfterTransition:!0,sx:{"@media (max-width: 600px)":{zIndex:i.zIndex.modal,marginBottom:12}},children:t(n8,{in:o,children:t(eN,{sx:mR({position:"absolute",left:0,bottom:0,right:0,boxShadow:i.shadows[2],borderRadius:1,height:"fit-content","@media (min-width: 600px)":{maxWidth:700,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},r),children:e})})})},mP=e=>{let{children:r,sx:i}=e;return t(tZ,{id:"dialog-title",sx:i,children:r})};mP.displayName="SwipeableDialogTitle";let mN=e=>{let{setOpen:t}=mk(),{children:r,...i}=e;return eh.cloneElement(r,{...i,onClick:mT(i.onClick,()=>{t(!0)})})};mN.displayName="SwipeableDialogTrigger";let mz=eG("div")(({theme:e,fullWidth:t,variant:r})=>({display:"flex",flexDirection:"row-reverse",alignItems:"center",position:"relative",height:"36px",borderRadius:e.shape.borderRadius,color:"outline"===r?e.palette.primary.main:e.palette.common.white,backgroundColor:"outline"===r?e.palette.common.white:"transparent",transition:e.transitions.create("background-color"),...t?{width:"100%"}:{},"&:has(.MuiInputBase-input:focus), &:has(.MuiInputBase-input:not(:placeholder-shown))":{backgroundColor:e.palette.common.white,color:e.palette.tertiary.main},"&:has(.MuiInputBase-input:focus) .MuiButtonBase-root, &:has(.MuiInputBase-input:not(:placeholder-shown)) .MuiButtonBase-root":{color:e.palette.primary.main},[e.breakpoints.up("sm")]:{width:"auto",flexDirection:"row",backgroundColor:"outline"===r?e.palette.common.white:e$(e.palette.common.white,.25)}})),mO=eG(tM)(({theme:e,variant:t})=>({color:"outline"===t?e.palette.primary.main:e.palette.common.white,padding:e.spacing(0,2),display:"flex",alignItems:"center",justifyContent:"center",[e.breakpoints.up("sm")]:{cursor:"default"}})),mH=eG(iM)(({theme:e,fullWidth:t})=>({color:"dark"===e.palette.mode?e.palette.tertiary.main:"inherit",[e.breakpoints.down("sm")]:{width:"100%",paddingLeft:e.spacing(1),paddingRight:e.spacing(1)},"& .MuiInputBase-input":{transition:e.transitions.create("create"),[e.breakpoints.up("sm")]:{width:"12ch","&:not(:placeholder-shown), &:focus":{width:t?"100%":"20ch"}}}})),mV=({onDebounceApplied:e,onChange:i,value:o,fullWidth:a=!1,disableMobile:n=!1,variant:l="primary"})=>{let s=ri(e=>e.breakpoints.up("sm")),d=eI(),{t:c}=eX(),[p,m]=eS(!1),h=ru(t=>{e&&o&&e(o,t)},3e3),u=p||s||n;return r(mz,{fullWidth:a,variant:l,children:[t(mO,{variant:l,onClick:()=>{m(!0),d.current!==document.activeElement&&(s||n)&&d.current.focus()},disableRipple:!0,children:t(tq,{sx:{color:"inherit"}})}),u&&t(mH,{name:"search",inputRef:d,type:"search",placeholder:`${c("Search")}...`,autoFocus:p,fullWidth:a,variant:l,inputProps:{"aria-label":"search",maxLength:256,"data-testid":"GlobalSearchField"},value:o,onChange:e=>{i(e)},onBlur:()=>{o||m(!1)},onKeyUp:e=>{"Enter"===e.key?h.cancel():h(e)}})]})},mF=({children:e,size:r="small",...i})=>t(eN,{elevation:0,sx:{width:{xs:"100%",md:"150px"}},children:t(iE,{...i,size:r,sx:{width:"100%"},children:e})}),m$={[n6]:"#4CAF50",[n5]:"#EF5350"},mB=({type:e,children:r})=>t(lM,{variant:"body2",color:m$[e],children:r}),mW=ef(null),mj=()=>ev(mW),mG=({children:e})=>{let[r,i]=eS(()=>localStorage.getItem("themeMode")||"light"),o=ey(()=>{let e="light"===r?"dark":"light";localStorage.setItem("themeMode",e),i(e)},[r]),a=eA(()=>({toggleTheme:o,themeMode:r}),[r,o]),l="light"===r?dt:dr;return t(mW.Provider,{value:a,children:t(eF,{theme:l,children:t(n,{theme:l,children:e})})})},mZ=eG(iM)(({theme:e})=>({"& .MuiInputBase-input":{width:"100%",padding:e.spacing(1),backgroundColor:e.palette.background.paper,borderRadius:10,border:`2px solid ${ej(e.palette.secondary.main,.8)}`,color:e.palette.secondary.main,fontSize:18,fontWeight:600,paddingLeft:16,transition:e.transitions.create(["border-color","box-shadow"]),"&:focus":{borderRadius:4,borderColor:ej(e.palette.primary.main,.5),boxShadow:`0 0 0 0.2rem ${e$(e.palette.primary.main,.3)}`}}})),mU=({group:e,value:r,onValueChange:i})=>t(iI,{sx:{width:"100%"},children:t(iS,{value:r,onChange:e=>i(e.target.value),input:t(mZ,{}),children:e.map((e,r)=>t("option",{value:e.value,children:e.text},`mobile-item-${r}`))})}),mY=eG(iA)(({theme:e})=>({minWidth:145,borderWidth:e.shape.borderWidth,borderColor:ej(e.palette.secondary.main,.8),borderRadius:e.shape.borderRadius,textTransform:"none",fontSize:"14px",fontWeight:"600",padding:"0px 8px",color:ej(e.palette.secondary.main,.8),"&.Mui-selected":{color:e.palette.secondary.main,backgroundColor:"transparent"}})),mq=({group:e,exclusive:r=!0,canValueBeNull:i=!0,initialValue:o,onValueChange:a})=>{let[n,l]=eS(()=>r?o??null:o?[o]:[]);return ri("(max-width: 600px)")?t(mU,{group:e,value:n,onValueChange:e=>{l(e),a&&a(e)}}):t(ik,{exclusive:r,value:n,onChange:(e,t)=>{if(i||r&&null!==t||Array.isArray(t)&&t.length>0){l(t),a&&a(t);return}},children:e.map((e,r)=>t(mY,{value:e.value,children:e.text},`${e.text}-${r}`))})},mX=({value:e,row:t})=>({value:e,row:t}),mK=rA(),mJ=e=>e.type&&!Object.keys(mK).includes(e.type),mQ=void 0!==process.env.JEST_WORKER_ID,m1=({columns:e,data:r,onScrollToBottom:i,onCardClick:o,noItemsLabel:a,cardListDefaultHeight:n="calc(100vh - 156px)"})=>{let l=eI(),[s,d]=eS(r.length);ew(()=>{r.length!==s&&d(r.length)},[r.length]);let c=iT({count:s,estimateSize:()=>80,overscan:10,getScrollElement:()=>l.current}),{t:p}=eX(),[m,h]=eS(n);ew(()=>{let[e]=[...c.getVirtualItems()].reverse();e&&e.index>=r.length-1&&i()},[r.length,c.getVirtualItems()]),eE(()=>{h(c.getVirtualItems().length<10?c.getVirtualItems().reduce((e,t)=>e+t.size,0):n)},[r.length,c.getVirtualItems()]);let u=(e,t)=>{if(o)return o({row:e},t)};if(0===r.length)return a?t(or,{sx:{flex:1,alignItems:"center",justifyContent:"center"},children:t(ee,{variant:"h6",children:a})}):t(or,{sx:{flex:1,alignItems:"center",justifyContent:"center"},children:t(ee,{variant:"h6",children:p("No items")})});let x=dK(e),f=mQ?Array.from({length:r.length},(e,t)=>({index:t,start:0})):c.getVirtualItems();return s&&t("div",{"data-testid":"use-virtualizer",ref:l,className:"List",style:{height:m,width:"100%",overflow:"auto"},children:t("div",{style:{height:`${c.getTotalSize()}px`,width:"100%",position:"relative"},children:f.map(e=>{let i=r[e.index];return t("div",{"data-index":e.index,ref:c.measureElement,style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${e.start}px)`,marginBottom:"16px"},children:t(m2,{columns:x,row:i,onCardClick:o,handleCardClick:u})},e.index)})})})},m2=e=>{let{columns:r,row:i,onCardClick:o,handleCardClick:a}=e;return t(lV,{cardProps:{sx:{cursor:o?"pointer":"default"},onClick:e=>a&&a(i,e)},children:r.map((e,r)=>{var o,a,n,l;let s;return t(lO,{label:e.headerName,value:(o=i,s=(n="function"==typeof(a=e).valueGetter?a.valueGetter({row:o}):o[a.field],mJ(l=a)?l.type in dU&&"function"==typeof dU[l.type].valueFormatter?dU[l.type].valueFormatter({value:n,field:l.field}):n:"function"==typeof l.valueFormatter?l.valueFormatter({value:n,field:l.field}):n),(a.renderCell?a.renderCell(mX({value:s,row:o})):mJ(a)?a.type in dU&&dU[a.type].renderCell?dU[a.type].renderCell(mX({value:s,row:o})):s:s)??"-"),alignField:e.alignField},r)})})},m0=({minWidth:e=50})=>t(rV,{width:eA(()=>Math.max(e-10,120*Math.random()),[]),animation:"wave",variant:"text"}),m3=({size:e=10,...r})=>{let i=r.columns.map(e=>({...e,renderCell:()=>t(m0,{})}));return t("div",{"data-testid":"loading",children:Array.from({length:e},e=>({id:e})).map((e,r)=>t(m2,{columns:i,row:e},r))})},m4=()=>({cell:e=>{let t=e.getValue();return null===t?"-":"number"!=typeof t?t:dW(t/100)}}),m5={DATETIME:"DATETIME",DATE:"DATE",TIME:"TIME"},m6=(e=m5.DATE)=>({cell:t=>{let r=t.getValue();return r&&tR(r).isValid()?e===m5.DATETIME?tR(r).format("DD-MM-YYYY HH:mm"):e===m5.TIME?tR(r).format("HH:mm"):tR(r).format("DD-MM-YYYY"):"-"}}),m9=e=>({cell:r=>{let i=r.getValue();return i?t("a",{href:e(r?.row?.original),rel:"noreferrer noopener",target:"_blank",onClick:e=>e.stopPropagation(),children:i}):"-"}}),m7=[{id:"00",name:"Payload Format Indicator",format:"N",presence:"M"},{id:"01",name:"Point Of Initiation Method",format:"N",presence:"O"},{id:"02",name:"Merchant Account Information - Visa",format:"N",presence:"O"},{id:"03",name:"Merchant Account Information - Visa",format:"N",presence:"O"},{id:"04",name:"Merchant Account Information - Mastercard",format:"N",presence:"O"},{id:"05",name:"Merchant Account Information - Mastercard",format:"N",presence:"O"},{id:"26",name:"Merchant Account Information - Pix",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Pix Key",format:"ans",presence:"M"},{id:"02",name:"infos adicionais",format:"ans",presence:"M",size:{min:1,max:72}},{id:"25",name:"url",format:"ans",presence:"M",size:{min:1,max:72},variable:"url"},{id:"03",name:"fss",format:"ans",presence:"M",size:{min:8,max:8}}]},{id:"27",name:"Merchant Account Information - Outro",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Account ID",format:"ans",presence:"M"}]},{id:"29",name:"Merchant Account Information",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"05",name:"Merchan Account Information",format:"ans",presence:"M"}]},{id:"31",name:"Merchant Account Information",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"03",name:"Merchan Account Information",format:"ans",presence:"M"},{id:"05",name:"Merchan Account Information",format:"ans",presence:"M"}]},{id:"52",name:"Merchant Category Code",format:"N",presence:"M"},{id:"53",name:"Transaction Currency",format:"N",presence:"M"},{id:"54",name:"Transaction Amount",format:"ans",presence:"C"},{id:"55",name:"Tip or Convenience Indicator",format:"ans",presence:"C",template:[{id:"01",name:"Confirm Tip",format:"ans",presence:"M"}]},{id:"58",name:"Country Code",format:"ans",presence:"M"},{id:"59",name:"Merchant Name",format:"ans",presence:"M"},{id:"60",name:"Merchant City",format:"ans",presence:"M"},{id:"61",name:"Postal Code",format:"ans",presence:"O"},{id:"62",name:"Additional Data Field Template",format:"ans",presence:"O",template:[{id:"03",name:"Store Label",format:"ans",presence:"M"},{id:"05",name:"Reference Label",format:"ans",presence:"M"},{id:"06",name:"Customer Label",format:"ans",presence:"M"},{id:"07",name:"Terminal Label",format:"ans",presence:"M"},{id:"09",name:"Additional Consumer Data Request",format:"ans",presence:"M"},{id:"50",name:"Payment system specific template",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Version",format:"ans",presence:"M"}]}]},{id:"63",name:"CRC",format:"ans",presence:"M",valid:!0},{id:"64",name:"Merchant Alternate Language",format:"ans",presence:"O",template:[{id:"00",name:"Language Preference",format:"ans",presence:"M"},{id:"01",name:"Merchant Name - Alternate Language",format:"ans",presence:"M"},{id:"02",name:"Merchant City in Alternate Language",format:"ans",presence:"M"}]},{id:"80",name:"Unreserved Templates",format:"ans",presence:"O",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"URL",format:"ans",presence:"M"},{id:"25",name:"URL",format:"ans",presence:"M",size:{min:1,max:99},variable:"url"}]},{id:"81",name:"Unreserved Templates",format:"ans",presence:"O",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Other Info",format:"ans",presence:"M"}]},{id:"91",name:"Unreserved Templates",format:"ans",presence:"O",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Other Info",format:"ans",presence:"M"},{id:"07",name:"Merchant Loyalty Identifier",format:"ans",presence:"M"}]}],m8=(e,t)=>{let r=[],i=0;for(var o=e;i<e.length;){var o=e.substring(i);let n=o.substr(0,2),l=parseInt(o.substr(2,2),10),s=o.substr(4,l);var a={id:n,length:l,data:s,nestedTags:[]};let d=e=>e.id===a.id,c=t.find(d);c&&(a.name=c.name,a.format=c.format,a.presence=c.presence,a.template=c.template,c.template&&(a.nestedTags=m8(a.data,a.template))),r.push(a),i+=l+4}return r},he=tV({table:{width:"100%"}}),ht=({tag:i})=>{let[o,a]=eS(!1),n=!!i.nestedTags.length;return r(e,{children:[r(r9,{children:[t(r7,{children:n&&t(tM,{"aria-label":"expand row",size:"small",onClick:()=>a(!o),children:o?t(iR,{}):t(iD,{})})}),t(r7,{component:"th",scope:"row",children:i.id}),t(r7,{children:i.name}),t(r7,{children:i.length}),t(r7,{children:i.data})]}),n&&t(r9,{children:t(r7,{style:{paddingBottom:0,paddingTop:0},colSpan:6,children:t(iL,{in:o,timeout:"auto",unmountOnExit:!0,style:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"30px"},children:t(hr,{tags:i.nestedTags})})})})]})},hr=({tags:e})=>r(rq,{className:he().table,size:"small","aria-label":"QR Code Data Table",children:[t(r8,{children:r(r9,{children:[t(r7,{}),t(r7,{children:"ID"}),t(r7,{children:"EMV Name"}),t(r7,{children:"Size"}),t(r7,{children:"Data"})]})}),t(id,{children:e.map((e,r)=>t(ht,{tag:e},r))})]}),hi=({emv:e})=>{let[r,i]=eS(null);return(ew(()=>{e?i(m8(e,m7)):i(null)},[e]),r)?t(rX,{component:eN,children:t(hr,{tags:r})}):null},ho=()=>{let{toggleTheme:e,themeMode:r}=mj();return t(tM,{onClick:e,sx:{color:"common.white"},children:"light"===r?t(i_,{}):t(iP,{})})},ha=({children:e})=>t(iN,{sx:{p:0,m:0,[`& .${iO.root}:before`]:{flex:0,padding:0}},children:e}),hn={CHARGE:t(to,{fontSize:"small"}),DISPUTE:t(ta,{fontSize:"small"}),EMAIL:t(e4,{fontSize:"small"}),SMS:t(tr,{fontSize:"small"}),WHATSAPP:t(tn,{fontSize:"small"}),DATA_EXPORT:t(e7,{fontSize:"small"}),CHARGE_EDIT:t(e3,{fontSize:"small"}),ACCOUNT_REGISTER:t(e8,{fontSize:"small"}),TRANSACTION:t(e0,{fontSize:"small"})},hl=({title:e,time:i,color:o="primary",icon:a,onClick:n,isFirstItem:l=!1,isLastItem:s=!1})=>r(iz,{sx:{":hover":{cursor:n?"pointer":""}},onClick:n,children:[r(i$,{children:[t(iH,{sx:{backgroundColor:l?"transparent":"default"}}),t(iF,{color:o||"primary",sx:{boxShadow:"none"},children:a}),t(iH,{sx:{backgroundColor:s?"transparent":"default"}})]}),t(iV,{sx:{display:"flex",alignItems:"center",pr:0,pl:"8px"},children:t(oo,{sx:{p:1,flex:1},children:r(or,{sx:{justifyContent:"space-between"},children:[r(or,{sx:{flexDirection:"column"},children:[t(ee,{fontWeight:"bold",children:e}),t(ee,{color:"GrayText",children:tR(i).format("DD-MM-YYYY HH:mm")})]}),n&&t(eK,{fontSize:"small",color:"action"})]})})})]}),hs={ACCOUNT_REGISTER_COMPLETED:"success",ACCOUNT_REGISTER_REJECTED:"error",ACCOUNT_REGISTER_REQUESTED:"primary",CHARGE_CREATE:"primary",CHARGE_COMPLETED:"primary",CHARGE_EXPIRED:"error",CHARGE_EMAIL_SENT:"info",CHARGE_DUPLICATED:"success",CHARGE_ATTACH_TRANSACTION:"warning",CHARGE_VIEWED:"info",EMAIL_SENT:"info",EMAIL_DELIVERED:"info",EMAIL_VIEWED:"success",EMAIL_OPENED:"success",SMS_SENT:"info",SMS_DELIVERED:"info",SMS_VIEWED:"success",DATA_EXPORT_COMPLETED:"success"},hd=({color:e="primary",icon:i,isFirstItem:o=!1,isLastItem:a=!1,children:n})=>r(iz,{children:[r(i$,{children:[t(iH,{sx:{backgroundColor:o?"transparent":"default"}}),t(iF,{color:e||"primary",sx:{boxShadow:"none"},children:i}),t(iH,{sx:{backgroundColor:a?"transparent":"default"}})]}),t(iV,{sx:{display:"flex",alignItems:"center",pr:0,pl:"8px"},children:n})]}),hc=({label:e,name:r})=>t(t5,{size:"medium",variant:"outlined",avatar:t(iG,{name:r,size:20}),label:pr(e)?rN(e):e,sx:{fontSize:"14px",backgroundColor:"transparent"}}),hp=({children:r,loading:i=null})=>{let[o,a]=eS(!1);return ew(()=>{"undefined"!=typeof window&&a(!0)},[]),t(e,{children:o?r:i})},hm=({children:e})=>ri(eZ().breakpoints.up("sm"))?e:null,hh=({children:e})=>ri(eZ().breakpoints.down("sm"))?e:null,hu=eC(({children:e,...r},i)=>t(or,{tabIndex:-1,ref:i,sx:{height:"100%",width:"100%"},children:t(L,{mountOnEnter:!0,unmountOnExit:!0,...r,children:e})})),hx=({open:e,onClose:i,title:o,children:a,cancelDragOnContent:n=!1,x:l=0,y:s=0,width:d=500,height:c=500,minWidth:p=200,minHeight:m=200})=>{let h=eZ();return e?t(iB,{default:{x:l,y:s,width:d,height:c},style:{zIndex:h.zIndex.appBar+1},minWidth:p,minHeight:m,bounds:"window",...!n?{}:{cancel:".no-drag"},children:t(hu,{in:e,children:r(tf,{sx:{width:"100%",height:"100%",display:"flex",backgroundColor:h.palette.background.paper,boxShadow:h.shadows[3],borderRadius:"4px",flexDirection:"column"},children:[r(or,{sx:{py:1,pl:2,pr:1,alignItems:"center",justifyContent:"space-between"},children:[t(eY,{variant:"subtitle1",fontWeight:600,color:"black",children:o}),t(tM,{onClick:i,children:t(rC,{})})]}),t(t2,{}),t(tf,{className:"no-drag",sx:{width:"100%",overflow:"hidden"},children:a})]})})}):null};export{ss as AccountInfoLabel,ai as ActionMargin,ao as ActionMarginText,sd as AdditionalInfo,ij as AvatarCircle,iQ as Badge,lb as Banner,lv as BannerError,lw as BannerInfos,hp as BrowserOnly,dx as ButtonMenu,df as ButtonMenuItem,dI as CLICK_PIX_BUTTON_VARIANT,m2 as CardColumn,dE as CardCopy,lH as CardFieldCentered,m3 as CardListLoading,lN as CardSelectable,lz as CardWithIcon,dA as CardWithImage,dv as CashbackTagStatus,m5 as CellDateTypeEnum,sl as ChargeTagStatus,dS as ClickPixButton,dk as ClickPixLogo,md as CobrTagStatus,mc as CobrTryTagStatus,oM as Code,oE as Collapse,o$ as CollapsibleFillWrapper,o4 as CollapsibleTreeActions,ot as Column,dC as CopyButton,dM as CopyInput,pD as DEFAULT_QUEUE_ACTIONS,s0 as DOCUMENT_TYPE,d2 as DataGridDetailContainer,d3 as DataGridLoading,hm as DesktopOnly,lA as DonateWithClickButton,lU as DrawerResponsiveWrapper,l1 as ErrorViewBoundary,dN as GRID_DATETIME_CUSTOM_COL_DEF,dJ as GridDensityTypes,ho as HeaderButtonTheme,as as IntroText,aQ as LayoutRoot,mB as LedgerStatementText,sr as Logo,sN as MenuList,hh as MobileOnly,nr as Modal,so as OpenPixLogoColor,ni as OverflowDiv,mx as PayPixValueCompany,sh as PixTransactionTypeTag,mi as QRCodeWrapper,nc as QuestionTooltip,mw as RadioCard,mM as ReactJson,du as ReactRouterLinkBehavior,cm as RightTopDiagonalVector,np as Row,nI as SafeTextTooltip,sI as ScreenHeaderUI,nG as ScreenHeaderUIResponsive,nQ as ScreenHeaderUITempGreen,n4 as ScreenHeaderUITempWhite,sH as Sidebar,a6 as SidebarContext,a9 as SidebarProvider,mI as SwipeableDialog,mS as SwipeableDialogActions,mD as SwipeableDialogClose,mL as SwipeableDialogContent,m_ as SwipeableDialogModal,mP as SwipeableDialogTitle,mN as SwipeableDialogTrigger,le as SwipeableModal,hn as TIMELINE_APPEVENT_DOMAIN_ICON,hs as TIMELINE_APPEVENT_TYPE_COLOR,lt as TRANSACTION_TAG_ENTRYTYPE_COLOR,lh as TRANSACTION_TAG_STATUS_COLOR,hi as TablePixEMV,d4 as TableViewModelEnum,sJ as TagWebhookStatus,sQ as Terms,s1 as TermsLink,di as ThemeMuiDispute,dt as ThemeMuiTheme,hl as TimelineAppEventItem,hd as TimelineItem,ha as Timeline,li as TransactionTagEntryType,lu as TransactionTagStatus,o8 as TransparencyCollapsibleWrapper,hx as WindowPopper,mt as WooviLink,lC as LoginWrapper,iG as Avatar,iY as AvatarGroup,iq as AvatarGroupArray,iX as AvatarGroupSelectedAll,l_ as CardBasicContext,aH as buildSchemeGenerator,i2 as ActionButton,i0 as DangerButton,db as PayWithPixButton,i3 as ResponsiveSplitButton,i4 as SplitButton,oy as CardAnalytics,ov as CardAnalyticsSmall,lO as CardField,lV as CardGrid,ow as Grid,oC as CardWithActions,oo as Card,oa as CardActions,on as CardContent,ol as CardForm,lP as CardList,os as CardSkeleton,od as CardStep,oc as CardWithLink,op as CardWithLinkSkeleton,dP as cellTypeBasisToPercentage,dO as cellTypeExpand,dH as cellTypeLink,dV as cellTypePhone,dF as cellTypeTag,hc as UserChip,lE as DonateClickPixButton,o_ as Collapsible,oz as CollapsibleActions,oF as CollapsibleDetails,oB as CollapsibleGroup,oU as CollapsibleInfinityActions,oK as CollapsibleStep,o2 as CollapsibleStepHeader,o5 as CollapsibleTree,o6 as ExpandMoreIcon,o9 as LeafCollapsible,lB as CompanyLogo,nR as ScreenHeaderTitle,an as Content,d_ as Countdown,d1 as DataGrid,l8 as decodeQueryParamsFromLocation,lG as DialogProvider,mh as EarnDiscount,lZ as DrawerCard,lY as ErrorBoundaryWithRetry,l2 as ErrorView,l7 as FileDrop,ay as Filter,aR as FilterRelayFormik,aL as FormikFilter,aD as useFilterFormik,st as FieldRow,aS as formatFilters,m4 as getCellCurrency,m6 as getCellDate,m9 as getCellLink,sD as getItemsPath,lk as getLoadingIconProp,aP as getShadeOfColor,lr as getTransactionEntryTypeColors,nM as hasTemp,a_ as SectionHeading,aF as Divider,am as HorizontalStack,a$ as HoverPopper,aN as hexToRgb,az as hexToRgbaString,ct as AssineOnlineIcon,ci as BotConversaIcon,co as CheckIconLabel,aB as CvvIcon,aW as DownloadIcon,i1 as Icon,cn as MetaIcon,cs as N8nIcon,cd as NfeIcon,cp as NuvemshopIcon,aj as RejectIcon,aK as SVG,aG as SearchIcon,cu as SocPanelIcon,aZ as SuccessIcon,cf as WabizIcon,cC as WakeIcon,aJ as WarningIcon,no as WooviLogoInMobile,cb as Dropzone,ck as DropzoneFile,dn as isUnSupportedBrowser,ne as LayoutWrapper,si as LayoutWrapperFluid,sa as WooviLogo,or as BoxFlex,lM as Typography,ml as MultiFactorConfirmModal,mo as MultiFactorPixPaymentMatch,ma as MultiFactorPixPaymentMismatch,mn as MultiFactorPixPaymentView,oJ as CheckIcon,mp as ConfirmedIcon,mu as EarnCashback,mg as PixPaymentWoovi,mv as PaymentLinkRow,mC as CopyBarcode,mr as CopyQRCode,ly as ErrorIcon,mb as PaymentFooter,my as QrCodeShowButton,sf as PinInput,sg as PinInputFormik,nm as RefreshButtonRelay,nh as RefreshIconButton,nf as SearchInputRelay,ng as TopPagination,mE as RewardTicket,mm as Ribbon,sw as ContentBoundary,nE as RoutedTabs,nA as TabbedContent,nP as ScreenHeaderCard,mV as GlobalSearchField,mF as Select,sT as SelectAll,sp as WooviAuthForm,a7 as useSidebar,sF as CloseSnack,sG as SnackbarProvider,sZ as useSnackbar,iJ as BackButton,i5 as Circle,oe as CircleButton,dw as ClockIcon,ac as EmptyMessage,ap as EncryptedText,ax as FloatingMenu,a2 as LinearProgress,oI as Link,a4 as Loading,nl as ProgressBar,nu as SearchField,nT as Step,mG as ThemeProvider,mq as ToggleButtonGroup,n9 as statementColors,n7 as TransactionTypeText,sX as Stepper,se as stringToBoolean,d8 as SwipeableDrawer,m1 as CardListVirtualized,d6 as TableToggleViewModel,nH as Tag,lf as TagsContainer,s4 as TermsModal,s5 as TextMultiline,nk as toSafeTruncate,dh as UnsupportedBrowserWarning,d7 as useDialog,mk as useSwipeableDialogContext,d9 as useTableView,s2 as useTerms,mj as useThemeMode,pS as validateCell,me as ImportStepper};
|
|
1555
|
+
`,mh=()=>r("svg",{width:"259",height:"259",viewBox:"0 0 259 259",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r("g",{clipPath:"url(#clip0_41_572)",children:[t("path",{d:"M240.166 54.3437C238.354 51.4256 236.323 48.5625 234.181 45.9196C216.391 24.0059 193.165 14.7559 166.645 8.5342C139.246 2.09224 107.125 0.110096 80.824 11.6726C74.6194 14.4256 68.7443 18.0595 64.0772 23.0149C46.4518 41.68 40.4119 72.9538 20.8098 97.6756C1.20775 122.397 -8.3462 153.176 9.22429 182.412C16.6917 194.801 26.1908 204.987 37.392 213.961C51.2287 224.973 63.1437 239.894 79.1768 248.484C95.9786 257.513 118.381 260.707 136.995 256.522C158.244 251.787 170.653 232.957 186.851 220.183C199.644 210.052 214.909 203.445 227.428 193.039C246.591 177.071 261.141 151.359 258.725 125.921C256.364 101.199 253.289 75.5416 240.166 54.3437Z",fill:"#D4F8EE"}),t("path",{opacity:"0.7",d:"M240.166 54.3437C238.354 51.4256 236.323 48.5625 234.181 45.9196C216.391 24.0059 193.165 14.7559 166.645 8.5342C139.246 2.09224 107.125 0.110096 80.824 11.6726C74.6194 14.4256 68.7443 18.0595 64.0772 23.0149C46.4518 41.68 40.4119 72.9538 20.8098 97.6756C1.20775 122.397 -8.3462 153.176 9.22429 182.412C16.6917 194.801 26.1908 204.987 37.392 213.961C51.2287 224.973 63.1437 239.894 79.1768 248.484C95.9786 257.513 118.381 260.707 136.995 256.522C158.244 251.787 170.653 232.957 186.851 220.183C199.644 210.052 214.909 203.445 227.428 193.039C246.591 177.071 261.141 151.359 258.725 125.921C256.364 101.199 253.289 75.5416 240.166 54.3437Z",fill:"#D4F8EE"}),t("path",{d:"M204 81.0021V57.0662H201.82V26.3657C201.82 15.9067 193.414 7.47708 183.036 7.42505C183.036 7.42505 183.036 7.42505 182.984 7.42505H81.7438C71.3136 7.42505 62.9072 15.8547 62.9072 26.3137C62.9072 26.3137 62.9072 26.3137 62.9072 26.3657V232.631C62.9072 243.09 71.3655 251.52 81.7438 251.52H182.984C193.414 251.52 201.82 243.038 201.82 232.631V101.4H204V87.2463H201.82V81.0021H204Z",fill:"#707070",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M85.9462 10.0789H178.728C190.248 10.0789 199.588 19.4451 199.588 30.9968V227.948C199.588 239.5 190.248 248.866 178.728 248.866H85.9462C74.4264 248.866 65.0859 239.5 65.0859 227.948V30.9968C65.0859 19.4451 74.4264 10.0789 85.9462 10.0789Z",fill:"#263238",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M177.068 11.796H139.707L139.655 11.9521C138.565 15.9587 136.022 18.5605 133.168 18.5605H131.56C128.758 18.5605 126.215 15.9587 125.073 11.9521V11.796H87.6598C77.2296 11.796 68.8232 20.2776 68.8232 30.6846V219.102C68.8232 229.561 77.2815 237.991 87.6598 237.991H177.017C187.395 237.991 195.853 229.561 195.853 219.102V30.6846C195.905 20.2776 187.447 11.796 177.068 11.796Z",fill:"white",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M177.069 11.796H139.707L139.655 11.9521C138.565 15.9587 136.022 18.5605 133.168 18.5605H131.56C128.758 18.5605 126.215 15.9587 125.073 11.9521V11.796H87.6598C77.2296 11.796 68.8232 20.2776 68.8232 30.6846V32.818H195.905V30.6846C195.905 20.2776 187.447 11.796 177.069 11.796Z",fill:"#03D69D"}),t("path",{d:"M181.323 120.601C181.323 116.178 187.342 110.922 186.252 106.811C185.111 102.544 177.275 101.088 175.096 97.341C172.968 93.5945 175.563 85.9975 172.501 82.9274C169.44 79.8574 161.915 82.5111 158.127 80.3257C154.339 78.1402 152.938 70.283 148.683 69.1382C144.584 68.0455 139.395 74.0815 134.932 74.0815C130.469 74.0815 125.28 68.0455 121.181 69.1382C116.926 70.283 115.473 78.1402 111.737 80.3257C108 82.4591 100.424 79.8574 97.3626 82.9274C94.301 85.9975 96.9475 93.5425 94.768 97.341C92.5886 101.14 84.753 102.544 83.6114 106.811C82.5217 110.922 88.5411 116.126 88.5411 120.601C88.5411 125.076 82.5217 130.279 83.6114 134.39C84.753 138.657 92.5886 140.114 94.768 143.86C96.8956 147.607 94.301 155.204 97.3626 158.274C100.424 161.344 107.948 158.69 111.737 160.875C115.525 163.061 116.926 170.918 121.181 172.063C125.28 173.156 130.469 167.12 134.932 167.12C139.395 167.12 144.584 173.156 148.683 172.063C152.938 170.918 154.391 163.061 158.127 160.875C161.864 158.69 169.44 161.344 172.501 158.274C175.563 155.204 172.916 147.659 175.096 143.86C177.275 140.062 185.111 138.657 186.252 134.39C187.394 130.279 181.323 125.023 181.323 120.601Z",fill:"#03D69D"}),t("path",{d:"M134.362 139.229L114.332 117.999C113.398 116.958 113.398 115.345 114.435 114.408C115.473 113.472 117.082 113.472 118.016 114.513L133.739 131.216L153.613 102.336C154.34 101.14 155.897 100.775 157.09 101.504C158.284 102.232 158.647 103.793 157.92 104.99C157.868 105.042 157.817 105.146 157.765 105.198L134.362 139.229Z",fill:"white"}),t("path",{d:"M74.375 199.797H113.449",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M144.792 204.949H158.024",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M133.843 204.949H142.042",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M101.048 204.949H130.678",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M74.375 204.949H97.3628",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M124.295 210.465H150.033",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M101.463 210.465H121.078",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M74.375 210.465H98.2969",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M184.021 215.928H187.187",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M160.307 215.928H181.738",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M118.379 215.928H154.807",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M83.7158 215.928H114.695",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M74.375 215.928H80.083",stroke:"#263238",strokeWidth:"1.3179",strokeLinejoin:"round"}),t("path",{d:"M131.974 14.5018C132.949 14.5018 133.739 13.7097 133.739 12.7326C133.739 11.7555 132.949 10.9634 131.974 10.9634C131 10.9634 130.21 11.7555 130.21 12.7326C130.21 13.7097 131 14.5018 131.974 14.5018Z",fill:"#707070"}),t("path",{d:"M156.104 19.7573H154.443V23.9721H156.104V19.7573Z",fill:"white"}),t("path",{d:"M158.335 18.9247H156.675V23.9721H158.335V18.9247Z",fill:"white"}),t("path",{d:"M160.567 18.3003H158.906V23.92H160.567V18.3003Z",fill:"white"}),t("path",{d:"M162.798 17.2596H161.138V23.92H162.798V17.2596Z",fill:"white"}),t("path",{d:"M183.555 23.816H173.488V17.6759H183.555V23.816ZM174.059 23.2957H182.984V18.2483H174.059V23.2957Z",fill:"white"}),t("path",{d:"M180.182 18.8207H174.889V22.6712H180.182V18.8207Z",fill:"white"}),t("path",{d:"M184.437 20.0175H183.191V21.4744H184.437V20.0175Z",fill:"white"}),t("path",{d:"M169.804 22.5151C169.752 22.5151 169.648 22.5151 169.596 22.4631C167.521 21.2663 166.172 22.359 166.12 22.4111C165.964 22.5672 165.756 22.5672 165.601 22.4631C165.445 22.307 165.445 22.0989 165.549 21.9428L165.601 21.8907C165.653 21.8387 167.417 20.3297 169.96 21.8387C170.115 21.9428 170.219 22.1509 170.115 22.359C170.063 22.4111 169.96 22.5151 169.804 22.5151Z",fill:"white"}),t("path",{d:"M170.581 21.2143C170.529 21.2143 170.426 21.2143 170.374 21.1622C167.416 19.393 165.444 21.1102 165.392 21.1102C165.237 21.2663 165.029 21.2143 164.873 21.1102C164.718 20.9541 164.77 20.7459 164.925 20.5898C164.925 20.5898 167.364 18.5085 170.789 20.5378C170.945 20.6419 171.048 20.85 170.945 21.0582C170.841 21.1622 170.685 21.2143 170.581 21.2143Z",fill:"white"}),t("path",{d:"M171.257 19.8093C171.205 19.8093 171.101 19.8093 171.049 19.7573C167.313 17.5198 164.822 19.6012 164.718 19.7052C164.563 19.8613 164.303 19.8093 164.199 19.6532C164.044 19.4971 164.096 19.2369 164.251 19.1328C164.303 19.1328 167.261 16.5831 171.464 19.0808C171.62 19.1849 171.724 19.393 171.62 19.6012C171.516 19.7052 171.36 19.8093 171.257 19.8093Z",fill:"white"}),t("path",{d:"M168.661 23.1395C168.661 23.6599 168.246 24.0761 167.727 24.0761C167.208 24.0761 166.793 23.6599 166.793 23.1395C166.793 22.6192 167.208 22.2029 167.727 22.2029C168.246 22.2029 168.661 22.6192 168.661 23.1395Z",fill:"white"})]}),t("defs",{children:t("clipPath",{id:"clip0_41_572",children:t("rect",{width:"259",height:"259",fill:"white"})})})]}),mu=({children:e,color:r})=>{let i=eZ();return t(ai,{sx:{alignItems:"center",gap:1,backgroundColor:r||i.palette.primary.main,padding:"5px 32px 5px 10px",borderRadius:"5px 0 0 5px",clipPath:"polygon(100% 0,0% 0%,0% 100%,100% 100%,calc(100% - 20px) 50%)"},children:e})},mx=({chargeData:e})=>{let{t:i}=eX(),a=eZ();if(!e?.discount)return null;let o=dj(e.discount/100);return r(mu,{children:[t(ee,{children:"\uD83E\uDD11"}),r(ee,{color:a.palette.tertiary.main,sx:{fontSize:"16px"},children:[i("You earned")," ",t("b",{children:o})," ",i("of discount")]})]})},mf=({chargeData:e})=>{let{t:i}=eX(),a=eZ();if(!e?.cashback||e.cashback?.status!==dv)return null;let o=dj(e.cashback.value/100);return r(mu,{children:[t(ee,{children:"\uD83E\uDD11"}),r(ee,{color:a.palette.tertiary.main,sx:{fontSize:"16px"},children:[t("b",{children:o})," ",i("cashback on time!")]})]})},mg=({charge:i,companyName:a})=>{let{t:o}=eX(),n=o("To pay"),l=o("to {{companyName}}",{companyName:a}),s=c5(i?.value/100),d=c5(i?.valueWithDiscount/100);return t(ee,{sx:{fontSize:"24px",fontWeight:"800",textAlign:"center"},children:i?.value||i?.valueWithDiscount?"number"==typeof i?.valueWithDiscount&&i?.value!==i?.valueWithDiscount?r(e,{children:[n,t(ee,{component:"span",sx:{color:"#b2b2b2ff",textDecoration:"line-through",fontSize:"24px",fontWeight:"800"},children:s+" "}),d," ",l," ",o("via Pix")]}):`${n} ${o("{{finalValue}}",{finalValue:(()=>{let{finalValue:e}=i?.decodedBrCode||{};return e?c5(e/100):i?.valueWithDiscount?c5(i?.valueWithDiscount/100):c5(i.value/100)})()})} ${l} ${o("via Pix")}`:o("Define the payment value")})},mC={ALL:"ADMIN"};mC.ALL,mC.ALL,mC.ALL;let mb=({projectType:e})=>{let{t:i}=eX(),a=eZ(),o="WOOVI"===e?r(eq,{t:i,i18nKey:"100% encrypted payment via Woovi",children:["100% encrypted payment via"," ",t(O,{href:"https://woovi.com/?utm_source=payment_link&utm_medium=logo",target:"_blank",rel:"noopener noreferrer",children:t(sn,{color:a.palette.grey[400],height:"14px"})})]}):r(eq,{t:i,i18nKey:"100% encrypted payment via OpenPix",children:["100% encrypted payment via"," ",t(O,{href:"https://woovi.com/?utm_source=payment_link&utm_medium=logo",target:"_blank",rel:"noopener noreferrer",children:"OpenPix"})]});return r(ai,{sx:{flexDirection:"column",pb:"10px"},children:[t(ee,{sx:{fontSize:16,textAlign:"center",color:a.palette.grey[400]},children:o}),r(ee,{variant:"body2",sx:{fontSize:10,textAlign:"center",color:a.palette.grey[400]},children:["(v",sp,")"]})]})},my=({value:e,onError:r,debounceDelay:i=1e3})=>{let{t:a}=eX(),{enqueueSnackbar:o}=ra();return t(db,{value:e,debounceDelay:i,onError:()=>{o(a("Error copying Barcode"),{variant:"error"}),r&&r(!0)},"data-testid":"btn-copy-barcode-payment-link",children:a("Copy Barcode")})},mv=({value:e,onError:r,debounceDelay:i=1e3})=>{let{t:a}=eX(),{enqueueSnackbar:o}=ra();return t(db,{value:e,debounceDelay:i,onError:async()=>{o(a("Error copying QR Code"),{variant:"error"}),r&&r(!0)},"data-testid":"btn-copy-qrcode-payment-link",children:a("Copy QR Code")})},mw=({projectType:e})=>t(mb,{projectType:e}),mM=({qrCodeShow:e,setQrCodeShow:r})=>{let{t:i}=eX();return t(ai,{sx:{flex:1,"@media (min-width: 600px)":{display:"none"}},children:t(i0,{variant:"outlined",color:"tertiary",onClick:()=>r(!e),startIcon:t(ib,{color:"tertiary"}),size:"large",sx:e=>({display:"flex !important",width:"100% !important",color:`${e.palette.tertiary.main} !important`,borderColor:`${e.palette.tertiary.main} !important`,backgroundColor:"transparent !important","&:hover":{boxShadow:"none !important",textDecoration:"none !important",backgroundColor:`${e.palette.action.hover} !important`,border:`1px solid ${e.palette.tertiary.main} !important`}}),fullWidth:!0,children:t(ee,{component:"span",sx:{textTransform:"uppercase"},children:i(e?"Hide QR Code":"Show QR Code")})})})},mE=({title:e,value:i,variant:a="h6"})=>r(ei,{direction:"row",sx:{justifyContent:"space-between"},gap:10,children:["string"!=typeof e?e:t(eY,{variant:a,children:e}),t(eY,{variant:a,fontWeight:"bold",children:"number"==typeof i?c6(i):i})]}),mA=({children:e,value:r,labelPlacement:i="start",cardProps:a={},radioTestId:o=null,useFormik:n=!1})=>{let l=eZ(),s=iw(),d=n?null:r===s?.value;return t(ao,{...a,borderRadius:void 0,sx:{...a.sx,p:1,transition:"none",backgroundColor:d?ej(l.palette.primary.light,.95):void 0,borderColor:d?`${l.palette.primary.main}`:void 0,boxShadow:d?`inset 0px 0px 0px 1px ${l.palette.primary.main}`:void 0,"&:hover":{backgroundColor:ej(l.palette.primary.light,.95),borderColor:`${l.palette.primary.main}`,boxShadow:`inset 0px 0px 0px 1px ${l.palette.primary.main}`}},children:t(iy,{sx:{alignItems:"start",marginRight:0},value:r,label:t(ai,{sx:{width:"100%",mt:1,flexDirection:"column"},children:e}),labelPlacement:i,control:t(iv,{checkedIcon:t(r3,{}),sx:{"& .MuiSvgIcon-root":{fontSize:28}},...o?{inputProps:{"data-testid":o}}:{}}),disableTypography:!0})})},mI=e=>t(iM,{theme:"light"==("undefined"==typeof window?"light":"dark"===localStorage.getItem("themeMode")?"dark":"light")?"rjv-default":"monokai",indentWidth:2,displayObjectSize:!0,...e,enableClipboard:async e=>{"object"==typeof e.src?await dC(JSON.stringify(e.src,null,2)):await dC(e.src)}}),mk=({title:e,description:i,value:a,...o})=>{let n=eZ(),l=o.color||n.palette.primary.main;return r(ai,{sx:{background:ej(l,.8),width:"100%",borderRadius:"8px",justifyContent:"space-between",mask:"radial-gradient(6px at right center, #0000 98%, #000) 0 0"},children:[r(ai,{sx:{flexDirection:"column",padding:"8px 16px",justifyContent:"center"},children:[t(ee,{variant:"h6",sx:{fontWeight:"bold"},children:e}),t(ee,{children:i})]}),t(ai,{sx:{background:l,alignItems:"center",justifyContent:"center",padding:"28px 16px",borderRadius:"8px",mask:"radial-gradient(6px at 6px center, #0000 98%, #000) -6px 0"},children:t(ee,{color:"white",variant:"h6",sx:{fontWeight:"bold",whiteSpace:"nowrap"},children:a})})]})},mS=ef(null),mT=()=>{let e=ev(mS);if(!e)throw Error("Only should be used on the SwipeableDialog scope");return e},mD=e=>{let{children:r,isOpen:i=!1,onOpenChange:a,closeOnBackdropClick:o=!0}=e,[n,l]=aI(i,a);return t(mS.Provider,{value:{open:n,setOpen:l,closeOnBackdropClick:o},children:r})};mD.displayName="SwipeableDialog";let mR=e=>{let{children:r}=e;return t(tG,{children:r})};function mL(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),!1===r||!i.defaultPrevented)return t?.(i)}}mR.displayName="SwipeableDialogActions";let m_=e=>{let{setOpen:t}=mT(),{children:r,onClick:i}=e;return eh.cloneElement(r,{onClick:mL(()=>{t(!1)},i)})};function mP(e,...t){let r={...e};return t&&t.forEach(e=>{e&&Object.keys(e).forEach(t=>{r[t]&&"object"==typeof r[t]&&"object"==typeof e[t]?r[t]={...r[t],...e[t]}:r[t]=e[t]})}),r}m_.displayName="SwipeableDialogClose";let mN=e=>{let r=eZ(),{children:i,dividers:a=!0,sx:o}=e;return t(ai,{sx:mP({maxHeight:r.sizing.maxModalHeight,overflowY:"auto"},o),children:t(tW,{dividers:a,children:i})})};mN.displayName="SwipeableDialogContent";let mz=({children:e,sx:r})=>{let i=eZ(),{open:a,setOpen:o,closeOnBackdropClick:n}=mT();return t(t6,{open:a,onClose:()=>{n&&o(!1)},closeAfterTransition:!0,sx:{"@media (max-width: 600px)":{zIndex:i.zIndex.modal,marginBottom:12}},children:t(le,{in:a,children:t(eN,{sx:mP({position:"absolute",left:0,bottom:0,right:0,boxShadow:i.shadows[2],borderRadius:1,height:"fit-content","@media (min-width: 600px)":{maxWidth:700,top:"50%",left:"50%",transform:"translate(-50%, -50%)"}},r),children:e})})})},mO=e=>{let{children:r,sx:i}=e;return t(tZ,{id:"dialog-title",sx:i,children:r})};mO.displayName="SwipeableDialogTitle";let mH=e=>{let{setOpen:t}=mT(),{children:r,...i}=e;return eh.cloneElement(r,{...i,onClick:mL(i.onClick,()=>{t(!0)})})};mH.displayName="SwipeableDialogTrigger";let mV=eG("div")(({theme:e,fullWidth:t,variant:r})=>({display:"flex",flexDirection:"row-reverse",alignItems:"center",position:"relative",height:"36px",borderRadius:e.shape.borderRadius,color:"outline"===r?e.palette.primary.main:e.palette.common.white,backgroundColor:"outline"===r?e.palette.common.white:"transparent",transition:e.transitions.create("background-color"),...t?{width:"100%"}:{},"&:has(.MuiInputBase-input:focus), &:has(.MuiInputBase-input:not(:placeholder-shown))":{backgroundColor:e.palette.common.white,color:e.palette.tertiary.main},"&:has(.MuiInputBase-input:focus) .MuiButtonBase-root, &:has(.MuiInputBase-input:not(:placeholder-shown)) .MuiButtonBase-root":{color:e.palette.primary.main},[e.breakpoints.up("sm")]:{width:"auto",flexDirection:"row",backgroundColor:"outline"===r?e.palette.common.white:e$(e.palette.common.white,.25)}})),mF=eG(tM)(({theme:e,variant:t})=>({color:"outline"===t?e.palette.primary.main:e.palette.common.white,padding:e.spacing(0,2),display:"flex",alignItems:"center",justifyContent:"center",[e.breakpoints.up("sm")]:{cursor:"default"}})),m$=eG(iE)(({theme:e,fullWidth:t})=>({color:"dark"===e.palette.mode?e.palette.tertiary.main:"inherit",[e.breakpoints.down("sm")]:{width:"100%",paddingLeft:e.spacing(1),paddingRight:e.spacing(1)},"& .MuiInputBase-input":{transition:e.transitions.create("create"),[e.breakpoints.up("sm")]:{width:"12ch","&:not(:placeholder-shown), &:focus":{width:t?"100%":"20ch"}}}})),mB=({onDebounceApplied:e,onChange:i,value:a,fullWidth:o=!1,disableMobile:n=!1,variant:l="primary"})=>{let s=ri(e=>e.breakpoints.up("sm")),d=ek(),{t:c}=eX(),[p,m]=eS(!1),h=ru(t=>{e&&a&&e(a,t)},3e3),u=p||s||n;return r(mV,{fullWidth:o,variant:l,children:[t(mF,{variant:l,onClick:()=>{m(!0),d.current!==document.activeElement&&(s||n)&&d.current.focus()},disableRipple:!0,children:t(tq,{sx:{color:"inherit"}})}),u&&t(m$,{name:"search",inputRef:d,type:"search",placeholder:`${c("Search")}...`,autoFocus:p,fullWidth:o,variant:l,inputProps:{"aria-label":"search",maxLength:256,"data-testid":"GlobalSearchField"},value:a,onChange:e=>{i(e)},onBlur:()=>{a||m(!1)},onKeyUp:e=>{"Enter"===e.key?h.cancel():h(e)}})]})},mW=({children:e,size:r="small",...i})=>t(eN,{elevation:0,sx:{width:{xs:"100%",md:"150px"}},children:t(iA,{...i,size:r,sx:{width:"100%"},children:e})}),mj={[n9]:"#4CAF50",[n6]:"#EF5350"},mG=({type:e,children:r})=>t(lE,{variant:"body2",color:mj[e],children:r}),mZ=ef(null),mU=()=>ev(mZ),mY=({children:e})=>{let[r,i]=eS(()=>localStorage.getItem("themeMode")||"light"),a=ey(()=>{let e="light"===r?"dark":"light";localStorage.setItem("themeMode",e),i(e)},[r]),o=eA(()=>({toggleTheme:a,themeMode:r}),[r,a]),l="light"===r?dr:di;return t(mZ.Provider,{value:o,children:t(eF,{theme:l,children:t(n,{theme:l,children:e})})})},mq=eG(iE)(({theme:e})=>({"& .MuiInputBase-input":{width:"100%",padding:e.spacing(1),backgroundColor:e.palette.background.paper,borderRadius:10,border:`2px solid ${ej(e.palette.secondary.main,.8)}`,color:e.palette.secondary.main,fontSize:18,fontWeight:600,paddingLeft:16,transition:e.transitions.create(["border-color","box-shadow"]),"&:focus":{borderRadius:4,borderColor:ej(e.palette.primary.main,.5),boxShadow:`0 0 0 0.2rem ${e$(e.palette.primary.main,.3)}`}}})),mX=({group:e,value:r,onValueChange:i})=>t(iS,{sx:{width:"100%"},children:t(iT,{value:r,onChange:e=>i(e.target.value),input:t(mq,{}),children:e.map((e,r)=>t("option",{value:e.value,children:e.text},`mobile-item-${r}`))})}),mK=eG(iI)(({theme:e})=>({minWidth:145,borderWidth:e.shape.borderWidth,borderColor:ej(e.palette.secondary.main,.8),borderRadius:e.shape.borderRadius,textTransform:"none",fontSize:"14px",fontWeight:"600",padding:"0px 8px",color:ej(e.palette.secondary.main,.8),"&.Mui-selected":{color:e.palette.secondary.main,backgroundColor:"transparent"}})),mQ=({group:e,exclusive:r=!0,canValueBeNull:i=!0,initialValue:a,onValueChange:o})=>{let[n,l]=eS(()=>r?a??null:a?[a]:[]);return ri("(max-width: 600px)")?t(mX,{group:e,value:n,onValueChange:e=>{l(e),o&&o(e)}}):t(ik,{exclusive:r,value:n,onChange:(e,t)=>{if(i||r&&null!==t||Array.isArray(t)&&t.length>0){l(t),o&&o(t);return}},children:e.map((e,r)=>t(mK,{value:e.value,children:e.text},`${e.text}-${r}`))})},mJ=({value:e,row:t})=>({value:e,row:t}),m1=rA(),m2=e=>e.type&&!Object.keys(m1).includes(e.type),m0=void 0!==process.env.JEST_WORKER_ID,m3=({columns:e,data:r,onScrollToBottom:i,onCardClick:a,noItemsLabel:o,cardListDefaultHeight:n="calc(100vh - 156px)"})=>{let l=ek(),[s,d]=eS(r.length);ew(()=>{r.length!==s&&d(r.length)},[r.length]);let c=iD({count:s,estimateSize:()=>80,overscan:10,getScrollElement:()=>l.current}),{t:p}=eX(),[m,h]=eS(n);ew(()=>{let[e]=[...c.getVirtualItems()].reverse();e&&e.index>=r.length-1&&i()},[r.length,c.getVirtualItems()]),eE(()=>{h(c.getVirtualItems().length<10?c.getVirtualItems().reduce((e,t)=>e+t.size,0):n)},[r.length,c.getVirtualItems()]);let u=(e,t)=>{if(a)return a({row:e},t)};if(0===r.length)return o?t(ai,{sx:{flex:1,alignItems:"center",justifyContent:"center"},children:t(ee,{variant:"h6",children:o})}):t(ai,{sx:{flex:1,alignItems:"center",justifyContent:"center"},children:t(ee,{variant:"h6",children:p("No items")})});let x=dQ(e),f=m0?Array.from({length:r.length},(e,t)=>({index:t,start:0})):c.getVirtualItems();return s&&t("div",{"data-testid":"use-virtualizer",ref:l,className:"List",style:{height:m,width:"100%",overflow:"auto"},children:t("div",{style:{height:`${c.getTotalSize()}px`,width:"100%",position:"relative"},children:f.map(e=>{let i=r[e.index];return t("div",{"data-index":e.index,ref:c.measureElement,style:{position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${e.start}px)`,marginBottom:"16px"},children:t(m4,{columns:x,row:i,onCardClick:a,handleCardClick:u})},e.index)})})})},m4=e=>{let{columns:r,row:i,onCardClick:a,handleCardClick:o}=e;return t(lF,{cardProps:{sx:{cursor:a?"pointer":"default"},onClick:e=>o&&o(i,e)},children:r.map((e,r)=>{var a,o,n,l;let s;return t(lH,{label:e.headerName,value:(a=i,s=(n="function"==typeof(o=e).valueGetter?o.valueGetter({row:a}):a[o.field],m2(l=o)?l.type in dY&&"function"==typeof dY[l.type].valueFormatter?dY[l.type].valueFormatter({value:n,field:l.field}):n:"function"==typeof l.valueFormatter?l.valueFormatter({value:n,field:l.field}):n),(o.renderCell?o.renderCell(mJ({value:s,row:a})):m2(o)?o.type in dY&&dY[o.type].renderCell?dY[o.type].renderCell(mJ({value:s,row:a})):s:s)??"-"),alignField:e.alignField},r)})})},m5=({minWidth:e=50})=>t(rV,{width:eA(()=>Math.max(e-10,120*Math.random()),[]),animation:"wave",variant:"text"}),m6=({size:e=10,...r})=>{let i=r.columns.map(e=>({...e,renderCell:()=>t(m5,{})}));return t("div",{"data-testid":"loading",children:Array.from({length:e},e=>({id:e})).map((e,r)=>t(m4,{columns:i,row:e},r))})},m9=()=>({cell:e=>{let t=e.getValue();return null===t?"-":"number"!=typeof t?t:dj(t/100)}}),m7={DATETIME:"DATETIME",DATE:"DATE",TIME:"TIME"},m8=(e=m7.DATE)=>({cell:t=>{let r=t.getValue();return r&&tR(r).isValid()?e===m7.DATETIME?tR(r).format("DD-MM-YYYY HH:mm"):e===m7.TIME?tR(r).format("HH:mm"):tR(r).format("DD-MM-YYYY"):"-"}}),he=e=>({cell:r=>{let i=r.getValue();return i?t("a",{href:e(r?.row?.original),rel:"noreferrer noopener",target:"_blank",onClick:e=>e.stopPropagation(),children:i}):"-"}}),ht=[{id:"00",name:"Payload Format Indicator",format:"N",presence:"M"},{id:"01",name:"Point Of Initiation Method",format:"N",presence:"O"},{id:"02",name:"Merchant Account Information - Visa",format:"N",presence:"O"},{id:"03",name:"Merchant Account Information - Visa",format:"N",presence:"O"},{id:"04",name:"Merchant Account Information - Mastercard",format:"N",presence:"O"},{id:"05",name:"Merchant Account Information - Mastercard",format:"N",presence:"O"},{id:"26",name:"Merchant Account Information - Pix",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Pix Key",format:"ans",presence:"M"},{id:"02",name:"infos adicionais",format:"ans",presence:"M",size:{min:1,max:72}},{id:"25",name:"url",format:"ans",presence:"M",size:{min:1,max:72},variable:"url"},{id:"03",name:"fss",format:"ans",presence:"M",size:{min:8,max:8}}]},{id:"27",name:"Merchant Account Information - Outro",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Account ID",format:"ans",presence:"M"}]},{id:"29",name:"Merchant Account Information",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"05",name:"Merchan Account Information",format:"ans",presence:"M"}]},{id:"31",name:"Merchant Account Information",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"03",name:"Merchan Account Information",format:"ans",presence:"M"},{id:"05",name:"Merchan Account Information",format:"ans",presence:"M"}]},{id:"52",name:"Merchant Category Code",format:"N",presence:"M"},{id:"53",name:"Transaction Currency",format:"N",presence:"M"},{id:"54",name:"Transaction Amount",format:"ans",presence:"C"},{id:"55",name:"Tip or Convenience Indicator",format:"ans",presence:"C",template:[{id:"01",name:"Confirm Tip",format:"ans",presence:"M"}]},{id:"58",name:"Country Code",format:"ans",presence:"M"},{id:"59",name:"Merchant Name",format:"ans",presence:"M"},{id:"60",name:"Merchant City",format:"ans",presence:"M"},{id:"61",name:"Postal Code",format:"ans",presence:"O"},{id:"62",name:"Additional Data Field Template",format:"ans",presence:"O",template:[{id:"03",name:"Store Label",format:"ans",presence:"M"},{id:"05",name:"Reference Label",format:"ans",presence:"M"},{id:"06",name:"Customer Label",format:"ans",presence:"M"},{id:"07",name:"Terminal Label",format:"ans",presence:"M"},{id:"09",name:"Additional Consumer Data Request",format:"ans",presence:"M"},{id:"50",name:"Payment system specific template",format:"ans",presence:"M",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Version",format:"ans",presence:"M"}]}]},{id:"63",name:"CRC",format:"ans",presence:"M",valid:!0},{id:"64",name:"Merchant Alternate Language",format:"ans",presence:"O",template:[{id:"00",name:"Language Preference",format:"ans",presence:"M"},{id:"01",name:"Merchant Name - Alternate Language",format:"ans",presence:"M"},{id:"02",name:"Merchant City in Alternate Language",format:"ans",presence:"M"}]},{id:"80",name:"Unreserved Templates",format:"ans",presence:"O",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"URL",format:"ans",presence:"M"},{id:"25",name:"URL",format:"ans",presence:"M",size:{min:1,max:99},variable:"url"}]},{id:"81",name:"Unreserved Templates",format:"ans",presence:"O",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Other Info",format:"ans",presence:"M"}]},{id:"91",name:"Unreserved Templates",format:"ans",presence:"O",template:[{id:"00",name:"GUI",format:"ans",presence:"M"},{id:"01",name:"Other Info",format:"ans",presence:"M"},{id:"07",name:"Merchant Loyalty Identifier",format:"ans",presence:"M"}]}],hr=(e,t)=>{let r=[],i=0;for(var a=e;i<e.length;){var a=e.substring(i);let n=a.substr(0,2),l=parseInt(a.substr(2,2),10),s=a.substr(4,l);var o={id:n,length:l,data:s,nestedTags:[]};let d=e=>e.id===o.id,c=t.find(d);c&&(o.name=c.name,o.format=c.format,o.presence=c.presence,o.template=c.template,c.template&&(o.nestedTags=hr(o.data,o.template))),r.push(o),i+=l+4}return r},hi=tV({table:{width:"100%"}}),ha=({tag:i})=>{let[a,o]=eS(!1),n=!!i.nestedTags.length;return r(e,{children:[r(r9,{children:[t(r7,{children:n&&t(tM,{"aria-label":"expand row",size:"small",onClick:()=>o(!a),children:a?t(iL,{}):t(iR,{})})}),t(r7,{component:"th",scope:"row",children:i.id}),t(r7,{children:i.name}),t(r7,{children:i.length}),t(r7,{children:i.data})]}),n&&t(r9,{children:t(r7,{style:{paddingBottom:0,paddingTop:0},colSpan:6,children:t(i_,{in:a,timeout:"auto",unmountOnExit:!0,style:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"30px"},children:t(ho,{tags:i.nestedTags})})})})]})},ho=({tags:e})=>r(rq,{className:hi().table,size:"small","aria-label":"QR Code Data Table",children:[t(r8,{children:r(r9,{children:[t(r7,{}),t(r7,{children:"ID"}),t(r7,{children:"EMV Name"}),t(r7,{children:"Size"}),t(r7,{children:"Data"})]})}),t(id,{children:e.map((e,r)=>t(ha,{tag:e},r))})]}),hn=({emv:e})=>{let[r,i]=eS(null);return(ew(()=>{e?i(hr(e,ht)):i(null)},[e]),r)?t(rX,{component:eN,children:t(ho,{tags:r})}):null},hl=()=>{let{toggleTheme:e,themeMode:r}=mU();return t(tM,{onClick:e,sx:{color:"common.white"},children:"light"===r?t(iP,{}):t(iN,{})})},hs=({children:e})=>t(iz,{sx:{p:0,m:0,[`& .${iB.root}:before`]:{flex:0,padding:0}},children:e}),hd={CHARGE:t(ta,{fontSize:"small"}),DISPUTE:t(to,{fontSize:"small"}),EMAIL:t(e4,{fontSize:"small"}),SMS:t(tr,{fontSize:"small"}),WHATSAPP:t(tn,{fontSize:"small"}),DATA_EXPORT:t(e7,{fontSize:"small"}),CHARGE_EDIT:t(e3,{fontSize:"small"}),ACCOUNT_REGISTER:t(e8,{fontSize:"small"}),TRANSACTION:t(e0,{fontSize:"small"})},hc=({title:e,time:i,color:a="primary",icon:o,onClick:n,isFirstItem:l=!1,isLastItem:s=!1})=>r(iF,{sx:{":hover":{cursor:n?"pointer":""}},onClick:n,children:[r(i$,{children:[t(iO,{sx:{backgroundColor:l?"transparent":"default"}}),t(iV,{color:a||"primary",sx:{boxShadow:"none"},children:o}),t(iO,{sx:{backgroundColor:s?"transparent":"default"}})]}),t(iH,{sx:{display:"flex",alignItems:"center",pr:0,pl:"8px"},children:t(ao,{sx:{p:1,flex:1},children:r(ai,{sx:{justifyContent:"space-between"},children:[r(ai,{sx:{flexDirection:"column"},children:[t(ee,{fontWeight:"bold",children:e}),t(ee,{color:"GrayText",children:tR(i).format("DD-MM-YYYY HH:mm")})]}),n&&t(eK,{fontSize:"small",color:"action"})]})})})]}),hp={ACCOUNT_REGISTER_COMPLETED:"success",ACCOUNT_REGISTER_REJECTED:"error",ACCOUNT_REGISTER_REQUESTED:"primary",CHARGE_CREATE:"primary",CHARGE_COMPLETED:"primary",CHARGE_EXPIRED:"error",CHARGE_EMAIL_SENT:"info",CHARGE_DUPLICATED:"success",CHARGE_ATTACH_TRANSACTION:"warning",CHARGE_VIEWED:"info",EMAIL_SENT:"info",EMAIL_DELIVERED:"info",EMAIL_VIEWED:"success",EMAIL_OPENED:"success",SMS_SENT:"info",SMS_DELIVERED:"info",SMS_VIEWED:"success",DATA_EXPORT_COMPLETED:"success"},hm=({color:e="primary",icon:i,isFirstItem:a=!1,isLastItem:o=!1,children:n})=>r(iF,{children:[r(i$,{children:[t(iO,{sx:{backgroundColor:a?"transparent":"default"}}),t(iV,{color:e||"primary",sx:{boxShadow:"none"},children:i}),t(iO,{sx:{backgroundColor:o?"transparent":"default"}})]}),t(iH,{sx:{display:"flex",alignItems:"center",pr:0,pl:"8px"},children:n})]}),hh=({label:e,name:r})=>t(t5,{size:"medium",variant:"outlined",avatar:t(iZ,{name:r,size:20}),label:pi(e)?rN(e):e,sx:{fontSize:"14px",backgroundColor:"transparent"}}),hu=({children:r,loading:i=null})=>{let[a,o]=eS(!1);return ew(()=>{"undefined"!=typeof window&&o(!0)},[]),t(e,{children:a?r:i})},hx=({children:e})=>ri(eZ().breakpoints.up("sm"))?e:null,hf=({children:e})=>ri(eZ().breakpoints.down("sm"))?e:null,hg=eC(({children:e,...r},i)=>t(ai,{tabIndex:-1,ref:i,sx:{height:"100%",width:"100%"},children:t(L,{mountOnEnter:!0,unmountOnExit:!0,...r,children:e})})),hC=({open:e,onClose:i,title:a,children:o,cancelDragOnContent:n=!1,x:l=0,y:s=0,width:d=500,height:c=500,minWidth:p=200,minHeight:m=200})=>{let h=eZ();return e?t(iW,{default:{x:l,y:s,width:d,height:c},style:{zIndex:h.zIndex.appBar+1},minWidth:p,minHeight:m,bounds:"window",...!n?{}:{cancel:".no-drag"},children:t(hg,{in:e,children:r(tf,{sx:{width:"100%",height:"100%",display:"flex",backgroundColor:h.palette.background.paper,boxShadow:h.shadows[3],borderRadius:"4px",flexDirection:"column"},children:[r(ai,{sx:{py:1,pl:2,pr:1,alignItems:"center",justifyContent:"space-between"},children:[t(eY,{variant:"subtitle1",fontWeight:600,color:"black",children:a}),t(tM,{onClick:i,children:t(rC,{})})]}),t(t2,{}),t(tf,{className:"no-drag",sx:{width:"100%",overflow:"hidden"},children:o})]})})}):null};export{sd as AccountInfoLabel,oa as ActionMargin,oo as ActionMarginText,sc as AdditionalInfo,iG as AvatarCircle,i1 as Badge,ly as Banner,lw as BannerError,lM as BannerInfos,hu as BrowserOnly,df as ButtonMenu,dg as ButtonMenuItem,dS as CLICK_PIX_BUTTON_VARIANT,m4 as CardColumn,dA as CardCopy,lV as CardFieldCentered,m6 as CardListLoading,lz as CardSelectable,lO as CardWithIcon,dI as CardWithImage,dw as CashbackTagStatus,m7 as CellDateTypeEnum,ss as ChargeTagStatus,dT as ClickPixButton,dk as ClickPixLogo,mp as CobrTagStatus,mm as CobrTryTagStatus,aE as Code,aA as Collapse,aB as CollapsibleFillWrapper,a5 as CollapsibleTreeActions,ar as Column,db as CopyButton,dE as CopyInput,pR as DEFAULT_QUEUE_ACTIONS,s3 as DOCUMENT_TYPE,d0 as DataGridDetailContainer,d4 as DataGridLoading,hx as DesktopOnly,lI as DonateWithClickButton,lY as DrawerResponsiveWrapper,l2 as ErrorViewBoundary,dz as GRID_DATETIME_CUSTOM_COL_DEF,dJ as GridDensityTypes,hl as HeaderButtonTheme,od as IntroText,o1 as LayoutRoot,mG as LedgerStatementText,si as Logo,sz as MenuList,hf as MobileOnly,ni as Modal,so as OpenPixLogoColor,na as OverflowDiv,mg as PayPixValueCompany,su as PixTransactionTypeTag,mo as QRCodeWrapper,np as QuestionTooltip,mA as RadioCard,mI as ReactJson,dx as ReactRouterLinkBehavior,ch as RightTopDiagonalVector,nm as Row,nS as SafeTextTooltip,sS as ScreenHeaderUI,nZ as ScreenHeaderUIResponsive,n1 as ScreenHeaderUITempGreen,n5 as ScreenHeaderUITempWhite,sV as Sidebar,o9 as SidebarContext,o7 as SidebarProvider,mD as SwipeableDialog,mR as SwipeableDialogActions,m_ as SwipeableDialogClose,mN as SwipeableDialogContent,mz as SwipeableDialogModal,mO as SwipeableDialogTitle,mH as SwipeableDialogTrigger,lt as SwipeableModal,hd as TIMELINE_APPEVENT_DOMAIN_ICON,hp as TIMELINE_APPEVENT_TYPE_COLOR,lr as TRANSACTION_TAG_ENTRYTYPE_COLOR,lu as TRANSACTION_TAG_STATUS_COLOR,hn as TablePixEMV,d5 as TableViewModelEnum,sJ as TagWebhookStatus,s1 as Terms,s2 as TermsLink,da as ThemeMuiDispute,dr as ThemeMuiTheme,hc as TimelineAppEventItem,hm as TimelineItem,hs as Timeline,la as TransactionTagEntryType,lx as TransactionTagStatus,oe as TransparencyCollapsibleWrapper,hC as WindowPopper,mr as WooviLink,lb as LoginWrapper,iZ as Avatar,iq as AvatarGroup,iX as AvatarGroupArray,iK as AvatarGroupSelectedAll,lP as CardBasicContext,oV as buildSchemeGenerator,i0 as ActionButton,i3 as DangerButton,dy as PayWithPixButton,i4 as ResponsiveSplitButton,i5 as SplitButton,av as CardAnalytics,aw as CardAnalyticsSmall,lH as CardField,lF as CardGrid,aM as Grid,ab as CardWithActions,ao as Card,an as CardActions,al as CardContent,as as CardForm,lN as CardList,ad as CardSkeleton,ac as CardStep,ap as CardWithLink,am as CardWithLinkSkeleton,dN as cellTypeBasisToPercentage,dH as cellTypeExpand,dV as cellTypeLink,dF as cellTypePhone,d$ as cellTypeTag,hh as UserChip,lA as DonateClickPixButton,aP as Collapsible,aO as CollapsibleActions,a$ as CollapsibleDetails,aW as CollapsibleGroup,aY as CollapsibleInfinityActions,aQ as CollapsibleStep,a0 as CollapsibleStepHeader,a6 as CollapsibleTree,a9 as ExpandMoreIcon,a7 as LeafCollapsible,lW as CompanyLogo,nL as ScreenHeaderTitle,ol as Content,dP as Countdown,d2 as DataGrid,se as decodeQueryParamsFromLocation,lZ as DialogProvider,mx as EarnDiscount,lU as DrawerCard,lq as ErrorBoundaryWithRetry,l0 as ErrorView,l8 as FileDrop,ov as Filter,oL as FilterRelayFormik,o_ as FormikFilter,oR as useFilterFormik,sr as FieldRow,oT as formatFilters,m9 as getCellCurrency,m8 as getCellDate,he as getCellLink,sR as getItemsPath,lk as getLoadingIconProp,oN as getShadeOfColor,li as getTransactionEntryTypeColors,nE as hasTemp,oP as SectionHeading,o$ as Divider,oh as HorizontalStack,oB as HoverPopper,oz as hexToRgb,oO as hexToRgbaString,cr as AssineOnlineIcon,ca as BotConversaIcon,co as CheckIconLabel,oW as CvvIcon,oj as DownloadIcon,i2 as Icon,cl as MetaIcon,cd as N8nIcon,cc as NfeIcon,cm as NuvemshopIcon,oG as RejectIcon,oQ as SVG,oZ as SearchIcon,cx as SocPanelIcon,oU as SuccessIcon,cg as WabizIcon,cb as WakeIcon,oJ as WarningIcon,no as WooviLogoInMobile,cy as Dropzone,ck as DropzoneFile,dl as isUnSupportedBrowser,nt as LayoutWrapper,sa as LayoutWrapperFluid,sn as WooviLogo,ai as BoxFlex,lE as Typography,md as MultiFactorConfirmModal,mn as MultiFactorPixPaymentMatch,ml as MultiFactorPixPaymentMismatch,ms as MultiFactorPixPaymentView,aJ as CheckIcon,mh as ConfirmedIcon,mf as EarnCashback,mb as PixPaymentWoovi,mE as PaymentLinkRow,my as CopyBarcode,mv as CopyQRCode,lv as ErrorIcon,mw as PaymentFooter,mM as QrCodeShowButton,sg as PinInput,sC as PinInputFormik,nh as RefreshButtonRelay,nu as RefreshIconButton,ng as SearchInputRelay,nC as TopPagination,mk as RewardTicket,mu as Ribbon,sM as ContentBoundary,nA as RoutedTabs,nI as TabbedContent,nN as ScreenHeaderCard,mB as GlobalSearchField,mW as Select,sD as SelectAll,sm as WooviAuthForm,o8 as useSidebar,s$ as CloseSnack,sZ as SnackbarProvider,sU as useSnackbar,iJ as BackButton,i6 as Circle,at as CircleButton,dM as ClockIcon,op as EmptyMessage,om as EncryptedText,of as FloatingMenu,o0 as LinearProgress,aS as Link,o5 as Loading,ns as ProgressBar,nx as SearchField,nD as Step,mY as ThemeProvider,mQ as ToggleButtonGroup,n7 as statementColors,n8 as TransactionTypeText,sK as Stepper,st as stringToBoolean,ce as SwipeableDrawer,m3 as CardListVirtualized,d9 as TableToggleViewModel,nV as Tag,lg as TagsContainer,s5 as TermsModal,s6 as TextMultiline,nk as toSafeTruncate,du as UnsupportedBrowserWarning,d8 as useDialog,mT as useSwipeableDialogContext,d7 as useTableView,s0 as useTerms,mU as useThemeMode,pT as validateCell,mt as ImportStepper};
|