@verifiedinc-public/shared-ui-elements 7.2.0 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chart/index.mjs +1 -1
- package/dist/components/index.mjs +1 -1
- package/dist/components/text-to-signup/magic-button.d.ts +6 -3
- package/dist/components/text-to-signup/magic-qr-code.d.ts +6 -3
- package/dist/components/verified/powered-by-verified/index.d.ts +1 -2
- package/dist/hooks/index.mjs +1 -1
- package/dist/hooks/text-to-signup/magic-qr-code-options.d.ts +1 -1
- package/dist/hooks/text-to-signup/magic-text.d.ts +1 -0
- package/dist/index.mjs +1 -1
- package/dist/shared/{SignupBigNumbers-CroHWk9_.mjs → SignupBigNumbers-CmW07YQp.mjs} +1 -1
- package/dist/shared/_baseIsEqual-BNqcL4o7.mjs +1 -0
- package/dist/shared/_getTag-DML0OnZi.mjs +1 -0
- package/dist/shared/{magic-link-J1X2QOgb.mjs → magic-link-D4unsrIC.mjs} +1 -1
- package/dist/shared/magic-qr-code-D_Gepjj4.mjs +155 -0
- package/dist/shared/magic-qr-code-syY72Rcb.mjs +1 -0
- package/dist/shared/phone-cSkbYk4g.mjs +1 -0
- package/dist/shared/{ssn-DDHkK5vg.mjs → ssn-BPlqSscn.mjs} +1 -1
- package/dist/shared/uuidColor-DbqRcuSX.mjs +20 -0
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/phone/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/shared/_baseGetTag-CrjEuriT.mjs +0 -1
- package/dist/shared/magic-qr-code-BO1wSciL.mjs +0 -1
- package/dist/shared/magic-qr-code-CKYWgffm.mjs +0 -155
- package/dist/shared/phone-PcoIqJru.mjs +0 -1
- package/dist/shared/toNumber-B6a0B29A.mjs +0 -1
- package/dist/shared/uuidColor-DbOBO7Il.mjs +0 -20
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{B as a,i as s,E as e,L as r,j as i,M as t,g as C,O as h,P as n,R as o,e as S,d as m,S as g,a as p,b as c,k as d,c as l,f as O,h as b,m as k}from"../../shared/SignupBigNumbers-
|
|
1
|
+
"use strict";import{B as a,i as s,E as e,L as r,j as i,M as t,g as C,O as h,P as n,R as o,e as S,d as m,S as g,a as p,b as c,k as d,c as l,f as O,h as b,m as k}from"../../shared/SignupBigNumbers-CmW07YQp.mjs";export{a as BigNumber,s as EmptyChartSection,e as ErrorCodesChart,r as LoadingChartSection,i as MetricLastUpdated,t as MonthlySignupsOverviewTable,C as OneClickOverTimeChart,h as OneClickPercentageChart,n as PieChart,o as ReasonCodesChart,S as RiskScoreBarChart,m as RiskScorePieChart,g as SeriesChart,p as SeriesChartLegend,c as SeriesPercentageChart,d as SignupBigNumbers,l as SimpleBarChart,O as SimpleLegend,b as mapMonthlySignupsOverviewTableData,k as mapTimeSeriesData};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{A as a,am as s,a0 as e,c as t,aa as r,a6 as i,B as n,ac as o,ab as d,ai as l,ah as m,an as p,C,af as c,D as u,i as h,$ as g,h as S,a8 as P,E as y,N as B,R as I,Q as f,U as F,Z as T,F as k,al as O,I as R,b as L,L as b,M as D,X as N,g as v,k as E,a3 as A,O as M,ag as w,e as x,a4 as V,f as W,P as j,a5 as q,_ as H,ak as Q,a7 as z,S as U,d as G,ao as J,ap as K,a9 as X,T as Y,j as Z,a as _,a1 as $,a2 as aa,aj as sa,H as ea,v as ta,t as ra,p as ia,u as na,l as oa,r as da,G as la,z as ma,q as pa,J as Ca,s as ca,m as ua,K as ha,n as ga,o as Sa,w as Pa,V as ya,ad as Ba,W as Ia,x as fa,y as Fa,ae as Ta,Y as ka}from"../shared/magic-qr-code-
|
|
1
|
+
"use strict";import{A as a,am as s,a0 as e,c as t,aa as r,a6 as i,B as n,ac as o,ab as d,ai as l,ah as m,an as p,C,af as c,D as u,i as h,$ as g,h as S,a8 as P,E as y,N as B,R as I,Q as f,U as F,Z as T,F as k,al as O,I as R,b as L,L as b,M as D,X as N,g as v,k as E,a3 as A,O as M,ag as w,e as x,a4 as V,f as W,P as j,a5 as q,_ as H,ak as Q,a7 as z,S as U,d as G,ao as J,ap as K,a9 as X,T as Y,j as Z,a as _,a1 as $,a2 as aa,aj as sa,H as ea,v as ta,t as ra,p as ia,u as na,l as oa,r as da,G as la,z as ma,q as pa,J as Ca,s as ca,m as ua,K as ha,n as ga,o as Sa,w as Pa,V as ya,ad as Ba,W as Ia,x as fa,y as Fa,ae as Ta,Y as ka}from"../shared/magic-qr-code-D_Gepjj4.mjs";import{a as Oa,b as Ra,P as La,S as ba}from"../shared/PageSectionHeader-lc9WunC-.mjs";import{B as Da,C as Na,i as va,E as Ea,L as Aa,j as Ma,M as wa,g as xa,O as Va,P as Wa,R as ja,e as qa,d as Ha,S as Qa,a as za,b as Ua,k as Ga,c as Ja,f as Ka,W as Xa,h as Ya,m as Za,u as _a}from"../shared/SignupBigNumbers-CmW07YQp.mjs";import{SnackbarProvider as $a}from"notistack";export{a as AcceptTermsNotice,s as AdaptativeBox,e as AddressInput,t as Alert,r as Backdrop,i as Banner,n as BasePhoneInput,Da as BigNumber,o as BrandFilterInput,d as Button,l as CalendlyDialog,m as CalendlyDialogComponent,p as ContentWithLoader,C as CredentialRequestsEditor,Na as CustomAlertComponent,c as CustomDialog,u as DateInput,h as DateRangeInput,g as DefaultInput,S as EmailInput,va as EmptyChartSection,Ea as ErrorCodesChart,P as ExactBirthdayBanner,y as ExportToPdfButton,B as Form,I as FormBuilder,f as FormField,F as FormFieldBuilder,T as FormProvider,k as FullWidthAlert,O as IconPlayer,R as Image,L as LegalLink,b as LinkButton,Aa as LoadingChartSection,D as MandatoryEnum,Ma as MetricLastUpdated,wa as MonthlySignupsOverviewTable,N as NewOneClickForm,v as OTPInput,E as OneClickForm,xa as OneClickOverTimeChart,Va as OneClickPercentageChart,A as OneClickPoweredByVerified,M as OriginalButton,Oa as PageHeader,Ra as PageSectionHeader,La as Paragraph,w as PersistentDialog,x as PhoneInput,Wa as PieChart,V as PoweredByVerified,W as PrettyPhoneInput,j as PrivacyPolicyNotice,q as QRCodeDisplay,H as RadioOption,ja as ReasonCodesChart,Q as RequiredLabel,z as ResendPhoneBanner,qa as RiskScoreBarChart,Ha as RiskScorePieChart,U as SSNInput,ba as SectionHeader,G as SelectInput,Qa as SeriesChart,za as SeriesChartLegend,Ua as SeriesPercentageChart,Ga as SignupBigNumbers,Ja as SimpleBarChart,Ka as SimpleLegend,$a as SnackbarProvider,J as TTSMagicButton,K as TTSMagicQRCode,X as TestPhoneNumbersBanner,Y as TextButton,Z as TimezoneInput,_ as Typography,$ as VerifiedImage,aa as VerifiedIncLogo,Xa as When,sa as WhenStyled,ea as extractChildrenFromCredentialFieldSet,ta as extractTypesFromSchema,ra as filterRepeatedCredentials,ia as findCorrectSchemaProperty,na as findCredentialsByType,oa as getCredentialTypeDisplayInfo,da as getCredentialValues,la as getLastPathName,ma as getParentPath,pa as getReferencedSchemaNames,Ca as hasMandatoryFieldEmpty,ca as isNewCredentialAgainstInstance,ua as isRequiredCredentialDisplayInfo,ha as isSomeFieldInputAllowed,ga as isValidInputCredential,Sa as makeCredentialDisplayInfoList,Ya as mapMonthlySignupsOverviewTableData,Za as mapTimeSeriesData,Pa as sortCredentialsBySchema,ya as toCreatePatchCredentials,Ba as toOption,Ia as toShareCredentials,fa as transformToFormObject,Fa as transformToFormSchema,Ta as useBrandFilterInput,ka as useForm,_a as useSnackbar};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
+
import { ButtonProps } from '@mui/material';
|
|
2
|
+
import { PoweredByVerifiedProps } from '../verified';
|
|
1
3
|
export type TTSMagicButtonHandle = {
|
|
2
4
|
download(extension: 'png' | 'svg'): Promise<void>;
|
|
3
5
|
};
|
|
4
6
|
export declare const TTSMagicButton: import('react').ForwardRefExoticComponent<{
|
|
5
|
-
backgroundColor: string;
|
|
6
|
-
borderRadius: string | number;
|
|
7
|
-
fontFamily: string;
|
|
8
7
|
magicLink: string;
|
|
9
8
|
magicText: string;
|
|
9
|
+
buttonProps?: ButtonProps;
|
|
10
|
+
renderAsImage?: boolean;
|
|
11
|
+
enablePoweredByVerified?: boolean;
|
|
12
|
+
poweredByVerifiedProps?: PoweredByVerifiedProps;
|
|
10
13
|
} & import('react').RefAttributes<TTSMagicButtonHandle>>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { SxProps } from '@mui/material';
|
|
2
|
+
import { PoweredByVerifiedProps } from '../verified';
|
|
2
3
|
export type TTSMagicQRCodeHandle = {
|
|
3
|
-
download(filename: string, extension: 'png' | 'svg'): Promise<void>;
|
|
4
|
+
download(filename: string | undefined, extension: 'png' | 'svg'): Promise<void>;
|
|
4
5
|
};
|
|
5
|
-
export declare const TTSMagicQRCode: import('react').ForwardRefExoticComponent<{
|
|
6
|
+
export declare const TTSMagicQRCode: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<{
|
|
6
7
|
brandLogo?: string;
|
|
7
8
|
magicLink: string;
|
|
8
9
|
sx?: SxProps;
|
|
9
|
-
|
|
10
|
+
enablePoweredByVerified?: boolean;
|
|
11
|
+
poweredByVerifiedProps?: PoweredByVerifiedProps;
|
|
12
|
+
} & import('react').RefAttributes<TTSMagicQRCodeHandle>>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BoxProps } from '@mui/material';
|
|
2
|
-
type PoweredByVerifiedProps = BoxProps & {
|
|
2
|
+
export type PoweredByVerifiedProps = BoxProps & {
|
|
3
3
|
variant?: 'default' | 'green' | 'gray' | 'white' | 'black';
|
|
4
4
|
containerProps?: BoxProps;
|
|
5
5
|
};
|
|
6
6
|
export declare function PoweredByVerified({ variant, containerProps, ...props }: PoweredByVerifiedProps): import("react").JSX.Element;
|
|
7
|
-
export {};
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{b as s,k as a,a as e,i as u,u as o,j as r,d as i,c as t,m as c,l,e as n,f as T,g as d,h as m}from"../shared/magic-link-
|
|
1
|
+
"use strict";import{b as s,k as a,a as e,i as u,u as o,j as r,d as i,c as t,m as c,l,e as n,f as T,g as d,h as m}from"../shared/magic-link-D4unsrIC.mjs";import{u as p,a as C}from"../shared/usePrevious-Dppy11px.mjs";import{a as S,b,u as g,c as f,d as O,e as R}from"../shared/magic-qr-code-syY72Rcb.mjs";import{u as k}from"../shared/useCounter-BV32zXDQ.mjs";import{u as v}from"../shared/useResizeObserver-D7K4jTvT.mjs";export{s as useCallbackRef,p as useCopyToClipboard,k as useCounter,a as useDebounceCallback,S as useDebounceValue,e as useDisclosure,u as useIntersectionObserver,o as useLocalStorage,r as useNavigatorOnline,b as useOnClickOutside,C as usePrevious,g as useQRCode,v as useResizeObserver,i as useScript,t as useSearchParams,f as useStyledQRCode,c as useTTSMagicLink,O as useTTSMagicQRCode,R as useTTSMagicQRCodeOptions,l as useTTSMagicText,n as useThrottle,T as useToggle,d as useWindowScroll,m as useWindowSize};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{A as a,am as s,a0 as e,c as t,aa as r,a6 as o,B as i,ac as n,ab as m,ai as d,ah as l,an as p,C as u,af as c,D as C,i as h,$ as g,h as S,a8 as f,E as y,N as P,R as T,Q as k,U as F,Z as B,F as D,al as b,I,b as R,L as O,M,X as v,g as w,k as N,a3 as L,O as U,ag as x,e as A,a4 as E,f as W,P as Y,a5 as G,_ as V,ak as Q,a7 as j,S as z,d as H,ao as q,ap as _,a9 as K,T as J,j as X,a as $,a1 as Z,a2 as aa,aj as sa,H as ea,v as ta,t as ra,p as oa,u as ia,l as na,r as ma,G as da,z as la,q as pa,J as ua,s as ca,m as Ca,K as ha,n as ga,o as Sa,w as fa,V as ya,ad as Pa,W as Ta,x as ka,y as Fa,ae as Ba,Y as Da}from"./shared/magic-qr-code-
|
|
1
|
+
"use strict";import{A as a,am as s,a0 as e,c as t,aa as r,a6 as o,B as i,ac as n,ab as m,ai as d,ah as l,an as p,C as u,af as c,D as C,i as h,$ as g,h as S,a8 as f,E as y,N as P,R as T,Q as k,U as F,Z as B,F as D,al as b,I,b as R,L as O,M,X as v,g as w,k as N,a3 as L,O as U,ag as x,e as A,a4 as E,f as W,P as Y,a5 as G,_ as V,ak as Q,a7 as j,S as z,d as H,ao as q,ap as _,a9 as K,T as J,j as X,a as $,a1 as Z,a2 as aa,aj as sa,H as ea,v as ta,t as ra,p as oa,u as ia,l as na,r as ma,G as da,z as la,q as pa,J as ua,s as ca,m as Ca,K as ha,n as ga,o as Sa,w as fa,V as ya,ad as Pa,W as Ta,x as ka,y as Fa,ae as Ba,Y as Da}from"./shared/magic-qr-code-D_Gepjj4.mjs";import{a as ba,b as Ia,P as Ra,S as Oa}from"./shared/PageSectionHeader-lc9WunC-.mjs";import{B as Ma,C as va,i as wa,E as Na,L as La,j as Ua,M as xa,g as Aa,O as Ea,P as Wa,R as Ya,e as Ga,d as Va,S as Qa,a as ja,b as za,k as Ha,c as qa,f as _a,W as Ka,h as Ja,m as Xa,u as $a}from"./shared/SignupBigNumbers-CmW07YQp.mjs";import{b as Za,k as as,a as ss,i as es,u as ts,j as rs,d as os,c as is,m as ns,l as ms,e as ds,f as ls,g as ps,h as us}from"./shared/magic-link-D4unsrIC.mjs";import{u as cs,a as Cs}from"./shared/usePrevious-Dppy11px.mjs";import{a as hs,b as gs,u as Ss,c as fs,d as ys,e as Ps}from"./shared/magic-qr-code-syY72Rcb.mjs";import{u as Ts}from"./shared/useCounter-BV32zXDQ.mjs";import{u as ks}from"./shared/useResizeObserver-D7K4jTvT.mjs";import{b as Fs,a as Bs,x as Ds,m as bs,e as Is,d as Rs,q as Os,v as Ms,h as vs,j as ws,g as Ns,p as Ls,u as Us,n as xs,c as As,l as Es,o as Ws,s as Ys,f as Gs,i as Vs,r as Qs,t as js,k as zs,w as Hs,y as qs}from"./shared/colors-CSvtCJK4.mjs";import{s as _s,t as Ks}from"./shared/shadows-levwxV7v.mjs";import{wrapPromise as Js}from"./utils/wrapPromise/index.mjs";import{f as Xs,b as $s,a as Zs,c as ae,t as se,u as ee}from"./shared/uuidColor-DbqRcuSX.mjs";import{c as te,g as re,a as oe,p as ie,s as ne,v as me}from"./shared/phone-cSkbYk4g.mjs";import{masks as de}from"./utils/masks/index.mjs";import{o as le,s as pe,a as ue}from"./shared/ssn-BPlqSscn.mjs";import{toCapitalize as ce,toSentenceCase as Ce}from"./utils/string/index.mjs";import{k as he}from"./shared/formatKebabToPretty-Du43TgPC.mjs";import{g as ge}from"./shared/generateKeyFromString-D1AuwK4y.mjs";import{alpha as Se,contrastColor as fe,darken as ye,getThemeFromPrimaryColor as Pe,lighten as Te}from"./utils/color/index.mjs";import{addressFormatter as ke,fromUSAddress as Fe,parseCountryCode as Be,toUSaddress as De,toUSaddressPretty as be}from"./utils/address/index.mjs";import{D as Ie,a as Re,m as Oe}from"./shared/makeGoogleFont-pok2oDWs.mjs";import{M as Me,S as ve,U as we,g as Ne,p as Le}from"./shared/date.schema-CmPHY0OU.mjs";import{d as Ue,e as xe,f as Ae,g as Ee,s as We}from"./shared/unix.schema-D7g4VIKT.mjs";import{SnackbarProvider as Ye}from"notistack";export{a as AcceptTermsNotice,s as AdaptativeBox,e as AddressInput,t as Alert,r as Backdrop,o as Banner,i as BasePhoneInput,Ma as BigNumber,n as BrandFilterInput,m as Button,d as CalendlyDialog,l as CalendlyDialogComponent,p as ContentWithLoader,u as CredentialRequestsEditor,va as CustomAlertComponent,c as CustomDialog,Ie as DEFAULT_FONT_FAMILY,Re as DEFAULT_FONT_WEIGHTS,C as DateInput,h as DateRangeInput,g as DefaultInput,S as EmailInput,wa as EmptyChartSection,Na as ErrorCodesChart,f as ExactBirthdayBanner,y as ExportToPdfButton,P as Form,T as FormBuilder,k as FormField,F as FormFieldBuilder,B as FormProvider,D as FullWidthAlert,b as IconPlayer,I as Image,R as LegalLink,O as LinkButton,La as LoadingChartSection,M as MandatoryEnum,Me as MaskedAndUnmaskedSSNSchema,Ua as MetricLastUpdated,xa as MonthlySignupsOverviewTable,v as NewOneClickForm,w as OTPInput,N as OneClickForm,Aa as OneClickOverTimeChart,Ea as OneClickPercentageChart,L as OneClickPoweredByVerified,U as OriginalButton,ba as PageHeader,Ia as PageSectionHeader,Ra as Paragraph,x as PersistentDialog,A as PhoneInput,Wa as PieChart,E as PoweredByVerified,W as PrettyPhoneInput,Y as PrivacyPolicyNotice,G as QRCodeDisplay,V as RadioOption,Ya as ReasonCodesChart,Q as RequiredLabel,j as ResendPhoneBanner,Ga as RiskScoreBarChart,Va as RiskScorePieChart,z as SSNInput,ve as SSNSchema,Oa as SectionHeader,H as SelectInput,Qa as SeriesChart,ja as SeriesChartLegend,za as SeriesPercentageChart,Ha as SignupBigNumbers,qa as SimpleBarChart,_a as SimpleLegend,Ye as SnackbarProvider,q as TTSMagicButton,_ as TTSMagicQRCode,K as TestPhoneNumbersBanner,J as TextButton,X as TimezoneInput,$ as Typography,we as USDateSchema,Z as VerifiedImage,aa as VerifiedIncLogo,Ka as When,sa as WhenStyled,ke as addressFormatter,Se as alpha,Fs as black,Bs as blue,Ds as colors,fe as contrastColor,te as countries,bs as dangerContrast,Is as darkBlue,Rs as darkGreen,Os as darkGrey,Ms as darkGreyContrast,vs as darkRed,ws as darkYellow,ye as darken,Ue as descriptionSchema,xe as emailSchema,ea as extractChildrenFromCredentialFieldSet,ta as extractTypesFromSchema,Ae as fieldSchema,ra as filterRepeatedCredentials,oa as findCorrectSchemaProperty,ia as findCredentialsByType,Xs as formatDateMMDDYYYY,$s as formatDateMMYY,Zs as formatDateToTimestamp,ae as formatExtendedDate,Fe as fromUSAddress,ge as generateKeyFromString,na as getCredentialTypeDisplayInfo,ma as getCredentialValues,Ne as getDateSchemaWithPastValidation,da as getLastPathName,la as getParentPath,re as getPhoneData,oe as getPhoneDataByFieldName,pa as getReferencedSchemaNames,Pe as getThemeFromPrimaryColor,Ee as getUnixSchema,Ns as green,Ls as grey,Us as greyContrast,ua as hasMandatoryFieldEmpty,xs as infoContrast,ca as isNewCredentialAgainstInstance,Ca as isRequiredCredentialDisplayInfo,ha as isSomeFieldInputAllowed,ga as isValidInputCredential,he as kebabCaseToPretty,As as lightBlue,Es as lightGreen,Ws as lightGrey,Ys as lightGreyContrast,Gs as lightRed,Vs as lightYellow,Te as lighten,Sa as makeCredentialDisplayInfoList,Oe as makeGoogleFontUrl,Ja as mapMonthlySignupsOverviewTableData,Xa as mapTimeSeriesData,de as masks,le as omitProperties,Be as parseCountryCode,ie as parseToPhoneNational,Le as phoneSchema,Qs as red,_s as shadows,ne as sortByCountryName,fa as sortCredentialsBySchema,pe as ssnFormatter,ue as ssnRegex,We as stateSchema,js as textDisabled,Ks as theme,ce as toCapitalize,ya as toCreatePatchCredentials,Pa as toOption,Ce as toSentenceCase,Ta as toShareCredentials,De as toUSaddress,be as toUSaddressPretty,se as toUTCMilliseconds,ka as transformToFormObject,Fa as transformToFormSchema,Ba as useBrandFilterInput,Za as useCallbackRef,cs as useCopyToClipboard,Ts as useCounter,as as useDebounceCallback,hs as useDebounceValue,ss as useDisclosure,Da as useForm,es as useIntersectionObserver,ts as useLocalStorage,rs as useNavigatorOnline,gs as useOnClickOutside,Cs as usePrevious,Ss as useQRCode,ks as useResizeObserver,os as useScript,is as useSearchParams,$a as useSnackbar,fs as useStyledQRCode,ns as useTTSMagicLink,ys as useTTSMagicQRCode,Ps as useTTSMagicQRCodeOptions,ms as useTTSMagicText,ds as useThrottle,ls as useToggle,ps as useWindowScroll,us as useWindowSize,ee as uuidToHashedColor,me as validatePhone,zs as warningContrast,Hs as white,Js as wrapPromise,qs as yellow};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";import{Alert as xa,Box as Oe,IconButton as En,Stack as xe,Typography as me,useTheme as Se,Paper as jn,TableContainer as Sa,Table as ka,TableHead as Ea,TableRow as wn,TableCell as se,TableBody as ja}from"@mui/material";import{j as u}from"./jsx-runtime-Bwwz4kRH.mjs";import*as pe from"react";import{forwardRef as wa,useCallback as Dt,useMemo as Lt,createElement as Oa,useState as ft,useRef as $a,useEffect as On}from"react";import{ResponsiveContainer as lt,LineChart as $n,CartesianGrid as zt,XAxis as Vt,YAxis as Ft,Label as Ta,Tooltip as Bt,Legend as Gt,Line as Tn,ComposedChart as Ca,ReferenceLine as Cn,ReferenceArea as Mn,Bar as Ma,Sector as Nn,PieChart as Na,Pie as Pa,Cell as Ia}from"recharts";import Pn,{Decimal as Ut}from"decimal.js";import{b as In,c as Rn,u as Ra,_ as Da}from"./uuidColor-DbOBO7Il.mjs";import{AnimatePresence as Dn}from"framer-motion";import{a as Kt,u as Ln}from"./usePrevious-Dppy11px.mjs";import"qrcode";import{g as La,e as $e}from"./_baseGetTag-CrjEuriT.mjs";import"qr-code-styling";import"libphonenumber-js";import{a as zn,C as Vn}from"./motions-jOnF6bAS.mjs";import za from"@emotion/styled";import{CacheProvider as Va,Global as Fa,ThemeContext as Fn,css as Ba,keyframes as Ga}from"@emotion/react";import{k as Bn}from"./formatKebabToPretty-Du43TgPC.mjs";import"@date-fns/tz";import{Close as Ua}from"@mui/icons-material";import{SnackbarContent as Ka,closeSnackbar as Gn,enqueueSnackbar as Wa}from"notistack";import{u as qa}from"./useCounter-BV32zXDQ.mjs";function de(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(null,arguments)}var Un={exports:{}},Kn={exports:{}},B={},Wn;function Ja(){if(Wn)return B;Wn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function k(d){if(typeof d=="object"&&d!==null){var E=d.$$typeof;switch(E){case t:switch(d=d.type,d){case m:case f:case r:case o:case a:case h:return d;default:switch(d=d&&d.$$typeof,d){case s:case p:case y:case _:case i:return d;default:return E}}case n:return E}}}function V(d){return k(d)===f}return B.AsyncMode=m,B.ConcurrentMode=f,B.ContextConsumer=s,B.ContextProvider=i,B.Element=t,B.ForwardRef=p,B.Fragment=r,B.Lazy=y,B.Memo=_,B.Portal=n,B.Profiler=o,B.StrictMode=a,B.Suspense=h,B.isAsyncMode=function(d){return V(d)||k(d)===m},B.isConcurrentMode=V,B.isContextConsumer=function(d){return k(d)===s},B.isContextProvider=function(d){return k(d)===i},B.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},B.isForwardRef=function(d){return k(d)===p},B.isFragment=function(d){return k(d)===r},B.isLazy=function(d){return k(d)===y},B.isMemo=function(d){return k(d)===_},B.isPortal=function(d){return k(d)===n},B.isProfiler=function(d){return k(d)===o},B.isStrictMode=function(d){return k(d)===a},B.isSuspense=function(d){return k(d)===h},B.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===f||d===o||d===a||d===h||d===l||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===_||d.$$typeof===i||d.$$typeof===s||d.$$typeof===p||d.$$typeof===b||d.$$typeof===A||d.$$typeof===S||d.$$typeof===c)},B.typeOf=k,B}var Ya={},qn;function Ec(){return qn||(qn=1),Ya}var Jn;function Ha(){return Jn||(Jn=1,Kn.exports=Ja()),Kn.exports}var Wt,Yn;function Za(){if(Yn)return Wt;Yn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var m=Object.getOwnPropertyNames(i).map(function(p){return i[p]});if(m.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(p){f[p]=p}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Wt=a()?Object.assign:function(o,i){for(var s,m=r(o),f,p=1;p<arguments.length;p++){s=Object(arguments[p]);for(var h in s)t.call(s,h)&&(m[h]=s[h]);if(e){f=e(s);for(var l=0;l<f.length;l++)n.call(s,f[l])&&(m[f[l]]=s[f[l]])}}return m},Wt}var qt,Hn;function Zn(){if(Hn)return qt;Hn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qt=e,qt}var Qn,Xn;function Qa(){return Xn||(Xn=1,Qn=Function.call.bind(Object.prototype.hasOwnProperty)),Qn}var Jt,er;function Xa(){if(er)return Jt;er=1;var e=function(){};if(0)var t,n,r;function a(o,i,s,m,f){if(0){for(var p in o)if(r(o,p)){var h;try{if(typeof o[p]!="function")var l}catch(y){}if(h&&!(h instanceof Error)&&e((m||"React class")+": type specification of "+s+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in n))var _}}}return a.resetWarningCache=function(){},Jt=a,Jt}var Yt,tr;function jc(){if(tr)return Yt;tr=1;var e=Ha(),t=Za(),n=Zn(),r=Qa(),a=Xa(),o=function(){};function i(){return null}return Yt=function(s,m){var f=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function h(g){var v=g&&(f&&g[f]||g[p]);if(typeof v=="function")return v}var l="<<anonymous>>",_={array:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:S(),arrayOf:k,element:V(),elementType:d(),instanceOf:E,node:ee(),objectOf:K,oneOf:j,oneOfType:re,shape:w,exact:G};function y(g,v){return g===v?g!==0||1/g===1/v:g!==g&&v!==v}function c(g,v){this.message=g,this.data=v&&typeof v=="object"?v:{},this.stack=""}c.prototype=Error.prototype;function b(g){if(0)var v,P;function M(I,C,N,D,R,$,J){if(D=D||l,$=$||N,J!==n){if(m){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}else if(0)var Rt}return C[N]==null?I?C[N]===null?new c("The "+R+" `"+$+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new c("The "+R+" `"+$+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:g(C,N,D,R,$)}var T=M.bind(null,!1);return T.isRequired=M.bind(null,!0),T}function A(g){function v(P,M,T,I,C,N){var D=P[M],R=W(D);if(R!==g){var $=te(D);return new c("Invalid "+I+" `"+C+"` of type "+("`"+$+"` supplied to `"+T+"`, expected ")+("`"+g+"`."),{expectedType:g})}return null}return b(v)}function S(){return b(i)}function k(g){function v(P,M,T,I,C){if(typeof g!="function")return new c("Property `"+C+"` of component `"+T+"` has invalid PropType notation inside arrayOf.");var N=P[M];if(!Array.isArray(N)){var D=W(N);return new c("Invalid "+I+" `"+C+"` of type "+("`"+D+"` supplied to `"+T+"`, expected an array."))}for(var R=0;R<N.length;R++){var $=g(N,R,T,I,C+"["+R+"]",n);if($ instanceof Error)return $}return null}return b(v)}function V(){function g(v,P,M,T,I){var C=v[P];if(!s(C)){var N=W(C);return new c("Invalid "+T+" `"+I+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement."))}return null}return b(g)}function d(){function g(v,P,M,T,I){var C=v[P];if(!e.isValidElementType(C)){var N=W(C);return new c("Invalid "+T+" `"+I+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement type."))}return null}return b(g)}function E(g){function v(P,M,T,I,C){if(!(P[M]instanceof g)){var N=g.name||l,D=we(P[M]);return new c("Invalid "+I+" `"+C+"` of type "+("`"+D+"` supplied to `"+T+"`, expected ")+("instance of `"+N+"`."))}return null}return b(v)}function j(g){if(!Array.isArray(g))return i;function v(P,M,T,I,C){for(var N=P[M],D=0;D<g.length;D++)if(y(N,g[D]))return null;var R=JSON.stringify(g,function($,J){var F=te(J);return F==="symbol"?String(J):J});return new c("Invalid "+I+" `"+C+"` of value `"+String(N)+"` "+("supplied to `"+T+"`, expected one of "+R+"."))}return b(v)}function K(g){function v(P,M,T,I,C){if(typeof g!="function")return new c("Property `"+C+"` of component `"+T+"` has invalid PropType notation inside objectOf.");var N=P[M],D=W(N);if(D!=="object")return new c("Invalid "+I+" `"+C+"` of type "+("`"+D+"` supplied to `"+T+"`, expected an object."));for(var R in N)if(r(N,R)){var $=g(N,R,T,I,C+"."+R,n);if($ instanceof Error)return $}return null}return b(v)}function re(g){if(!Array.isArray(g))return i;for(var v=0;v<g.length;v++){var P=g[v];if(typeof P!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Ne(P)+" at index "+v+"."),i}function M(T,I,C,N,D){for(var R=[],$=0;$<g.length;$++){var J=g[$],F=J(T,I,C,N,D,n);if(F==null)return null;F.data&&r(F.data,"expectedType")&&R.push(F.data.expectedType)}var Rt=R.length>0?", expected one of type ["+R.join(", ")+"]":"";return new c("Invalid "+N+" `"+D+"` supplied to "+("`"+C+"`"+Rt+"."))}return b(M)}function ee(){function g(v,P,M,T,I){return Z(v[P])?null:new c("Invalid "+T+" `"+I+"` supplied to "+("`"+M+"`, expected a ReactNode."))}return b(g)}function x(g,v,P,M,T){return new c((g||"React class")+": "+v+" type `"+P+"."+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+T+"`.")}function w(g){function v(P,M,T,I,C){var N=P[M],D=W(N);if(D!=="object")return new c("Invalid "+I+" `"+C+"` of type `"+D+"` "+("supplied to `"+T+"`, expected `object`."));for(var R in g){var $=g[R];if(typeof $!="function")return x(T,I,C,R,te($));var J=$(N,R,T,I,C+"."+R,n);if(J)return J}return null}return b(v)}function G(g){function v(P,M,T,I,C){var N=P[M],D=W(N);if(D!=="object")return new c("Invalid "+I+" `"+C+"` of type `"+D+"` "+("supplied to `"+T+"`, expected `object`."));var R=t({},P[M],g);for(var $ in R){var J=g[$];if(r(g,$)&&typeof J!="function")return x(T,I,C,$,te(J));if(!J)return new c("Invalid "+I+" `"+C+"` key `"+$+"` supplied to `"+T+"`.\nBad object: "+JSON.stringify(P[M],null," ")+`
|
|
1
|
+
"use strict";import{Alert as xa,Box as Oe,IconButton as En,Stack as xe,Typography as me,useTheme as Se,Paper as jn,TableContainer as Sa,Table as ka,TableHead as Ea,TableRow as wn,TableCell as se,TableBody as ja}from"@mui/material";import{j as u}from"./jsx-runtime-Bwwz4kRH.mjs";import*as pe from"react";import{forwardRef as wa,useCallback as Dt,useMemo as Lt,createElement as Oa,useState as ft,useRef as $a,useEffect as On}from"react";import{ResponsiveContainer as lt,LineChart as $n,CartesianGrid as zt,XAxis as Vt,YAxis as Ft,Label as Ta,Tooltip as Bt,Legend as Gt,Line as Tn,ComposedChart as Ca,ReferenceLine as Cn,ReferenceArea as Mn,Bar as Ma,Sector as Nn,PieChart as Na,Pie as Pa,Cell as Ia}from"recharts";import Pn,{Decimal as Ut}from"decimal.js";import{b as In,c as Rn,u as Ra,_ as Da}from"./uuidColor-DbqRcuSX.mjs";import{AnimatePresence as Dn}from"framer-motion";import{a as Kt,u as Ln}from"./usePrevious-Dppy11px.mjs";import"qrcode";import{g as La,q as $e}from"./_getTag-DML0OnZi.mjs";import"qr-code-styling";import"libphonenumber-js";import{a as zn,C as Vn}from"./motions-jOnF6bAS.mjs";import za from"@emotion/styled";import{CacheProvider as Va,Global as Fa,ThemeContext as Fn,css as Ba,keyframes as Ga}from"@emotion/react";import{k as Bn}from"./formatKebabToPretty-Du43TgPC.mjs";import"@date-fns/tz";import{Close as Ua}from"@mui/icons-material";import{SnackbarContent as Ka,closeSnackbar as Gn,enqueueSnackbar as Wa}from"notistack";import{u as qa}from"./useCounter-BV32zXDQ.mjs";function de(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(null,arguments)}var Un={exports:{}},Kn={exports:{}},B={},Wn;function Ja(){if(Wn)return B;Wn=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,c=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,A=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function k(d){if(typeof d=="object"&&d!==null){var E=d.$$typeof;switch(E){case t:switch(d=d.type,d){case m:case f:case r:case o:case a:case h:return d;default:switch(d=d&&d.$$typeof,d){case s:case p:case y:case _:case i:return d;default:return E}}case n:return E}}}function V(d){return k(d)===f}return B.AsyncMode=m,B.ConcurrentMode=f,B.ContextConsumer=s,B.ContextProvider=i,B.Element=t,B.ForwardRef=p,B.Fragment=r,B.Lazy=y,B.Memo=_,B.Portal=n,B.Profiler=o,B.StrictMode=a,B.Suspense=h,B.isAsyncMode=function(d){return V(d)||k(d)===m},B.isConcurrentMode=V,B.isContextConsumer=function(d){return k(d)===s},B.isContextProvider=function(d){return k(d)===i},B.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},B.isForwardRef=function(d){return k(d)===p},B.isFragment=function(d){return k(d)===r},B.isLazy=function(d){return k(d)===y},B.isMemo=function(d){return k(d)===_},B.isPortal=function(d){return k(d)===n},B.isProfiler=function(d){return k(d)===o},B.isStrictMode=function(d){return k(d)===a},B.isSuspense=function(d){return k(d)===h},B.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===f||d===o||d===a||d===h||d===l||typeof d=="object"&&d!==null&&(d.$$typeof===y||d.$$typeof===_||d.$$typeof===i||d.$$typeof===s||d.$$typeof===p||d.$$typeof===b||d.$$typeof===A||d.$$typeof===S||d.$$typeof===c)},B.typeOf=k,B}var Ya={},qn;function Ec(){return qn||(qn=1),Ya}var Jn;function Ha(){return Jn||(Jn=1,Kn.exports=Ja()),Kn.exports}var Wt,Yn;function Za(){if(Yn)return Wt;Yn=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function a(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var m=Object.getOwnPropertyNames(i).map(function(p){return i[p]});if(m.join("")!=="0123456789")return!1;var f={};return"abcdefghijklmnopqrst".split("").forEach(function(p){f[p]=p}),Object.keys(Object.assign({},f)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Wt=a()?Object.assign:function(o,i){for(var s,m=r(o),f,p=1;p<arguments.length;p++){s=Object(arguments[p]);for(var h in s)t.call(s,h)&&(m[h]=s[h]);if(e){f=e(s);for(var l=0;l<f.length;l++)n.call(s,f[l])&&(m[f[l]]=s[f[l]])}}return m},Wt}var qt,Hn;function Zn(){if(Hn)return qt;Hn=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qt=e,qt}var Qn,Xn;function Qa(){return Xn||(Xn=1,Qn=Function.call.bind(Object.prototype.hasOwnProperty)),Qn}var Jt,er;function Xa(){if(er)return Jt;er=1;var e=function(){};if(0)var t,n,r;function a(o,i,s,m,f){if(0){for(var p in o)if(r(o,p)){var h;try{if(typeof o[p]!="function")var l}catch(y){}if(h&&!(h instanceof Error)&&e((m||"React class")+": type specification of "+s+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof h+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in n))var _}}}return a.resetWarningCache=function(){},Jt=a,Jt}var Yt,tr;function jc(){if(tr)return Yt;tr=1;var e=Ha(),t=Za(),n=Zn(),r=Qa(),a=Xa(),o=function(){};function i(){return null}return Yt=function(s,m){var f=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function h(g){var v=g&&(f&&g[f]||g[p]);if(typeof v=="function")return v}var l="<<anonymous>>",_={array:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:S(),arrayOf:k,element:V(),elementType:d(),instanceOf:E,node:ee(),objectOf:K,oneOf:j,oneOfType:re,shape:w,exact:G};function y(g,v){return g===v?g!==0||1/g===1/v:g!==g&&v!==v}function c(g,v){this.message=g,this.data=v&&typeof v=="object"?v:{},this.stack=""}c.prototype=Error.prototype;function b(g){if(0)var v,P;function M(I,C,N,D,R,$,J){if(D=D||l,$=$||N,J!==n){if(m){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}else if(0)var Rt}return C[N]==null?I?C[N]===null?new c("The "+R+" `"+$+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new c("The "+R+" `"+$+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:g(C,N,D,R,$)}var T=M.bind(null,!1);return T.isRequired=M.bind(null,!0),T}function A(g){function v(P,M,T,I,C,N){var D=P[M],R=W(D);if(R!==g){var $=te(D);return new c("Invalid "+I+" `"+C+"` of type "+("`"+$+"` supplied to `"+T+"`, expected ")+("`"+g+"`."),{expectedType:g})}return null}return b(v)}function S(){return b(i)}function k(g){function v(P,M,T,I,C){if(typeof g!="function")return new c("Property `"+C+"` of component `"+T+"` has invalid PropType notation inside arrayOf.");var N=P[M];if(!Array.isArray(N)){var D=W(N);return new c("Invalid "+I+" `"+C+"` of type "+("`"+D+"` supplied to `"+T+"`, expected an array."))}for(var R=0;R<N.length;R++){var $=g(N,R,T,I,C+"["+R+"]",n);if($ instanceof Error)return $}return null}return b(v)}function V(){function g(v,P,M,T,I){var C=v[P];if(!s(C)){var N=W(C);return new c("Invalid "+T+" `"+I+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement."))}return null}return b(g)}function d(){function g(v,P,M,T,I){var C=v[P];if(!e.isValidElementType(C)){var N=W(C);return new c("Invalid "+T+" `"+I+"` of type "+("`"+N+"` supplied to `"+M+"`, expected a single ReactElement type."))}return null}return b(g)}function E(g){function v(P,M,T,I,C){if(!(P[M]instanceof g)){var N=g.name||l,D=we(P[M]);return new c("Invalid "+I+" `"+C+"` of type "+("`"+D+"` supplied to `"+T+"`, expected ")+("instance of `"+N+"`."))}return null}return b(v)}function j(g){if(!Array.isArray(g))return i;function v(P,M,T,I,C){for(var N=P[M],D=0;D<g.length;D++)if(y(N,g[D]))return null;var R=JSON.stringify(g,function($,J){var F=te(J);return F==="symbol"?String(J):J});return new c("Invalid "+I+" `"+C+"` of value `"+String(N)+"` "+("supplied to `"+T+"`, expected one of "+R+"."))}return b(v)}function K(g){function v(P,M,T,I,C){if(typeof g!="function")return new c("Property `"+C+"` of component `"+T+"` has invalid PropType notation inside objectOf.");var N=P[M],D=W(N);if(D!=="object")return new c("Invalid "+I+" `"+C+"` of type "+("`"+D+"` supplied to `"+T+"`, expected an object."));for(var R in N)if(r(N,R)){var $=g(N,R,T,I,C+"."+R,n);if($ instanceof Error)return $}return null}return b(v)}function re(g){if(!Array.isArray(g))return i;for(var v=0;v<g.length;v++){var P=g[v];if(typeof P!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Ne(P)+" at index "+v+"."),i}function M(T,I,C,N,D){for(var R=[],$=0;$<g.length;$++){var J=g[$],F=J(T,I,C,N,D,n);if(F==null)return null;F.data&&r(F.data,"expectedType")&&R.push(F.data.expectedType)}var Rt=R.length>0?", expected one of type ["+R.join(", ")+"]":"";return new c("Invalid "+N+" `"+D+"` supplied to "+("`"+C+"`"+Rt+"."))}return b(M)}function ee(){function g(v,P,M,T,I){return Z(v[P])?null:new c("Invalid "+T+" `"+I+"` supplied to "+("`"+M+"`, expected a ReactNode."))}return b(g)}function x(g,v,P,M,T){return new c((g||"React class")+": "+v+" type `"+P+"."+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+T+"`.")}function w(g){function v(P,M,T,I,C){var N=P[M],D=W(N);if(D!=="object")return new c("Invalid "+I+" `"+C+"` of type `"+D+"` "+("supplied to `"+T+"`, expected `object`."));for(var R in g){var $=g[R];if(typeof $!="function")return x(T,I,C,R,te($));var J=$(N,R,T,I,C+"."+R,n);if(J)return J}return null}return b(v)}function G(g){function v(P,M,T,I,C){var N=P[M],D=W(N);if(D!=="object")return new c("Invalid "+I+" `"+C+"` of type `"+D+"` "+("supplied to `"+T+"`, expected `object`."));var R=t({},P[M],g);for(var $ in R){var J=g[$];if(r(g,$)&&typeof J!="function")return x(T,I,C,$,te(J));if(!J)return new c("Invalid "+I+" `"+C+"` key `"+$+"` supplied to `"+T+"`.\nBad object: "+JSON.stringify(P[M],null," ")+`
|
|
2
2
|
Valid keys: `+JSON.stringify(Object.keys(g),null," "));var F=J(N,$,T,I,C+"."+$,n);if(F)return F}return null}return b(v)}function Z(g){switch(typeof g){case"number":case"string":case"undefined":return!0;case"boolean":return!g;case"object":if(Array.isArray(g))return g.every(Z);if(g===null||s(g))return!0;var v=h(g);if(v){var P=v.call(g),M;if(v!==g.entries){for(;!(M=P.next()).done;)if(!Z(M.value))return!1}else for(;!(M=P.next()).done;){var T=M.value;if(T&&!Z(T[1]))return!1}}else return!1;return!0;default:return!1}}function oe(g,v){return g==="symbol"?!0:v?v["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&v instanceof Symbol:!1}function W(g){var v=typeof g;return Array.isArray(g)?"array":g instanceof RegExp?"object":oe(v,g)?"symbol":v}function te(g){if(typeof g>"u"||g===null)return""+g;var v=W(g);if(v==="object"){if(g instanceof Date)return"date";if(g instanceof RegExp)return"regexp"}return v}function Ne(g){var v=te(g);switch(v){case"array":case"object":return"an "+v;case"boolean":case"date":case"regexp":return"a "+v;default:return v}}function we(g){return!g.constructor||!g.constructor.name?l:g.constructor.name}return _.checkPropTypes=a,_.resetWarningCache=a.resetWarningCache,_.PropTypes=_,_},Yt}var Ht,nr;function eo(){if(nr)return Ht;nr=1;var e=Zn();function t(){}function n(){}return n.resetWarningCache=t,Ht=function(){function r(i,s,m,f,p,h){if(h!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}r.isRequired=r;function a(){return r}var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return o.PropTypes=o,o},Ht}if(0)var wc,Oc;else Un.exports=eo()();var to=Un.exports;const no=La(to);function rr(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=rr(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ar(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=rr(e))&&(r&&(r+=" "),r+=t);return r}function qe(e,t){const n=O({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=O({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const a=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=a:!a||!Object.keys(a)?n[r]=o:(n[r]=O({},o),Object.keys(a).forEach(i=>{n[r][i]=qe(a[i],o[i])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function or(e,t,n=void 0){const r={};return Object.keys(e).forEach(a=>{r[a]=e[a].reduce((o,i)=>{if(i){const s=t(i);s!==""&&o.push(s),n&&n[i]&&o.push(n[i])}return o},[]).join(" ")}),r}var Q={},ir={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(ir);var Zt=ir.exports;function Pe(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const ro=Object.freeze(Object.defineProperty({__proto__:null,default:Pe},Symbol.toStringTag,{value:"Module"})),ao=$e(ro);function oo(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const io=Object.freeze(Object.defineProperty({__proto__:null,default:oo},Symbol.toStringTag,{value:"Module"})),so=$e(io);var sr=Zt;Object.defineProperty(Q,"__esModule",{value:!0});var co=Q.alpha=dr;Q.blend=vo,Q.colorChannel=void 0;var cr=Q.darken=Xt;Q.decomposeColor=ye,Q.emphasize=yr;var uo=Q.getContrastRatio=yo;Q.getLuminance=mt,Q.hexToRgb=lr,Q.hslToRgb=pr;var ur=Q.lighten=en;Q.private_safeAlpha=ho,Q.private_safeColorChannel=void 0,Q.private_safeDarken=_o,Q.private_safeEmphasize=bo,Q.private_safeLighten=go,Q.recomposeColor=Ie,Q.rgbToHex=po;var fr=sr(ao),fo=sr(so);function Qt(e,t=0,n=1){return(0,fo.default)(e,t,n)}function lr(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,a)=>a<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function lo(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function ye(e){if(e.type)return e;if(e.charAt(0)==="#")return ye(lr(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,fr.default)(9,e));let r=e.substring(t+1,e.length-1),a;if(n==="color"){if(r=r.split(" "),a=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a)===-1)throw new Error((0,fr.default)(10,a))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:a}}const mr=e=>{const t=ye(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Q.colorChannel=mr;const mo=(e,t)=>{try{return mr(e)}catch{return e}};Q.private_safeColorChannel=mo;function Ie(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((a,o)=>o<3?parseInt(a,10):a):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function po(e){if(e.indexOf("#")===0)return e;const{values:t}=ye(e);return`#${t.map((n,r)=>lo(r===3?Math.round(255*n):n)).join("")}`}function pr(e){e=ye(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,o=r*Math.min(a,1-a),i=(f,p=(f+n/30)%12)=>a-o*Math.max(Math.min(p-3,9-p,1),-1);let s="rgb";const m=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",m.push(t[3])),Ie({type:s,values:m})}function mt(e){e=ye(e);let t=e.type==="hsl"||e.type==="hsla"?ye(pr(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function yo(e,t){const n=mt(e),r=mt(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function dr(e,t){return e=ye(e),t=Qt(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Ie(e)}function ho(e,t,n){try{return dr(e,t)}catch{return e}}function Xt(e,t){if(e=ye(e),t=Qt(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Ie(e)}function _o(e,t,n){try{return Xt(e,t)}catch{return e}}function en(e,t){if(e=ye(e),t=Qt(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Ie(e)}function go(e,t,n){try{return en(e,t)}catch{return e}}function yr(e,t=.15){return mt(e)>.5?Xt(e,t):en(e,t)}function bo(e,t,n){try{return yr(e,t)}catch{return e}}function vo(e,t,n,r=1){const a=(m,f)=>Math.round((m**(1/r)*(1-n)+f**(1/r)*n)**r),o=ye(e),i=ye(t),s=[a(o.values[0],i.values[0]),a(o.values[1],i.values[1]),a(o.values[2],i.values[2])];return Ie({type:"rgb",values:s})}var Je={},hr={exports:{}},_r;function Ao(){return _r||(_r=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var a=arguments[r];for(var o in a)({}).hasOwnProperty.call(a,o)&&(n[o]=a[o])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(hr)),hr.exports}var gr={exports:{}},br;function xo(){return br||(br=1,function(e){function t(n,r){if(n==null)return{};var a={};for(var o in n)if({}.hasOwnProperty.call(n,o)){if(r.indexOf(o)!==-1)continue;a[o]=n[o]}return a}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(gr)),gr.exports}function So(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function ko(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Eo=function(){function e(n){var r=this;this._insertTag=function(a){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,o),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(ko(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var a=So(r);try{a.insertRule(n,a.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var r;return(r=n.parentNode)==null?void 0:r.removeChild(n)}),this.tags=[],this.ctr=0},e}(),ie="-ms-",pt="-moz-",L="-webkit-",vr="comm",tn="rule",nn="decl",jo="@import",Ar="@keyframes",wo="@layer",Oo=Math.abs,dt=String.fromCharCode,$o=Object.assign;function To(e,t){return ae(e,0)^45?(((t<<2^ae(e,0))<<2^ae(e,1))<<2^ae(e,2))<<2^ae(e,3):0}function xr(e){return e.trim()}function Co(e,t){return(e=t.exec(e))?e[0]:e}function z(e,t,n){return e.replace(t,n)}function rn(e,t){return e.indexOf(t)}function ae(e,t){return e.charCodeAt(t)|0}function Ye(e,t,n){return e.slice(t,n)}function ve(e){return e.length}function an(e){return e.length}function yt(e,t){return t.push(e),e}function Mo(e,t){return e.map(t).join("")}var ht=1,Re=1,Sr=0,ce=0,ne=0,De="";function _t(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:ht,column:Re,length:i,return:""}}function He(e,t){return $o(_t("",null,null,"",null,null,0),e,{length:-e.length},t)}function No(){return ne}function Po(){return ne=ce>0?ae(De,--ce):0,Re--,ne===10&&(Re=1,ht--),ne}function fe(){return ne=ce<Sr?ae(De,ce++):0,Re++,ne===10&&(Re=1,ht++),ne}function Ae(){return ae(De,ce)}function gt(){return ce}function Ze(e,t){return Ye(De,e,t)}function Qe(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function kr(e){return ht=Re=1,Sr=ve(De=e),ce=0,[]}function Er(e){return De="",e}function bt(e){return xr(Ze(ce-1,on(e===91?e+2:e===40?e+1:e)))}function Io(e){for(;(ne=Ae())&&ne<33;)fe();return Qe(e)>2||Qe(ne)>3?"":" "}function Ro(e,t){for(;--t&&fe()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Ze(e,gt()+(t<6&&Ae()==32&&fe()==32))}function on(e){for(;fe();)switch(ne){case e:return ce;case 34:case 39:e!==34&&e!==39&&on(ne);break;case 40:e===41&&on(e);break;case 92:fe();break}return ce}function Do(e,t){for(;fe()&&e+ne!==57&&!(e+ne===84&&Ae()===47););return"/*"+Ze(t,ce-1)+"*"+dt(e===47?e:fe())}function Lo(e){for(;!Qe(Ae());)fe();return Ze(e,ce)}function zo(e){return Er(vt("",null,null,null,[""],e=kr(e),0,[0],e))}function vt(e,t,n,r,a,o,i,s,m){for(var f=0,p=0,h=i,l=0,_=0,y=0,c=1,b=1,A=1,S=0,k="",V=a,d=o,E=r,j=k;b;)switch(y=S,S=fe()){case 40:if(y!=108&&ae(j,h-1)==58){rn(j+=z(bt(S),"&","&\f"),"&\f")!=-1&&(A=-1);break}case 34:case 39:case 91:j+=bt(S);break;case 9:case 10:case 13:case 32:j+=Io(y);break;case 92:j+=Ro(gt()-1,7);continue;case 47:switch(Ae()){case 42:case 47:yt(Vo(Do(fe(),gt()),t,n),m);break;default:j+="/"}break;case 123*c:s[f++]=ve(j)*A;case 125*c:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+p:A==-1&&(j=z(j,/\f/g,"")),_>0&&ve(j)-h&&yt(_>32?wr(j+";",r,n,h-1):wr(z(j," ","")+";",r,n,h-2),m);break;case 59:j+=";";default:if(yt(E=jr(j,t,n,f,p,a,s,k,V=[],d=[],h),o),S===123)if(p===0)vt(j,t,E,E,V,o,h,s,d);else switch(l===99&&ae(j,3)===110?100:l){case 100:case 108:case 109:case 115:vt(e,E,E,r&&yt(jr(e,E,E,0,0,a,s,k,a,V=[],h),d),a,d,h,s,r?V:d);break;default:vt(j,E,E,E,[""],d,0,s,d)}}f=p=_=0,c=A=1,k=j="",h=i;break;case 58:h=1+ve(j),_=y;default:if(c<1){if(S==123)--c;else if(S==125&&c++==0&&Po()==125)continue}switch(j+=dt(S),S*c){case 38:A=p>0?1:(j+="\f",-1);break;case 44:s[f++]=(ve(j)-1)*A,A=1;break;case 64:Ae()===45&&(j+=bt(fe())),l=Ae(),p=h=ve(k=j+=Lo(gt())),S++;break;case 45:y===45&&ve(j)==2&&(c=0)}}return o}function jr(e,t,n,r,a,o,i,s,m,f,p){for(var h=a-1,l=a===0?o:[""],_=an(l),y=0,c=0,b=0;y<r;++y)for(var A=0,S=Ye(e,h+1,h=Oo(c=i[y])),k=e;A<_;++A)(k=xr(c>0?l[A]+" "+S:z(S,/&\f/g,l[A])))&&(m[b++]=k);return _t(e,t,n,a===0?tn:s,m,f,p)}function Vo(e,t,n){return _t(e,t,n,vr,dt(No()),Ye(e,2,-2),0)}function wr(e,t,n,r){return _t(e,t,n,nn,Ye(e,0,r),Ye(e,r+1,-1),r)}function Le(e,t){for(var n="",r=an(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function Fo(e,t,n,r){switch(e.type){case wo:if(e.children.length)break;case jo:case nn:return e.return=e.return||e.value;case vr:return"";case Ar:return e.return=e.value+"{"+Le(e.children,r)+"}";case tn:e.value=e.props.join(",")}return ve(n=Le(e.children,r))?e.return=e.value+"{"+n+"}":""}function Bo(e){var t=an(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function Go(e){return function(t){t.root||(t=t.return)&&e(t)}}var Uo=function(e,t,n){for(var r=0,a=0;r=a,a=Ae(),r===38&&a===12&&(t[n]=1),!Qe(a);)fe();return Ze(e,ce)},Ko=function(e,t){var n=-1,r=44;do switch(Qe(r)){case 0:r===38&&Ae()===12&&(t[n]=1),e[n]+=Uo(ce-1,t,n);break;case 2:e[n]+=bt(r);break;case 4:if(r===44){e[++n]=Ae()===58?"&\f":"",t[n]=e[n].length;break}default:e[n]+=dt(r)}while(r=fe());return e},Wo=function(e,t){return Er(Ko(kr(e),t))},Or=new WeakMap,qo=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Or.get(n))&&!r){Or.set(e,!0);for(var a=[],o=Wo(t,a),i=n.props,s=0,m=0;s<o.length;s++)for(var f=0;f<i.length;f++,m++)e.props[m]=a[s]?o[s].replace(/&\f/g,i[f]):i[f]+" "+o[s]}}},Jo=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function $r(e,t){switch(To(e,t)){case 5103:return L+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return L+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return L+e+pt+e+ie+e+e;case 6828:case 4268:return L+e+ie+e+e;case 6165:return L+e+ie+"flex-"+e+e;case 5187:return L+e+z(e,/(\w+).+(:[^]+)/,L+"box-$1$2"+ie+"flex-$1$2")+e;case 5443:return L+e+ie+"flex-item-"+z(e,/flex-|-self/,"")+e;case 4675:return L+e+ie+"flex-line-pack"+z(e,/align-content|flex-|-self/,"")+e;case 5548:return L+e+ie+z(e,"shrink","negative")+e;case 5292:return L+e+ie+z(e,"basis","preferred-size")+e;case 6060:return L+"box-"+z(e,"-grow","")+L+e+ie+z(e,"grow","positive")+e;case 4554:return L+z(e,/([^-])(transform)/g,"$1"+L+"$2")+e;case 6187:return z(z(z(e,/(zoom-|grab)/,L+"$1"),/(image-set)/,L+"$1"),e,"")+e;case 5495:case 3959:return z(e,/(image-set\([^]*)/,L+"$1$`$1");case 4968:return z(z(e,/(.+:)(flex-)?(.*)/,L+"box-pack:$3"+ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+L+e+e;case 4095:case 3583:case 4068:case 2532:return z(e,/(.+)-inline(.+)/,L+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ve(e)-1-t>6)switch(ae(e,t+1)){case 109:if(ae(e,t+4)!==45)break;case 102:return z(e,/(.+:)(.+)-([^]+)/,"$1"+L+"$2-$3$1"+pt+(ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~rn(e,"stretch")?$r(z(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ae(e,t+1)!==115)break;case 6444:switch(ae(e,ve(e)-3-(~rn(e,"!important")&&10))){case 107:return z(e,":",":"+L)+e;case 101:return z(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+L+(ae(e,14)===45?"inline-":"")+"box$3$1"+L+"$2$3$1"+ie+"$2box$3")+e}break;case 5936:switch(ae(e,t+11)){case 114:return L+e+ie+z(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return L+e+ie+z(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return L+e+ie+z(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return L+e+ie+e+e}return e}var Yo=function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case nn:e.return=$r(e.value,e.length);break;case Ar:return Le([He(e,{value:z(e.value,"@","@"+L)})],r);case tn:if(e.length)return Mo(e.props,function(a){switch(Co(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Le([He(e,{props:[z(a,/:(read-\w+)/,":"+pt+"$1")]})],r);case"::placeholder":return Le([He(e,{props:[z(a,/:(plac\w+)/,":"+L+"input-$1")]}),He(e,{props:[z(a,/:(plac\w+)/,":"+pt+"$1")]}),He(e,{props:[z(a,/:(plac\w+)/,ie+"input-$1")]})],r)}return""})}},Ho=[Yo],Zo=function(e){var t=e.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var c=y.getAttribute("data-emotion");c.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var r=e.stylisPlugins||Ho,a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var c=y.getAttribute("data-emotion").split(" "),b=1;b<c.length;b++)a[c[b]]=!0;i.push(y)});var s,m=[qo,Jo];{var f,p=[Fo,Go(function(y){f.insert(y)})],h=Bo(m.concat(r,p)),l=function(y){return Le(zo(y),h)};s=function(y,c,b,A){f=b,l(y?y+"{"+c.styles+"}":c.styles),A&&(_.inserted[c.name]=!0)}}var _={key:t,sheet:new Eo({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:s};return _.sheet.hydrate(i),_};let sn;typeof document=="object"&&(sn=Zo({key:"css",prepend:!0}));function Qo(e){const{injectFirst:t,children:n}=e;return t&&sn?u.jsx(Va,{value:sn,children:n}):n}function Xo(e){return e==null||Object.keys(e).length===0}function Tr(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?a=>t(Xo(a)?n:a):t;return u.jsx(Fa,{styles:r})}function Cr(e,t){return za(e,t)}const Mr=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},e0=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Tr,StyledEngineProvider:Qo,ThemeContext:Fn,css:Ba,default:Cr,internal_processStyles:Mr,keyframes:Ga},Symbol.toStringTag,{value:"Module"})),t0=$e(e0);function ke(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Nr(e){if(pe.isValidElement(e)||!ke(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Nr(e[n])}),t}function be(e,t,n={clone:!0}){const r=n.clone?O({},e):e;return ke(e)&&ke(t)&&Object.keys(t).forEach(a=>{pe.isValidElement(t[a])?r[a]=t[a]:ke(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&ke(e[a])?r[a]=be(e[a],t[a],n):n.clone?r[a]=ke(t[a])?Nr(t[a]):t[a]:r[a]=t[a]}),r}const n0=Object.freeze(Object.defineProperty({__proto__:null,default:be,isPlainObject:ke},Symbol.toStringTag,{value:"Module"})),r0=$e(n0);function At(e){if(typeof e!="string")throw new Error(Pe(7));return e.charAt(0).toUpperCase()+e.slice(1)}const a0=Object.freeze(Object.defineProperty({__proto__:null,default:At},Symbol.toStringTag,{value:"Module"})),o0=$e(a0);var Pr={exports:{}},U={},Ir;function i0(){if(Ir)return U;Ir=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),l=Symbol.for("react.view_transition"),_=Symbol.for("react.client.reference");function y(c){if(typeof c=="object"&&c!==null){var b=c.$$typeof;switch(b){case e:switch(c=c.type,c){case n:case a:case r:case m:case f:case l:return c;default:switch(c=c&&c.$$typeof,c){case i:case s:case h:case p:return c;case o:return c;default:return b}}case t:return b}}}return U.ContextConsumer=o,U.ContextProvider=i,U.Element=e,U.ForwardRef=s,U.Fragment=n,U.Lazy=h,U.Memo=p,U.Portal=t,U.Profiler=a,U.StrictMode=r,U.Suspense=m,U.SuspenseList=f,U.isContextConsumer=function(c){return y(c)===o},U.isContextProvider=function(c){return y(c)===i},U.isElement=function(c){return typeof c=="object"&&c!==null&&c.$$typeof===e},U.isForwardRef=function(c){return y(c)===s},U.isFragment=function(c){return y(c)===n},U.isLazy=function(c){return y(c)===h},U.isMemo=function(c){return y(c)===p},U.isPortal=function(c){return y(c)===t},U.isProfiler=function(c){return y(c)===a},U.isStrictMode=function(c){return y(c)===r},U.isSuspense=function(c){return y(c)===m},U.isSuspenseList=function(c){return y(c)===f},U.isValidElementType=function(c){return typeof c=="string"||typeof c=="function"||c===n||c===a||c===r||c===m||c===f||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===p||c.$$typeof===i||c.$$typeof===o||c.$$typeof===s||c.$$typeof===_||c.getModuleId!==void 0)},U.typeOf=y,U}var s0={},Rr;function $c(){return Rr||(Rr=1),s0}Pr.exports=i0();var Dr=Pr.exports;const c0=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Lr(e){const t=`${e}`.match(c0);return t&&t[1]||""}function zr(e,t=""){return e.displayName||e.name||Lr(e)||t}function Vr(e,t,n){const r=zr(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function u0(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return zr(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Dr.ForwardRef:return Vr(e,e.render,"ForwardRef");case Dr.Memo:return Vr(e,e.type,"memo");default:return}}}const f0=Object.freeze(Object.defineProperty({__proto__:null,default:u0,getFunctionName:Lr},Symbol.toStringTag,{value:"Module"})),l0=$e(f0),m0=["values","unit","step"],p0=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>O({},n,{[r.key]:r.val}),{})};function Fr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,a=de(e,m0),o=p0(t),i=Object.keys(o);function s(l){return`@media (min-width:${typeof t[l]=="number"?t[l]:l}${n})`}function m(l){return`@media (max-width:${(typeof t[l]=="number"?t[l]:l)-r/100}${n})`}function f(l,_){const y=i.indexOf(_);return`@media (min-width:${typeof t[l]=="number"?t[l]:l}${n}) and (max-width:${(y!==-1&&typeof t[i[y]]=="number"?t[i[y]]:_)-r/100}${n})`}function p(l){return i.indexOf(l)+1<i.length?f(l,i[i.indexOf(l)+1]):s(l)}function h(l){const _=i.indexOf(l);return _===0?s(i[1]):_===i.length-1?m(i[_]):f(l,i[i.indexOf(l)+1]).replace("@media","@media not all and")}return O({keys:i,values:o,up:s,down:m,between:f,only:p,not:h,unit:n},a)}const d0={borderRadius:4},Tc={};function Xe(e,t){return t?be(e,t,{clone:!1}):e}const cn={xs:0,sm:600,md:900,lg:1200,xl:1536},Br={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${cn[e]}px)`};function Ee(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Br;return t.reduce((o,i,s)=>(o[a.up(a.keys[s])]=n(t[s]),o),{})}if(typeof t=="object"){const a=r.breakpoints||Br;return Object.keys(t).reduce((o,i)=>{if(Object.keys(a.values||cn).indexOf(i)!==-1){const s=a.up(i);o[s]=n(t[i],i)}else{const s=i;o[s]=t[s]}return o},{})}return n(t)}function y0(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,r)=>{const a=e.up(r);return n[a]={},n},{}))||{}}function h0(e,t){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},t)}function xt(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function St(e,t,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=xt(e,n)||r,t&&(a=t(a,r,e)),a}function X(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,o=i=>{if(i[t]==null)return null;const s=i[t],m=i.theme,f=xt(m,r)||{};return Ee(i,s,p=>{let h=St(f,a,p);return p===h&&typeof p=="string"&&(h=St(f,a,`${t}${p==="default"?"":At(p)}`,p)),n===!1?h:{[n]:h}})};return o.propTypes={},o.filterProps=[t],o}function _0(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const g0={m:"margin",p:"padding"},b0={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Gr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},v0=_0(e=>{if(e.length>2)if(Gr[e])e=Gr[e];else return[e];const[t,n]=e.split(""),r=g0[t],a=b0[n]||"";return Array.isArray(a)?a.map(o=>r+o):[r+a]}),un=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],fn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Cc=[...un,...fn];function et(e,t,n,r){var a;const o=(a=xt(e,t,!1))!=null?a:n;return typeof o=="number"?i=>typeof i=="string"?i:o*i:Array.isArray(o)?i=>typeof i=="string"?i:o[i]:typeof o=="function"?o:()=>{}}function Ur(e){return et(e,"spacing",8,"spacing")}function tt(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function A0(e,t){return n=>e.reduce((r,a)=>(r[a]=tt(t,n),r),{})}function x0(e,t,n,r){if(t.indexOf(n)===-1)return null;const a=v0(n),o=A0(a,r),i=e[n];return Ee(e,i,o)}function Kr(e,t){const n=Ur(e.theme);return Object.keys(e).map(r=>x0(e,t,r,n)).reduce(Xe,{})}function Y(e){return Kr(e,un)}Y.propTypes={},Y.filterProps=un;function H(e){return Kr(e,fn)}H.propTypes={},H.filterProps=fn;function S0(e=8){if(e.mui)return e;const t=Ur({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(a=>{const o=t(a);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}function kt(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(o=>{r[o]=a}),r),{}),n=r=>Object.keys(r).reduce((a,o)=>t[o]?Xe(a,t[o](r)):a,{});return n.propTypes={},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function he(e){return typeof e!="number"?e:`${e}px solid`}function _e(e,t){return X({prop:e,themeKey:"borders",transform:t})}const k0=_e("border",he),E0=_e("borderTop",he),j0=_e("borderRight",he),w0=_e("borderBottom",he),O0=_e("borderLeft",he),$0=_e("borderColor"),T0=_e("borderTopColor"),C0=_e("borderRightColor"),M0=_e("borderBottomColor"),N0=_e("borderLeftColor"),P0=_e("outline",he),I0=_e("outlineColor"),Et=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=et(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:tt(t,r)});return Ee(e,e.borderRadius,n)}return null};Et.propTypes={},Et.filterProps=["borderRadius"],kt(k0,E0,j0,w0,O0,$0,T0,C0,M0,N0,Et,P0,I0);const jt=e=>{if(e.gap!==void 0&&e.gap!==null){const t=et(e.theme,"spacing",8,"gap"),n=r=>({gap:tt(t,r)});return Ee(e,e.gap,n)}return null};jt.propTypes={},jt.filterProps=["gap"];const wt=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=et(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:tt(t,r)});return Ee(e,e.columnGap,n)}return null};wt.propTypes={},wt.filterProps=["columnGap"];const Ot=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=et(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:tt(t,r)});return Ee(e,e.rowGap,n)}return null};Ot.propTypes={},Ot.filterProps=["rowGap"];const R0=X({prop:"gridColumn"}),D0=X({prop:"gridRow"}),L0=X({prop:"gridAutoFlow"}),z0=X({prop:"gridAutoColumns"}),V0=X({prop:"gridAutoRows"}),F0=X({prop:"gridTemplateColumns"}),B0=X({prop:"gridTemplateRows"}),G0=X({prop:"gridTemplateAreas"}),U0=X({prop:"gridArea"});kt(jt,wt,Ot,R0,D0,L0,z0,V0,F0,B0,G0,U0);function ze(e,t){return t==="grey"?t:e}const K0=X({prop:"color",themeKey:"palette",transform:ze}),W0=X({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ze}),q0=X({prop:"backgroundColor",themeKey:"palette",transform:ze});kt(K0,W0,q0);function le(e){return e<=1&&e!==0?`${e*100}%`:e}const J0=X({prop:"width",transform:le}),ln=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,a;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||cn[n];return o?((a=e.theme)==null||(a=a.breakpoints)==null?void 0:a.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:le(n)}};return Ee(e,e.maxWidth,t)}return null};ln.filterProps=["maxWidth"];const Y0=X({prop:"minWidth",transform:le}),H0=X({prop:"height",transform:le}),Z0=X({prop:"maxHeight",transform:le}),Q0=X({prop:"minHeight",transform:le});X({prop:"size",cssProperty:"width",transform:le}),X({prop:"size",cssProperty:"height",transform:le});const X0=X({prop:"boxSizing"});kt(J0,ln,Y0,H0,Z0,Q0,X0);const nt={border:{themeKey:"borders",transform:he},borderTop:{themeKey:"borders",transform:he},borderRight:{themeKey:"borders",transform:he},borderBottom:{themeKey:"borders",transform:he},borderLeft:{themeKey:"borders",transform:he},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:he},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Et},color:{themeKey:"palette",transform:ze},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ze},backgroundColor:{themeKey:"palette",transform:ze},p:{style:H},pt:{style:H},pr:{style:H},pb:{style:H},pl:{style:H},px:{style:H},py:{style:H},padding:{style:H},paddingTop:{style:H},paddingRight:{style:H},paddingBottom:{style:H},paddingLeft:{style:H},paddingX:{style:H},paddingY:{style:H},paddingInline:{style:H},paddingInlineStart:{style:H},paddingInlineEnd:{style:H},paddingBlock:{style:H},paddingBlockStart:{style:H},paddingBlockEnd:{style:H},m:{style:Y},mt:{style:Y},mr:{style:Y},mb:{style:Y},ml:{style:Y},mx:{style:Y},my:{style:Y},margin:{style:Y},marginTop:{style:Y},marginRight:{style:Y},marginBottom:{style:Y},marginLeft:{style:Y},marginX:{style:Y},marginY:{style:Y},marginInline:{style:Y},marginInlineStart:{style:Y},marginInlineEnd:{style:Y},marginBlock:{style:Y},marginBlockStart:{style:Y},marginBlockEnd:{style:Y},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jt},rowGap:{style:Ot},columnGap:{style:wt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:le},maxWidth:{style:ln},minWidth:{transform:le},height:{transform:le},maxHeight:{transform:le},minHeight:{transform:le},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ei(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function ti(e,t){return typeof e=="function"?e(t):e}function Wr(){function e(n,r,a,o){const i={[n]:r,theme:a},s=o[n];if(!s)return{[n]:r};const{cssProperty:m=n,themeKey:f,transform:p,style:h}=s;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const l=xt(a,f)||{};return h?h(i):Ee(i,r,_=>{let y=St(l,p,_);return _===y&&typeof _=="string"&&(y=St(l,p,`${n}${_==="default"?"":At(_)}`,_)),m===!1?y:{[m]:y}})}function t(n){var r;const{sx:a,theme:o={}}=n||{};if(!a)return null;const i=(r=o.unstable_sxConfig)!=null?r:nt;function s(m){let f=m;if(typeof m=="function")f=m(o);else if(typeof m!="object")return m;if(!f)return null;const p=y0(o.breakpoints),h=Object.keys(p);let l=p;return Object.keys(f).forEach(_=>{const y=ti(f[_],o);if(y!=null)if(typeof y=="object")if(i[_])l=Xe(l,e(_,y,o,i));else{const c=Ee({theme:o},y,b=>({[_]:b}));ei(c,y)?l[_]=t({sx:y,theme:o}):l=Xe(l,c)}else l=Xe(l,e(_,y,o,i))}),h0(h,l)}return Array.isArray(a)?a.map(s):s(a)}return t}const rt=Wr();rt.filterProps=["sx"];function qr(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const ni=["breakpoints","palette","spacing","shape"];function at(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:o={}}=e,i=de(e,ni),s=Fr(n),m=S0(a);let f=be({breakpoints:s,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:m,shape:O({},d0,o)},i);return f.applyStyles=qr,f=t.reduce((p,h)=>be(p,h),f),f.unstable_sxConfig=O({},nt,i?.unstable_sxConfig),f.unstable_sx=function(p){return rt({sx:p,theme:this})},f}const ri=Object.freeze(Object.defineProperty({__proto__:null,default:at,private_createBreakpoints:Fr,unstable_applyStyles:qr},Symbol.toStringTag,{value:"Module"})),ai=$e(ri),oi=["sx"],ii=e=>{var t,n;const r={systemProps:{},otherProps:{}},a=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:nt;return Object.keys(e).forEach(o=>{a[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function mn(e){const{sx:t}=e,n=de(e,oi),{systemProps:r,otherProps:a}=ii(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...i)=>{const s=t(...i);return ke(s)?O({},r,s):r}:o=O({},r,t),O({},a,{sx:o})}const si=Object.freeze(Object.defineProperty({__proto__:null,default:rt,extendSxProp:mn,unstable_createStyleFunctionSx:Wr,unstable_defaultSxConfig:nt},Symbol.toStringTag,{value:"Module"})),ci=$e(si);var Ve=Zt;Object.defineProperty(Je,"__esModule",{value:!0});var ui=Je.default=xi;Je.shouldForwardProp=$t,Je.systemDefaultTheme=void 0;var ge=Ve(Ao()),pn=Ve(xo()),Jr=hi(t0),fi=r0,Mc=Ve(o0),Nc=Ve(l0),li=Ve(ai),mi=Ve(ci);const pi=["ownerState"],di=["variants"],yi=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Yr(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(Yr=function(r){return r?n:t})(e)}function hi(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=Yr(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var i=a?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function _i(e){return Object.keys(e).length===0}function gi(e){return typeof e=="string"&&e.charCodeAt(0)>96}function $t(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const bi=Je.systemDefaultTheme=(0,li.default)(),vi=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Tt({defaultTheme:e,theme:t,themeId:n}){return _i(t)?e:t[n]||t}function Ai(e){return e?(t,n)=>n[e]:null}function Ct(e,t){let{ownerState:n}=t,r=(0,pn.default)(t,pi);const a=typeof e=="function"?e((0,ge.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap(o=>Ct(o,(0,ge.default)({ownerState:n},r)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:o=[]}=a;let i=(0,pn.default)(a,di);return o.forEach(s=>{let m=!0;typeof s.props=="function"?m=s.props((0,ge.default)({ownerState:n},r,n)):Object.keys(s.props).forEach(f=>{n?.[f]!==s.props[f]&&r[f]!==s.props[f]&&(m=!1)}),m&&(Array.isArray(i)||(i=[i]),i.push(typeof s.style=="function"?s.style((0,ge.default)({ownerState:n},r,n)):s.style))}),i}return a}function xi(e={}){const{themeId:t,defaultTheme:n=bi,rootShouldForwardProp:r=$t,slotShouldForwardProp:a=$t}=e,o=i=>(0,mi.default)((0,ge.default)({},i,{theme:Tt((0,ge.default)({},i,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(i,s={})=>{(0,Jr.internal_processStyles)(i,d=>d.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:m,slot:f,skipVariantsResolver:p,skipSx:h,overridesResolver:l=Ai(vi(f))}=s,_=(0,pn.default)(s,yi),y=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,c=h||!1;let b,A=$t;f==="Root"||f==="root"?A=r:f?A=a:gi(i)&&(A=void 0);const S=(0,Jr.default)(i,(0,ge.default)({shouldForwardProp:A,label:b},_)),k=d=>typeof d=="function"&&d.__emotion_real!==d||(0,fi.isPlainObject)(d)?E=>Ct(d,(0,ge.default)({},E,{theme:Tt({theme:E.theme,defaultTheme:n,themeId:t})})):d,V=(d,...E)=>{let j=k(d);const K=E?E.map(k):[];m&&l&&K.push(x=>{const w=Tt((0,ge.default)({},x,{defaultTheme:n,themeId:t}));if(!w.components||!w.components[m]||!w.components[m].styleOverrides)return null;const G=w.components[m].styleOverrides,Z={};return Object.entries(G).forEach(([oe,W])=>{Z[oe]=Ct(W,(0,ge.default)({},x,{theme:w}))}),l(x,Z)}),m&&!y&&K.push(x=>{var w;const G=Tt((0,ge.default)({},x,{defaultTheme:n,themeId:t})),Z=G==null||(w=G.components)==null||(w=w[m])==null?void 0:w.variants;return Ct({variants:Z},(0,ge.default)({},x,{theme:G}))}),c||K.push(o);const re=K.length-E.length;if(Array.isArray(d)&&re>0){const x=new Array(re).fill("");j=[...d,...x],j.raw=[...d.raw,...x]}const ee=S(j,...K);return i.muiName&&(ee.muiName=i.muiName),ee};return S.withConfig&&(V.withConfig=S.withConfig),V}}const Hr=e=>e,Si=()=>{let e=Hr;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Hr}}},Zr=Si(),ki={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Qr(e,t,n="Mui"){const r=ki[t];return r?`${n}-${r}`:`${Zr.generate(e)}-${t}`}function Ei(e,t){return O({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const ot={black:"#000",white:"#fff"},ji={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},Fe={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Be={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},it={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Ge={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Ue={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Ke={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},wi=["mode","contrastThreshold","tonalOffset"],Xr={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:ot.white,default:ot.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},dn={text:{primary:ot.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:ot.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ea(e,t,n,r){const a=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ur(e.main,a):t==="dark"&&(e.dark=cr(e.main,o)))}function Oi(e="light"){return e==="dark"?{main:Ge[200],light:Ge[50],dark:Ge[400]}:{main:Ge[700],light:Ge[400],dark:Ge[800]}}function $i(e="light"){return e==="dark"?{main:Fe[200],light:Fe[50],dark:Fe[400]}:{main:Fe[500],light:Fe[300],dark:Fe[700]}}function Ti(e="light"){return e==="dark"?{main:Be[500],light:Be[300],dark:Be[700]}:{main:Be[700],light:Be[400],dark:Be[800]}}function Ci(e="light"){return e==="dark"?{main:Ue[400],light:Ue[300],dark:Ue[700]}:{main:Ue[700],light:Ue[500],dark:Ue[900]}}function Mi(e="light"){return e==="dark"?{main:Ke[400],light:Ke[300],dark:Ke[700]}:{main:Ke[800],light:Ke[500],dark:Ke[900]}}function Ni(e="light"){return e==="dark"?{main:it[400],light:it[300],dark:it[700]}:{main:"#ed6c02",light:it[500],dark:it[900]}}function Pi(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,a=de(e,wi),o=e.primary||Oi(t),i=e.secondary||$i(t),s=e.error||Ti(t),m=e.info||Ci(t),f=e.success||Mi(t),p=e.warning||Ni(t);function h(y){return uo(y,dn.text.primary)>=n?dn.text.primary:Xr.text.primary}const l=({color:y,name:c,mainShade:b=500,lightShade:A=300,darkShade:S=700})=>{if(y=O({},y),!y.main&&y[b]&&(y.main=y[b]),!y.hasOwnProperty("main"))throw new Error(Pe(11,c?` (${c})`:"",b));if(typeof y.main!="string")throw new Error(Pe(12,c?` (${c})`:"",JSON.stringify(y.main)));return ea(y,"light",A,r),ea(y,"dark",S,r),y.contrastText||(y.contrastText=h(y.main)),y},_={dark:dn,light:Xr};return be(O({common:O({},ot),mode:t,primary:l({color:o,name:"primary"}),secondary:l({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:l({color:s,name:"error"}),warning:l({color:p,name:"warning"}),info:l({color:m,name:"info"}),success:l({color:f,name:"success"}),grey:ji,contrastThreshold:n,getContrastText:h,augmentColor:l,tonalOffset:r},_[t]),a)}const Ii=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ri(e){return Math.round(e*1e5)/1e5}const ta={textTransform:"uppercase"},na='"Roboto", "Helvetica", "Arial", sans-serif';function Di(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=na,fontSize:a=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:m=700,htmlFontSize:f=16,allVariants:p,pxToRem:h}=n,l=de(n,Ii),_=a/14,y=h||(A=>`${A/f*_}rem`),c=(A,S,k,V,d)=>O({fontFamily:r,fontWeight:A,fontSize:y(S),lineHeight:k},r===na?{letterSpacing:`${Ri(V/S)}em`}:{},d,p),b={h1:c(o,96,1.167,-1.5),h2:c(o,60,1.2,-.5),h3:c(i,48,1.167,0),h4:c(i,34,1.235,.25),h5:c(i,24,1.334,0),h6:c(s,20,1.6,.15),subtitle1:c(i,16,1.75,.15),subtitle2:c(s,14,1.57,.1),body1:c(i,16,1.5,.15),body2:c(i,14,1.43,.15),button:c(s,14,1.75,.4,ta),caption:c(i,12,1.66,.4),overline:c(i,12,2.66,1,ta),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return be(O({htmlFontSize:f,pxToRem:y,fontFamily:r,fontSize:a,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:m},b),l,{clone:!1})}const Li=.2,zi=.14,Vi=.12;function q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Li})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${zi})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Vi})`].join(",")}const Fi=["none",q(0,2,1,-1,0,1,1,0,0,1,3,0),q(0,3,1,-2,0,2,2,0,0,1,5,0),q(0,3,3,-2,0,3,4,0,0,1,8,0),q(0,2,4,-1,0,4,5,0,0,1,10,0),q(0,3,5,-1,0,5,8,0,0,1,14,0),q(0,3,5,-1,0,6,10,0,0,1,18,0),q(0,4,5,-2,0,7,10,1,0,2,16,1),q(0,5,5,-3,0,8,10,1,0,3,14,2),q(0,5,6,-3,0,9,12,1,0,3,16,2),q(0,6,6,-3,0,10,14,1,0,4,18,3),q(0,6,7,-4,0,11,15,1,0,4,20,3),q(0,7,8,-4,0,12,17,2,0,5,22,4),q(0,7,8,-4,0,13,19,2,0,5,24,4),q(0,7,9,-4,0,14,21,2,0,5,26,4),q(0,8,9,-5,0,15,22,2,0,6,28,5),q(0,8,10,-5,0,16,24,2,0,6,30,5),q(0,8,11,-5,0,17,26,2,0,6,32,5),q(0,9,11,-5,0,18,28,2,0,7,34,6),q(0,9,12,-6,0,19,29,2,0,7,36,6),q(0,10,13,-6,0,20,31,3,0,8,38,7),q(0,10,13,-6,0,21,33,3,0,8,40,7),q(0,10,14,-6,0,22,35,3,0,8,42,7),q(0,11,14,-7,0,23,36,3,0,9,44,8),q(0,11,15,-7,0,24,38,3,0,9,46,8)],Bi=["duration","easing","delay"],Gi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ui={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ra(e){return`${Math.round(e)}ms`}function Ki(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Wi(e){const t=O({},Gi,e.easing),n=O({},Ui,e.duration);return O({getAutoHeightDuration:Ki,create:(r=["all"],a={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:s=0}=a,m=de(a,Bi);return(Array.isArray(r)?r:[r]).map(f=>`${f} ${typeof o=="string"?o:ra(o)} ${i} ${typeof s=="string"?s:ra(s)}`).join(",")}},e,{easing:t,duration:n})}const qi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ji=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Yi(e={},...t){const{mixins:n={},palette:r={},transitions:a={},typography:o={}}=e,i=de(e,Ji);if(e.vars&&e.generateCssVars===void 0)throw new Error(Pe(18));const s=Pi(r),m=at(e);let f=be(m,{mixins:Ei(m.breakpoints,n),palette:s,shadows:Fi.slice(),typography:Di(s,o),transitions:Wi(a),zIndex:O({},qi)});return f=be(f,i),f=t.reduce((p,h)=>be(p,h),f),f.unstable_sxConfig=O({},nt,i?.unstable_sxConfig),f.unstable_sx=function(p){return rt({sx:p,theme:this})},f}const aa=Yi(),oa="$$material";function ia(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const sa=e=>ia(e)&&e!=="classes",ca=ui({themeId:oa,defaultTheme:aa,rootShouldForwardProp:sa}),Hi=pe.createContext(void 0);function Zi(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const a=t.components[n];return a.defaultProps?qe(a.defaultProps,r):!a.styleOverrides&&!a.variants?qe(a,r):r}function Qi({props:e,name:t}){const n=pe.useContext(Hi);return Zi({props:e,name:t,theme:{components:n}})}function ua(e){return Qi(e)}function Xi(e){return Object.keys(e).length===0}function es(e=null){const t=pe.useContext(Fn);return!t||Xi(t)?e:t}const ts=at();function yn(e=ts){return es(e)}const ns=["ownerState"],rs=["variants"],as=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function os(e){return Object.keys(e).length===0}function is(e){return typeof e=="string"&&e.charCodeAt(0)>96}function hn(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ss=at(),cs=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Mt({defaultTheme:e,theme:t,themeId:n}){return os(t)?e:t[n]||t}function us(e){return e?(t,n)=>n[e]:null}function Nt(e,t){let{ownerState:n}=t,r=de(t,ns);const a=typeof e=="function"?e(O({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap(o=>Nt(o,O({ownerState:n},r)));if(a&&typeof a=="object"&&Array.isArray(a.variants)){const{variants:o=[]}=a;let i=de(a,rs);return o.forEach(s=>{let m=!0;typeof s.props=="function"?m=s.props(O({ownerState:n},r,n)):Object.keys(s.props).forEach(f=>{n?.[f]!==s.props[f]&&r[f]!==s.props[f]&&(m=!1)}),m&&(Array.isArray(i)||(i=[i]),i.push(typeof s.style=="function"?s.style(O({ownerState:n},r,n)):s.style))}),i}return a}function fs(e={}){const{themeId:t,defaultTheme:n=ss,rootShouldForwardProp:r=hn,slotShouldForwardProp:a=hn}=e,o=i=>rt(O({},i,{theme:Mt(O({},i,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(i,s={})=>{Mr(i,d=>d.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:m,slot:f,skipVariantsResolver:p,skipSx:h,overridesResolver:l=us(cs(f))}=s,_=de(s,as),y=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,c=h||!1;let b,A=hn;f==="Root"||f==="root"?A=r:f?A=a:is(i)&&(A=void 0);const S=Cr(i,O({shouldForwardProp:A,label:b},_)),k=d=>typeof d=="function"&&d.__emotion_real!==d||ke(d)?E=>Nt(d,O({},E,{theme:Mt({theme:E.theme,defaultTheme:n,themeId:t})})):d,V=(d,...E)=>{let j=k(d);const K=E?E.map(k):[];m&&l&&K.push(x=>{const w=Mt(O({},x,{defaultTheme:n,themeId:t}));if(!w.components||!w.components[m]||!w.components[m].styleOverrides)return null;const G=w.components[m].styleOverrides,Z={};return Object.entries(G).forEach(([oe,W])=>{Z[oe]=Nt(W,O({},x,{theme:w}))}),l(x,Z)}),m&&!y&&K.push(x=>{var w;const G=Mt(O({},x,{defaultTheme:n,themeId:t})),Z=G==null||(w=G.components)==null||(w=w[m])==null?void 0:w.variants;return Nt({variants:Z},O({},x,{theme:G}))}),c||K.push(o);const re=K.length-E.length;if(Array.isArray(d)&&re>0){const x=new Array(re).fill("");j=[...d,...x],j.raw=[...d.raw,...x]}const ee=S(j,...K);return i.muiName&&(ee.muiName=i.muiName),ee};return S.withConfig&&(V.withConfig=S.withConfig),V}}const ls=fs();function ms(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:qe(t.components[n].defaultProps,r)}function ps({props:e,name:t,defaultTheme:n,themeId:r}){let a=yn(n);return r&&(a=a[r]||a),ms({theme:a,name:t,props:e})}function fa(e,t){var n,r;return pe.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}const ds=(e,t)=>e.filter(n=>t.includes(n)),We=(e,t,n)=>{const r=e.keys[0];Array.isArray(t)?t.forEach((a,o)=>{n((i,s)=>{o<=e.keys.length-1&&(o===0?Object.assign(i,s):i[e.up(e.keys[o])]=s)},a)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:ds(e.keys,Object.keys(t))).forEach(a=>{if(e.keys.indexOf(a)!==-1){const o=t[a];o!==void 0&&n((i,s)=>{r===a?Object.assign(i,s):i[e.up(a)]=s},o)}}):(typeof t=="number"||typeof t=="string")&&n((a,o)=>{Object.assign(a,o)},t)};function je(e){return e?`Level${e}`:""}function st(e){return e.unstable_level>0&&e.container}function la(e){return function(t){return`var(--Grid-${t}Spacing${je(e.unstable_level)})`}}function _n(e){return function(t){return e.unstable_level===0?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${je(e.unstable_level-1)})`}}function gn(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${je(e.unstable_level-1)})`}const ys=({theme:e,ownerState:t})=>{const n=la(t),r={};return We(e.breakpoints,t.gridSize,(a,o)=>{let i={};o===!0&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),o==="auto"&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof o=="number"&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${o} / ${gn(t)}${st(t)?` + ${n("column")}`:""})`}),a(r,i)}),r},hs=({theme:e,ownerState:t})=>{const n={};return We(e.breakpoints,t.gridOffset,(r,a)=>{let o={};a==="auto"&&(o={marginLeft:"auto"}),typeof a=="number"&&(o={marginLeft:a===0?"0px":`calc(100% * ${a} / ${gn(t)})`}),r(n,o)}),n},_s=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=st(t)?{[`--Grid-columns${je(t.unstable_level)}`]:gn(t)}:{"--Grid-columns":12};return We(e.breakpoints,t.columns,(r,a)=>{r(n,{[`--Grid-columns${je(t.unstable_level)}`]:a})}),n},gs=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=_n(t),r=st(t)?{[`--Grid-rowSpacing${je(t.unstable_level)}`]:n("row")}:{};return We(e.breakpoints,t.rowSpacing,(a,o)=>{var i;a(r,{[`--Grid-rowSpacing${je(t.unstable_level)}`]:typeof o=="string"?o:(i=e.spacing)==null?void 0:i.call(e,o)})}),r},bs=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=_n(t),r=st(t)?{[`--Grid-columnSpacing${je(t.unstable_level)}`]:n("column")}:{};return We(e.breakpoints,t.columnSpacing,(a,o)=>{var i;a(r,{[`--Grid-columnSpacing${je(t.unstable_level)}`]:typeof o=="string"?o:(i=e.spacing)==null?void 0:i.call(e,o)})}),r},vs=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return We(e.breakpoints,t.direction,(r,a)=>{r(n,{flexDirection:a})}),n},As=({ownerState:e})=>{const t=la(e),n=_n(e);return O({minWidth:0,boxSizing:"border-box"},e.container&&O({display:"flex",flexWrap:"wrap"},e.wrap&&e.wrap!=="wrap"&&{flexWrap:e.wrap},{margin:`calc(${t("row")} / -2) calc(${t("column")} / -2)`},e.disableEqualOverflow&&{margin:`calc(${t("row")} * -1) 0px 0px calc(${t("column")} * -1)`}),(!e.container||st(e))&&O({padding:`calc(${n("row")} / 2) calc(${n("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${n("row")} 0px 0px ${n("column")}`}))},xs=e=>{const t=[];return Object.entries(e).forEach(([n,r])=>{r!==!1&&r!==void 0&&t.push(`grid-${n}-${String(r)}`)}),t},Ss=(e,t="xs")=>{function n(r){return r===void 0?!1:typeof r=="string"&&!Number.isNaN(Number(r))||typeof r=="number"&&r>0}if(n(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const r=[];return Object.entries(e).forEach(([a,o])=>{n(o)&&r.push(`spacing-${a}-${String(o)}`)}),r}return[]},ks=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,n])=>`direction-${t}-${n}`):[`direction-xs-${String(e)}`],Es=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],js=at(),ws=ls("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Os(e){return ps({props:e,name:"MuiGrid",defaultTheme:js})}function $s(e={}){const{createStyledComponent:t=ws,useThemeProps:n=Os,componentName:r="MuiGrid"}=e,a=pe.createContext(void 0),o=(m,f)=>{const{container:p,direction:h,spacing:l,wrap:_,gridSize:y}=m,c={root:["root",p&&"container",_!=="wrap"&&`wrap-xs-${String(_)}`,...ks(h),...xs(y),...p?Ss(l,f.breakpoints.keys[0]):[]]};return or(c,b=>Qr(r,b),{})},i=t(_s,bs,gs,ys,vs,As,hs),s=pe.forwardRef(function(m,f){var p,h,l,_,y,c,b,A;const S=yn(),k=n(m),V=mn(k),d=pe.useContext(a),{className:E,children:j,columns:K=12,container:re=!1,component:ee="div",direction:x="row",wrap:w="wrap",spacing:G=0,rowSpacing:Z=G,columnSpacing:oe=G,disableEqualOverflow:W,unstable_level:te=0}=V,Ne=de(V,Es);let we=W;te&&W!==void 0&&(we=m.disableEqualOverflow);const g={},v={},P={};Object.entries(Ne).forEach(([$,J])=>{S.breakpoints.values[$]!==void 0?g[$]=J:S.breakpoints.values[$.replace("Offset","")]!==void 0?v[$.replace("Offset","")]=J:P[$]=J});const M=(p=m.columns)!=null?p:te?void 0:K,T=(h=m.spacing)!=null?h:te?void 0:G,I=(l=(_=m.rowSpacing)!=null?_:m.spacing)!=null?l:te?void 0:Z,C=(y=(c=m.columnSpacing)!=null?c:m.spacing)!=null?y:te?void 0:oe,N=O({},V,{level:te,columns:M,container:re,direction:x,wrap:w,spacing:T,rowSpacing:I,columnSpacing:C,gridSize:g,gridOffset:v,disableEqualOverflow:(b=(A=we)!=null?A:d)!=null?b:!1,parentDisableEqualOverflow:d}),D=o(N,S);let R=u.jsx(i,O({ref:f,as:ee,ownerState:N,className:ar(D.root,E)},P,{children:pe.Children.map(j,$=>{if(pe.isValidElement($)&&fa($,["Grid"])){var J,F;return pe.cloneElement($,{unstable_level:(J=(F=$.props)==null?void 0:F.unstable_level)!=null?J:te+1})}return $})}));return we!==void 0&&we!==(d??!1)&&(R=u.jsx(a.Provider,{value:we,children:R})),R});return s.muiName="Grid",s}function bn({value:e,children:t}){return e?typeof t=="function"?u.jsx(u.Fragment,{children:t(e)}):u.jsx(u.Fragment,{children:t}):null}const ma=[{name:"Etc/GMT+12",utc_offset:"-12:00:00"},{name:"US/Samoa",utc_offset:"-11:00:00"},{name:"Etc/GMT+11",utc_offset:"-11:00:00"},{name:"Pacific/Pago_Pago",utc_offset:"-11:00:00"},{name:"Pacific/Niue",utc_offset:"-11:00:00"},{name:"Pacific/Samoa",utc_offset:"-11:00:00"},{name:"Pacific/Midway",utc_offset:"-11:00:00"},{name:"HST",utc_offset:"-10:00:00"},{name:"US/Hawaii",utc_offset:"-10:00:00"},{name:"Etc/GMT+10",utc_offset:"-10:00:00"},{name:"Pacific/Tahiti",utc_offset:"-10:00:00"},{name:"Pacific/Honolulu",utc_offset:"-10:00:00"},{name:"Pacific/Johnston",utc_offset:"-10:00:00"},{name:"Pacific/Rarotonga",utc_offset:"-10:00:00"},{name:"America/Atka",utc_offset:"-09:00:00"},{name:"America/Adak",utc_offset:"-09:00:00"},{name:"US/Aleutian",utc_offset:"-09:00:00"},{name:"Etc/GMT+9",utc_offset:"-09:00:00"},{name:"Pacific/Marquesas",utc_offset:"-09:30:00"},{name:"Pacific/Gambier",utc_offset:"-09:00:00"},{name:"America/Sitka",utc_offset:"-08:00:00"},{name:"America/Metlakatla",utc_offset:"-08:00:00"},{name:"America/Juneau",utc_offset:"-08:00:00"},{name:"America/Nome",utc_offset:"-08:00:00"},{name:"America/Yakutat",utc_offset:"-08:00:00"},{name:"America/Anchorage",utc_offset:"-08:00:00"},{name:"US/Alaska",utc_offset:"-08:00:00"},{name:"Etc/GMT+8",utc_offset:"-08:00:00"},{name:"Pacific/Pitcairn",utc_offset:"-08:00:00"},{name:"Mexico/BajaSur",utc_offset:"-07:00:00"},{name:"Mexico/BajaNorte",utc_offset:"-07:00:00"},{name:"America/Ensenada",utc_offset:"-07:00:00"},{name:"America/Los_Angeles",utc_offset:"-07:00:00"},{name:"America/Dawson_Creek",utc_offset:"-07:00:00"},{name:"America/Mazatlan",utc_offset:"-07:00:00"},{name:"America/Santa_Isabel",utc_offset:"-07:00:00"},{name:"America/Creston",utc_offset:"-07:00:00"},{name:"America/Dawson",utc_offset:"-07:00:00"},{name:"America/Whitehorse",utc_offset:"-07:00:00"},{name:"America/Vancouver",utc_offset:"-07:00:00"},{name:"America/Tijuana",utc_offset:"-07:00:00"},{name:"America/Hermosillo",utc_offset:"-07:00:00"},{name:"America/Fort_Nelson",utc_offset:"-07:00:00"},{name:"America/Phoenix",utc_offset:"-07:00:00"},{name:"US/Arizona",utc_offset:"-07:00:00"},{name:"US/Pacific",utc_offset:"-07:00:00"},{name:"Etc/GMT+7",utc_offset:"-07:00:00"},{name:"PST8PDT",utc_offset:"-07:00:00"},{name:"MST",utc_offset:"-07:00:00"},{name:"Canada/Yukon",utc_offset:"-07:00:00"},{name:"Canada/Pacific",utc_offset:"-07:00:00"},{name:"Navajo",utc_offset:"-06:00:00"},{name:"Chile/EasterIsland",utc_offset:"-06:00:00"},{name:"MST7MDT",utc_offset:"-06:00:00"},{name:"Mexico/General",utc_offset:"-06:00:00"},{name:"America/Guatemala",utc_offset:"-06:00:00"},{name:"America/Boise",utc_offset:"-06:00:00"},{name:"America/Costa_Rica",utc_offset:"-06:00:00"},{name:"America/Swift_Current",utc_offset:"-06:00:00"},{name:"America/Managua",utc_offset:"-06:00:00"},{name:"America/Yellowknife",utc_offset:"-06:00:00"},{name:"America/Bahia_Banderas",utc_offset:"-06:00:00"},{name:"America/Shiprock",utc_offset:"-06:00:00"},{name:"America/Edmonton",utc_offset:"-06:00:00"},{name:"America/Mexico_City",utc_offset:"-06:00:00"},{name:"America/Belize",utc_offset:"-06:00:00"},{name:"America/Inuvik",utc_offset:"-06:00:00"},{name:"America/Tegucigalpa",utc_offset:"-06:00:00"},{name:"America/Regina",utc_offset:"-06:00:00"},{name:"America/Cambridge_Bay",utc_offset:"-06:00:00"},{name:"America/Denver",utc_offset:"-06:00:00"},{name:"America/El_Salvador",utc_offset:"-06:00:00"},{name:"America/Chihuahua",utc_offset:"-06:00:00"},{name:"America/Monterrey",utc_offset:"-06:00:00"},{name:"America/Ciudad_Juarez",utc_offset:"-06:00:00"},{name:"America/Merida",utc_offset:"-06:00:00"},{name:"US/Mountain",utc_offset:"-06:00:00"},{name:"Etc/GMT+6",utc_offset:"-06:00:00"},{name:"Pacific/Galapagos",utc_offset:"-06:00:00"},{name:"Pacific/Easter",utc_offset:"-06:00:00"},{name:"Canada/Saskatchewan",utc_offset:"-06:00:00"},{name:"Canada/Mountain",utc_offset:"-06:00:00"},{name:"Brazil/Acre",utc_offset:"-05:00:00"},{name:"America/Cancun",utc_offset:"-05:00:00"},{name:"America/Rainy_River",utc_offset:"-05:00:00"},{name:"America/Atikokan",utc_offset:"-05:00:00"},{name:"America/Panama",utc_offset:"-05:00:00"},{name:"America/Porto_Acre",utc_offset:"-05:00:00"},{name:"America/Ojinaga",utc_offset:"-05:00:00"},{name:"America/Chicago",utc_offset:"-05:00:00"},{name:"America/Cayman",utc_offset:"-05:00:00"},{name:"America/Knox_IN",utc_offset:"-05:00:00"},{name:"America/Coral_Harbour",utc_offset:"-05:00:00"},{name:"America/Indiana/Knox",utc_offset:"-05:00:00"},{name:"America/Indiana/Tell_City",utc_offset:"-05:00:00"},{name:"America/Rio_Branco",utc_offset:"-05:00:00"},{name:"America/Eirunepe",utc_offset:"-05:00:00"},{name:"America/Menominee",utc_offset:"-05:00:00"},{name:"America/Winnipeg",utc_offset:"-05:00:00"},{name:"America/Lima",utc_offset:"-05:00:00"},{name:"America/Matamoros",utc_offset:"-05:00:00"},{name:"America/Resolute",utc_offset:"-05:00:00"},{name:"America/Guayaquil",utc_offset:"-05:00:00"},{name:"America/North_Dakota/Center",utc_offset:"-05:00:00"},{name:"America/North_Dakota/Beulah",utc_offset:"-05:00:00"},{name:"America/North_Dakota/New_Salem",utc_offset:"-05:00:00"},{name:"America/Bogota",utc_offset:"-05:00:00"},{name:"America/Rankin_Inlet",utc_offset:"-05:00:00"},{name:"America/Jamaica",utc_offset:"-05:00:00"},{name:"US/Central",utc_offset:"-05:00:00"},{name:"US/Indiana-Starke",utc_offset:"-05:00:00"},{name:"EST",utc_offset:"-05:00:00"},{name:"Etc/GMT+5",utc_offset:"-05:00:00"},{name:"Canada/Central",utc_offset:"-05:00:00"},{name:"CST6CDT",utc_offset:"-05:00:00"},{name:"Jamaica",utc_offset:"-05:00:00"},{name:"Chile/Continental",utc_offset:"-04:00:00"},{name:"Brazil/West",utc_offset:"-04:00:00"},{name:"America/Martinique",utc_offset:"-04:00:00"},{name:"America/La_Paz",utc_offset:"-04:00:00"},{name:"America/Cuiaba",utc_offset:"-04:00:00"},{name:"America/Caracas",utc_offset:"-04:00:00"},{name:"America/Grand_Turk",utc_offset:"-04:00:00"},{name:"America/Nipigon",utc_offset:"-04:00:00"},{name:"America/Grenada",utc_offset:"-04:00:00"},{name:"America/Lower_Princes",utc_offset:"-04:00:00"},{name:"America/Port-au-Prince",utc_offset:"-04:00:00"},{name:"America/Santiago",utc_offset:"-04:00:00"},{name:"America/St_Vincent",utc_offset:"-04:00:00"},{name:"America/Kentucky/Monticello",utc_offset:"-04:00:00"},{name:"America/Kentucky/Louisville",utc_offset:"-04:00:00"},{name:"America/St_Kitts",utc_offset:"-04:00:00"},{name:"America/St_Lucia",utc_offset:"-04:00:00"},{name:"America/Guadeloupe",utc_offset:"-04:00:00"},{name:"America/Havana",utc_offset:"-04:00:00"},{name:"America/Toronto",utc_offset:"-04:00:00"},{name:"America/Montserrat",utc_offset:"-04:00:00"},{name:"America/Curacao",utc_offset:"-04:00:00"},{name:"America/Barbados",utc_offset:"-04:00:00"},{name:"America/Virgin",utc_offset:"-04:00:00"},{name:"America/Detroit",utc_offset:"-04:00:00"},{name:"America/Antigua",utc_offset:"-04:00:00"},{name:"America/Blanc-Sablon",utc_offset:"-04:00:00"},{name:"America/Manaus",utc_offset:"-04:00:00"},{name:"America/Thunder_Bay",utc_offset:"-04:00:00"},{name:"America/Guyana",utc_offset:"-04:00:00"},{name:"America/Puerto_Rico",utc_offset:"-04:00:00"},{name:"America/Louisville",utc_offset:"-04:00:00"},{name:"America/Port_of_Spain",utc_offset:"-04:00:00"},{name:"America/Nassau",utc_offset:"-04:00:00"},{name:"America/Boa_Vista",utc_offset:"-04:00:00"},{name:"America/Fort_Wayne",utc_offset:"-04:00:00"},{name:"America/Iqaluit",utc_offset:"-04:00:00"},{name:"America/Indiana/Winamac",utc_offset:"-04:00:00"},{name:"America/Indiana/Vincennes",utc_offset:"-04:00:00"},{name:"America/Indiana/Marengo",utc_offset:"-04:00:00"},{name:"America/Indiana/Petersburg",utc_offset:"-04:00:00"},{name:"America/Indiana/Indianapolis",utc_offset:"-04:00:00"},{name:"America/Indiana/Vevay",utc_offset:"-04:00:00"},{name:"America/St_Barthelemy",utc_offset:"-04:00:00"},{name:"America/New_York",utc_offset:"-04:00:00"},{name:"America/Campo_Grande",utc_offset:"-04:00:00"},{name:"America/St_Thomas",utc_offset:"-04:00:00"},{name:"America/Tortola",utc_offset:"-04:00:00"},{name:"America/Montreal",utc_offset:"-04:00:00"},{name:"America/Pangnirtung",utc_offset:"-04:00:00"},{name:"America/Anguilla",utc_offset:"-04:00:00"},{name:"America/Kralendijk",utc_offset:"-04:00:00"},{name:"America/Indianapolis",utc_offset:"-04:00:00"},{name:"America/Dominica",utc_offset:"-04:00:00"},{name:"America/Santo_Domingo",utc_offset:"-04:00:00"},{name:"America/Marigot",utc_offset:"-04:00:00"},{name:"America/Porto_Velho",utc_offset:"-04:00:00"},{name:"America/Aruba",utc_offset:"-04:00:00"},{name:"EST5EDT",utc_offset:"-04:00:00"},{name:"US/Eastern",utc_offset:"-04:00:00"},{name:"US/East-Indiana",utc_offset:"-04:00:00"},{name:"US/Michigan",utc_offset:"-04:00:00"},{name:"Etc/GMT+4",utc_offset:"-04:00:00"},{name:"Canada/Eastern",utc_offset:"-04:00:00"},{name:"Cuba",utc_offset:"-04:00:00"},{name:"America/Sao_Paulo",utc_offset:"-03:00:00"},{name:"Brazil/East",utc_offset:"-03:00:00"},{name:"America/Asuncion",utc_offset:"-03:00:00"},{name:"America/Bahia",utc_offset:"-03:00:00"},{name:"America/Buenos_Aires",utc_offset:"-03:00:00"},{name:"America/Cayenne",utc_offset:"-03:00:00"},{name:"America/Argentina/Buenos_Aires",utc_offset:"-03:00:00"},{name:"America/Argentina/ComodRivadavia",utc_offset:"-03:00:00"},{name:"America/Argentina/Salta",utc_offset:"-03:00:00"},{name:"America/Argentina/Mendoza",utc_offset:"-03:00:00"},{name:"America/Argentina/Rio_Gallegos",utc_offset:"-03:00:00"},{name:"America/Argentina/Cordoba",utc_offset:"-03:00:00"},{name:"America/Argentina/Catamarca",utc_offset:"-03:00:00"},{name:"America/Argentina/Ushuaia",utc_offset:"-03:00:00"},{name:"America/Argentina/Jujuy",utc_offset:"-03:00:00"},{name:"America/Argentina/San_Luis",utc_offset:"-03:00:00"},{name:"America/Argentina/La_Rioja",utc_offset:"-03:00:00"},{name:"America/Argentina/San_Juan",utc_offset:"-03:00:00"},{name:"America/Argentina/Tucuman",utc_offset:"-03:00:00"},{name:"America/Belem",utc_offset:"-03:00:00"},{name:"America/Recife",utc_offset:"-03:00:00"},{name:"America/Mendoza",utc_offset:"-03:00:00"},{name:"America/Goose_Bay",utc_offset:"-03:00:00"},{name:"America/Cordoba",utc_offset:"-03:00:00"},{name:"America/Rosario",utc_offset:"-03:00:00"},{name:"America/Catamarca",utc_offset:"-03:00:00"},{name:"America/Santarem",utc_offset:"-03:00:00"},{name:"America/Maceio",utc_offset:"-03:00:00"},{name:"America/Punta_Arenas",utc_offset:"-03:00:00"},{name:"America/Jujuy",utc_offset:"-03:00:00"},{name:"America/Fortaleza",utc_offset:"-03:00:00"},{name:"America/Araguaina",utc_offset:"-03:00:00"},{name:"America/Thule",utc_offset:"-03:00:00"},{name:"America/Paramaribo",utc_offset:"-03:00:00"},{name:"America/Moncton",utc_offset:"-03:00:00"},{name:"America/Glace_Bay",utc_offset:"-03:00:00"},{name:"America/Halifax",utc_offset:"-03:00:00"},{name:"America/Montevideo",utc_offset:"-03:00:00"},{name:"Etc/GMT+3",utc_offset:"-03:00:00"},{name:"Antarctica/Rothera",utc_offset:"-03:00:00"},{name:"Antarctica/Palmer",utc_offset:"-03:00:00"},{name:"Atlantic/Bermuda",utc_offset:"-03:00:00"},{name:"Atlantic/Stanley",utc_offset:"-03:00:00"},{name:"Canada/Atlantic",utc_offset:"-03:00:00"},{name:"Brazil/DeNoronha",utc_offset:"-02:00:00"},{name:"America/Noronha",utc_offset:"-02:00:00"},{name:"America/St_Johns",utc_offset:"-02:30:00"},{name:"America/Miquelon",utc_offset:"-02:00:00"},{name:"Etc/GMT+2",utc_offset:"-02:00:00"},{name:"Atlantic/South_Georgia",utc_offset:"-02:00:00"},{name:"Canada/Newfoundland",utc_offset:"-02:30:00"},{name:"America/Scoresbysund",utc_offset:"-01:00:00"},{name:"America/Godthab",utc_offset:"-01:00:00"},{name:"America/Nuuk",utc_offset:"-01:00:00"},{name:"Etc/GMT+1",utc_offset:"-01:00:00"},{name:"Atlantic/Cape_Verde",utc_offset:"-01:00:00"},{name:"UTC",utc_offset:"00:00:00"},{name:"GMT",utc_offset:"00:00:00"},{name:"Universal",utc_offset:"00:00:00"},{name:"GMT-0",utc_offset:"00:00:00"},{name:"Greenwich",utc_offset:"00:00:00"},{name:"Africa/Freetown",utc_offset:"00:00:00"},{name:"Africa/Accra",utc_offset:"00:00:00"},{name:"Africa/Monrovia",utc_offset:"00:00:00"},{name:"Africa/Ouagadougou",utc_offset:"00:00:00"},{name:"Africa/Lome",utc_offset:"00:00:00"},{name:"Africa/Timbuktu",utc_offset:"00:00:00"},{name:"Africa/Conakry",utc_offset:"00:00:00"},{name:"Africa/Nouakchott",utc_offset:"00:00:00"},{name:"Africa/Bissau",utc_offset:"00:00:00"},{name:"Africa/Sao_Tome",utc_offset:"00:00:00"},{name:"Africa/Dakar",utc_offset:"00:00:00"},{name:"Africa/Bamako",utc_offset:"00:00:00"},{name:"Africa/Abidjan",utc_offset:"00:00:00"},{name:"Africa/Banjul",utc_offset:"00:00:00"},{name:"Zulu",utc_offset:"00:00:00"},{name:"America/Danmarkshavn",utc_offset:"00:00:00"},{name:"GMT0",utc_offset:"00:00:00"},{name:"UCT",utc_offset:"00:00:00"},{name:"Etc/Greenwich",utc_offset:"00:00:00"},{name:"Etc/UTC",utc_offset:"00:00:00"},{name:"Etc/GMT",utc_offset:"00:00:00"},{name:"Etc/Universal",utc_offset:"00:00:00"},{name:"Etc/GMT-0",utc_offset:"00:00:00"},{name:"Etc/Zulu",utc_offset:"00:00:00"},{name:"Etc/GMT0",utc_offset:"00:00:00"},{name:"Etc/UCT",utc_offset:"00:00:00"},{name:"Etc/GMT+0",utc_offset:"00:00:00"},{name:"GMT+0",utc_offset:"00:00:00"},{name:"Atlantic/Azores",utc_offset:"00:00:00"},{name:"Atlantic/St_Helena",utc_offset:"00:00:00"},{name:"Atlantic/Reykjavik",utc_offset:"00:00:00"},{name:"Factory",utc_offset:"00:00:00"},{name:"Iceland",utc_offset:"00:00:00"},{name:"Eire",utc_offset:"01:00:00"},{name:"Africa/Casablanca",utc_offset:"01:00:00"},{name:"Africa/Luanda",utc_offset:"01:00:00"},{name:"Africa/Libreville",utc_offset:"01:00:00"},{name:"Africa/Porto-Novo",utc_offset:"01:00:00"},{name:"Africa/Kinshasa",utc_offset:"01:00:00"},{name:"Africa/Ndjamena",utc_offset:"01:00:00"},{name:"Africa/Brazzaville",utc_offset:"01:00:00"},{name:"Africa/Malabo",utc_offset:"01:00:00"},{name:"Africa/Tunis",utc_offset:"01:00:00"},{name:"Africa/Algiers",utc_offset:"01:00:00"},{name:"Africa/Lagos",utc_offset:"01:00:00"},{name:"Africa/El_Aaiun",utc_offset:"01:00:00"},{name:"Africa/Niamey",utc_offset:"01:00:00"},{name:"Africa/Bangui",utc_offset:"01:00:00"},{name:"Africa/Douala",utc_offset:"01:00:00"},{name:"Europe/Lisbon",utc_offset:"01:00:00"},{name:"Europe/Jersey",utc_offset:"01:00:00"},{name:"Europe/Guernsey",utc_offset:"01:00:00"},{name:"Europe/Isle_of_Man",utc_offset:"01:00:00"},{name:"Europe/Belfast",utc_offset:"01:00:00"},{name:"Europe/London",utc_offset:"01:00:00"},{name:"Europe/Dublin",utc_offset:"01:00:00"},{name:"GB",utc_offset:"01:00:00"},{name:"GB-Eire",utc_offset:"01:00:00"},{name:"Etc/GMT-1",utc_offset:"01:00:00"},{name:"Atlantic/Faeroe",utc_offset:"01:00:00"},{name:"Atlantic/Faroe",utc_offset:"01:00:00"},{name:"Atlantic/Canary",utc_offset:"01:00:00"},{name:"Atlantic/Madeira",utc_offset:"01:00:00"},{name:"WET",utc_offset:"01:00:00"},{name:"Portugal",utc_offset:"01:00:00"},{name:"Libya",utc_offset:"02:00:00"},{name:"Africa/Blantyre",utc_offset:"02:00:00"},{name:"Africa/Windhoek",utc_offset:"02:00:00"},{name:"Africa/Johannesburg",utc_offset:"02:00:00"},{name:"Africa/Cairo",utc_offset:"02:00:00"},{name:"Africa/Gaborone",utc_offset:"02:00:00"},{name:"Africa/Juba",utc_offset:"02:00:00"},{name:"Africa/Maputo",utc_offset:"02:00:00"},{name:"Africa/Lubumbashi",utc_offset:"02:00:00"},{name:"Africa/Maseru",utc_offset:"02:00:00"},{name:"Africa/Ceuta",utc_offset:"02:00:00"},{name:"Africa/Kigali",utc_offset:"02:00:00"},{name:"Africa/Harare",utc_offset:"02:00:00"},{name:"Africa/Lusaka",utc_offset:"02:00:00"},{name:"Africa/Tripoli",utc_offset:"02:00:00"},{name:"Africa/Bujumbura",utc_offset:"02:00:00"},{name:"Africa/Mbabane",utc_offset:"02:00:00"},{name:"Africa/Khartoum",utc_offset:"02:00:00"},{name:"Europe/Copenhagen",utc_offset:"02:00:00"},{name:"Europe/Skopje",utc_offset:"02:00:00"},{name:"Europe/Sarajevo",utc_offset:"02:00:00"},{name:"Europe/Stockholm",utc_offset:"02:00:00"},{name:"Europe/Zurich",utc_offset:"02:00:00"},{name:"Europe/Gibraltar",utc_offset:"02:00:00"},{name:"Europe/Prague",utc_offset:"02:00:00"},{name:"Europe/Brussels",utc_offset:"02:00:00"},{name:"Europe/Busingen",utc_offset:"02:00:00"},{name:"Europe/Madrid",utc_offset:"02:00:00"},{name:"Europe/Bratislava",utc_offset:"02:00:00"},{name:"Europe/Luxembourg",utc_offset:"02:00:00"},{name:"Europe/Budapest",utc_offset:"02:00:00"},{name:"Europe/Malta",utc_offset:"02:00:00"},{name:"Europe/Belgrade",utc_offset:"02:00:00"},{name:"Europe/Ljubljana",utc_offset:"02:00:00"},{name:"Europe/Vaduz",utc_offset:"02:00:00"},{name:"Europe/Vatican",utc_offset:"02:00:00"},{name:"Europe/Podgorica",utc_offset:"02:00:00"},{name:"Europe/Andorra",utc_offset:"02:00:00"},{name:"Europe/Zagreb",utc_offset:"02:00:00"},{name:"Europe/Kaliningrad",utc_offset:"02:00:00"},{name:"Europe/Paris",utc_offset:"02:00:00"},{name:"Europe/San_Marino",utc_offset:"02:00:00"},{name:"Europe/Amsterdam",utc_offset:"02:00:00"},{name:"Europe/Vienna",utc_offset:"02:00:00"},{name:"Europe/Tirane",utc_offset:"02:00:00"},{name:"Europe/Berlin",utc_offset:"02:00:00"},{name:"Europe/Warsaw",utc_offset:"02:00:00"},{name:"Europe/Monaco",utc_offset:"02:00:00"},{name:"Europe/Oslo",utc_offset:"02:00:00"},{name:"Europe/Rome",utc_offset:"02:00:00"},{name:"CET",utc_offset:"02:00:00"},{name:"Asia/Hebron",utc_offset:"02:00:00"},{name:"Asia/Gaza",utc_offset:"02:00:00"},{name:"MET",utc_offset:"02:00:00"},{name:"Etc/GMT-2",utc_offset:"02:00:00"},{name:"Antarctica/Troll",utc_offset:"02:00:00"},{name:"Atlantic/Jan_Mayen",utc_offset:"02:00:00"},{name:"Arctic/Longyearbyen",utc_offset:"02:00:00"},{name:"Poland",utc_offset:"02:00:00"},{name:"Egypt",utc_offset:"02:00:00"},{name:"Indian/Mayotte",utc_offset:"03:00:00"},{name:"Indian/Comoro",utc_offset:"03:00:00"},{name:"Indian/Antananarivo",utc_offset:"03:00:00"},{name:"Africa/Nairobi",utc_offset:"03:00:00"},{name:"Africa/Mogadishu",utc_offset:"03:00:00"},{name:"Africa/Asmera",utc_offset:"03:00:00"},{name:"Africa/Dar_es_Salaam",utc_offset:"03:00:00"},{name:"Africa/Asmara",utc_offset:"03:00:00"},{name:"Africa/Kampala",utc_offset:"03:00:00"},{name:"Africa/Djibouti",utc_offset:"03:00:00"},{name:"Africa/Addis_Ababa",utc_offset:"03:00:00"},{name:"Europe/Uzhgorod",utc_offset:"03:00:00"},{name:"Europe/Minsk",utc_offset:"03:00:00"},{name:"Europe/Vilnius",utc_offset:"03:00:00"},{name:"Europe/Sofia",utc_offset:"03:00:00"},{name:"Europe/Mariehamn",utc_offset:"03:00:00"},{name:"Europe/Riga",utc_offset:"03:00:00"},{name:"Europe/Tallinn",utc_offset:"03:00:00"},{name:"Europe/Moscow",utc_offset:"03:00:00"},{name:"Europe/Bucharest",utc_offset:"03:00:00"},{name:"Europe/Athens",utc_offset:"03:00:00"},{name:"Europe/Nicosia",utc_offset:"03:00:00"},{name:"Europe/Zaporozhye",utc_offset:"03:00:00"},{name:"Europe/Kyiv",utc_offset:"03:00:00"},{name:"Europe/Istanbul",utc_offset:"03:00:00"},{name:"Europe/Helsinki",utc_offset:"03:00:00"},{name:"Europe/Simferopol",utc_offset:"03:00:00"},{name:"Europe/Volgograd",utc_offset:"03:00:00"},{name:"Europe/Kirov",utc_offset:"03:00:00"},{name:"Europe/Chisinau",utc_offset:"03:00:00"},{name:"Europe/Kiev",utc_offset:"03:00:00"},{name:"Europe/Tiraspol",utc_offset:"03:00:00"},{name:"Asia/Damascus",utc_offset:"03:00:00"},{name:"Asia/Amman",utc_offset:"03:00:00"},{name:"Asia/Riyadh",utc_offset:"03:00:00"},{name:"Asia/Famagusta",utc_offset:"03:00:00"},{name:"Asia/Baghdad",utc_offset:"03:00:00"},{name:"Asia/Beirut",utc_offset:"03:00:00"},{name:"Asia/Kuwait",utc_offset:"03:00:00"},{name:"Asia/Jerusalem",utc_offset:"03:00:00"},{name:"Asia/Nicosia",utc_offset:"03:00:00"},{name:"Asia/Aden",utc_offset:"03:00:00"},{name:"Asia/Tehran",utc_offset:"03:30:00"},{name:"Asia/Istanbul",utc_offset:"03:00:00"},{name:"Asia/Qatar",utc_offset:"03:00:00"},{name:"Asia/Bahrain",utc_offset:"03:00:00"},{name:"Asia/Tel_Aviv",utc_offset:"03:00:00"},{name:"Etc/GMT-3",utc_offset:"03:00:00"},{name:"EET",utc_offset:"03:00:00"},{name:"Antarctica/Syowa",utc_offset:"03:00:00"},{name:"W-SU",utc_offset:"03:00:00"},{name:"Israel",utc_offset:"03:00:00"},{name:"Turkey",utc_offset:"03:00:00"},{name:"Iran",utc_offset:"03:30:00"},{name:"Indian/Mahe",utc_offset:"04:00:00"},{name:"Indian/Mauritius",utc_offset:"04:00:00"},{name:"Indian/Reunion",utc_offset:"04:00:00"},{name:"Europe/Samara",utc_offset:"04:00:00"},{name:"Europe/Ulyanovsk",utc_offset:"04:00:00"},{name:"Europe/Saratov",utc_offset:"04:00:00"},{name:"Europe/Astrakhan",utc_offset:"04:00:00"},{name:"Asia/Baku",utc_offset:"04:00:00"},{name:"Asia/Dubai",utc_offset:"04:00:00"},{name:"Asia/Muscat",utc_offset:"04:00:00"},{name:"Asia/Tbilisi",utc_offset:"04:00:00"},{name:"Asia/Kabul",utc_offset:"04:30:00"},{name:"Asia/Yerevan",utc_offset:"04:00:00"},{name:"Etc/GMT-4",utc_offset:"04:00:00"},{name:"Indian/Kerguelen",utc_offset:"05:00:00"},{name:"Indian/Maldives",utc_offset:"05:00:00"},{name:"Asia/Ashgabat",utc_offset:"05:00:00"},{name:"Asia/Kolkata",utc_offset:"05:30:00"},{name:"Asia/Qostanay",utc_offset:"05:00:00"},{name:"Asia/Aqtau",utc_offset:"05:00:00"},{name:"Asia/Samarkand",utc_offset:"05:00:00"},{name:"Asia/Ashkhabad",utc_offset:"05:00:00"},{name:"Asia/Kathmandu",utc_offset:"05:45:00"},{name:"Asia/Atyrau",utc_offset:"05:00:00"},{name:"Asia/Aqtobe",utc_offset:"05:00:00"},{name:"Asia/Calcutta",utc_offset:"05:30:00"},{name:"Asia/Almaty",utc_offset:"05:00:00"},{name:"Asia/Katmandu",utc_offset:"05:45:00"},{name:"Asia/Colombo",utc_offset:"05:30:00"},{name:"Asia/Dushanbe",utc_offset:"05:00:00"},{name:"Asia/Tashkent",utc_offset:"05:00:00"},{name:"Asia/Oral",utc_offset:"05:00:00"},{name:"Asia/Qyzylorda",utc_offset:"05:00:00"},{name:"Asia/Karachi",utc_offset:"05:00:00"},{name:"Asia/Yekaterinburg",utc_offset:"05:00:00"},{name:"Etc/GMT-5",utc_offset:"05:00:00"},{name:"Antarctica/Mawson",utc_offset:"05:00:00"},{name:"Antarctica/Vostok",utc_offset:"05:00:00"},{name:"Indian/Chagos",utc_offset:"06:00:00"},{name:"Indian/Cocos",utc_offset:"06:30:00"},{name:"Asia/Thimphu",utc_offset:"06:00:00"},{name:"Asia/Yangon",utc_offset:"06:30:00"},{name:"Asia/Rangoon",utc_offset:"06:30:00"},{name:"Asia/Bishkek",utc_offset:"06:00:00"},{name:"Asia/Urumqi",utc_offset:"06:00:00"},{name:"Asia/Dacca",utc_offset:"06:00:00"},{name:"Asia/Dhaka",utc_offset:"06:00:00"},{name:"Asia/Kashgar",utc_offset:"06:00:00"},{name:"Asia/Thimbu",utc_offset:"06:00:00"},{name:"Asia/Omsk",utc_offset:"06:00:00"},{name:"Etc/GMT-6",utc_offset:"06:00:00"},{name:"Indian/Christmas",utc_offset:"07:00:00"},{name:"Asia/Ho_Chi_Minh",utc_offset:"07:00:00"},{name:"Asia/Saigon",utc_offset:"07:00:00"},{name:"Asia/Pontianak",utc_offset:"07:00:00"},{name:"Asia/Barnaul",utc_offset:"07:00:00"},{name:"Asia/Novokuznetsk",utc_offset:"07:00:00"},{name:"Asia/Vientiane",utc_offset:"07:00:00"},{name:"Asia/Novosibirsk",utc_offset:"07:00:00"},{name:"Asia/Phnom_Penh",utc_offset:"07:00:00"},{name:"Asia/Jakarta",utc_offset:"07:00:00"},{name:"Asia/Bangkok",utc_offset:"07:00:00"},{name:"Asia/Hovd",utc_offset:"07:00:00"},{name:"Asia/Tomsk",utc_offset:"07:00:00"},{name:"Asia/Krasnoyarsk",utc_offset:"07:00:00"},{name:"Etc/GMT-7",utc_offset:"07:00:00"},{name:"Antarctica/Davis",utc_offset:"07:00:00"},{name:"PRC",utc_offset:"08:00:00"},{name:"Australia/Eucla",utc_offset:"08:45:00"},{name:"Australia/Perth",utc_offset:"08:00:00"},{name:"Australia/West",utc_offset:"08:00:00"},{name:"Singapore",utc_offset:"08:00:00"},{name:"Asia/Macau",utc_offset:"08:00:00"},{name:"Asia/Harbin",utc_offset:"08:00:00"},{name:"Asia/Irkutsk",utc_offset:"08:00:00"},{name:"Asia/Shanghai",utc_offset:"08:00:00"},{name:"Asia/Ujung_Pandang",utc_offset:"08:00:00"},{name:"Asia/Kuching",utc_offset:"08:00:00"},{name:"Asia/Kuala_Lumpur",utc_offset:"08:00:00"},{name:"Asia/Manila",utc_offset:"08:00:00"},{name:"Asia/Brunei",utc_offset:"08:00:00"},{name:"Asia/Chongqing",utc_offset:"08:00:00"},{name:"Asia/Singapore",utc_offset:"08:00:00"},{name:"Asia/Choibalsan",utc_offset:"08:00:00"},{name:"Asia/Chungking",utc_offset:"08:00:00"},{name:"Asia/Taipei",utc_offset:"08:00:00"},{name:"Asia/Ulan_Bator",utc_offset:"08:00:00"},{name:"Asia/Hong_Kong",utc_offset:"08:00:00"},{name:"Asia/Ulaanbaatar",utc_offset:"08:00:00"},{name:"Asia/Macao",utc_offset:"08:00:00"},{name:"Asia/Makassar",utc_offset:"08:00:00"},{name:"Etc/GMT-8",utc_offset:"08:00:00"},{name:"Antarctica/Casey",utc_offset:"08:00:00"},{name:"ROC",utc_offset:"08:00:00"},{name:"Hongkong",utc_offset:"08:00:00"},{name:"Australia/Yancowinna",utc_offset:"09:30:00"},{name:"Australia/Adelaide",utc_offset:"09:30:00"},{name:"Australia/Darwin",utc_offset:"09:30:00"},{name:"Australia/South",utc_offset:"09:30:00"},{name:"Australia/North",utc_offset:"09:30:00"},{name:"Australia/Broken_Hill",utc_offset:"09:30:00"},{name:"ROK",utc_offset:"09:00:00"},{name:"Asia/Seoul",utc_offset:"09:00:00"},{name:"Asia/Dili",utc_offset:"09:00:00"},{name:"Asia/Tokyo",utc_offset:"09:00:00"},{name:"Asia/Yakutsk",utc_offset:"09:00:00"},{name:"Asia/Jayapura",utc_offset:"09:00:00"},{name:"Asia/Chita",utc_offset:"09:00:00"},{name:"Asia/Pyongyang",utc_offset:"09:00:00"},{name:"Asia/Khandyga",utc_offset:"09:00:00"},{name:"Japan",utc_offset:"09:00:00"},{name:"Etc/GMT-9",utc_offset:"09:00:00"},{name:"Pacific/Palau",utc_offset:"09:00:00"},{name:"Australia/Tasmania",utc_offset:"10:00:00"},{name:"Australia/Lord_Howe",utc_offset:"10:30:00"},{name:"Australia/Currie",utc_offset:"10:00:00"},{name:"Australia/Hobart",utc_offset:"10:00:00"},{name:"Australia/LHI",utc_offset:"10:30:00"},{name:"Australia/Melbourne",utc_offset:"10:00:00"},{name:"Australia/Lindeman",utc_offset:"10:00:00"},{name:"Australia/Sydney",utc_offset:"10:00:00"},{name:"Australia/Canberra",utc_offset:"10:00:00"},{name:"Australia/Victoria",utc_offset:"10:00:00"},{name:"Australia/NSW",utc_offset:"10:00:00"},{name:"Australia/ACT",utc_offset:"10:00:00"},{name:"Australia/Queensland",utc_offset:"10:00:00"},{name:"Australia/Brisbane",utc_offset:"10:00:00"},{name:"Asia/Ust-Nera",utc_offset:"10:00:00"},{name:"Asia/Vladivostok",utc_offset:"10:00:00"},{name:"Etc/GMT-10",utc_offset:"10:00:00"},{name:"Antarctica/DumontDUrville",utc_offset:"10:00:00"},{name:"Antarctica/Macquarie",utc_offset:"10:00:00"},{name:"Pacific/Port_Moresby",utc_offset:"10:00:00"},{name:"Pacific/Chuuk",utc_offset:"10:00:00"},{name:"Pacific/Saipan",utc_offset:"10:00:00"},{name:"Pacific/Yap",utc_offset:"10:00:00"},{name:"Pacific/Truk",utc_offset:"10:00:00"},{name:"Pacific/Guam",utc_offset:"10:00:00"},{name:"Asia/Magadan",utc_offset:"11:00:00"},{name:"Asia/Srednekolymsk",utc_offset:"11:00:00"},{name:"Asia/Sakhalin",utc_offset:"11:00:00"},{name:"Etc/GMT-11",utc_offset:"11:00:00"},{name:"Pacific/Noumea",utc_offset:"11:00:00"},{name:"Pacific/Kosrae",utc_offset:"11:00:00"},{name:"Pacific/Efate",utc_offset:"11:00:00"},{name:"Pacific/Bougainville",utc_offset:"11:00:00"},{name:"Pacific/Norfolk",utc_offset:"11:00:00"},{name:"Pacific/Ponape",utc_offset:"11:00:00"},{name:"Pacific/Guadalcanal",utc_offset:"11:00:00"},{name:"Pacific/Pohnpei",utc_offset:"11:00:00"},{name:"NZ-CHAT",utc_offset:"12:45:00"},{name:"Kwajalein",utc_offset:"12:00:00"},{name:"Asia/Anadyr",utc_offset:"12:00:00"},{name:"Asia/Kamchatka",utc_offset:"12:00:00"},{name:"Etc/GMT-12",utc_offset:"12:00:00"},{name:"Antarctica/McMurdo",utc_offset:"12:00:00"},{name:"Antarctica/South_Pole",utc_offset:"12:00:00"},{name:"Pacific/Majuro",utc_offset:"12:00:00"},{name:"Pacific/Auckland",utc_offset:"12:00:00"},{name:"Pacific/Nauru",utc_offset:"12:00:00"},{name:"Pacific/Funafuti",utc_offset:"12:00:00"},{name:"Pacific/Chatham",utc_offset:"12:45:00"},{name:"Pacific/Wake",utc_offset:"12:00:00"},{name:"Pacific/Kwajalein",utc_offset:"12:00:00"},{name:"Pacific/Wallis",utc_offset:"12:00:00"},{name:"Pacific/Tarawa",utc_offset:"12:00:00"},{name:"Pacific/Fiji",utc_offset:"12:00:00"},{name:"NZ",utc_offset:"12:00:00"},{name:"Etc/GMT-13",utc_offset:"13:00:00"},{name:"Pacific/Kanton",utc_offset:"13:00:00"},{name:"Pacific/Apia",utc_offset:"13:00:00"},{name:"Pacific/Fakaofo",utc_offset:"13:00:00"},{name:"Pacific/Enderbury",utc_offset:"13:00:00"},{name:"Pacific/Tongatapu",utc_offset:"13:00:00"},{name:"Etc/GMT-14",utc_offset:"14:00:00"},{name:"Pacific/Kiritimati",utc_offset:"14:00:00"}];ma.map(e=>e.name);const vn="UTC",Ts=e=>{let t=new Date(Number(e));if(!e){const o=new Date;t=new Date(Date.UTC(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()))}const n=String(t.getUTCDate()).padStart(2,"0"),r=String(t.getUTCMonth()+1).padStart(2,"0"),a=t.getUTCFullYear();return[r,n,a].join("/")},Cs=(e,t)=>new Date(Number(e)).toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",...t}),ct=$s({createStyledComponent:ca("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>ua({props:e,name:"MuiGrid2"})});function An(){return{enqueueSnackbar:(e,t="success",n)=>{Wa(e,{severity:t,variant:"customAlertComponent",persist:!0,...n})},closeSnackbar:Gn}}const Ms=wa(({id:e,message:t,severity:n,alertAction:r,sx:a,showCloseIcon:o=!0,persist:i,hideIconVariant:s,autoHideDuration:m,anchorOrigin:f,iconVariant:p,...h},l)=>u.jsx(Ka,{ref:l,...h,children:u.jsx(xa,{severity:n,action:u.jsxs(Oe,{ml:1,children:[u.jsx(bn,{value:r,children:u.jsx(En,{size:"small",onClick:()=>{var _;return e&&((_=r?.onAction)==null?void 0:_.call(r,e))},color:"inherit",children:r?.icon})}),u.jsx(bn,{value:!r&&o,children:u.jsx(En,{size:"small",onClick:()=>{Gn(e)},color:"inherit",children:u.jsx(Ua,{})})})]}),sx:{alignItems:"center",width:"320px",...a},children:t})}));function Ns({entry:e,payload:t,showUuid:n=!0}){const r=Dt(l=>{var _,y,c;return(c=(y=(_=l.payload)==null?void 0:_.data)==null?void 0:y.reduce)==null?void 0:c.call(y,(b,A)=>b+A.value,0)},[]),a=Dt(l=>{const _=new Ut(r(l)||0),y=t?.reduce((A,S)=>A+r(S),0)||0,c=new Ut(y),b=Number(_.div(c).times(100).toFixed(2,Ut.ROUND_DOWN));return isNaN(b)||!isFinite(b)?0:b},[r,t]),o=Lt(()=>r(e),[e,r]),i=Kt(o),s=Lt(()=>Number(a(e)),[e,a]),m=Kt(s),f=Dt(l=>Math.floor(l).toLocaleString(),[]),p=Ln({type:"text/plain"}),h=An();return u.jsxs(zn,{component:"li",direction:"row",spacing:1,sx:{color:e.color},layout:"position",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[u.jsx(Oe,{sx:{width:"3px",height:"100%",backgroundColor:e.color,borderRadius:3}}),u.jsxs(xe,{children:[u.jsxs(me,{component:"p",variant:"caption",children:[u.jsx(xe,{component:"span",display:"inline-flex",mr:.5,children:u.jsx(Vn,{from:i??0,to:o,map:f,children:"0"})}),u.jsxs(xe,{component:"span",direction:"row",display:"inline-flex",children:["(",u.jsx(Vn,{from:m??0,to:s,map:f,children:"0"}),"%)"]})]}),u.jsx(me,{variant:"body1",children:e.value}),e.payload.integrationType&&u.jsx(me,{variant:"body2",children:e.payload.integrationType}),n&&e.payload.uuid&&u.jsxs(me,{variant:"body2",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},onClick:()=>{p.copy(e.payload.uuid).catch(()=>{}),h.enqueueSnackbar("UUID copied to clipboard","success")},children:[e.payload.uuid.slice(0,5),"..."]})]})]})}function pa(e){const{payload:t}=e;return u.jsx(ct,{container:!0,direction:"row",component:"ul",gap:2,sx:{mt:2,justifyContent:"flex-start",alignItem:"center",flexWrap:"wrap"},children:u.jsx(Dn,{children:t?.map(n=>u.jsx(ct,{children:u.jsx(Ns,{entry:n,payload:t,showUuid:e.showUuid})},`item-${n.payload.uuid}-${n.value}`))})})}function da(e){const t=Se(),{timezone:n=vn}=e.filter;return u.jsx(Oe,{sx:{width:"100%",height:"100%",...e.sx},children:u.jsx(lt,{children:u.jsxs($n,{width:500,height:300,margin:{top:5,right:60,left:20,bottom:5},children:[u.jsx(zt,{vertical:!1}),u.jsx(Vt,{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:r=>In(r,{timeZone:n,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1,tickLine:!1,fontSize:12,tickMargin:12}),u.jsx(Ft,{textAnchor:"end",dataKey:"value",tickLine:!1,tickFormatter:r=>Number(r).toLocaleString(),allowDecimals:!1,domain:[1,"dataMax"],children:e.label&&u.jsx(Ta,{value:e.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"}})}),u.jsx(Bt,{cursor:{stroke:t.palette.neutral.main,strokeWidth:1},formatter:r=>Number(r).toLocaleString(),labelFormatter:r=>Rn(r,{timeZone:n,hour12:!1}),itemSorter:r=>-Number(r?.value??0)}),u.jsx(Gt,{content:u.jsx(pa,{showUuid:e.showUuid})}),e.data.map(r=>Oa(Tn,{uuid:r.uuid,integrationType:r.integrationType,key:r.uuid,name:r.name,dataKey:"value",data:r.chartData,type:"monotone",stroke:r.color,strokeWidth:2}))]})})})}function Ps({entry:e,showUuid:t=!0}){const n=Ln({type:"text/plain"}),r=An();return u.jsxs(zn,{component:"li",direction:"row",spacing:1,sx:{color:e.color},layout:"position",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[u.jsx(Oe,{sx:{width:"3px",height:"100%",backgroundColor:e.color,borderRadius:3}}),u.jsxs(xe,{children:[u.jsx(me,{variant:"body1",children:e.value}),e.integrationType&&u.jsx(me,{variant:"body2",children:e.integrationType}),t&&e.uuid&&u.jsxs(me,{variant:"body2",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},onClick:()=>{e.uuid&&(n.copy(e.uuid).catch(()=>{}),r.enqueueSnackbar("UUID copied to clipboard","success"))},children:[e.uuid.slice(0,5),"..."]})]})]})}function Is(e){const{payload:t}=e;return u.jsx(ct,{container:!0,direction:"row",component:"ul",gap:2,sx:{mt:2,justifyContent:"flex-start",alignItem:"center",flexWrap:"wrap"},children:u.jsx(Dn,{children:t?.map(n=>u.jsx(ct,{children:u.jsx(Ps,{entry:n,showUuid:e.showUuid})},`item-${n.uuid}-${n.value}`))})})}const Rs=(e,t)=>{const n=new Map;return e.forEach(r=>{r.chartData.forEach(a=>{const o=new Date(a.date).getTime().toString();if(!n.has(o)){const s={date:o};n.set(o,s)}const i=n.get(o);t.forEach(({key:s})=>{var m;const f=`${r.uuid}_${s}`,p=a[s],h=(m=t.find(_=>_.isTotal))==null?void 0:m.key,l=typeof p=="string"?p.trim()===""?0:parseInt(p,10):typeof p=="number"?p:0;if(i[`${f}_absolute`]=l,s!==h){const _=a[h??""];let y;_===0?y=100:y=_>0?parseFloat(new Pn(l.toString()).div(_).mul(100).toFixed(2,Pn.ROUND_DOWN)):0,i[f]=y}else i[f]=100})})}),Array.from(n.values()).sort((r,a)=>parseInt(r.date)-parseInt(a.date))};function ya(e){const{timezone:t=vn}=e.filter,n=Se(),r=Lt(()=>e.data?Rs(e.data,e.keyValues):[],[e.data,e.keyValues]);return u.jsx(Oe,{sx:{width:"100%",height:"100%",...e.sx},children:u.jsx(lt,{width:"100%",height:"100%",children:u.jsxs($n,{data:r,width:500,height:300,margin:{top:5,right:60,left:20,bottom:5},children:[u.jsx(zt,{strokeDasharray:"3 3"}),u.jsx(Vt,{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:a=>In(a,{timeZone:t,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1,tickLine:!1,fontSize:12,tickMargin:12}),u.jsx(Ft,{textAnchor:"end",tickLine:!1,tickFormatter:a=>`${a.toFixed(0)}%`}),u.jsx(Bt,{cursor:{stroke:n.palette.neutral.main,strokeWidth:1},labelFormatter:a=>Rn(a,{timeZone:t,hour12:!1}),itemSorter:a=>-Number(a?.value??0),formatter:(a,o)=>{const i=typeof a=="number"?a.toFixed(1):a;return[`${o}: ${i}%`]}}),u.jsx(Gt,{content:a=>{var o;const{height:i,width:s,...m}=a,f=r[r.length-1];Object.entries(f).forEach(([h,l])=>{});const p=new Map;return e.data.forEach(h=>{e.keyValues.filter(l=>!l.isTotal&&l.key==="oneClickSuccess").forEach(l=>{const _=`${h.uuid}_${l.key}`;p.set(_,h.uuid),p.set(`${_}_integrationType`,h.integrationType??"")})}),u.jsx(Is,{...m,payload:(o=a.payload)==null?void 0:o.map(h=>({uuid:p.get(h.dataKey)??"",value:h.value,color:h.color??n.palette.primary.main,integrationType:p.get(`${h.dataKey}_integrationType`),dataKey:h.dataKey}))})}}),e.data.map(a=>e.keyValues.filter(o=>!o.isTotal&&o.key==="oneClickSuccess").map(o=>u.jsx(Tn,{type:"monotone",dataKey:`${a.uuid}_${o.key}`,name:a.name??a.uuid,stroke:a.color??n.palette.primary.main,strokeWidth:2,dot:!1},`${a.uuid}_${o.key}`)))]})})})}function ut(e){const t=Kt(e.value),{ref:n}=qa({from:t??0,to:e.value,duration:1,map:e.map});return u.jsx(jn,{sx:{p:3,flex:1,...e.sx},children:u.jsxs(xe,{spacing:1,alignItems:"center",children:[u.jsx(me,{ref:n,variant:"h4",fontWeight:"bold",children:e.initialValue}),u.jsx(me,{color:"text.secondary",children:e.label})]})})}const ha={margin:{top:5,right:30,left:20,bottom:5}},Ds={tickLine:!1,fontSize:12,tickMargin:12},Ls={textAnchor:"end",tickLine:!1};function Pt({data:e,series:t,xAxis:n,yAxis:r,tooltip:a,bar:o,referenceLines:i,referenceAreas:s,sx:m}){const f=Se(),p=l=>!l.isFront,h=l=>!!l.isFront;return u.jsx(Oe,{sx:{width:"100%",height:"100%",...m},children:u.jsx(lt,{children:u.jsxs(Ca,{data:e,...ha,children:[u.jsx(zt,{strokeDasharray:"3 3",vertical:!1}),u.jsx(Vt,{...Ds,...n}),u.jsx(Ft,{...Ls,...r}),u.jsx(Bt,{cursor:{stroke:f.palette.neutral.main,strokeWidth:1},...a}),i?.filter(p).map((l,_)=>u.jsx(Cn,{...l},l.label??_)),s?.filter(p).map((l,_)=>u.jsx(Mn,{...l},l.label??_)),t.map(l=>u.jsx(Ma,{name:l.key,dataKey:l.dataKey,fill:l.color,stackId:"stack",isAnimationActive:!1,...o},l.key)),i?.filter(h).map((l,_)=>u.jsx(Cn,{...l},l.label??_)),s?.filter(h).map((l,_)=>u.jsx(Mn,{...l},l.label??_))]})})})}const ue={ALLOW:{MIN:0,MAX:400,NAME:"Allow",LABEL:"0-400"},FLAG:{MIN:401,MAX:600,NAME:"Flag",LABEL:"401-600"},BLOCK:{MIN:601,NAME:"Block",LABEL:"601-1000"}},_a={ERR001:"Generic error code",OCE001:"1-Click error code",OCE002:"Unsupported phone number",OCE003:"Either phone or email is required",OCE004:"User not found",OCE005:"Credential requests are missing",OCE006:"User identifier is missing",OCE007:"Missing mandatory credentials",OCE008:"Invalid/expired verification code",OCE009:"Verification code required",OCE010:"Missing fields to autofill",OCE011:"Additional information required",OCE012:"BirthDate or SSN4 mismatch",OCE013:"No credentials found",OCE014:"1-Click request expired",OCE015:"1-Click not found",OCE016:"Conflict request for phone number",OCE017:"Risk score too high",OCE018:"Maximum code attempts exceeded",OCE019:"Maximum input attempts exceeded",OCE020:"Brand cannot be used for 1-Click API",OCE021:"User Opted Out"},Te=()=>({regularChartWrapper:{justifyContent:"center",alignItems:"center",width:"100%",height:500},smallChartWrapper:{justifyContent:"center",alignItems:"center",width:"100%",height:300}});function xn(e){return u.jsx(me,{variant:"h6",fontWeight:"900",...e})}function Sn(e){return u.jsx(me,{variant:"h6",fontWeight:"400",...e})}function Ce(){const e=Te();return u.jsxs(xe,{sx:e.smallChartWrapper,children:[u.jsx(xn,{children:"No data available for the selected period and brands"}),u.jsx(Sn,{children:"Please select a different period or brand"})]})}function Me(){const e=Te();return u.jsxs(xe,{sx:e.smallChartWrapper,children:[u.jsx(xn,{children:"Loading..."}),u.jsx(Sn,{children:"Preparing your chart data"})]})}function zs({data:e,threshold:t=120,isLoading:n,isFetching:r,isSuccess:a,sx:o}){const i=Se(),s=Te(),m=Object.entries(e??{}).map(([p,h])=>({key:p,[p]:h})),f=m.map(({key:p})=>({key:p,dataKey:p,color:i.palette.error.light}));return n?u.jsx(Me,{}):!e||Object.keys(e).length===0||!a?u.jsx(Ce,{}):u.jsx(Pt,{sx:{...s.smallChartWrapper,opacity:r?.4:1,...o},data:m,series:f,xAxis:{tickLine:!1,dataKey:"key"},yAxis:{tickLine:!1,domain:[0,`dataMax + ${t>0?t+5:0}`]},tooltip:{labelFormatter:p=>`${_a[p]?`${_a[p]}`:""}`}})}function kn(){const e=Te();return u.jsxs(xe,{sx:e.smallChartWrapper,children:[u.jsx(xn,{children:"No data available for the selected period and brands"}),u.jsx(Sn,{children:"Please change the Risk Signals setting for your brands to enable risk signals metadata"})]})}function Vs({data:e,threshold:t=100,isLoading:n=!1,isFetching:r=!1,isSuccess:a=!0,hasPermissionToDisplay:o=!0,sx:i}){const s=Se(),m=Te(),f=Object.entries(e??{}).map(([h,l])=>({key:h,[h]:l})),p=f.map(({key:h})=>({key:h,dataKey:h,color:s.palette.warning.light}));return o?n?u.jsx(Me,{}):!e||Object.keys(e).length===0||!a?u.jsx(Ce,{}):u.jsx(Pt,{sx:{...m.smallChartWrapper,opacity:r?.4:1,...i},data:f,series:p,xAxis:{tickLine:!1,dataKey:"key"},yAxis:{tickLine:!1,domain:[0,`dataMax + ${t>0?t+5:0}`]},tooltip:{labelFormatter:h=>"Total"}}):u.jsx(kn,{})}function ga({payload:e=[],hiddenItems:t,onToggle:n,legendLabel:r}){return u.jsx(Oe,{sx:{display:"flex",justifyContent:"center",gap:"20px",paddingTop:"20px"},children:e.map((a,o)=>{const i=t.has(a.payload.name);return u.jsxs("div",{style:{display:"flex",alignItems:"center",cursor:"pointer",opacity:i?.4:1},onClick:()=>{n?.(a.payload)},children:[u.jsx("div",{style:{width:"12px",height:"12px",backgroundColor:a.color,marginRight:"8px",borderRadius:"2px"}}),u.jsx("span",{style:{color:a.color},children:r?`${r}: ${a.value}`:a.value})]},`legend-${o}`)})})}const Fs=e=>{const t=Math.PI/180,{cx:n,cy:r,midAngle:a,innerRadius:o,outerRadius:i,startAngle:s,endAngle:m,fill:f,payload:p,percent:h,value:l,valueText:_,valuePercentage:y,needleVisible:c,customText:b,allActive:A}=e,S=Math.sin(-t*a),k=Math.cos(-t*a),V=n+(i+5)*k,d=r+(i+5)*S,E=n+(i+15)*k,j=r+(i+15)*S,K=E+(k>=0?1:-1)*22,re=j,ee=k>=0?"start":"end",x=l.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:0}),w=()=>c||A?null:u.jsx("text",{x:n,y:r,dy:8,textAnchor:"middle",fill:"#333",fontSize:14,children:p.name});return u.jsxs("g",{children:[w(),u.jsx(Nn,{cx:n,cy:r,innerRadius:o,outerRadius:i,startAngle:s,endAngle:m,fill:f}),u.jsx(Nn,{cx:n,cy:r,startAngle:s,endAngle:m,innerRadius:i+2,outerRadius:i+6,fill:f}),u.jsx("path",{d:`M${V},${d}L${E},${j}L${K},${re}`,stroke:f,fill:"none"}),u.jsx("circle",{cx:K,cy:re,r:2,fill:f,stroke:"none"}),u.jsx("text",{x:K+(k>=0?1:-1)*12,y:re,textAnchor:ee,fill:"#333",fontSize:12,children:b||(_?`${_} ${x}`:x)}),y&&u.jsxs("text",{x:K+(k>=0?1:-1)*12,y:re,dy:16,textAnchor:ee,fill:"#999",fontSize:11,children:[`${(h*100).toFixed(2)}%`," (",x,")"]})]})},Bs=e=>{const{value:t,data:n,color:r,innerRadius:a,outerRadius:o,boxDimensions:i,legendDimensions:s,valueText:m}=e,f=Math.PI/180;let p=0;n.forEach(w=>{p+=w.value});const h=i?i.width/2:150,l=(i?i.height/2:200)-s.height/2,_=180*(1-Math.max(0,Math.min(1,t/p))),y=(Number(a)+2*Number(o))/3,c=Math.sin(-f*_),b=Math.cos(-f*_),A=5,S=h-A,k=l,V=S+A*c,d=k-A*b,E=S-A*c,j=k+A*b,K=S+y*b,re=k+y*c,ee=t.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:0}),x=m??ee;return u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:S,cy:k,r:A,fill:r,stroke:"none",style:{pointerEvents:"none"}},"needle-circle"),u.jsx("path",{d:`M${V} ${d}L${E} ${j} L${K} ${re} L${V} ${d}`,stroke:"none",fill:r,style:{pointerEvents:"none"}},"needle-path"),u.jsx("text",{x:S+A,y:k+26,textAnchor:"middle",fill:"#333",fontSize:12,children:x},"needle-value")]})},Gs=(e,t)=>({Allow:t.palette.success.main,Flag:t.palette.warning.main,Block:t.palette.error.main})[e]??t.palette.primary.main;function ba({data:e,sx:t,legendLabel:n,legendToggle:r=!1,valueText:a="",valuePercentage:o=!0,pie:i,needleVisible:s=!1,needleValue:m,needleColor:f="#aaa",allActive:p=!1}){const{innerRadius:h=60,outerRadius:l=100}=i??{},_=Se(),[y,c]=ft(void 0),[b,A]=ft(new Set),S=$a(null),[k,V]=ft(null),[d,E]=ft(null),j=(x,w)=>{p||c(w)},K=()=>{p||c(void 0)},re=x=>{r&&x&&A(w=>{const G=new Set(w);return G.has(x.name)?G.delete(x.name):G.size<e.length-1&&G.add(x.name),G})},ee=e.map((x,w)=>({...x,index:w,value:b.has(x.name)?0:x.value}));return On(()=>{const x=S.current;if(!x)return;const w=new ResizeObserver(Z=>{var oe;const W=(oe=Z[0])==null?void 0:oe.contentRect;W&&V(W)});w.observe(x);const G=x.getBoundingClientRect();return V(G),()=>{w.disconnect()}},[]),On(()=>{var x;const w=(x=S.current)==null?void 0:x.querySelector(".recharts-legend-wrapper");if(!w){const oe=setInterval(()=>{var W;const te=(W=S.current)==null?void 0:W.querySelector(".recharts-legend-wrapper");if(te){const Ne=te.getBoundingClientRect();E(Ne),clearInterval(oe)}},100);return()=>{clearInterval(oe)}}const G=new ResizeObserver(oe=>{var W;const te=(W=oe[0])==null?void 0:W.contentRect;te&&E(te)});G.observe(w);const Z=w.getBoundingClientRect();return E(Z),()=>{G.disconnect()}},[]),u.jsx(Oe,{ref:S,sx:{width:"100%",height:"100%","& g":{outline:"none"},...t},children:u.jsx(lt,{children:u.jsxs(Na,{...ha,children:[u.jsx(Pa,{data:ee,nameKey:"name",dataKey:"value",innerRadius:h,outerRadius:l,activeIndex:p?ee.filter(x=>x.value>0).map(x=>x.index):y,activeShape:x=>Fs({...x,valueText:a,valuePercentage:o,needleVisible:s,allActive:p}),paddingAngle:0,onMouseEnter:j,onMouseLeave:K,...i,children:ee.map(x=>u.jsx(Ia,{fill:x.color??Gs(x.name,_),opacity:b.has(x.name)?.5:1,stroke:"none"},x.name))}),u.jsx(Gt,{content:u.jsx(ga,{legendLabel:n,hiddenItems:b,onToggle:re})}),s&&m!==void 0&&k&&d&&Bs({data:ee,value:m,color:f,innerRadius:h,outerRadius:l,boxDimensions:k,legendDimensions:d,valueText:a})]})})})}function Us({data:e,score:t=200,legendLabel:n,isLoading:r,isFetching:a,isSuccess:o,hasPermissionToDisplay:i=!0,sx:s}){const m=Se(),f=Te();if(!i)return u.jsx(kn,{});if(r)return u.jsx(Me,{});if(!e||e.length<=0||!o)return u.jsx(Ce,{});const p=[{name:ue.ALLOW.NAME,customText:ue.ALLOW.LABEL,value:e[0].value,color:m.palette.primary.main},{name:ue.FLAG.NAME,customText:ue.FLAG.LABEL,value:e[1].value,color:m.palette.warning.main},{name:ue.BLOCK.NAME,customText:ue.BLOCK.LABEL,value:e[2].value,color:m.palette.error.main}];return u.jsx(ba,{data:p,legendToggle:!0,needleValue:t,legendLabel:n,allActive:!0,sx:{...f.smallChartWrapper,opacity:a?.4:1,...s}})}function Ks({data:e,isLoading:t,isFetching:n,isSuccess:r,hasPermissionToDisplay:a=!0,sx:o}){const i=Se(),s=Te(),m=(p=>{const h={};return p.forEach(l=>{Object.entries(l).forEach(([_,y])=>{const c=parseInt(_);c<=1e3&&(h[c]=(h[c]||0)+y)})}),Array.from({length:1001},(l,_)=>({key:_.toString(),value:h[_]||0}))})(e),f=[{key:"Risk Score",dataKey:"value",color:i.palette.error.main}];return a?t?u.jsx(Me,{}):!e||Object.keys(e).length===0||!r?u.jsx(Ce,{}):u.jsx(Pt,{data:m,series:f,sx:{...s.smallChartWrapper,opacity:n?.4:1,...o},yAxis:{label:{value:"Count",angle:-90,position:"insideLeft"},domain:[0,"dataMax + 10"]},xAxis:{domain:[0,"dataMax"],interval:"preserveStartEnd"},tooltip:{labelFormatter:()=>"Risk Score",formatter:(p,h,l)=>[p,l.payload.key]},referenceAreas:[{x1:ue.ALLOW.MIN,x2:ue.ALLOW.MAX,fill:"#ffffff00",isFront:!1,label:ue.ALLOW.NAME},{x1:ue.FLAG.MIN,x2:ue.FLAG.MAX,fill:i.palette.warning.light,isFront:!1,label:ue.FLAG.NAME},{x1:ue.BLOCK.MIN,fill:i.palette.error.light,isFront:!1,label:ue.BLOCK.NAME}]}):u.jsx(kn,{})}function Ws({data:e,isLoading:t,isFetching:n,isSuccess:r,filter:a,sx:o}){var i,s;Se();const m=Te(),f={oneClickCreated:{key:"oneClickCreated",name:"Started",isTotal:!0},oneClickSuccess:{key:"oneClickSuccess",name:"Finished"}};return t?u.jsx(Me,{}):!e.length||!((s=(i=e[0])==null?void 0:i.chartData)!=null&&s.length)||!r?u.jsx(Ce,{}):u.jsx(ya,{data:e,keyValues:Object.values(f),filter:a,sx:{...m.smallChartWrapper,opacity:n?.4:1,...o}})}const qs={chartWrapper:{justifyContent:"center",alignItems:"center",width:"100%",height:500}};function Js({data:e,isLoading:t,isFetching:n,isSuccess:r,filter:a}){return t?u.jsx(Me,{}):!e.length||!r?u.jsx(Ce,{}):u.jsx(da,{label:"Uniques",data:e,filter:a,sx:{...qs.chartWrapper,opacity:n?.4:1}})}function Ys(e){const{brands:t,data:n,keyValue:r}=e,a=t.flatMap(({_raw:o})=>{var i;const s=n?.find(f=>f.brandUuid===o.brandUuid),m=(s?.interval??[]).map(f=>({date:+new Date(f.date),value:Number(f[r]||0)})).filter(f=>e.filterOutZeroValues?f.value>0:!0);return{uuid:o.brandUuid,name:o.brandName,integrationType:Bn(o.integrationType),color:((i=o.additionalData)==null?void 0:i.primaryColor)??Ra(o.brandUuid),chartData:m}});return Da.chain(a).sortBy(o=>o.name).toArray().value()}const Hs=({data:e,brands:t})=>e.flatMap(n=>{const r=t.find(a=>a.brandUuid===n.brandUuid);return!r||!n.interval?[]:n.interval.map(a=>({month:a.date,brandUuid:n.brandUuid,brand:r.brandName,integrationType:Bn(r.integrationType),total:a.oneClickCreated,finished:a.oneClickSuccess,totalCost:a.totalCost,riskSignal:a.riskSignal}))}),It="",Zs=({data:e,isLoading:t,showTotalCost:n=!0,showRiskSignal:r=!0,timezone:a=vn})=>t?u.jsx(Me,{}):e!=null&&e.length?u.jsx(Sa,{component:jn,children:u.jsxs(ka,{children:[u.jsx(Ea,{children:u.jsxs(wn,{children:[u.jsx(se,{children:"Month"}),u.jsx(se,{children:"Brand"}),u.jsx(se,{children:"Integration Type"}),u.jsx(se,{align:"right",children:"Started"}),u.jsx(se,{align:"right",children:"Finished"}),n&&u.jsx(se,{align:"right",children:"Total Cost"}),r&&u.jsx(se,{align:"right",children:"Risk Signal"})]})}),u.jsx(ja,{children:e.map(o=>u.jsxs(wn,{children:[u.jsx(se,{children:new Date(o.month).toLocaleDateString(void 0,{month:"short",year:"numeric",timeZone:a})}),u.jsx(se,{children:o.brand}),u.jsx(se,{children:o.integrationType}),u.jsx(se,{align:"right",children:o.total||It}),u.jsx(se,{align:"right",children:o.finished||It}),n&&u.jsx(se,{align:"right",children:o.totalCost??It}),r&&u.jsx(se,{align:"right",children:o.riskSignal||It})]},`${o.brandUuid}-${o.month}`))})]})}):u.jsx(Ce,{});function Qs({lastUpdated:e}){return u.jsxs(me,{variant:"caption",color:"text.secondary",fontWeight:"600",children:["The data was last updated on"," ",Cs(e??Date.now(),{hour12:!1}),"."]})}const va=e=>new Intl.NumberFormat("en-US").format(Number(e.toFixed(0))),Xs=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e),ec=e=>new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}).format(e),Aa={totalSignups:0,totalSuccess:0,totalCost:0,successRate:0};function tc(e){if(!(e!=null&&e.length))return Aa;const t=e.reduce((o,i)=>o+(i.overall.oneClickCreated||0),0),n=e.reduce((o,i)=>o+(i.overall.oneClickSuccess||0),0),r=e.reduce((o,i)=>{const s=i.overall.totalCost?Number(i.overall.totalCost.replace("$","").replace(/,/g,"")):0;return o+s},0),a=n/t;return{totalSignups:t,totalSuccess:n,totalCost:r,successRate:isNaN(a)?0:a}}function nc({chartData:e,isLoading:t=!0,hideTotalCost:n=!1}){const r=t?Aa:tc(e);return u.jsxs(xe,{direction:"row",spacing:3,children:[u.jsx(ut,{label:"Total 1-Click Signups",value:r.totalSignups,initialValue:r.totalSignups,map:va}),u.jsx(ut,{label:"Finished 1-Click Signups",value:r.totalSuccess,initialValue:r.totalSuccess,map:va}),!n&&u.jsx(ut,{label:"Total Cost",value:r.totalCost,initialValue:r.totalCost,map:Xs}),u.jsx(ut,{label:"Success Rate",value:r.successRate,initialValue:r.successRate,map:ec})]})}export{aa as A,ut as B,Ms as C,cr as D,zs as E,ur as F,Tr as G,Pe as H,be as I,fa as J,ia as K,Me as L,Zs as M,ma as N,Ws as O,ba as P,Ts as Q,Vs as R,da as S,oa as T,ct as U,Zr as V,bn as W,Zt as X,de as _,pa as a,ya as b,Pt as c,Us as d,Ks as e,ga as f,Js as g,Hs as h,Ce as i,Qs as j,nc as k,no as l,Ys as m,O as n,yn as o,Qr as p,ar as q,ua as r,ca as s,or as t,An as u,qe as v,At as w,sa as x,co as y,mn as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import{a as P,b as J,i as M,d as Q,e as k,f as S,h as R,j as U,k as V,l as W,m as X,n as Y}from"./_getTag-DML0OnZi.mjs";var Z=/\s/;function rr(r){for(var t=r.length;t--&&Z.test(r.charAt(t)););return t}var tr=rr,er=tr,nr=/^\s+/;function or(r){return r&&r.slice(0,er(r)+1).replace(nr,"")}var ar=or,ur=J,fr=P,cr="[object Symbol]";function ir(r){return typeof r=="symbol"||fr(r)&&ur(r)==cr}var x=ir,vr=ar,I=M,sr=x,N=NaN,lr=/^[-+]0x[0-9a-f]+$/i,pr=/^0b[01]+$/i,yr=/^0o[0-7]+$/i,br=parseInt;function hr(r){if(typeof r=="number")return r;if(sr(r))return N;if(I(r)){var t=typeof r.valueOf=="function"?r.valueOf():r;r=I(t)?t+"":t}if(typeof r!="string")return r===0?r:+r;r=vr(r);var e=pr.test(r);return e||yr.test(r)?br(r.slice(2),e?2:8):lr.test(r)?N:+r}var jr=hr;function Or(r,t){for(var e=-1,o=t.length,u=r.length;++e<o;)r[u+e]=t[e];return r}var gr=Or,wr=Array.isArray,m=wr,mr=gr,_r=m;function dr(r,t,e){var o=t(r);return _r(r)?o:mr(o,e(r))}var Ar=dr;function Pr(r,t){for(var e=-1,o=r==null?0:r.length,u=0,n=[];++e<o;){var f=r[e];t(f,e,r)&&(n[u++]=f)}return n}var kr=Pr;function Sr(){return[]}var xr=Sr,Ir=kr,Nr=xr,Er=Object.prototype,Lr=Er.propertyIsEnumerable,E=Object.getOwnPropertySymbols,qr=E?function(r){return r==null?[]:(r=Object(r),Ir(E(r),function(t){return Lr.call(r,t)}))}:Nr,Br=qr;function Fr(r,t){for(var e=-1,o=Array(r);++e<r;)o[e]=t(e);return o}var Gr=Fr,Kr=9007199254740991,Tr=/^(?:0|[1-9]\d*)$/;function $r(r,t){var e=typeof r;return t=t??Kr,!!t&&(e=="number"||e!="symbol"&&Tr.test(r))&&r>-1&&r%1==0&&r<t}var L=$r,zr=Gr,Cr=Q,Dr=m,Hr=k,Jr=L,Mr=S,Qr=Object.prototype,Rr=Qr.hasOwnProperty;function Ur(r,t){var e=Dr(r),o=!e&&Cr(r),u=!e&&!o&&Hr(r),n=!e&&!o&&!u&&Mr(r),f=e||o||u||n,v=f?zr(r.length,String):[],c=v.length;for(var a in r)(t||Rr.call(r,a))&&!(f&&(a=="length"||u&&(a=="offset"||a=="parent")||n&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||Jr(a,c)))&&v.push(a);return v}var Vr=Ur,Wr=Object.prototype;function Xr(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||Wr;return r===e}var Yr=Xr;function Zr(r,t){return function(e){return r(t(e))}}var rt=Zr,tt=rt,et=tt(Object.keys,Object),nt=et,ot=Yr,at=nt,ut=Object.prototype,ft=ut.hasOwnProperty;function ct(r){if(!ot(r))return at(r);var t=[];for(var e in Object(r))ft.call(r,e)&&e!="constructor"&&t.push(e);return t}var it=ct,vt=U,st=R;function lt(r){return r!=null&&st(r.length)&&!vt(r)}var q=lt,pt=Vr,yt=it,bt=q;function ht(r){return bt(r)?pt(r):yt(r)}var B=ht,jt=Ar,Ot=Br,gt=B;function wt(r){return jt(r,gt,Ot)}var mt=wt,F=mt,_t=1,dt=Object.prototype,At=dt.hasOwnProperty;function Pt(r,t,e,o,u,n){var f=e&_t,v=F(r),c=v.length,a=F(t),p=a.length;if(c!=p&&!f)return!1;for(var s=c;s--;){var i=v[s];if(!(f?i in t:At.call(t,i)))return!1}var y=n.get(r),b=n.get(t);if(y&&b)return y==t&&b==r;var l=!0;n.set(r,t),n.set(t,r);for(var h=f;++s<c;){i=v[s];var j=r[i],O=t[i];if(o)var A=f?o(O,j,i,t,r,n):o(j,O,i,r,t,n);if(!(A===void 0?j===O||u(j,O,e,o,n):A)){l=!1;break}h||(h=i=="constructor")}if(l&&!h){var g=r.constructor,w=t.constructor;g!=w&&"constructor"in r&&"constructor"in t&&!(typeof g=="function"&&g instanceof g&&typeof w=="function"&&w instanceof w)&&(l=!1)}return n.delete(r),n.delete(t),l}var kt=Pt,d=W,St=X,xt=Y,It=kt,G=V,K=m,T=k,Nt=S,Et=1,$="[object Arguments]",z="[object Array]",_="[object Object]",Lt=Object.prototype,C=Lt.hasOwnProperty;function qt(r,t,e,o,u,n){var f=K(r),v=K(t),c=f?z:G(r),a=v?z:G(t);c=c==$?_:c,a=a==$?_:a;var p=c==_,s=a==_,i=c==a;if(i&&T(r)){if(!T(t))return!1;f=!0,p=!1}if(i&&!p)return n||(n=new d),f||Nt(r)?St(r,t,e,o,u,n):xt(r,t,c,e,o,u,n);if(!(e&Et)){var y=p&&C.call(r,"__wrapped__"),b=s&&C.call(t,"__wrapped__");if(y||b){var l=y?r.value():r,h=b?t.value():t;return n||(n=new d),u(l,h,e,o,n)}}return i?(n||(n=new d),It(r,t,e,o,u,n)):!1}var Bt=qt,Ft=Bt,D=P;function H(r,t,e,o,u){return r===t?!0:r==null||t==null||!D(r)&&!D(t)?r!==r&&t!==t:Ft(r,t,e,o,H,u)}var Gt=H;export{Gt as _,x as a,L as b,q as c,m as i,B as k,jr as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var w=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ot(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function mt(t){if(t.__esModule)return t;var r=t.default;if(typeof r=="function"){var e=function n(){return this instanceof n?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};e.prototype=r.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),e}function zt(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}var U=zt,At=typeof w=="object"&&w&&w.Object===Object&&w,Q=At,xt=Q,Pt=typeof self=="object"&&self&&self.Object===Object&&self,St=xt||Pt||Function("return this")(),u=St,Tt=u,kt=Tt.Symbol,P=kt,X=P,Y=Object.prototype,Et=Y.hasOwnProperty,Mt=Y.toString,O=X?X.toStringTag:void 0;function Ft(t){var r=Et.call(t,O),e=t[O];try{t[O]=void 0;var n=!0}catch{}var o=Mt.call(t);return n&&(r?t[O]=e:delete t[O]),o}var Bt=Ft,Dt=Object.prototype,$t=Dt.toString;function Ut(t){return $t.call(t)}var It=Ut,Z=P,Rt=Bt,Lt=It,Ct="[object Null]",Nt="[object Undefined]",tt=Z?Z.toStringTag:void 0;function Vt(t){return t==null?t===void 0?Nt:Ct:tt&&tt in Object(t)?Rt(t):Lt(t)}var m=Vt;function qt(t){return t!=null&&typeof t=="object"}var S=qt;function Gt(){this.__data__=[],this.size=0}var Wt=Gt;function Ht(t,r){return t===r||t!==t&&r!==r}var rt=Ht,Jt=rt;function Kt(t,r){for(var e=t.length;e--;)if(Jt(t[e][0],r))return e;return-1}var T=Kt,Qt=T,Xt=Array.prototype,Yt=Xt.splice;function Zt(t){var r=this.__data__,e=Qt(r,t);if(e<0)return!1;var n=r.length-1;return e==n?r.pop():Yt.call(r,e,1),--this.size,!0}var tr=Zt,rr=T;function er(t){var r=this.__data__,e=rr(r,t);return e<0?void 0:r[e][1]}var nr=er,ar=T;function or(t){return ar(this.__data__,t)>-1}var sr=or,ir=T;function cr(t,r){var e=this.__data__,n=ir(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this}var ur=cr,fr=Wt,pr=tr,lr=nr,vr=sr,_r=ur;function _(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}_.prototype.clear=fr,_.prototype.delete=pr,_.prototype.get=lr,_.prototype.has=vr,_.prototype.set=_r;var k=_,hr=k;function yr(){this.__data__=new hr,this.size=0}var br=yr;function dr(t){var r=this.__data__,e=r.delete(t);return this.size=r.size,e}var jr=dr;function gr(t){return this.__data__.get(t)}var wr=gr;function Or(t){return this.__data__.has(t)}var mr=Or,zr=m,Ar=U,xr="[object AsyncFunction]",Pr="[object Function]",Sr="[object GeneratorFunction]",Tr="[object Proxy]";function kr(t){if(!Ar(t))return!1;var r=zr(t);return r==Pr||r==Sr||r==xr||r==Tr}var et=kr,Er=u,Mr=Er["__core-js_shared__"],Fr=Mr,I=Fr,nt=function(){var t=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Br(t){return!!nt&&nt in t}var Dr=Br,$r=Function.prototype,Ur=$r.toString;function Ir(t){if(t!=null){try{return Ur.call(t)}catch{}try{return t+""}catch{}}return""}var at=Ir,Rr=et,Lr=Dr,Cr=U,Nr=at,Vr=/[\\^$.*+?()[\]{}|]/g,qr=/^\[object .+?Constructor\]$/,Gr=Function.prototype,Wr=Object.prototype,Hr=Gr.toString,Jr=Wr.hasOwnProperty,Kr=RegExp("^"+Hr.call(Jr).replace(Vr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qr(t){if(!Cr(t)||Lr(t))return!1;var r=Rr(t)?Kr:qr;return r.test(Nr(t))}var Xr=Qr;function Yr(t,r){return t?.[r]}var Zr=Yr,te=Xr,re=Zr;function ee(t,r){var e=re(t,r);return te(e)?e:void 0}var h=ee,ne=h,ae=u,oe=ne(ae,"Map"),R=oe,se=h,ie=se(Object,"create"),E=ie,ot=E;function ce(){this.__data__=ot?ot(null):{},this.size=0}var ue=ce;function fe(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}var pe=fe,le=E,ve="__lodash_hash_undefined__",_e=Object.prototype,he=_e.hasOwnProperty;function ye(t){var r=this.__data__;if(le){var e=r[t];return e===ve?void 0:e}return he.call(r,t)?r[t]:void 0}var be=ye,de=E,je=Object.prototype,ge=je.hasOwnProperty;function we(t){var r=this.__data__;return de?r[t]!==void 0:ge.call(r,t)}var Oe=we,me=E,ze="__lodash_hash_undefined__";function Ae(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=me&&r===void 0?ze:r,this}var xe=Ae,Pe=ue,Se=pe,Te=be,ke=Oe,Ee=xe;function y(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}y.prototype.clear=Pe,y.prototype.delete=Se,y.prototype.get=Te,y.prototype.has=ke,y.prototype.set=Ee;var Me=y,st=Me,Fe=k,Be=R;function De(){this.size=0,this.__data__={hash:new st,map:new(Be||Fe),string:new st}}var $e=De;function Ue(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}var Ie=Ue,Re=Ie;function Le(t,r){var e=t.__data__;return Re(r)?e[typeof r=="string"?"string":"hash"]:e.map}var M=Le,Ce=M;function Ne(t){var r=Ce(this,t).delete(t);return this.size-=r?1:0,r}var Ve=Ne,qe=M;function Ge(t){return qe(this,t).get(t)}var We=Ge,He=M;function Je(t){return He(this,t).has(t)}var Ke=Je,Qe=M;function Xe(t,r){var e=Qe(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this}var Ye=Xe,Ze=$e,tn=Ve,rn=We,en=Ke,nn=Ye;function b(t){var r=-1,e=t==null?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}b.prototype.clear=Ze,b.prototype.delete=tn,b.prototype.get=rn,b.prototype.has=en,b.prototype.set=nn;var L=b,an=k,on=R,sn=L,cn=200;function un(t,r){var e=this.__data__;if(e instanceof an){var n=e.__data__;if(!on||n.length<cn-1)return n.push([t,r]),this.size=++e.size,this;e=this.__data__=new sn(n)}return e.set(t,r),this.size=e.size,this}var fn=un,pn=k,ln=br,vn=jr,_n=wr,hn=mr,yn=fn;function d(t){var r=this.__data__=new pn(t);this.size=r.size}d.prototype.clear=ln,d.prototype.delete=vn,d.prototype.get=_n,d.prototype.has=hn,d.prototype.set=yn;var bn=d,dn="__lodash_hash_undefined__";function jn(t){return this.__data__.set(t,dn),this}var gn=jn;function wn(t){return this.__data__.has(t)}var On=wn,mn=L,zn=gn,An=On;function F(t){var r=-1,e=t==null?0:t.length;for(this.__data__=new mn;++r<e;)this.add(t[r])}F.prototype.add=F.prototype.push=zn,F.prototype.has=An;var xn=F;function Pn(t,r){for(var e=-1,n=t==null?0:t.length;++e<n;)if(r(t[e],e,t))return!0;return!1}var Sn=Pn;function Tn(t,r){return t.has(r)}var kn=Tn,En=xn,Mn=Sn,Fn=kn,Bn=1,Dn=2;function $n(t,r,e,n,o,s){var i=e&Bn,c=t.length,f=r.length;if(c!=f&&!(i&&f>c))return!1;var p=s.get(t),z=s.get(r);if(p&&z)return p==r&&z==t;var g=-1,A=!0,$=e&Dn?new En:void 0;for(s.set(t,r),s.set(r,t);++g<c;){var v=t[g],x=r[g];if(n)var H=i?n(x,v,g,r,t,s):n(v,x,g,t,r,s);if(H!==void 0){if(H)continue;A=!1;break}if($){if(!Mn(r,function(J,K){if(!Fn($,K)&&(v===J||o(v,J,e,n,s)))return $.push(K)})){A=!1;break}}else if(!(v===x||o(v,x,e,n,s))){A=!1;break}}return s.delete(t),s.delete(r),A}var it=$n,Un=u,In=Un.Uint8Array,Rn=In;function Ln(t){var r=-1,e=Array(t.size);return t.forEach(function(n,o){e[++r]=[o,n]}),e}var Cn=Ln;function Nn(t){var r=-1,e=Array(t.size);return t.forEach(function(n){e[++r]=n}),e}var Vn=Nn,ct=P,ut=Rn,qn=rt,Gn=it,Wn=Cn,Hn=Vn,Jn=1,Kn=2,Qn="[object Boolean]",Xn="[object Date]",Yn="[object Error]",Zn="[object Map]",ta="[object Number]",ra="[object RegExp]",ea="[object Set]",na="[object String]",aa="[object Symbol]",oa="[object ArrayBuffer]",sa="[object DataView]",ft=ct?ct.prototype:void 0,C=ft?ft.valueOf:void 0;function ia(t,r,e,n,o,s,i){switch(e){case sa:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case oa:return!(t.byteLength!=r.byteLength||!s(new ut(t),new ut(r)));case Qn:case Xn:case ta:return qn(+t,+r);case Yn:return t.name==r.name&&t.message==r.message;case ra:case na:return t==r+"";case Zn:var c=Wn;case ea:var f=n&Jn;if(c||(c=Hn),t.size!=r.size&&!f)return!1;var p=i.get(t);if(p)return p==r;n|=Kn,i.set(t,r);var z=Gn(c(t),c(r),n,o,s,i);return i.delete(t),z;case aa:if(C)return C.call(t)==C.call(r)}return!1}var ca=ia,ua=m,fa=S,pa="[object Arguments]";function la(t){return fa(t)&&ua(t)==pa}var va=la,pt=va,_a=S,lt=Object.prototype,ha=lt.hasOwnProperty,ya=lt.propertyIsEnumerable,ba=pt(function(){return arguments}())?pt:function(t){return _a(t)&&ha.call(t,"callee")&&!ya.call(t,"callee")},da=ba,B={exports:{}};function ja(){return!1}var ga=ja;B.exports,function(t,r){var e=u,n=ga,o=r&&!r.nodeType&&r,s=o&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===o,c=i?e.Buffer:void 0,f=c?c.isBuffer:void 0,p=f||n;t.exports=p}(B,B.exports);var wa=B.exports,Oa=9007199254740991;function ma(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Oa}var vt=ma,za=m,Aa=vt,xa=S,Pa="[object Arguments]",Sa="[object Array]",Ta="[object Boolean]",ka="[object Date]",Ea="[object Error]",Ma="[object Function]",Fa="[object Map]",Ba="[object Number]",Da="[object Object]",$a="[object RegExp]",Ua="[object Set]",Ia="[object String]",Ra="[object WeakMap]",La="[object ArrayBuffer]",Ca="[object DataView]",Na="[object Float32Array]",Va="[object Float64Array]",qa="[object Int8Array]",Ga="[object Int16Array]",Wa="[object Int32Array]",Ha="[object Uint8Array]",Ja="[object Uint8ClampedArray]",Ka="[object Uint16Array]",Qa="[object Uint32Array]",a={};a[Na]=a[Va]=a[qa]=a[Ga]=a[Wa]=a[Ha]=a[Ja]=a[Ka]=a[Qa]=!0,a[Pa]=a[Sa]=a[La]=a[Ta]=a[Ca]=a[ka]=a[Ea]=a[Ma]=a[Fa]=a[Ba]=a[Da]=a[$a]=a[Ua]=a[Ia]=a[Ra]=!1;function Xa(t){return xa(t)&&Aa(t.length)&&!!a[za(t)]}var Ya=Xa;function Za(t){return function(r){return t(r)}}var to=Za,D={exports:{}};D.exports,function(t,r){var e=Q,n=r&&!r.nodeType&&r,o=n&&!0&&t&&!t.nodeType&&t,s=o&&o.exports===n,i=s&&e.process,c=function(){try{var f=o&&o.require&&o.require("util").types;return f||i&&i.binding&&i.binding("util")}catch{}}();t.exports=c}(D,D.exports);var ro=D.exports,eo=Ya,no=to,_t=ro,ht=_t&&_t.isTypedArray,ao=ht?no(ht):eo,oo=ao,so=h,io=u,co=so(io,"DataView"),uo=co,fo=h,po=u,lo=fo(po,"Promise"),vo=lo,_o=h,ho=u,yo=_o(ho,"Set"),bo=yo,jo=h,go=u,wo=jo(go,"WeakMap"),Oo=wo,N=uo,V=R,q=vo,G=bo,W=Oo,yt=m,j=at,bt="[object Map]",mo="[object Object]",dt="[object Promise]",jt="[object Set]",gt="[object WeakMap]",wt="[object DataView]",zo=j(N),Ao=j(V),xo=j(q),Po=j(G),So=j(W),l=yt;(N&&l(new N(new ArrayBuffer(1)))!=wt||V&&l(new V)!=bt||q&&l(q.resolve())!=dt||G&&l(new G)!=jt||W&&l(new W)!=gt)&&(l=function(t){var r=yt(t),e=r==mo?t.constructor:void 0,n=e?j(e):"";if(n)switch(n){case zo:return wt;case Ao:return bt;case xo:return dt;case Po:return jt;case So:return gt}return r});var To=l;export{u as _,S as a,m as b,w as c,da as d,wa as e,oo as f,Ot as g,vt as h,U as i,et as j,To as k,bn as l,it as m,ca as n,L as o,P as p,mt as q};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{useRef as m,useInsertionEffect as
|
|
1
|
+
"use strict";import{useRef as m,useInsertionEffect as C,useCallback as w,useState as d,useId as k,useEffect as g,useLayoutEffect as I,useSyncExternalStore as A,useMemo as $}from"react";import{f as S}from"./magic-qr-code-syY72Rcb.mjs";import N from"libphonenumber-js";function P(e){return{set:t=>{const o=typeof t=="string"?t:JSON.stringify(t);localStorage.setItem(e,o)},get:()=>{const t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return t}return null},remove:()=>{localStorage.removeItem(e)}}}function E(e,t=[]){const o=m(()=>{throw new Error("Cannot call an event handler while rendering.")});return C(()=>{o.current=e}),w((...r)=>{var i;return(i=o.current)==null?void 0:i.call(o,...r)},t)}function H(e={}){const{onClose:t,onOpen:o,open:r,id:i}=e,n=E(o),s=E(t),[c,u]=d(e.defaultOpen??!1),a=r??c,l=r!==void 0,p=k(),f=i??`disclosure-${p}`,h=w(()=>{l||u(!1),s?.()},[l,s]),y=w(()=>{l||u(!0),n?.()},[l,n]),b=w(()=>{a?h():y()},[a,y,h]);function T(v={}){return{...v,"aria-expanded":a,"aria-controls":f,onClick(x){var L;(L=v.onClick)==null||L.call(v,x),b()}}}function O(v={}){return{...v,hidden:!a,id:f}}return{open:a,onOpen:y,onClose:h,onToggle:b,isControlled:l,getButtonProps:T,getDisclosureProps:O}}function U(e){return new URLSearchParams(e??window.location.search)}function j(e,t={addToHead:!1,removeOnUnmount:!1,nonce:void 0}){const[o,r]=d("loading"),i=m(t);return g(()=>{let n=document.querySelector(`script[src="${e}"]`);const s=n?.getAttribute("data-status");if(s){r(s);return}if(n===null){n=document.createElement("script"),n.src=e,n.async=!0,n.setAttribute("data-status","loading"),i.current.nonce&&n.setAttribute("nonce",i.current.nonce),i.current.addToHead?document.head.appendChild(n):document.body.appendChild(n);const c=()=>{n?.setAttribute("data-status","ready"),r("ready"),a()},u=()=>{n?.setAttribute("data-status","error"),r("error"),a()},a=()=>{n?.removeEventListener("load",c),n?.removeEventListener("error",u)};n.addEventListener("load",c),n.addEventListener("error",u);const l=i.current.removeOnUnmount;return()=>{l&&(n?.remove(),a())}}else r("unknown")},[e]),o}function z(e,t=500){const[o,r]=d(e),i=m(Date.now());return g(()=>{const n=Date.now(),s=n-i.current;if(s>=t)i.current=n,r(e);else{const c=t-s,u=window.setTimeout(()=>{i.current=Date.now(),r(e)},c);return()=>{window.clearTimeout(u)}}},[e,t]),o}function D(e){const[t,o]=d(()=>typeof e=="boolean"?e:!!e),r=w(i=>{if(typeof i=="boolean"){o(i);return}o(n=>!n)},[]);return[t,r]}function M(){const[e,t]=d({x:0,y:0}),o=w((...r)=>{if(r.length===1&&typeof r[0]=="object")window.scrollTo(r[0]);else if(r.length===2)window.scrollTo(r[0],r[1]);else throw new Error("Invalid arguments passed to scrollTo. Expected either ScrollToOptions object or x,y coordinates. See https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo")},[]);return I(()=>{const r=()=>{t({x:window.scrollX,y:window.scrollY})};return r(),window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[]),{...e,scrollTo:o}}function W(){const[e,t]=d({width:window.innerWidth,height:window.innerHeight});return I(()=>{const o=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}},[]),e}function J(e,{threshold:t=0,root:o=null,rootMargin:r="0%",freezeOnceVisible:i=!1}={}){const[n,s]=d({isIntersecting:!1,entry:null});return g(()=>{const c=e?.current;let u;if(c){if(i&&n.isIntersecting)return;const a=p=>{const[f]=p;s({isIntersecting:f.isIntersecting,entry:f})},l=new IntersectionObserver(a,{threshold:t,root:o,rootMargin:r});l.observe(c),u=()=>{l.disconnect()}}return()=>{u&&u()}},[e,t,o,r,i,n.isIntersecting]),n}function R(){return A(e=>typeof window>"u"?()=>{}:(window.addEventListener("online",e),window.addEventListener("offline",e),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",e)}),()=>typeof navigator>"u"?!0:navigator.onLine,()=>!0)}function q(e,t=500,o){const r=m(),i=$(()=>{const n=S(e,t,o),s=(...c)=>n(...c);return s.cancel=()=>{n.cancel()},s.isPending=()=>!!r.current,s.flush=()=>n.flush(),s},[e,t,o]);return g(()=>{r.current=S(e,t,o)},[e,t,o]),g(()=>()=>{r.current&&r.current.cancel()},[]),i}function B({phoneNumber:e,keyword:t,text:o="Text",signature:r="to"}){var i;e&&(e=((i=N(e))==null?void 0:i.format("NATIONAL").replace("(","").replace(")","").replace(" ","-"))??e);const n={text:o,keyword:t,phoneNumber:e,signature:r};return{...n,displayValue:`${n.text} ${n.keyword} ${n.signature} ${n.phoneNumber}`}}function V(e,t){return`${e}/tts/${t}`}export{H as a,E as b,U as c,j as d,z as e,D as f,M as g,W as h,J as i,R as j,q as k,B as l,V as m,P as u};
|