@verifiedinc-public/shared-ui-elements 5.12.0 → 5.12.2-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "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-BO1JJl6G.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
+ "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-BnOY44Mh.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,c as s,m as e,B as r,o as t,n,C as i,D as o,f as p,E as c,k as d,F as m,I as u,b as h,L as C,O as l,h as S,j as g,e as P,P as B,Q as k,R as I,S as b,d as O,l as T,T as y,g as L,a as f,V as R,i as v,t as E,u as D}from"../shared/index-CmhY6SxC.mjs";import{a as N,b as F,P as A,S as M}from"../shared/PageSectionHeader-DdpDhBZG.mjs";import{B as V,C as w,i as x,E as W,L as j,j as H,M as Q,g as q,O as z,P as U,R as G,e as J,d as K,S as X,a as Y,b as Z,k as _,c as $,f as aa,W as sa,h as ea,m as ra,u as ta}from"../shared/SignupBigNumbers-BO1JJl6G.mjs";import{SnackbarProvider as na}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,V as BigNumber,t as BrandFilterInput,n as Button,i as CredentialRequestsEditor,w as CustomAlertComponent,o as DateInput,p as DateRangeInput,c as EmailInput,x as EmptyChartSection,W as ErrorCodesChart,d as ExactBirthdayBanner,m as FullWidthAlert,u as Image,h as LegalLink,C as LinkButton,j as LoadingChartSection,H as MetricLastUpdated,Q as MonthlySignupsOverviewTable,l as OTPInput,S as OneClickForm,q as OneClickOverTimeChart,z as OneClickPercentageChart,g as OneClickPoweredByVerified,N as PageHeader,F as PageSectionHeader,A as Paragraph,P as PhoneInput,U as PieChart,B as PrivacyPolicyNotice,k as QRCodeDisplay,G as ReasonCodesChart,I as ResendPhoneBanner,J as RiskScoreBarChart,K as RiskScorePieChart,b as SSNInput,M as SectionHeader,O as SelectInput,X as SeriesChart,Y as SeriesChartLegend,Z as SeriesPercentageChart,_ as SignupBigNumbers,$ as SimpleBarChart,aa as SimpleLegend,na as SnackbarProvider,T as TestPhoneNumbersBanner,y as TextButton,L as TimezoneInput,f as Typography,R as VerifiedImage,v as VerifiedIncLogo,sa as When,ea as mapMonthlySignupsOverviewTableData,ra as mapTimeSeriesData,E as toOption,D as useBrandFilterInput,ta as useSnackbar};
1
+ "use strict";import{A as a,c as s,m as e,B as r,o as t,n,C as i,D as o,f as p,E as c,k as d,F as m,I as u,b as h,L as C,O as l,h as S,j as g,e as P,P as B,Q as k,R as I,S as b,d as O,l as T,T as y,g as L,a as f,V as R,i as v,t as E,u as D}from"../shared/index-MI4DHktU.mjs";import{a as N,b as F,P as A,S as M}from"../shared/PageSectionHeader-DdpDhBZG.mjs";import{B as V,C as w,i as x,E as W,L as j,j as H,M as Q,g as q,O as z,P as U,R as G,e as J,d as K,S as X,a as Y,b as Z,k as _,c as $,f as aa,W as sa,h as ea,m as ra,u as ta}from"../shared/SignupBigNumbers-BnOY44Mh.mjs";import{SnackbarProvider as na}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,V as BigNumber,t as BrandFilterInput,n as Button,i as CredentialRequestsEditor,w as CustomAlertComponent,o as DateInput,p as DateRangeInput,c as EmailInput,x as EmptyChartSection,W as ErrorCodesChart,d as ExactBirthdayBanner,m as FullWidthAlert,u as Image,h as LegalLink,C as LinkButton,j as LoadingChartSection,H as MetricLastUpdated,Q as MonthlySignupsOverviewTable,l as OTPInput,S as OneClickForm,q as OneClickOverTimeChart,z as OneClickPercentageChart,g as OneClickPoweredByVerified,N as PageHeader,F as PageSectionHeader,A as Paragraph,P as PhoneInput,U as PieChart,B as PrivacyPolicyNotice,k as QRCodeDisplay,G as ReasonCodesChart,I as ResendPhoneBanner,J as RiskScoreBarChart,K as RiskScorePieChart,b as SSNInput,M as SectionHeader,O as SelectInput,X as SeriesChart,Y as SeriesChartLegend,Z as SeriesPercentageChart,_ as SignupBigNumbers,$ as SimpleBarChart,aa as SimpleLegend,na as SnackbarProvider,T as TestPhoneNumbersBanner,y as TextButton,L as TimezoneInput,f as Typography,R as VerifiedImage,v as VerifiedIncLogo,sa as When,ea as mapMonthlySignupsOverviewTableData,ra as mapTimeSeriesData,E as toOption,D as useBrandFilterInput,ta as useSnackbar};
package/dist/index.mjs CHANGED
@@ -1 +1 @@
1
- "use strict";import{A as a,c as s,m as e,B as r,o as t,n as o,C as i,D as n,f as m,E as l,k as u,F as p,I as c,b as d,L as h,O as S,h as C,j as g,e as f,P as k,Q as P,R as b,S as y,d as B,l as T,T as D,g as I,a as O,V as v,i as w,t as R,u as N}from"./shared/index-CmhY6SxC.mjs";import{a as L,b as M,P as E,S as Y}from"./shared/PageSectionHeader-DdpDhBZG.mjs";import{B as F,C as x,i as A,E as V,L as W,j as z,M as G,g as U,O as H,P as j,R as Q,e as q,d as J,S as K,a as X,b as Z,k as _,c as $,f as aa,W as sa,h as ea,m as ra,u as ta}from"./shared/SignupBigNumbers-BO1JJl6G.mjs";import{b as oa,k as ia,a as na,i as ma,u as la,j as ua,d as pa,c as ca,e as da,f as ha,g as Sa,h as Ca}from"./shared/useDebounceCallback-CO7X29ng.mjs";import{u as ga,a as fa}from"./shared/usePrevious-DG_IMu2h.mjs";import{a as ka,b as Pa,u as ba}from"./shared/useOnClickOutside-DgJxDzLx.mjs";import{u as ya}from"./shared/useCounter-BV32zXDQ.mjs";import{u as Ba}from"./shared/useResizeObserver-D434c1uN.mjs";import{b as Ta,a as Da,v as Ia,e as Oa,d as va,p as wa,u as Ra,h as Na,j as La,g as Ma,o as Ea,s as Ya,m as Fa,c as xa,l as Aa,n as Va,q as Wa,f as za,i as Ga,r as Ua,z as Ha,t as ja,x as Qa,k as qa,w as Ja,y as Ka}from"./shared/shadows-Cppcwqk0.mjs";import{wrapPromise as Xa}from"./utils/wrapPromise/index.mjs";import{f as Za,b as _a,a as $a,c as as,u as ss}from"./shared/uuidColor-LRbEKYAZ.mjs";import{c as es,g as rs,a as ts,p as os,s as is,v as ns}from"./shared/phone-eqP--V9t.mjs";import{masks as ms}from"./utils/masks/index.mjs";import{o as ls}from"./shared/omitProperty-DZYdN2vK.mjs";import{s as us}from"./shared/ssn-CTUJ2_Vl.mjs";import{toCapitalize as ps,toSentenceCase as cs}from"./utils/string/index.mjs";import{k as ds}from"./shared/formatKebabToPretty-Du43TgPC.mjs";import{M as hs,S as Ss,U as Cs,d as gs,e as fs,f as ks,g as Ps,a as bs,s as ys}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Bs}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ts}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,F as BigNumber,t as BrandFilterInput,o as Button,i as CredentialRequestsEditor,x as CustomAlertComponent,n as DateInput,m as DateRangeInput,l as EmailInput,A as EmptyChartSection,V as ErrorCodesChart,u as ExactBirthdayBanner,p as FullWidthAlert,c as Image,d as LegalLink,h as LinkButton,W as LoadingChartSection,hs as MaskedAndUnmaskedSSNSchema,z as MetricLastUpdated,G as MonthlySignupsOverviewTable,S as OTPInput,C as OneClickForm,U as OneClickOverTimeChart,H as OneClickPercentageChart,g as OneClickPoweredByVerified,L as PageHeader,M as PageSectionHeader,E as Paragraph,f as PhoneInput,j as PieChart,k as PrivacyPolicyNotice,P as QRCodeDisplay,Q as ReasonCodesChart,b as ResendPhoneBanner,q as RiskScoreBarChart,J as RiskScorePieChart,y as SSNInput,Ss as SSNSchema,Y as SectionHeader,B as SelectInput,K as SeriesChart,X as SeriesChartLegend,Z as SeriesPercentageChart,_ as SignupBigNumbers,$ as SimpleBarChart,aa as SimpleLegend,Ts as SnackbarProvider,T as TestPhoneNumbersBanner,D as TextButton,I as TimezoneInput,O as Typography,Cs as USDateSchema,v as VerifiedImage,w as VerifiedIncLogo,sa as When,Ta as black,Da as blue,Ia as colors,es as countries,Oa as darkBlue,va as darkGreen,wa as darkGrey,Ra as darkGreyContrast,Na as darkRed,La as darkYellow,gs as descriptionSchema,fs as emailSchema,ks as fieldSchema,Za as formatDateMMDDYYYY,_a as formatDateMMYY,$a as formatDateToTimestamp,as as formatExtendedDate,Ps as getDateSchemaWithPastValidation,rs as getPhoneData,ts as getPhoneDataByFieldName,bs as getUnixSchema,Ma as green,Ea as grey,Ya as greyContrast,Fa as infoContrast,ds as kebabCaseToPretty,xa as lightBlue,Aa as lightGreen,Va as lightGrey,Wa as lightGreyContrast,za as lightRed,Ga as lightYellow,ea as mapMonthlySignupsOverviewTableData,ra as mapTimeSeriesData,ms as masks,ls as omitProperties,os as parseToPhoneNational,Bs as phoneSchema,Ua as red,Ha as shadows,is as sortByCountryName,us as ssnFormatter,ys as stateSchema,ja as textDisabled,Qa as theme,ps as toCapitalize,R as toOption,cs as toSentenceCase,N as useBrandFilterInput,oa as useCallbackRef,ga as useCopyToClipboard,ya as useCounter,ia as useDebounceCallback,ka as useDebounceValue,na as useDisclosure,ma as useIntersectionObserver,la as useLocalStorage,ua as useNavigatorOnline,Pa as useOnClickOutside,fa as usePrevious,ba as useQRCode,Ba as useResizeObserver,pa as useScript,ca as useSearchParams,ta as useSnackbar,da as useThrottle,ha as useToggle,Sa as useWindowScroll,Ca as useWindowSize,ss as uuidToHashedColor,ns as validatePhone,qa as warningContrast,Ja as white,Xa as wrapPromise,Ka as yellow};
1
+ "use strict";import{A as a,c as s,m as e,B as r,o as t,n as o,C as i,D as n,f as m,E as l,k as u,F as p,I as c,b as d,L as h,O as S,h as C,j as g,e as f,P as k,Q as P,R as b,S as y,d as B,l as T,T as D,g as I,a as O,V as v,i as w,t as R,u as N}from"./shared/index-MI4DHktU.mjs";import{a as L,b as M,P as E,S as Y}from"./shared/PageSectionHeader-DdpDhBZG.mjs";import{B as F,C as x,i as A,E as V,L as W,j as z,M as G,g as U,O as H,P as j,R as Q,e as q,d as J,S as K,a as X,b as Z,k as _,c as $,f as aa,W as sa,h as ea,m as ra,u as ta}from"./shared/SignupBigNumbers-BnOY44Mh.mjs";import{b as oa,k as ia,a as na,i as ma,u as la,j as ua,d as pa,c as ca,e as da,f as ha,g as Sa,h as Ca}from"./shared/useDebounceCallback-CO7X29ng.mjs";import{u as ga,a as fa}from"./shared/usePrevious-DG_IMu2h.mjs";import{a as ka,b as Pa,u as ba}from"./shared/useOnClickOutside-DgJxDzLx.mjs";import{u as ya}from"./shared/useCounter-BV32zXDQ.mjs";import{u as Ba}from"./shared/useResizeObserver-D434c1uN.mjs";import{b as Ta,a as Da,v as Ia,e as Oa,d as va,p as wa,u as Ra,h as Na,j as La,g as Ma,o as Ea,s as Ya,m as Fa,c as xa,l as Aa,n as Va,q as Wa,f as za,i as Ga,r as Ua,z as Ha,t as ja,x as Qa,k as qa,w as Ja,y as Ka}from"./shared/shadows-Cppcwqk0.mjs";import{wrapPromise as Xa}from"./utils/wrapPromise/index.mjs";import{f as Za,b as _a,a as $a,c as as,u as ss}from"./shared/uuidColor-LRbEKYAZ.mjs";import{c as es,g as rs,a as ts,p as os,s as is,v as ns}from"./shared/phone-eqP--V9t.mjs";import{masks as ms}from"./utils/masks/index.mjs";import{o as ls}from"./shared/omitProperty-DZYdN2vK.mjs";import{s as us}from"./shared/ssn-CTUJ2_Vl.mjs";import{toCapitalize as ps,toSentenceCase as cs}from"./utils/string/index.mjs";import{k as ds}from"./shared/formatKebabToPretty-Du43TgPC.mjs";import{M as hs,S as Ss,U as Cs,d as gs,e as fs,f as ks,g as Ps,a as bs,s as ys}from"./shared/unix.schema-CMYTtXco.mjs";import{p as Bs}from"./shared/phone.schema-XBbyizhq.mjs";import{SnackbarProvider as Ts}from"notistack";export{a as AcceptTermsNotice,s as Alert,e as Backdrop,r as Banner,F as BigNumber,t as BrandFilterInput,o as Button,i as CredentialRequestsEditor,x as CustomAlertComponent,n as DateInput,m as DateRangeInput,l as EmailInput,A as EmptyChartSection,V as ErrorCodesChart,u as ExactBirthdayBanner,p as FullWidthAlert,c as Image,d as LegalLink,h as LinkButton,W as LoadingChartSection,hs as MaskedAndUnmaskedSSNSchema,z as MetricLastUpdated,G as MonthlySignupsOverviewTable,S as OTPInput,C as OneClickForm,U as OneClickOverTimeChart,H as OneClickPercentageChart,g as OneClickPoweredByVerified,L as PageHeader,M as PageSectionHeader,E as Paragraph,f as PhoneInput,j as PieChart,k as PrivacyPolicyNotice,P as QRCodeDisplay,Q as ReasonCodesChart,b as ResendPhoneBanner,q as RiskScoreBarChart,J as RiskScorePieChart,y as SSNInput,Ss as SSNSchema,Y as SectionHeader,B as SelectInput,K as SeriesChart,X as SeriesChartLegend,Z as SeriesPercentageChart,_ as SignupBigNumbers,$ as SimpleBarChart,aa as SimpleLegend,Ts as SnackbarProvider,T as TestPhoneNumbersBanner,D as TextButton,I as TimezoneInput,O as Typography,Cs as USDateSchema,v as VerifiedImage,w as VerifiedIncLogo,sa as When,Ta as black,Da as blue,Ia as colors,es as countries,Oa as darkBlue,va as darkGreen,wa as darkGrey,Ra as darkGreyContrast,Na as darkRed,La as darkYellow,gs as descriptionSchema,fs as emailSchema,ks as fieldSchema,Za as formatDateMMDDYYYY,_a as formatDateMMYY,$a as formatDateToTimestamp,as as formatExtendedDate,Ps as getDateSchemaWithPastValidation,rs as getPhoneData,ts as getPhoneDataByFieldName,bs as getUnixSchema,Ma as green,Ea as grey,Ya as greyContrast,Fa as infoContrast,ds as kebabCaseToPretty,xa as lightBlue,Aa as lightGreen,Va as lightGrey,Wa as lightGreyContrast,za as lightRed,Ga as lightYellow,ea as mapMonthlySignupsOverviewTableData,ra as mapTimeSeriesData,ms as masks,ls as omitProperties,os as parseToPhoneNational,Bs as phoneSchema,Ua as red,Ha as shadows,is as sortByCountryName,us as ssnFormatter,ys as stateSchema,ja as textDisabled,Qa as theme,ps as toCapitalize,R as toOption,cs as toSentenceCase,N as useBrandFilterInput,oa as useCallbackRef,ga as useCopyToClipboard,ya as useCounter,ia as useDebounceCallback,ka as useDebounceValue,na as useDisclosure,ma as useIntersectionObserver,la as useLocalStorage,ua as useNavigatorOnline,Pa as useOnClickOutside,fa as usePrevious,ba as useQRCode,Ba as useResizeObserver,pa as useScript,ca as useSearchParams,ta as useSnackbar,da as useThrottle,ha as useToggle,Sa as useWindowScroll,Ca as useWindowSize,ss as uuidToHashedColor,ns as validatePhone,qa as warningContrast,Ja as white,Xa as wrapPromise,Ka as yellow};
@@ -0,0 +1,2 @@
1
+ "use strict";import{j as u}from"./jsx-runtime-DHlBLioN.mjs";import{Alert as ko,Box as Ae,IconButton as jr,Stack as Me,Typography as Oe,useTheme as we,Paper as $r,TableContainer as Co,Table as To,TableHead as Eo,TableRow as kr,TableCell as fe,TableBody as _o}from"@mui/material";import*as Ce from"react";import{forwardRef as No,useCallback as Vt,useMemo as zt,createElement as Ao,useState as pt,useRef as Mo,useEffect as Cr}from"react";import{ResponsiveContainer as dt,LineChart as Tr,CartesianGrid as Ft,XAxis as Ut,YAxis as Lt,Label as Po,Tooltip as Gt,Legend as Er,Line as _r,ComposedChart as Ro,ReferenceLine as Nr,ReferenceArea as Ar,Bar as Io,Sector as Mr,PieChart as Do,Pie as Vo,Cell as zo}from"recharts";import mt,{Decimal as Kt}from"decimal.js";import{b as Pr,c as Rr,u as Fo,_ as Uo}from"./uuidColor-LRbEKYAZ.mjs";import{AnimatePresence as Lo}from"framer-motion";import{a as Wt,u as Go}from"./usePrevious-DG_IMu2h.mjs";import"qrcode";import{g as Ko,e as Te}from"./_baseGetTag-B6tQMIzM.mjs";import{a as Wo,C as Ir}from"./motions-BBPeWBPV.mjs";import Bo from"@emotion/styled";import{CacheProvider as Ho,Global as qo,ThemeContext as Dr,css as Zo,keyframes as Yo}from"@emotion/react";import{k as Vr}from"./formatKebabToPretty-Du43TgPC.mjs";import{Close as Jo}from"@mui/icons-material";import{SnackbarContent as Qo,closeSnackbar as zr,enqueueSnackbar as Xo}from"notistack";import{u as ea}from"./useCounter-BV32zXDQ.mjs";function pe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},E.apply(null,arguments)}var Fr={exports:{}},Ur={exports:{}},L={},Lr;function ta(){if(Lr)return L;Lr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,b=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,d=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function j(m){if(typeof m=="object"&&m!==null){var $=m.$$typeof;switch($){case t:switch(m=m.type,m){case l:case c:case n:case a:case o:case g:return m;default:switch(m=m&&m.$$typeof,m){case s:case p:case h:case b:case i:return m;default:return $}}case r:return $}}}function V(m){return j(m)===c}return L.AsyncMode=l,L.ConcurrentMode=c,L.ContextConsumer=s,L.ContextProvider=i,L.Element=t,L.ForwardRef=p,L.Fragment=n,L.Lazy=h,L.Memo=b,L.Portal=r,L.Profiler=a,L.StrictMode=o,L.Suspense=g,L.isAsyncMode=function(m){return V(m)||j(m)===l},L.isConcurrentMode=V,L.isContextConsumer=function(m){return j(m)===s},L.isContextProvider=function(m){return j(m)===i},L.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},L.isForwardRef=function(m){return j(m)===p},L.isFragment=function(m){return j(m)===n},L.isLazy=function(m){return j(m)===h},L.isMemo=function(m){return j(m)===b},L.isPortal=function(m){return j(m)===r},L.isProfiler=function(m){return j(m)===a},L.isStrictMode=function(m){return j(m)===o},L.isSuspense=function(m){return j(m)===g},L.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===c||m===a||m===o||m===g||m===f||typeof m=="object"&&m!==null&&(m.$$typeof===h||m.$$typeof===b||m.$$typeof===i||m.$$typeof===s||m.$$typeof===p||m.$$typeof===d||m.$$typeof===x||m.$$typeof===S||m.$$typeof===y)},L.typeOf=j,L}var ra={},Gr;function Tl(){return Gr||(Gr=1),ra}var Kr;function na(){return Kr||(Kr=1,Ur.exports=ta()),Ur.exports}var Bt,Wr;function oa(){if(Wr)return Bt;Wr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var i={},s=0;s<10;s++)i["_"+String.fromCharCode(s)]=s;var l=Object.getOwnPropertyNames(i).map(function(p){return i[p]});if(l.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(p){c[p]=p}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Bt=o()?Object.assign:function(a,i){for(var s,l=n(a),c,p=1;p<arguments.length;p++){s=Object(arguments[p]);for(var g in s)t.call(s,g)&&(l[g]=s[g]);if(e){c=e(s);for(var f=0;f<c.length;f++)r.call(s,c[f])&&(l[c[f]]=s[c[f]])}}return l},Bt}var Ht,Br;function Hr(){if(Br)return Ht;Br=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Ht=e,Ht}var qr,Zr;function aa(){return Zr||(Zr=1,qr=Function.call.bind(Object.prototype.hasOwnProperty)),qr}var qt,Yr;function ia(){if(Yr)return qt;Yr=1;var e=function(){};if(0)var t,r,n;function o(a,i,s,l,c){if(0){for(var p in a)if(n(a,p)){var g;try{if(typeof a[p]!="function")var f}catch(h){}if(g&&!(g instanceof Error)&&e((l||"React class")+": type specification of "+s+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in r))var b}}}return o.resetWarningCache=function(){},qt=o,qt}var Zt,Jr;function El(){if(Jr)return Zt;Jr=1;var e=na(),t=oa(),r=Hr(),n=aa(),o=ia(),a=function(){};function i(){return null}return Zt=function(s,l){var c=typeof Symbol=="function"&&Symbol.iterator,p="@@iterator";function g(v){var O=v&&(c&&v[c]||v[p]);if(typeof O=="function")return O}var f="<<anonymous>>",b={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:S(),arrayOf:j,element:V(),elementType:m(),instanceOf:$,node:Q(),objectOf:W,oneOf:k,oneOfType:re,shape:C,exact:U};function h(v,O){return v===O?v!==0||1/v===1/O:v!==v&&O!==O}function y(v,O){this.message=v,this.data=O&&typeof O=="object"?O:{},this.stack=""}y.prototype=Error.prototype;function d(v){if(0)var O,P;function A(R,N,M,D,I,T,H){if(D=D||f,T=T||M,H!==r){if(l){var K=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 K.name="Invariant Violation",K}else if(0)var ft}return N[M]==null?R?N[M]===null?new y("The "+I+" `"+T+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new y("The "+I+" `"+T+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:v(N,M,D,I,T)}var _=A.bind(null,!1);return _.isRequired=A.bind(null,!0),_}function x(v){function O(P,A,_,R,N,M){var D=P[A],I=B(D);if(I!==v){var T=X(D);return new y("Invalid "+R+" `"+N+"` of type "+("`"+T+"` supplied to `"+_+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return d(O)}function S(){return d(i)}function j(v){function O(P,A,_,R,N){if(typeof v!="function")return new y("Property `"+N+"` of component `"+_+"` has invalid PropType notation inside arrayOf.");var M=P[A];if(!Array.isArray(M)){var D=B(M);return new y("Invalid "+R+" `"+N+"` of type "+("`"+D+"` supplied to `"+_+"`, expected an array."))}for(var I=0;I<M.length;I++){var T=v(M,I,_,R,N+"["+I+"]",r);if(T instanceof Error)return T}return null}return d(O)}function V(){function v(O,P,A,_,R){var N=O[P];if(!s(N)){var M=B(N);return new y("Invalid "+_+" `"+R+"` of type "+("`"+M+"` supplied to `"+A+"`, expected a single ReactElement."))}return null}return d(v)}function m(){function v(O,P,A,_,R){var N=O[P];if(!e.isValidElementType(N)){var M=B(N);return new y("Invalid "+_+" `"+R+"` of type "+("`"+M+"` supplied to `"+A+"`, expected a single ReactElement type."))}return null}return d(v)}function $(v){function O(P,A,_,R,N){if(!(P[A]instanceof v)){var M=v.name||f,D=xe(P[A]);return new y("Invalid "+R+" `"+N+"` of type "+("`"+D+"` supplied to `"+_+"`, expected ")+("instance of `"+M+"`."))}return null}return d(O)}function k(v){if(!Array.isArray(v))return i;function O(P,A,_,R,N){for(var M=P[A],D=0;D<v.length;D++)if(h(M,v[D]))return null;var I=JSON.stringify(v,function(T,H){var K=X(H);return K==="symbol"?String(H):H});return new y("Invalid "+R+" `"+N+"` of value `"+String(M)+"` "+("supplied to `"+_+"`, expected one of "+I+"."))}return d(O)}function W(v){function O(P,A,_,R,N){if(typeof v!="function")return new y("Property `"+N+"` of component `"+_+"` has invalid PropType notation inside objectOf.");var M=P[A],D=B(M);if(D!=="object")return new y("Invalid "+R+" `"+N+"` of type "+("`"+D+"` supplied to `"+_+"`, expected an object."));for(var I in M)if(n(M,I)){var T=v(M,I,_,R,N+"."+I,r);if(T instanceof Error)return T}return null}return d(O)}function re(v){if(!Array.isArray(v))return i;for(var O=0;O<v.length;O++){var P=v[O];if(typeof P!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Ne(P)+" at index "+O+"."),i}function A(_,R,N,M,D){for(var I=[],T=0;T<v.length;T++){var H=v[T],K=H(_,R,N,M,D,r);if(K==null)return null;K.data&&n(K.data,"expectedType")&&I.push(K.data.expectedType)}var ft=I.length>0?", expected one of type ["+I.join(", ")+"]":"";return new y("Invalid "+M+" `"+D+"` supplied to "+("`"+N+"`"+ft+"."))}return d(A)}function Q(){function v(O,P,A,_,R){return Z(O[P])?null:new y("Invalid "+_+" `"+R+"` supplied to "+("`"+A+"`, expected a ReactNode."))}return d(v)}function w(v,O,P,A,_){return new y((v||"React class")+": "+O+" type `"+P+"."+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_+"`.")}function C(v){function O(P,A,_,R,N){var M=P[A],D=B(M);if(D!=="object")return new y("Invalid "+R+" `"+N+"` of type `"+D+"` "+("supplied to `"+_+"`, expected `object`."));for(var I in v){var T=v[I];if(typeof T!="function")return w(_,R,N,I,X(T));var H=T(M,I,_,R,N+"."+I,r);if(H)return H}return null}return d(O)}function U(v){function O(P,A,_,R,N){var M=P[A],D=B(M);if(D!=="object")return new y("Invalid "+R+" `"+N+"` of type `"+D+"` "+("supplied to `"+_+"`, expected `object`."));var I=t({},P[A],v);for(var T in I){var H=v[T];if(n(v,T)&&typeof H!="function")return w(_,R,N,T,X(H));if(!H)return new y("Invalid "+R+" `"+N+"` key `"+T+"` supplied to `"+_+"`.\nBad object: "+JSON.stringify(P[A],null," ")+`
2
+ Valid keys: `+JSON.stringify(Object.keys(v),null," "));var K=H(M,T,_,R,N+"."+T,r);if(K)return K}return null}return d(O)}function Z(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(Z);if(v===null||s(v))return!0;var O=g(v);if(O){var P=O.call(v),A;if(O!==v.entries){for(;!(A=P.next()).done;)if(!Z(A.value))return!1}else for(;!(A=P.next()).done;){var _=A.value;if(_&&!Z(_[1]))return!1}}else return!1;return!0;default:return!1}}function oe(v,O){return v==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function B(v){var O=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":oe(O,v)?"symbol":O}function X(v){if(typeof v>"u"||v===null)return""+v;var O=B(v);if(O==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return O}function Ne(v){var O=X(v);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function xe(v){return!v.constructor||!v.constructor.name?f:v.constructor.name}return b.checkPropTypes=o,b.resetWarningCache=o.resetWarningCache,b.PropTypes=b,b},Zt}var Yt,Qr;function sa(){if(Qr)return Yt;Qr=1;var e=Hr();function t(){}function r(){}return r.resetWarningCache=t,Yt=function(){function n(i,s,l,c,p,g){if(g!==e){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}}n.isRequired=n;function o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Yt}if(0)var _l,Nl;else Fr.exports=sa()();var ca=Fr.exports;const la=Ko(ca);function Xr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Xr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function en(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Xr(e))&&(n&&(n+=" "),n+=t);return n}function Jt(e,t){const r=E({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=E({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},a=t[n];r[n]={},!a||!Object.keys(a)?r[n]=o:!o||!Object.keys(o)?r[n]=a:(r[n]=E({},a),Object.keys(o).forEach(i=>{r[n][i]=Jt(o[i],a[i])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function tn(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((a,i)=>{if(i){const s=t(i);s!==""&&a.push(s),r&&r[i]&&a.push(r[i])}return a},[]).join(" ")}),n}var ee={},rn={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(rn);var nn=rn.exports;function Re(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const ua=Object.freeze(Object.defineProperty({__proto__:null,default:Re},Symbol.toStringTag,{value:"Module"})),fa=Te(ua);function pa(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const da=Object.freeze(Object.defineProperty({__proto__:null,default:pa},Symbol.toStringTag,{value:"Module"})),ma=Te(da);var on=nn;Object.defineProperty(ee,"__esModule",{value:!0});var ya=ee.alpha=pn;ee.blend=ka,ee.colorChannel=void 0;var an=ee.darken=Xt;ee.decomposeColor=de,ee.emphasize=dn;var ha=ee.getContrastRatio=Oa;ee.getLuminance=yt,ee.hexToRgb=ln,ee.hslToRgb=fn;var sn=ee.lighten=er;ee.private_safeAlpha=wa,ee.private_safeColorChannel=void 0,ee.private_safeDarken=Sa,ee.private_safeEmphasize=$a,ee.private_safeLighten=ja,ee.recomposeColor=Ie,ee.rgbToHex=xa;var cn=on(fa),ga=on(ma);function Qt(e,t=0,r=1){return(0,ga.default)(e,t,r)}function ln(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function ba(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function de(e){if(e.type)return e;if(e.charAt(0)==="#")return de(ln(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error((0,cn.default)(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error((0,cn.default)(10,o))}else n=n.split(",");return n=n.map(a=>parseFloat(a)),{type:r,values:n,colorSpace:o}}const un=e=>{const t=de(e);return t.values.slice(0,3).map((r,n)=>t.type.indexOf("hsl")!==-1&&n!==0?`${r}%`:r).join(" ")};ee.colorChannel=un;const va=(e,t)=>{try{return un(e)}catch{return e}};ee.private_safeColorChannel=va;function Ie(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,a)=>a<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function xa(e){if(e.indexOf("#")===0)return e;const{values:t}=de(e);return`#${t.map((r,n)=>ba(n===3?Math.round(255*r):r)).join("")}`}function fn(e){e=de(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),i=(c,p=(c+r/30)%12)=>o-a*Math.max(Math.min(p-3,9-p,1),-1);let s="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),Ie({type:s,values:l})}function yt(e){e=de(e);let t=e.type==="hsl"||e.type==="hsla"?de(fn(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Oa(e,t){const r=yt(e),n=yt(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function pn(e,t){return e=de(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 wa(e,t,r){try{return pn(e,t)}catch{return e}}function Xt(e,t){if(e=de(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 r=0;r<3;r+=1)e.values[r]*=1-t;return Ie(e)}function Sa(e,t,r){try{return Xt(e,t)}catch{return e}}function er(e,t){if(e=de(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 r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Ie(e)}function ja(e,t,r){try{return er(e,t)}catch{return e}}function dn(e,t=.15){return yt(e)>.5?Xt(e,t):er(e,t)}function $a(e,t,r){try{return dn(e,t)}catch{return e}}function ka(e,t,r,n=1){const o=(l,c)=>Math.round((l**(1/n)*(1-r)+c**(1/n)*r)**n),a=de(e),i=de(t),s=[o(a.values[0],i.values[0]),o(a.values[1],i.values[1]),o(a.values[2],i.values[2])];return Ie({type:"rgb",values:s})}var qe={},mn={exports:{}},yn;function Ca(){return yn||(yn=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var o=arguments[n];for(var a in o)({}).hasOwnProperty.call(o,a)&&(r[a]=o[a])}return r},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}(mn)),mn.exports}var hn={exports:{}},gn;function Ta(){return gn||(gn=1,function(e){function t(r,n){if(r==null)return{};var o={};for(var a in r)if({}.hasOwnProperty.call(r,a)){if(n.indexOf(a)>=0)continue;o[a]=r[a]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(hn)),hn.exports}function Ea(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 _a(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 Na=function(){function e(r){var n=this;this._insertTag=function(o){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,a),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(_a(this));var n=this.tags[this.tags.length-1];if(0)var o;if(this.isSpeedy){var a=Ea(n);try{a.insertRule(r,a.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),se="-ms-",ht="-moz-",z="-webkit-",bn="comm",tr="rule",rr="decl",Aa="@import",vn="@keyframes",Ma="@layer",Pa=Math.abs,gt=String.fromCharCode,Ra=Object.assign;function Ia(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 xn(e){return e.trim()}function Da(e,t){return(e=t.exec(e))?e[0]:e}function F(e,t,r){return e.replace(t,r)}function nr(e,t){return e.indexOf(t)}function ae(e,t){return e.charCodeAt(t)|0}function Ze(e,t,r){return e.slice(t,r)}function be(e){return e.length}function or(e){return e.length}function bt(e,t){return t.push(e),e}function Va(e,t){return e.map(t).join("")}var vt=1,De=1,On=0,ce=0,ne=0,Ve="";function xt(e,t,r,n,o,a,i){return{value:e,root:t,parent:r,type:n,props:o,children:a,line:vt,column:De,length:i,return:""}}function Ye(e,t){return Ra(xt("",null,null,"",null,null,0),e,{length:-e.length},t)}function za(){return ne}function Fa(){return ne=ce>0?ae(Ve,--ce):0,De--,ne===10&&(De=1,vt--),ne}function le(){return ne=ce<On?ae(Ve,ce++):0,De++,ne===10&&(De=1,vt++),ne}function ve(){return ae(Ve,ce)}function Ot(){return ce}function Je(e,t){return Ze(Ve,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 wn(e){return vt=De=1,On=be(Ve=e),ce=0,[]}function Sn(e){return Ve="",e}function wt(e){return xn(Je(ce-1,ar(e===91?e+2:e===40?e+1:e)))}function Ua(e){for(;(ne=ve())&&ne<33;)le();return Qe(e)>2||Qe(ne)>3?"":" "}function La(e,t){for(;--t&&le()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Je(e,Ot()+(t<6&&ve()==32&&le()==32))}function ar(e){for(;le();)switch(ne){case e:return ce;case 34:case 39:e!==34&&e!==39&&ar(ne);break;case 40:e===41&&ar(e);break;case 92:le();break}return ce}function Ga(e,t){for(;le()&&e+ne!==57&&!(e+ne===84&&ve()===47););return"/*"+Je(t,ce-1)+"*"+gt(e===47?e:le())}function Ka(e){for(;!Qe(ve());)le();return Je(e,ce)}function Wa(e){return Sn(St("",null,null,null,[""],e=wn(e),0,[0],e))}function St(e,t,r,n,o,a,i,s,l){for(var c=0,p=0,g=i,f=0,b=0,h=0,y=1,d=1,x=1,S=0,j="",V=o,m=a,$=n,k=j;d;)switch(h=S,S=le()){case 40:if(h!=108&&ae(k,g-1)==58){nr(k+=F(wt(S),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:k+=wt(S);break;case 9:case 10:case 13:case 32:k+=Ua(h);break;case 92:k+=La(Ot()-1,7);continue;case 47:switch(ve()){case 42:case 47:bt(Ba(Ga(le(),Ot()),t,r),l);break;default:k+="/"}break;case 123*y:s[c++]=be(k)*x;case 125*y:case 59:case 0:switch(S){case 0:case 125:d=0;case 59+p:x==-1&&(k=F(k,/\f/g,"")),b>0&&be(k)-g&&bt(b>32?$n(k+";",n,r,g-1):$n(F(k," ","")+";",n,r,g-2),l);break;case 59:k+=";";default:if(bt($=jn(k,t,r,c,p,o,s,j,V=[],m=[],g),a),S===123)if(p===0)St(k,t,$,$,V,a,g,s,m);else switch(f===99&&ae(k,3)===110?100:f){case 100:case 108:case 109:case 115:St(e,$,$,n&&bt(jn(e,$,$,0,0,o,s,j,o,V=[],g),m),o,m,g,s,n?V:m);break;default:St(k,$,$,$,[""],m,0,s,m)}}c=p=b=0,y=x=1,j=k="",g=i;break;case 58:g=1+be(k),b=h;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&Fa()==125)continue}switch(k+=gt(S),S*y){case 38:x=p>0?1:(k+="\f",-1);break;case 44:s[c++]=(be(k)-1)*x,x=1;break;case 64:ve()===45&&(k+=wt(le())),f=ve(),p=g=be(j=k+=Ka(Ot())),S++;break;case 45:h===45&&be(k)==2&&(y=0)}}return a}function jn(e,t,r,n,o,a,i,s,l,c,p){for(var g=o-1,f=o===0?a:[""],b=or(f),h=0,y=0,d=0;h<n;++h)for(var x=0,S=Ze(e,g+1,g=Pa(y=i[h])),j=e;x<b;++x)(j=xn(y>0?f[x]+" "+S:F(S,/&\f/g,f[x])))&&(l[d++]=j);return xt(e,t,r,o===0?tr:s,l,c,p)}function Ba(e,t,r){return xt(e,t,r,bn,gt(za()),Ze(e,2,-2),0)}function $n(e,t,r,n){return xt(e,t,r,rr,Ze(e,0,n),Ze(e,n+1,-1),n)}function ze(e,t){for(var r="",n=or(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ha(e,t,r,n){switch(e.type){case Ma:if(e.children.length)break;case Aa:case rr:return e.return=e.return||e.value;case bn:return"";case vn:return e.return=e.value+"{"+ze(e.children,n)+"}";case tr:e.value=e.props.join(",")}return be(r=ze(e.children,n))?e.return=e.value+"{"+r+"}":""}function qa(e){var t=or(e);return function(r,n,o,a){for(var i="",s=0;s<t;s++)i+=e[s](r,n,o,a)||"";return i}}function Za(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ya=function(e,t,r){for(var n=0,o=0;n=o,o=ve(),n===38&&o===12&&(t[r]=1),!Qe(o);)le();return Je(e,ce)},Ja=function(e,t){var r=-1,n=44;do switch(Qe(n)){case 0:n===38&&ve()===12&&(t[r]=1),e[r]+=Ya(ce-1,t,r);break;case 2:e[r]+=wt(n);break;case 4:if(n===44){e[++r]=ve()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=gt(n)}while(n=le());return e},Qa=function(e,t){return Sn(Ja(wn(e),t))},kn=new WeakMap,Xa=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!kn.get(r))&&!n){kn.set(e,!0);for(var o=[],a=Qa(t,o),i=r.props,s=0,l=0;s<a.length;s++)for(var c=0;c<i.length;c++,l++)e.props[l]=o[s]?a[s].replace(/&\f/g,i[c]):i[c]+" "+a[s]}}},ei=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}},ti="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",ri=function(e){return e.type==="comm"&&e.children.indexOf(ti)>-1},Al=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!t.parent,i=a?t.parent.children:n,s=i.length-1;s>=0;s--){var l=i[s];if(l.line<t.line)break;if(l.column<t.column){if(ri(l))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Cn=function(e){return e.type.charCodeAt(1)===105&&e.type.charCodeAt(0)===64},ni=function(e,t){for(var r=e-1;r>=0;r--)if(!Cn(t[r]))return!0;return!1},Tn=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Ml=function(e,t,r){Cn(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Tn(e)):ni(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Tn(e)))};function En(e,t){switch(Ia(e,t)){case 5103:return z+"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 z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return z+e+ht+e+se+e+e;case 6828:case 4268:return z+e+se+e+e;case 6165:return z+e+se+"flex-"+e+e;case 5187:return z+e+F(e,/(\w+).+(:[^]+)/,z+"box-$1$2"+se+"flex-$1$2")+e;case 5443:return z+e+se+"flex-item-"+F(e,/flex-|-self/,"")+e;case 4675:return z+e+se+"flex-line-pack"+F(e,/align-content|flex-|-self/,"")+e;case 5548:return z+e+se+F(e,"shrink","negative")+e;case 5292:return z+e+se+F(e,"basis","preferred-size")+e;case 6060:return z+"box-"+F(e,"-grow","")+z+e+se+F(e,"grow","positive")+e;case 4554:return z+F(e,/([^-])(transform)/g,"$1"+z+"$2")+e;case 6187:return F(F(F(e,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),e,"")+e;case 5495:case 3959:return F(e,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return F(F(e,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+se+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+e+e;case 4095:case 3583:case 4068:case 2532:return F(e,/(.+)-inline(.+)/,z+"$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(be(e)-1-t>6)switch(ae(e,t+1)){case 109:if(ae(e,t+4)!==45)break;case 102:return F(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+ht+(ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nr(e,"stretch")?En(F(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ae(e,t+1)!==115)break;case 6444:switch(ae(e,be(e)-3-(~nr(e,"!important")&&10))){case 107:return F(e,":",":"+z)+e;case 101:return F(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(ae(e,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+se+"$2box$3")+e}break;case 5936:switch(ae(e,t+11)){case 114:return z+e+se+F(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+se+F(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+se+F(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+se+e+e}return e}var oi=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case rr:e.return=En(e.value,e.length);break;case vn:return ze([Ye(e,{value:F(e.value,"@","@"+z)})],n);case tr:if(e.length)return Va(e.props,function(o){switch(Da(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ze([Ye(e,{props:[F(o,/:(read-\w+)/,":"+ht+"$1")]})],n);case"::placeholder":return ze([Ye(e,{props:[F(o,/:(plac\w+)/,":"+z+"input-$1")]}),Ye(e,{props:[F(o,/:(plac\w+)/,":"+ht+"$1")]}),Ye(e,{props:[F(o,/:(plac\w+)/,se+"input-$1")]})],n)}return""})}},ai=[oi],ii=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var y=h.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var n=e.stylisPlugins||ai,o={},a,i=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var y=h.getAttribute("data-emotion").split(" "),d=1;d<y.length;d++)o[y[d]]=!0;i.push(h)});var s,l=[Xa,ei];{var c,p=[Ha,Za(function(h){c.insert(h)})],g=qa(l.concat(n,p)),f=function(h){return ze(Wa(h),g)};s=function(h,y,d,x){c=d,f(h?h+"{"+y.styles+"}":y.styles),x&&(b.inserted[y.name]=!0)}}var b={key:t,sheet:new Na({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:s};return b.sheet.hydrate(i),b};let ir;typeof document=="object"&&(ir=ii({key:"css",prepend:!0}));function si(e){const{injectFirst:t,children:r}=e;return t&&ir?u.jsx(Ho,{value:ir,children:r}):r}function ci(e){return e==null||Object.keys(e).length===0}function _n(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?o=>t(ci(o)?r:o):t;return u.jsx(qo,{styles:n})}function Nn(e,t){return Bo(e,t)}const An=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},li=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:_n,StyledEngineProvider:si,ThemeContext:Dr,css:Zo,default:Nn,internal_processStyles:An,keyframes:Yo},Symbol.toStringTag,{value:"Module"})),ui=Te(li);function Se(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 Mn(e){if(!Se(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Mn(e[r])}),t}function ge(e,t,r={clone:!0}){const n=r.clone?E({},e):e;return Se(e)&&Se(t)&&Object.keys(t).forEach(o=>{Se(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Se(e[o])?n[o]=ge(e[o],t[o],r):r.clone?n[o]=Se(t[o])?Mn(t[o]):t[o]:n[o]=t[o]}),n}const fi=Object.freeze(Object.defineProperty({__proto__:null,default:ge,isPlainObject:Se},Symbol.toStringTag,{value:"Module"})),pi=Te(fi);function jt(e){if(typeof e!="string")throw new Error(Re(7));return e.charAt(0).toUpperCase()+e.slice(1)}const di=Object.freeze(Object.defineProperty({__proto__:null,default:jt},Symbol.toStringTag,{value:"Module"})),mi=Te(di);var Pn={exports:{}},G={},Rn;function yi(){if(Rn)return G;Rn=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),h;h=Symbol.for("react.module.reference");function y(d){if(typeof d=="object"&&d!==null){var x=d.$$typeof;switch(x){case e:switch(d=d.type,d){case r:case o:case n:case c:case p:return d;default:switch(d=d&&d.$$typeof,d){case s:case i:case l:case f:case g:case a:return d;default:return x}}case t:return x}}}return G.ContextConsumer=i,G.ContextProvider=a,G.Element=e,G.ForwardRef=l,G.Fragment=r,G.Lazy=f,G.Memo=g,G.Portal=t,G.Profiler=o,G.StrictMode=n,G.Suspense=c,G.SuspenseList=p,G.isAsyncMode=function(){return!1},G.isConcurrentMode=function(){return!1},G.isContextConsumer=function(d){return y(d)===i},G.isContextProvider=function(d){return y(d)===a},G.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},G.isForwardRef=function(d){return y(d)===l},G.isFragment=function(d){return y(d)===r},G.isLazy=function(d){return y(d)===f},G.isMemo=function(d){return y(d)===g},G.isPortal=function(d){return y(d)===t},G.isProfiler=function(d){return y(d)===o},G.isStrictMode=function(d){return y(d)===n},G.isSuspense=function(d){return y(d)===c},G.isSuspenseList=function(d){return y(d)===p},G.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===o||d===n||d===c||d===p||d===b||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===g||d.$$typeof===a||d.$$typeof===i||d.$$typeof===l||d.$$typeof===h||d.getModuleId!==void 0)},G.typeOf=y,G}var hi={},In;function Pl(){return In||(In=1),hi}Pn.exports=yi();var sr=Pn.exports;const gi=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Dn(e){const t=`${e}`.match(gi);return t&&t[1]||""}function Vn(e,t=""){return e.displayName||e.name||Dn(e)||t}function zn(e,t,r){const n=Vn(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function bi(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Vn(e,"Component");if(typeof e=="object")switch(e.$$typeof){case sr.ForwardRef:return zn(e,e.render,"ForwardRef");case sr.Memo:return zn(e,e.type,"memo");default:return}}}const vi=Object.freeze(Object.defineProperty({__proto__:null,default:bi,getFunctionName:Dn},Symbol.toStringTag,{value:"Module"})),xi=Te(vi),Oi=["values","unit","step"],wi=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>E({},r,{[n.key]:n.val}),{})};function Fn(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=pe(e,Oi),a=wi(t),i=Object.keys(a);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-n/100}${r})`}function c(f,b){const h=i.indexOf(b);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(h!==-1&&typeof t[i[h]]=="number"?t[i[h]]:b)-n/100}${r})`}function p(f){return i.indexOf(f)+1<i.length?c(f,i[i.indexOf(f)+1]):s(f)}function g(f){const b=i.indexOf(f);return b===0?s(i[1]):b===i.length-1?l(i[b]):c(f,i[i.indexOf(f)+1]).replace("@media","@media not all and")}return E({keys:i,values:a,up:s,down:l,between:c,only:p,not:g,unit:r},o)}const Si={borderRadius:4},Rl={};function Xe(e,t){return t?ge(e,t,{clone:!1}):e}const cr={xs:0,sm:600,md:900,lg:1200,xl:1536},Un={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${cr[e]}px)`};function je(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||Un;return t.reduce((a,i,s)=>(a[o.up(o.keys[s])]=r(t[s]),a),{})}if(typeof t=="object"){const o=n.breakpoints||Un;return Object.keys(t).reduce((a,i)=>{if(Object.keys(o.values||cr).indexOf(i)!==-1){const s=o.up(i);a[s]=r(t[i],i)}else{const s=i;a[s]=t[s]}return a},{})}return r(t)}function ji(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,n)=>{const o=e.up(n);return r[o]={},r},{}))||{}}function $i(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function $t(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function kt(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=$t(e,r)||n,t&&(o=t(o,n,e)),o}function te(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],l=i.theme,c=$t(l,n)||{};return je(i,s,p=>{let g=kt(c,o,p);return p===g&&typeof p=="string"&&(g=kt(c,o,`${t}${p==="default"?"":jt(p)}`,p)),r===!1?g:{[r]:g}})};return a.propTypes={},a.filterProps=[t],a}function ki(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Ci={m:"margin",p:"padding"},Ti={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ln={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ei=ki(e=>{if(e.length>2)if(Ln[e])e=Ln[e];else return[e];const[t,r]=e.split(""),n=Ci[t],o=Ti[r]||"";return Array.isArray(o)?o.map(a=>n+a):[n+o]}),lr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ur=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Il=[...lr,...ur];function et(e,t,r,n){var o;const a=(o=$t(e,t,!1))!=null?o:r;return typeof a=="number"?i=>typeof i=="string"?i:a*i:Array.isArray(a)?i=>typeof i=="string"?i:a[i]:typeof a=="function"?a:()=>{}}function Gn(e){return et(e,"spacing",8,"spacing")}function tt(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function _i(e,t){return r=>e.reduce((n,o)=>(n[o]=tt(t,r),n),{})}function Ni(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=Ei(r),a=_i(o,n),i=e[r];return je(e,i,a)}function Kn(e,t){const r=Gn(e.theme);return Object.keys(e).map(n=>Ni(e,t,n,r)).reduce(Xe,{})}function Y(e){return Kn(e,lr)}Y.propTypes={},Y.filterProps=lr;function J(e){return Kn(e,ur)}J.propTypes={},J.filterProps=ur;function Ai(e=8){if(e.mui)return e;const t=Gn({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function Ct(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(a=>{n[a]=o}),n),{}),r=n=>Object.keys(n).reduce((o,a)=>t[a]?Xe(o,t[a](n)):o,{});return r.propTypes={},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function me(e){return typeof e!="number"?e:`${e}px solid`}function ye(e,t){return te({prop:e,themeKey:"borders",transform:t})}const Mi=ye("border",me),Pi=ye("borderTop",me),Ri=ye("borderRight",me),Ii=ye("borderBottom",me),Di=ye("borderLeft",me),Vi=ye("borderColor"),zi=ye("borderTopColor"),Fi=ye("borderRightColor"),Ui=ye("borderBottomColor"),Li=ye("borderLeftColor"),Gi=ye("outline",me),Ki=ye("outlineColor"),Tt=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=et(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:tt(t,n)});return je(e,e.borderRadius,r)}return null};Tt.propTypes={},Tt.filterProps=["borderRadius"],Ct(Mi,Pi,Ri,Ii,Di,Vi,zi,Fi,Ui,Li,Tt,Gi,Ki);const Et=e=>{if(e.gap!==void 0&&e.gap!==null){const t=et(e.theme,"spacing",8,"gap"),r=n=>({gap:tt(t,n)});return je(e,e.gap,r)}return null};Et.propTypes={},Et.filterProps=["gap"];const _t=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=et(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:tt(t,n)});return je(e,e.columnGap,r)}return null};_t.propTypes={},_t.filterProps=["columnGap"];const Nt=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=et(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:tt(t,n)});return je(e,e.rowGap,r)}return null};Nt.propTypes={},Nt.filterProps=["rowGap"];const Wi=te({prop:"gridColumn"}),Bi=te({prop:"gridRow"}),Hi=te({prop:"gridAutoFlow"}),qi=te({prop:"gridAutoColumns"}),Zi=te({prop:"gridAutoRows"}),Yi=te({prop:"gridTemplateColumns"}),Ji=te({prop:"gridTemplateRows"}),Qi=te({prop:"gridTemplateAreas"}),Xi=te({prop:"gridArea"});Ct(Et,_t,Nt,Wi,Bi,Hi,qi,Zi,Yi,Ji,Qi,Xi);function Fe(e,t){return t==="grey"?t:e}const es=te({prop:"color",themeKey:"palette",transform:Fe}),ts=te({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fe}),rs=te({prop:"backgroundColor",themeKey:"palette",transform:Fe});Ct(es,ts,rs);function ue(e){return e<=1&&e!==0?`${e*100}%`:e}const ns=te({prop:"width",transform:ue}),fr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,o;const a=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||cr[r];return a?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${a}${e.theme.breakpoints.unit}`}:{maxWidth:a}:{maxWidth:ue(r)}};return je(e,e.maxWidth,t)}return null};fr.filterProps=["maxWidth"];const os=te({prop:"minWidth",transform:ue}),as=te({prop:"height",transform:ue}),is=te({prop:"maxHeight",transform:ue}),ss=te({prop:"minHeight",transform:ue});te({prop:"size",cssProperty:"width",transform:ue}),te({prop:"size",cssProperty:"height",transform:ue});const cs=te({prop:"boxSizing"});Ct(ns,fr,os,as,is,ss,cs);const rt={border:{themeKey:"borders",transform:me},borderTop:{themeKey:"borders",transform:me},borderRight:{themeKey:"borders",transform:me},borderBottom:{themeKey:"borders",transform:me},borderLeft:{themeKey:"borders",transform:me},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:me},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Tt},color:{themeKey:"palette",transform:Fe},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fe},backgroundColor:{themeKey:"palette",transform:Fe},p:{style:J},pt:{style:J},pr:{style:J},pb:{style:J},pl:{style:J},px:{style:J},py:{style:J},padding:{style:J},paddingTop:{style:J},paddingRight:{style:J},paddingBottom:{style:J},paddingLeft:{style:J},paddingX:{style:J},paddingY:{style:J},paddingInline:{style:J},paddingInlineStart:{style:J},paddingInlineEnd:{style:J},paddingBlock:{style:J},paddingBlockStart:{style:J},paddingBlockEnd:{style:J},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:Et},rowGap:{style:Nt},columnGap:{style:_t},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ue},maxWidth:{style:fr},minWidth:{transform:ue},height:{transform:ue},maxHeight:{transform:ue},minHeight:{transform:ue},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ls(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function us(e,t){return typeof e=="function"?e(t):e}function Wn(){function e(r,n,o,a){const i={[r]:n,theme:o},s=a[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:c,transform:p,style:g}=s;if(n==null)return null;if(c==="typography"&&n==="inherit")return{[r]:n};const f=$t(o,c)||{};return g?g(i):je(i,n,b=>{let h=kt(f,p,b);return b===h&&typeof b=="string"&&(h=kt(f,p,`${r}${b==="default"?"":jt(b)}`,b)),l===!1?h:{[l]:h}})}function t(r){var n;const{sx:o,theme:a={}}=r||{};if(!o)return null;const i=(n=a.unstable_sxConfig)!=null?n:rt;function s(l){let c=l;if(typeof l=="function")c=l(a);else if(typeof l!="object")return l;if(!c)return null;const p=ji(a.breakpoints),g=Object.keys(p);let f=p;return Object.keys(c).forEach(b=>{const h=us(c[b],a);if(h!=null)if(typeof h=="object")if(i[b])f=Xe(f,e(b,h,a,i));else{const y=je({theme:a},h,d=>({[b]:d}));ls(y,h)?f[b]=t({sx:h,theme:a}):f=Xe(f,y)}else f=Xe(f,e(b,h,a,i))}),$i(g,f)}return Array.isArray(o)?o.map(s):s(o)}return t}const nt=Wn();nt.filterProps=["sx"];function Bn(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const fs=["breakpoints","palette","spacing","shape"];function ot(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:a={}}=e,i=pe(e,fs),s=Fn(r),l=Ai(o);let c=ge({breakpoints:s,direction:"ltr",components:{},palette:E({mode:"light"},n),spacing:l,shape:E({},Si,a)},i);return c.applyStyles=Bn,c=t.reduce((p,g)=>ge(p,g),c),c.unstable_sxConfig=E({},rt,i?.unstable_sxConfig),c.unstable_sx=function(p){return nt({sx:p,theme:this})},c}const ps=Object.freeze(Object.defineProperty({__proto__:null,default:ot,private_createBreakpoints:Fn,unstable_applyStyles:Bn},Symbol.toStringTag,{value:"Module"})),ds=Te(ps),ms=["sx"],ys=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=(t=e==null||(r=e.theme)==null?void 0:r.unstable_sxConfig)!=null?t:rt;return Object.keys(e).forEach(a=>{o[a]?n.systemProps[a]=e[a]:n.otherProps[a]=e[a]}),n};function pr(e){const{sx:t}=e,r=pe(e,ms),{systemProps:n,otherProps:o}=ys(r);let a;return Array.isArray(t)?a=[n,...t]:typeof t=="function"?a=(...i)=>{const s=t(...i);return Se(s)?E({},n,s):n}:a=E({},n,t),E({},o,{sx:a})}const hs=Object.freeze(Object.defineProperty({__proto__:null,default:nt,extendSxProp:pr,unstable_createStyleFunctionSx:Wn,unstable_defaultSxConfig:rt},Symbol.toStringTag,{value:"Module"})),gs=Te(hs);var Ue=nn;Object.defineProperty(qe,"__esModule",{value:!0});var bs=qe.default=Ns;qe.shouldForwardProp=At,qe.systemDefaultTheme=void 0;var he=Ue(Ca()),dr=Ue(Ta()),Hn=$s(ui),vs=pi,Dl=Ue(mi),Vl=Ue(xi),xs=Ue(ds),Os=Ue(gs);const ws=["ownerState"],Ss=["variants"],js=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function qn(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(qn=function(n){return n?r:t})(e)}function $s(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=qn(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function ks(e){return Object.keys(e).length===0}function Cs(e){return typeof e=="string"&&e.charCodeAt(0)>96}function At(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ts=qe.systemDefaultTheme=(0,xs.default)(),Es=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Mt({defaultTheme:e,theme:t,themeId:r}){return ks(t)?e:t[r]||t}function _s(e){return e?(t,r)=>r[e]:null}function Pt(e,t){let{ownerState:r}=t,n=(0,dr.default)(t,ws);const o=typeof e=="function"?e((0,he.default)({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>Pt(a,(0,he.default)({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let i=(0,dr.default)(o,Ss);return a.forEach(s=>{let l=!0;typeof s.props=="function"?l=s.props((0,he.default)({ownerState:r},n,r)):Object.keys(s.props).forEach(c=>{r?.[c]!==s.props[c]&&n[c]!==s.props[c]&&(l=!1)}),l&&(Array.isArray(i)||(i=[i]),i.push(typeof s.style=="function"?s.style((0,he.default)({ownerState:r},n,r)):s.style))}),i}return o}function Ns(e={}){const{themeId:t,defaultTheme:r=Ts,rootShouldForwardProp:n=At,slotShouldForwardProp:o=At}=e,a=i=>(0,Os.default)((0,he.default)({},i,{theme:Mt((0,he.default)({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{(0,Hn.internal_processStyles)(i,m=>m.filter($=>!($!=null&&$.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:p,skipSx:g,overridesResolver:f=_s(Es(c))}=s,b=(0,dr.default)(s,js),h=p!==void 0?p:c&&c!=="Root"&&c!=="root"||!1,y=g||!1;let d,x=At;c==="Root"||c==="root"?x=n:c?x=o:Cs(i)&&(x=void 0);const S=(0,Hn.default)(i,(0,he.default)({shouldForwardProp:x,label:d},b)),j=m=>typeof m=="function"&&m.__emotion_real!==m||(0,vs.isPlainObject)(m)?$=>Pt(m,(0,he.default)({},$,{theme:Mt({theme:$.theme,defaultTheme:r,themeId:t})})):m,V=(m,...$)=>{let k=j(m);const W=$?$.map(j):[];l&&f&&W.push(w=>{const C=Mt((0,he.default)({},w,{defaultTheme:r,themeId:t}));if(!C.components||!C.components[l]||!C.components[l].styleOverrides)return null;const U=C.components[l].styleOverrides,Z={};return Object.entries(U).forEach(([oe,B])=>{Z[oe]=Pt(B,(0,he.default)({},w,{theme:C}))}),f(w,Z)}),l&&!h&&W.push(w=>{var C;const U=Mt((0,he.default)({},w,{defaultTheme:r,themeId:t})),Z=U==null||(C=U.components)==null||(C=C[l])==null?void 0:C.variants;return Pt({variants:Z},(0,he.default)({},w,{theme:U}))}),y||W.push(a);const re=W.length-$.length;if(Array.isArray(m)&&re>0){const w=new Array(re).fill("");k=[...m,...w],k.raw=[...m.raw,...w]}const Q=S(k,...W);return i.muiName&&(Q.muiName=i.muiName),Q};return S.withConfig&&(V.withConfig=S.withConfig),V}}const Zn=e=>e,As=()=>{let e=Zn;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Zn}}},Ms=As(),Ps={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 Yn(e,t,r="Mui"){const n=Ps[t];return n?`${r}-${n}`:`${Ms.generate(e)}-${t}`}function Rs(e,t){return E({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const at={black:"#000",white:"#fff"},Is={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"},Le={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ge={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},it={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ke={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},We={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Be={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ds=["mode","contrastThreshold","tonalOffset"],Jn={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:at.white,default:at.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}},mr={text:{primary:at.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:at.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 Qn(e,t,r,n){const o=n.light||n,a=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=sn(e.main,o):t==="dark"&&(e.dark=an(e.main,a)))}function Vs(e="light"){return e==="dark"?{main:Ke[200],light:Ke[50],dark:Ke[400]}:{main:Ke[700],light:Ke[400],dark:Ke[800]}}function zs(e="light"){return e==="dark"?{main:Le[200],light:Le[50],dark:Le[400]}:{main:Le[500],light:Le[300],dark:Le[700]}}function Fs(e="light"){return e==="dark"?{main:Ge[500],light:Ge[300],dark:Ge[700]}:{main:Ge[700],light:Ge[400],dark:Ge[800]}}function Us(e="light"){return e==="dark"?{main:We[400],light:We[300],dark:We[700]}:{main:We[700],light:We[500],dark:We[900]}}function Ls(e="light"){return e==="dark"?{main:Be[400],light:Be[300],dark:Be[700]}:{main:Be[800],light:Be[500],dark:Be[900]}}function Gs(e="light"){return e==="dark"?{main:it[400],light:it[300],dark:it[700]}:{main:"#ed6c02",light:it[500],dark:it[900]}}function Ks(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=pe(e,Ds),a=e.primary||Vs(t),i=e.secondary||zs(t),s=e.error||Fs(t),l=e.info||Us(t),c=e.success||Ls(t),p=e.warning||Gs(t);function g(h){return ha(h,mr.text.primary)>=r?mr.text.primary:Jn.text.primary}const f=({color:h,name:y,mainShade:d=500,lightShade:x=300,darkShade:S=700})=>{if(h=E({},h),!h.main&&h[d]&&(h.main=h[d]),!h.hasOwnProperty("main"))throw new Error(Re(11,y?` (${y})`:"",d));if(typeof h.main!="string")throw new Error(Re(12,y?` (${y})`:"",JSON.stringify(h.main)));return Qn(h,"light",x,n),Qn(h,"dark",S,n),h.contrastText||(h.contrastText=g(h.main)),h},b={dark:mr,light:Jn};return ge(E({common:E({},at),mode:t,primary:f({color:a,name:"primary"}),secondary:f({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:p,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:c,name:"success"}),grey:Is,contrastThreshold:r,getContrastText:g,augmentColor:f,tonalOffset:n},b[t]),o)}const Ws=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Bs(e){return Math.round(e*1e5)/1e5}const Xn={textTransform:"uppercase"},eo='"Roboto", "Helvetica", "Arial", sans-serif';function Hs(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=eo,fontSize:o=14,fontWeightLight:a=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:p,pxToRem:g}=r,f=pe(r,Ws),b=o/14,h=g||(x=>`${x/c*b}rem`),y=(x,S,j,V,m)=>E({fontFamily:n,fontWeight:x,fontSize:h(S),lineHeight:j},n===eo?{letterSpacing:`${Bs(V/S)}em`}:{},m,p),d={h1:y(a,96,1.167,-1.5),h2:y(a,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(s,14,1.75,.4,Xn),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Xn),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ge(E({htmlFontSize:c,pxToRem:h,fontFamily:n,fontSize:o,fontWeightLight:a,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:l},d),f,{clone:!1})}const qs=.2,Zs=.14,Ys=.12;function q(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${qs})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Zs})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Ys})`].join(",")}const Js=["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)],Qs=["duration","easing","delay"],Xs={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)"},ec={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function to(e){return`${Math.round(e)}ms`}function tc(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function rc(e){const t=E({},Xs,e.easing),r=E({},ec,e.duration);return E({getAutoHeightDuration:tc,create:(n=["all"],o={})=>{const{duration:a=r.standard,easing:i=t.easeInOut,delay:s=0}=o,l=pe(o,Qs);return(Array.isArray(n)?n:[n]).map(c=>`${c} ${typeof a=="string"?a:to(a)} ${i} ${typeof s=="string"?s:to(s)}`).join(",")}},e,{easing:t,duration:r})}const nc={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},oc=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ac(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:a={}}=e,i=pe(e,oc);if(e.vars)throw new Error(Re(18));const s=Ks(n),l=ot(e);let c=ge(l,{mixins:Rs(l.breakpoints,r),palette:s,shadows:Js.slice(),typography:Hs(s,a),transitions:rc(o),zIndex:E({},nc)});return c=ge(c,i),c=t.reduce((p,g)=>ge(p,g),c),c.unstable_sxConfig=E({},rt,i?.unstable_sxConfig),c.unstable_sx=function(p){return nt({sx:p,theme:this})},c}const yr=ac(),hr="$$material";function ro(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const no=e=>ro(e)&&e!=="classes",oo=bs({themeId:hr,defaultTheme:yr,rootShouldForwardProp:no});function ic(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:Jt(t.components[r].defaultProps,n)}function sc(e){return Object.keys(e).length===0}function cc(e=null){const t=Ce.useContext(Dr);return!t||sc(t)?e:t}const lc=ot();function gr(e=lc){return cc(e)}function ao({props:e,name:t,defaultTheme:r,themeId:n}){let o=gr(r);return n&&(o=o[n]||o),ic({theme:o,name:t,props:e})}function io({props:e,name:t}){return ao({props:e,name:t,defaultTheme:yr,themeId:hr})}const uc=["ownerState"],fc=["variants"],pc=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function dc(e){return Object.keys(e).length===0}function mc(e){return typeof e=="string"&&e.charCodeAt(0)>96}function br(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const yc=ot(),hc=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Rt({defaultTheme:e,theme:t,themeId:r}){return dc(t)?e:t[r]||t}function gc(e){return e?(t,r)=>r[e]:null}function It(e,t){let{ownerState:r}=t,n=pe(t,uc);const o=typeof e=="function"?e(E({ownerState:r},n)):e;if(Array.isArray(o))return o.flatMap(a=>It(a,E({ownerState:r},n)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:a=[]}=o;let i=pe(o,fc);return a.forEach(s=>{let l=!0;typeof s.props=="function"?l=s.props(E({ownerState:r},n,r)):Object.keys(s.props).forEach(c=>{r?.[c]!==s.props[c]&&n[c]!==s.props[c]&&(l=!1)}),l&&(Array.isArray(i)||(i=[i]),i.push(typeof s.style=="function"?s.style(E({ownerState:r},n,r)):s.style))}),i}return o}function bc(e={}){const{themeId:t,defaultTheme:r=yc,rootShouldForwardProp:n=br,slotShouldForwardProp:o=br}=e,a=i=>nt(E({},i,{theme:Rt(E({},i,{defaultTheme:r,themeId:t}))}));return a.__mui_systemSx=!0,(i,s={})=>{An(i,m=>m.filter($=>!($!=null&&$.__mui_systemSx)));const{name:l,slot:c,skipVariantsResolver:p,skipSx:g,overridesResolver:f=gc(hc(c))}=s,b=pe(s,pc),h=p!==void 0?p:c&&c!=="Root"&&c!=="root"||!1,y=g||!1;let d,x=br;c==="Root"||c==="root"?x=n:c?x=o:mc(i)&&(x=void 0);const S=Nn(i,E({shouldForwardProp:x,label:d},b)),j=m=>typeof m=="function"&&m.__emotion_real!==m||Se(m)?$=>It(m,E({},$,{theme:Rt({theme:$.theme,defaultTheme:r,themeId:t})})):m,V=(m,...$)=>{let k=j(m);const W=$?$.map(j):[];l&&f&&W.push(w=>{const C=Rt(E({},w,{defaultTheme:r,themeId:t}));if(!C.components||!C.components[l]||!C.components[l].styleOverrides)return null;const U=C.components[l].styleOverrides,Z={};return Object.entries(U).forEach(([oe,B])=>{Z[oe]=It(B,E({},w,{theme:C}))}),f(w,Z)}),l&&!h&&W.push(w=>{var C;const U=Rt(E({},w,{defaultTheme:r,themeId:t})),Z=U==null||(C=U.components)==null||(C=C[l])==null?void 0:C.variants;return It({variants:Z},E({},w,{theme:U}))}),y||W.push(a);const re=W.length-$.length;if(Array.isArray(m)&&re>0){const w=new Array(re).fill("");k=[...m,...w],k.raw=[...m.raw,...w]}const Q=S(k,...W);return i.muiName&&(Q.muiName=i.muiName),Q};return S.withConfig&&(V.withConfig=S.withConfig),V}}const vc=bc();function so(e,t){var r,n;return Ce.isValidElement(e)&&t.indexOf((r=e.type.muiName)!=null?r:(n=e.type)==null||(n=n._payload)==null||(n=n.value)==null?void 0:n.muiName)!==-1}const xc=(e,t)=>e.filter(r=>t.includes(r)),He=(e,t,r)=>{const n=e.keys[0];Array.isArray(t)?t.forEach((o,a)=>{r((i,s)=>{a<=e.keys.length-1&&(a===0?Object.assign(i,s):i[e.up(e.keys[a])]=s)},o)}):t&&typeof t=="object"?(Object.keys(t).length>e.keys.length?e.keys:xc(e.keys,Object.keys(t))).forEach(o=>{if(e.keys.indexOf(o)!==-1){const a=t[o];a!==void 0&&r((i,s)=>{n===o?Object.assign(i,s):i[e.up(o)]=s},a)}}):(typeof t=="number"||typeof t=="string")&&r((o,a)=>{Object.assign(o,a)},t)};function $e(e){return e?`Level${e}`:""}function st(e){return e.unstable_level>0&&e.container}function co(e){return function(t){return`var(--Grid-${t}Spacing${$e(e.unstable_level)})`}}function vr(e){return function(t){return e.unstable_level===0?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${$e(e.unstable_level-1)})`}}function xr(e){return e.unstable_level===0?"var(--Grid-columns)":`var(--Grid-columns${$e(e.unstable_level-1)})`}const Oc=({theme:e,ownerState:t})=>{const r=co(t),n={};return He(e.breakpoints,t.gridSize,(o,a)=>{let i={};a===!0&&(i={flexBasis:0,flexGrow:1,maxWidth:"100%"}),a==="auto"&&(i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),typeof a=="number"&&(i={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${a} / ${xr(t)}${st(t)?` + ${r("column")}`:""})`}),o(n,i)}),n},wc=({theme:e,ownerState:t})=>{const r={};return He(e.breakpoints,t.gridOffset,(n,o)=>{let a={};o==="auto"&&(a={marginLeft:"auto"}),typeof o=="number"&&(a={marginLeft:o===0?"0px":`calc(100% * ${o} / ${xr(t)})`}),n(r,a)}),r},Sc=({theme:e,ownerState:t})=>{if(!t.container)return{};const r=st(t)?{[`--Grid-columns${$e(t.unstable_level)}`]:xr(t)}:{"--Grid-columns":12};return He(e.breakpoints,t.columns,(n,o)=>{n(r,{[`--Grid-columns${$e(t.unstable_level)}`]:o})}),r},jc=({theme:e,ownerState:t})=>{if(!t.container)return{};const r=vr(t),n=st(t)?{[`--Grid-rowSpacing${$e(t.unstable_level)}`]:r("row")}:{};return He(e.breakpoints,t.rowSpacing,(o,a)=>{var i;o(n,{[`--Grid-rowSpacing${$e(t.unstable_level)}`]:typeof a=="string"?a:(i=e.spacing)==null?void 0:i.call(e,a)})}),n},$c=({theme:e,ownerState:t})=>{if(!t.container)return{};const r=vr(t),n=st(t)?{[`--Grid-columnSpacing${$e(t.unstable_level)}`]:r("column")}:{};return He(e.breakpoints,t.columnSpacing,(o,a)=>{var i;o(n,{[`--Grid-columnSpacing${$e(t.unstable_level)}`]:typeof a=="string"?a:(i=e.spacing)==null?void 0:i.call(e,a)})}),n},kc=({theme:e,ownerState:t})=>{if(!t.container)return{};const r={};return He(e.breakpoints,t.direction,(n,o)=>{n(r,{flexDirection:o})}),r},Cc=({ownerState:e})=>{const t=co(e),r=vr(e);return E({minWidth:0,boxSizing:"border-box"},e.container&&E({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))&&E({padding:`calc(${r("row")} / 2) calc(${r("column")} / 2)`},(e.disableEqualOverflow||e.parentDisableEqualOverflow)&&{padding:`${r("row")} 0px 0px ${r("column")}`}))},Tc=e=>{const t=[];return Object.entries(e).forEach(([r,n])=>{n!==!1&&n!==void 0&&t.push(`grid-${r}-${String(n)}`)}),t},Ec=(e,t="xs")=>{function r(n){return n===void 0?!1:typeof n=="string"&&!Number.isNaN(Number(n))||typeof n=="number"&&n>0}if(r(e))return[`spacing-${t}-${String(e)}`];if(typeof e=="object"&&!Array.isArray(e)){const n=[];return Object.entries(e).forEach(([o,a])=>{r(a)&&n.push(`spacing-${o}-${String(a)}`)}),n}return[]},_c=e=>e===void 0?[]:typeof e=="object"?Object.entries(e).map(([t,r])=>`direction-${t}-${r}`):[`direction-xs-${String(e)}`],Nc=["className","children","columns","container","component","direction","wrap","spacing","rowSpacing","columnSpacing","disableEqualOverflow","unstable_level"],Ac=ot(),Mc=vc("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function Pc(e){return ao({props:e,name:"MuiGrid",defaultTheme:Ac})}function Rc(e={}){const{createStyledComponent:t=Mc,useThemeProps:r=Pc,componentName:n="MuiGrid"}=e,o=Ce.createContext(void 0),a=(l,c)=>{const{container:p,direction:g,spacing:f,wrap:b,gridSize:h}=l,y={root:["root",p&&"container",b!=="wrap"&&`wrap-xs-${String(b)}`,..._c(g),...Tc(h),...p?Ec(f,c.breakpoints.keys[0]):[]]};return tn(y,d=>Yn(n,d),{})},i=t(Sc,$c,jc,Oc,kc,Cc,wc),s=Ce.forwardRef(function(l,c){var p,g,f,b,h,y,d,x;const S=gr(),j=r(l),V=pr(j),m=Ce.useContext(o),{className:$,children:k,columns:W=12,container:re=!1,component:Q="div",direction:w="row",wrap:C="wrap",spacing:U=0,rowSpacing:Z=U,columnSpacing:oe=U,disableEqualOverflow:B,unstable_level:X=0}=V,Ne=pe(V,Nc);let xe=B;X&&B!==void 0&&(xe=l.disableEqualOverflow);const v={},O={},P={};Object.entries(Ne).forEach(([T,H])=>{S.breakpoints.values[T]!==void 0?v[T]=H:S.breakpoints.values[T.replace("Offset","")]!==void 0?O[T.replace("Offset","")]=H:P[T]=H});const A=(p=l.columns)!=null?p:X?void 0:W,_=(g=l.spacing)!=null?g:X?void 0:U,R=(f=(b=l.rowSpacing)!=null?b:l.spacing)!=null?f:X?void 0:Z,N=(h=(y=l.columnSpacing)!=null?y:l.spacing)!=null?h:X?void 0:oe,M=E({},V,{level:X,columns:A,container:re,direction:w,wrap:C,spacing:_,rowSpacing:R,columnSpacing:N,gridSize:v,gridOffset:O,disableEqualOverflow:(d=(x=xe)!=null?x:m)!=null?d:!1,parentDisableEqualOverflow:m}),D=a(M,S);let I=u.jsx(i,E({ref:c,as:Q,ownerState:M,className:en(D.root,$)},P,{children:Ce.Children.map(k,T=>{if(Ce.isValidElement(T)&&so(T,["Grid"])){var H;return Ce.cloneElement(T,{unstable_level:(H=T.props.unstable_level)!=null?H:X+1})}return T})}));return xe!==void 0&&xe!==(m??!1)&&(I=u.jsx(o.Provider,{value:xe,children:I})),I});return s.muiName="Grid",s}function Or({value:e,children:t}){return e?typeof t=="function"?u.jsx(u.Fragment,{children:t(e)}):u.jsx(u.Fragment,{children:t}):null}const lo={},ct={};function lt(e,t){try{const r=(lo[e]||(lo[e]=new Intl.DateTimeFormat("en-GB",{timeZone:e,hour:"numeric",timeZoneName:"longOffset"}).format))(t).split("GMT")[1]||"";return r in ct?ct[r]:uo(r,r.split(":"))}catch{if(e in ct)return ct[e];const r=e?.match(Ic);return r?uo(e,r.slice(1)):NaN}}const Ic=/([+-]\d\d):?(\d\d)?/;function uo(e,t){const r=+t[0],n=+(t[1]||0);return ct[e]=r>0?r*60+n:r*60-n}class ke extends Date{constructor(...t){super(),t.length>1&&typeof t[t.length-1]=="string"&&(this.timeZone=t.pop()),this.internal=new Date,isNaN(lt(this.timeZone,this))?this.setTime(NaN):t.length?typeof t[0]=="number"&&(t.length===1||t.length===2&&typeof t[1]!="number")?this.setTime(t[0]):typeof t[0]=="string"?this.setTime(+new Date(t[0])):t[0]instanceof Date?this.setTime(+t[0]):(this.setTime(+new Date(...t)),po(this),wr(this)):this.setTime(Date.now())}static tz(t,...r){return r.length?new ke(...r,t):new ke(Date.now(),t)}withTimeZone(t){return new ke(+this,t)}getTimezoneOffset(){return-lt(this.timeZone,this)}setTime(t){return Date.prototype.setTime.apply(this,arguments),wr(this),+this}[Symbol.for("constructDateFrom")](t){return new ke(+new Date(t),this.timeZone)}}const fo=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!fo.test(e))return;const t=e.replace(fo,"$1UTC");ke.prototype[t]&&(e.startsWith("get")?ke.prototype[e]=function(){return this.internal[t]()}:(ke.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),Dc(this),+this},ke.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),wr(this),+this}))});function wr(e){e.internal.setTime(+e),e.internal.setUTCMinutes(e.internal.getUTCMinutes()-e.getTimezoneOffset())}function Dc(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),po(e)}function po(e){const t=lt(e.timeZone,e),r=new Date(+e);r.setUTCHours(r.getUTCHours()-1);const n=-new Date(+e).getTimezoneOffset(),o=-new Date(+r).getTimezoneOffset(),a=n-o,i=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();a&&i&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+a);const s=n-t;s&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+s);const l=lt(e.timeZone,e),c=-new Date(+e).getTimezoneOffset()-l,p=l!==t,g=c-s;if(p&&g){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+g);const f=lt(e.timeZone,e),b=l-f;b&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+b),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+b))}}const Vc=e=>{let t=new Date(Number(e));if(!e){const a=new Date;t=new Date(a.getFullYear(),a.getMonth(),a.getDate())}const r=String(t.getDate()).padStart(2,"0"),n=String(t.getMonth()+1).padStart(2,"0"),o=t.getFullYear();return[n,r,o].join("/")},zc=(e,t)=>new Date(Number(e)).toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",...t}),Sr=Rc({createStyledComponent:oo("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>io({props:e,name:"MuiGrid2"})});function mo(){return{enqueueSnackbar:(e,t="success",r)=>{Xo(e,{severity:t,variant:"customAlertComponent",persist:!0,...r})},closeSnackbar:zr}}const Fc=No(({id:e,message:t,severity:r,alertAction:n,sx:o,showCloseIcon:a=!0,persist:i,hideIconVariant:s,autoHideDuration:l,anchorOrigin:c,iconVariant:p,...g},f)=>u.jsx(Qo,{ref:f,...g,children:u.jsx(ko,{severity:r,action:u.jsxs(Ae,{ml:1,children:[u.jsx(Or,{value:n,children:u.jsx(jr,{size:"small",onClick:()=>{var b;return e&&((b=n?.onAction)==null?void 0:b.call(n,e))},color:"inherit",children:n?.icon})}),u.jsx(Or,{value:!n&&a,children:u.jsx(jr,{size:"small",onClick:()=>{zr(e)},color:"inherit",children:u.jsx(Jo,{})})})]}),sx:{alignItems:"center",width:"320px",...o},children:t})}));function Uc({entry:e,payload:t,showUuid:r=!0}){const n=Vt(f=>{var b,h,y;return(y=(h=(b=f.payload)==null?void 0:b.data)==null?void 0:h.reduce)==null?void 0:y.call(h,(d,x)=>d+x.value,0)},[]),o=Vt(f=>{const b=new Kt(n(f)||0),h=t?.reduce((x,S)=>x+n(S),0)||0,y=new Kt(h),d=Number(b.div(y).times(100).toFixed(2,Kt.ROUND_DOWN));return isNaN(d)||!isFinite(d)?0:d},[n,t]),a=zt(()=>n(e),[e,n]),i=Wt(a),s=zt(()=>Number(o(e)),[e,o]),l=Wt(s),c=Vt(f=>Math.floor(f).toLocaleString(),[]),p=Go({type:"text/plain"}),g=mo();return u.jsxs(Wo,{component:"li",direction:"row",spacing:1,sx:{color:e.color},layout:"position",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[u.jsx(Ae,{sx:{width:"3px",height:"100%",backgroundColor:e.color,borderRadius:3}}),u.jsxs(Me,{children:[u.jsxs(Oe,{component:"p",variant:"caption",children:[u.jsx(Me,{component:"span",display:"inline-flex",mr:.5,children:u.jsx(Ir,{from:i??0,to:a,map:c,children:"0"})}),u.jsxs(Me,{component:"span",direction:"row",display:"inline-flex",children:["(",u.jsx(Ir,{from:l??0,to:s,map:c,children:"0"}),"%)"]})]}),u.jsx(Oe,{variant:"body1",children:e.value}),e.payload.integrationType&&u.jsx(Oe,{variant:"body2",children:e.payload.integrationType}),r&&e.payload.uuid&&u.jsxs(Oe,{variant:"body2",sx:{cursor:"pointer","&:hover":{textDecoration:"underline"}},onClick:()=>{p.copy(e.payload.uuid).catch(()=>{}),g.enqueueSnackbar("UUID copied to clipboard","success")},children:[e.payload.uuid.slice(0,5),"..."]})]})]})}function yo(e){const{payload:t}=e;return u.jsx(Sr,{container:!0,direction:"row",component:"ul",gap:2,sx:{mt:2,justifyContent:"flex-start",alignItem:"center",flexWrap:"wrap"},children:u.jsx(Lo,{children:t?.map(r=>u.jsx(Sr,{children:u.jsx(Uc,{entry:r,payload:t,showUuid:e.showUuid})},`item-${r.payload.uuid}-${r.value}`))})})}function ho(e){const t=we();return u.jsx(Ae,{sx:{width:"100%",height:"100%",...e.sx},children:u.jsx(dt,{children:u.jsxs(Tr,{width:500,height:300,margin:{top:5,right:60,left:20,bottom:5},children:[u.jsx(Ft,{vertical:!1}),u.jsx(Ut,{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:r=>Pr(r,{timeZone:e.filter.timezone,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1,tickLine:!1,fontSize:12,tickMargin:12}),u.jsx(Lt,{textAnchor:"end",dataKey:"value",tickLine:!1,tickFormatter:r=>Number(r).toLocaleString(),allowDecimals:!1,domain:[1,"dataMax"],children:e.label&&u.jsx(Po,{value:e.label,angle:-90,position:"insideLeft",style:{textAnchor:"middle"}})}),u.jsx(Gt,{cursor:{stroke:t.palette.neutral.main,strokeWidth:1},formatter:r=>Number(r).toLocaleString(),labelFormatter:r=>Rr(r,{timeZone:e.filter.timezone,hour12:!1})}),u.jsx(Er,{content:u.jsx(yo,{showUuid:e.showUuid})}),e.data.map(r=>Ao(_r,{uuid:r.uuid,integrationType:r.integrationType,key:r.uuid,name:r.name,dataKey:"value",data:r.chartData,type:"monotone",stroke:r.color,strokeWidth:2}))]})})})}const Lc=(e,t)=>{const r=new Map;return e.forEach(n=>{n.chartData.forEach(o=>{const a=new Date(o.date).getTime().toString();if(!r.has(a)){const i={date:a,total:0,diff:0,totalKey:"",originalTotal:0};t.forEach(({key:s})=>{i[s]=0,i[`${s}_absolute`]=0}),r.set(a,i)}t.forEach(({key:i})=>{const s=r.get(a),l=o[i],c=typeof l=="string"?l.trim()===""?0:parseInt(l,10):typeof l=="number"?l:0;s[`${i}_absolute`]=c,s[i]=0})})}),Array.from(r.values()).map(n=>{var o;const a=(o=t.find(l=>l.isTotal))==null?void 0:o.key,i=t.filter(l=>!l.isTotal).map(l=>l.key);if(!a||i.length===0)return n;const s=n[`${a}_absolute`];return n.originalTotal=s,n.total=s,n[a]=100,i.forEach(l=>{const c=n[`${l}_absolute`];let p;s===0?(p="100.00",n[l]=100):(p=s>0?new mt(c.toString()).div(s).mul(100).toFixed(2,mt.ROUND_DOWN):"0.00",n[l]=parseFloat(p))}),{...n,totalKey:a}}).sort((n,o)=>parseInt(n.date)-parseInt(o.date))};function go(e){const t=we(),r=zt(()=>e.data?Lc(e.data,e.keyValues):[],[e.data,e.keyValues]);return u.jsx(Ae,{sx:{width:"100%",height:"100%",...e.sx},children:u.jsx(dt,{width:"100%",height:"100%",children:u.jsxs(Tr,{data:r,width:500,height:300,margin:{top:5,right:60,left:20,bottom:5},children:[u.jsx(Ft,{strokeDasharray:"3 3"}),u.jsx(Ut,{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:n=>Pr(n,{timeZone:e.filter.timezone,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1,tickLine:!1,fontSize:12,tickMargin:12}),u.jsx(Lt,{textAnchor:"end",tickLine:!1,tickFormatter:n=>`${n.toFixed(2)}%`}),u.jsx(Gt,{cursor:{stroke:t.palette.neutral.main,strokeWidth:1},labelFormatter:n=>Rr(n,{timeZone:e.filter.timezone,hour12:!1}),formatter:(n,o,a)=>{const i=a.payload.totalKey,s=a.dataKey,l=s===i,c=a.payload[`${s}_absolute`],p=a.payload.originalTotal,g=l?null:p===0?"100.00":new mt(c.toString()).div(p).mul(100).toFixed(2,mt.ROUND_DOWN);return[g?`${c.toLocaleString()} (${g}%)`:`${c.toLocaleString()} (TOTAL)`,o]}}),e.keyValues.sort((n,o)=>n.isTotal?-1:o.isTotal?1:0).map(n=>u.jsx(_r,{type:"monotone",dataKey:n.key,name:n.name,stroke:n.color,strokeWidth:2,dot:!1},n.key))]})})})}function ut(e){const t=Wt(e.value),{ref:r}=ea({from:t??0,to:e.value,duration:1,map:e.map});return u.jsx($r,{sx:{p:3,flex:1,...e.sx},children:u.jsxs(Me,{spacing:1,alignItems:"center",children:[u.jsx(Oe,{ref:r,variant:"h4",fontWeight:"bold",children:e.initialValue}),u.jsx(Oe,{color:"text.secondary",children:e.label})]})})}const bo={margin:{top:5,right:30,left:20,bottom:5}},Gc={tickLine:!1,fontSize:12,tickMargin:12},Kc={textAnchor:"end",tickLine:!1};function Dt({data:e,series:t,xAxis:r,yAxis:n,tooltip:o,bar:a,referenceLines:i,referenceAreas:s,sx:l}){const c=we(),p=f=>!f.isFront,g=f=>!!f.isFront;return u.jsx(Ae,{sx:{width:"100%",height:"100%",...l},children:u.jsx(dt,{children:u.jsxs(Ro,{data:e,...bo,children:[u.jsx(Ft,{strokeDasharray:"3 3",vertical:!1}),u.jsx(Ut,{...Gc,...r}),u.jsx(Lt,{...Kc,...n}),u.jsx(Gt,{cursor:{stroke:c.palette.neutral.main,strokeWidth:1},...o}),i?.filter(p).map((f,b)=>u.jsx(Nr,{...f},f.label??b)),s?.filter(p).map((f,b)=>u.jsx(Ar,{...f},f.label??b)),t.map(f=>u.jsx(Io,{name:f.key,dataKey:f.dataKey,fill:f.color,stackId:"stack",isAnimationActive:!1,...a},f.key)),i?.filter(g).map((f,b)=>u.jsx(Nr,{...f},f.label??b)),s?.filter(g).map((f,b)=>u.jsx(Ar,{...f},f.label??b))]})})})}const Pe=()=>({regularChartWrapper:{justifyContent:"center",alignItems:"center",width:"100%",height:500},smallChartWrapper:{justifyContent:"center",alignItems:"center",width:"100%",height:300}});function vo(e){return u.jsx(Oe,{variant:"h6",fontWeight:"900",...e})}function xo(e){return u.jsx(Oe,{variant:"h6",fontWeight:"400",...e})}function Ee(){const e=Pe();return u.jsxs(Me,{sx:e.smallChartWrapper,children:[u.jsx(vo,{children:"No data available for the selected period and brands"}),u.jsx(xo,{children:"Please select a different period or brand"})]})}function _e(){const e=Pe();return u.jsxs(Me,{sx:e.smallChartWrapper,children:[u.jsx(vo,{children:"Loading..."}),u.jsx(xo,{children:"Preparing your chart data"})]})}function Wc({data:e,threshold:t=120,isLoading:r,isFetching:n,isSuccess:o,sx:a}){const i=we(),s=Pe(),l=Object.entries(e??{}).map(([p,g])=>({key:p,[p]:g})),c=l.map(({key:p})=>({key:p,dataKey:p,color:i.palette.error.light}));return r?u.jsx(_e,{}):!e||Object.keys(e).length===0||!o?u.jsx(Ee,{}):u.jsx(Dt,{sx:{...s.smallChartWrapper,opacity:n?.4:1,...a},data:l,series:c,xAxis:{tickLine:!1,dataKey:"key"},yAxis:{tickLine:!1,domain:[0,`dataMax + ${t>0?t+5:0}`]},tooltip:{labelFormatter:p=>"Total"}})}function Bc({data:e,threshold:t=100,isLoading:r=!1,isFetching:n=!1,isSuccess:o=!0,sx:a}){const i=we(),s=Pe(),l=Object.entries(e??{}).map(([p,g])=>({key:p,[p]:g})),c=l.map(({key:p})=>({key:p,dataKey:p,color:i.palette.warning.light}));return r?u.jsx(_e,{}):!e||Object.keys(e).length===0||!o?u.jsx(Ee,{}):u.jsx(Dt,{sx:{...s.smallChartWrapper,opacity:n?.4:1,...a},data:l,series:c,xAxis:{tickLine:!1,dataKey:"key"},yAxis:{tickLine:!1,domain:[0,`dataMax + ${t>0?t+5:0}`]},tooltip:{labelFormatter:p=>"Total"}})}function Oo({payload:e=[],hiddenItems:t,onToggle:r,legendLabel:n}){return u.jsx(Ae,{sx:{display:"flex",justifyContent:"center",gap:"20px",paddingTop:"20px"},children:e.map((o,a)=>{const i=t.has(o.payload.name);return u.jsxs("div",{style:{display:"flex",alignItems:"center",cursor:"pointer",opacity:i?.4:1},onClick:()=>{r?.(o.payload)},children:[u.jsx("div",{style:{width:"12px",height:"12px",backgroundColor:o.color,marginRight:"8px",borderRadius:"2px"}}),u.jsx("span",{style:{color:o.color},children:n?`${n}: ${o.value}`:o.value})]},`legend-${a}`)})})}const Hc=e=>{const t=Math.PI/180,{cx:r,cy:n,midAngle:o,innerRadius:a,outerRadius:i,startAngle:s,endAngle:l,fill:c,payload:p,percent:g,value:f,valueText:b,valuePercentage:h,needleVisible:y,customText:d,allActive:x}=e,S=Math.sin(-t*o),j=Math.cos(-t*o),V=r+(i+5)*j,m=n+(i+5)*S,$=r+(i+15)*j,k=n+(i+15)*S,W=$+(j>=0?1:-1)*22,re=k,Q=j>=0?"start":"end",w=f.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:0}),C=()=>y||x?null:u.jsx("text",{x:r,y:n,dy:8,textAnchor:"middle",fill:"#333",fontSize:14,children:p.name});return u.jsxs("g",{children:[C(),u.jsx(Mr,{cx:r,cy:n,innerRadius:a,outerRadius:i,startAngle:s,endAngle:l,fill:c}),u.jsx(Mr,{cx:r,cy:n,startAngle:s,endAngle:l,innerRadius:i+2,outerRadius:i+6,fill:c}),u.jsx("path",{d:`M${V},${m}L${$},${k}L${W},${re}`,stroke:c,fill:"none"}),u.jsx("circle",{cx:W,cy:re,r:2,fill:c,stroke:"none"}),u.jsx("text",{x:W+(j>=0?1:-1)*12,y:re,textAnchor:Q,fill:"#333",fontSize:12,children:d||(b?`${b} ${w}`:w)}),h&&u.jsxs("text",{x:W+(j>=0?1:-1)*12,y:re,dy:16,textAnchor:Q,fill:"#999",fontSize:11,children:[`${(g*100).toFixed(2)}%`," (",w,")"]})]})},qc=e=>{const{value:t,data:r,color:n,innerRadius:o,outerRadius:a,boxDimensions:i,legendDimensions:s,valueText:l}=e,c=Math.PI/180;let p=0;r.forEach(C=>{p+=C.value});const g=i?i.width/2:150,f=(i?i.height/2:200)-s.height/2,b=180*(1-Math.max(0,Math.min(1,t/p))),h=(Number(o)+2*Number(a))/3,y=Math.sin(-c*b),d=Math.cos(-c*b),x=5,S=g-x,j=f,V=S+x*y,m=j-x*d,$=S-x*y,k=j+x*d,W=S+h*d,re=j+h*y,Q=t.toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:0}),w=l??Q;return u.jsxs(u.Fragment,{children:[u.jsx("circle",{cx:S,cy:j,r:x,fill:n,stroke:"none",style:{pointerEvents:"none"}},"needle-circle"),u.jsx("path",{d:`M${V} ${m}L${$} ${k} L${W} ${re} L${V} ${m}`,stroke:"none",fill:n,style:{pointerEvents:"none"}},"needle-path"),u.jsx("text",{x:S+x,y:j+26,textAnchor:"middle",fill:"#333",fontSize:12,children:w},"needle-value")]})},Zc=(e,t)=>({Allow:t.palette.success.main,Flag:t.palette.warning.main,Block:t.palette.error.main})[e]??t.palette.primary.main;function wo({data:e,sx:t,legendLabel:r,legendToggle:n=!1,valueText:o="",valuePercentage:a=!0,pie:i,needleVisible:s=!1,needleValue:l,needleColor:c="#aaa",allActive:p=!1}){const{innerRadius:g=60,outerRadius:f=100}=i??{},b=we(),[h,y]=pt(void 0),[d,x]=pt(new Set),S=Mo(null),[j,V]=pt(null),[m,$]=pt(null),k=(w,C)=>{p||y(C)},W=()=>{p||y(void 0)},re=w=>{n&&w&&x(C=>{const U=new Set(C);return U.has(w.name)?U.delete(w.name):U.size<e.length-1&&U.add(w.name),U})},Q=e.map((w,C)=>({...w,index:C,value:d.has(w.name)?0:w.value}));return Cr(()=>{const w=S.current;if(!w)return;const C=new ResizeObserver(Z=>{var oe;const B=(oe=Z[0])==null?void 0:oe.contentRect;B&&V(B)});C.observe(w);const U=w.getBoundingClientRect();return V(U),()=>{C.disconnect()}},[]),Cr(()=>{var w;const C=(w=S.current)==null?void 0:w.querySelector(".recharts-legend-wrapper");if(!C){const oe=setInterval(()=>{var B;const X=(B=S.current)==null?void 0:B.querySelector(".recharts-legend-wrapper");if(X){const Ne=X.getBoundingClientRect();$(Ne),clearInterval(oe)}},100);return()=>{clearInterval(oe)}}const U=new ResizeObserver(oe=>{var B;const X=(B=oe[0])==null?void 0:B.contentRect;X&&$(X)});U.observe(C);const Z=C.getBoundingClientRect();return $(Z),()=>{U.disconnect()}},[]),u.jsx(Ae,{ref:S,sx:{width:"100%",height:"100%","& g":{outline:"none"},...t},children:u.jsx(dt,{children:u.jsxs(Do,{...bo,children:[u.jsx(Vo,{data:Q,nameKey:"name",dataKey:"value",innerRadius:g,outerRadius:f,activeIndex:p?Q.filter(w=>w.value>0).map(w=>w.index):h,activeShape:w=>Hc({...w,valueText:o,valuePercentage:a,needleVisible:s,allActive:p}),paddingAngle:0,onMouseEnter:k,onMouseLeave:W,...i,children:Q.map(w=>u.jsx(zo,{fill:w.color??Zc(w.name,b),opacity:d.has(w.name)?.5:1,stroke:"none"},w.name))}),u.jsx(Er,{content:u.jsx(Oo,{legendLabel:r,hiddenItems:d,onToggle:re})}),s&&l!==void 0&&j&&m&&qc({data:Q,value:l,color:c,innerRadius:g,outerRadius:f,boxDimensions:j,legendDimensions:m,valueText:o})]})})})}function Yc({data:e,score:t=200,legendLabel:r,isLoading:n,isFetching:o,isSuccess:a,sx:i}){const s=we(),l=Pe();if(n)return u.jsx(_e,{});if(!e||e.length<=0||!a)return u.jsx(Ee,{});const c=[{name:"Allow",customText:"0-299",value:e[0].value,color:s.palette.primary.main},{name:"Flag",customText:"300-599",value:e[1].value,color:s.palette.warning.main},{name:"Block",customText:"Over 600",value:e[2].value,color:s.palette.error.main}];return u.jsx(wo,{data:c,legendToggle:!0,needleValue:t,legendLabel:r,allActive:!0,sx:{...l.smallChartWrapper,opacity:o?.4:1,...i}})}function Jc({data:e,isLoading:t,isFetching:r,isSuccess:n,sx:o}){const a=we(),i=Pe(),s=(c=>{const p={};return c.forEach(g=>{Object.entries(g).forEach(([f,b])=>{const h=parseInt(f);h<=1e3&&(p[h]=(p[h]||0)+b)})}),Array.from({length:1001},(g,f)=>({key:f.toString(),value:p[f]||0}))})(e),l=[{key:"Risk Score",dataKey:"value",color:a.palette.error.main}];return t?u.jsx(_e,{}):!e||Object.keys(e).length===0||!n?u.jsx(Ee,{}):u.jsx(Dt,{data:s,series:l,sx:{...i.smallChartWrapper,opacity:r?.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:(c,p,g)=>[c,g.payload.key]},referenceAreas:[{x1:0,x2:299,fill:"#ffffff00",isFront:!1,label:"Allow"},{x1:300,x2:600,fill:a.palette.warning.light,isFront:!1,label:"Flag"},{x1:600,fill:a.palette.error.light,isFront:!1,label:"Block"}]})}function Qc({data:e,isLoading:t,isFetching:r,isSuccess:n,filter:o,sx:a}){var i,s;const l=we(),c=Pe(),p={oneClickCreated:{key:"oneClickCreated",name:"Started",color:l.palette.neutral.main,isTotal:!0},oneClickSuccess:{key:"oneClickSuccess",name:"Finished",color:l.palette.primary.main}};return t?u.jsx(_e,{}):!e.length||!((s=(i=e[0])==null?void 0:i.chartData)!=null&&s.length)||!n?u.jsx(Ee,{}):u.jsx(go,{data:e,keyValues:Object.values(p),filter:o,sx:{...c.smallChartWrapper,opacity:r?.4:1,...a}})}const Xc={chartWrapper:{justifyContent:"center",alignItems:"center",width:"100%",height:500}};function el({data:e,isLoading:t,isFetching:r,isSuccess:n,filter:o}){return t?u.jsx(_e,{}):!e.length||!n?u.jsx(Ee,{}):u.jsx(ho,{label:"Uniques",data:e,filter:o,sx:{...Xc.chartWrapper,opacity:r?.4:1}})}function tl(e){const{brands:t,data:r,keyValue:n}=e,o=t.flatMap(({_raw:a})=>{var i;const s=r?.find(c=>c.brandUuid===a.brandUuid),l=(s?.interval??[]).map(c=>({date:+new Date(c.date),value:Number(c[n]||0)})).filter(c=>e.filterOutZeroValues?c.value>0:!0);return{uuid:a.brandUuid,name:a.brandName,integrationType:Vr(a.integrationType),color:((i=a.additionalData)==null?void 0:i.primaryColor)??Fo(a.brandUuid),chartData:l}});return Uo.chain(o).sortBy(a=>a.name).toArray().value()}const rl=({data:e,brands:t})=>e.flatMap(r=>{const n=t.find(o=>o.brandUuid===r.brandUuid);return!n||!r.interval?[]:r.interval.map(o=>({month:o.date,brandUuid:r.brandUuid,brand:n.brandName,integrationType:Vr(n.integrationType),total:o.oneClickCreated,finished:o.oneClickSuccess,totalCost:o.totalCost}))}),nl=({data:e,isLoading:t,showTotalCost:r=!0})=>t?u.jsx(_e,{}):e!=null&&e.length?u.jsx(Co,{component:$r,children:u.jsxs(To,{children:[u.jsx(Eo,{children:u.jsxs(kr,{children:[u.jsx(fe,{children:"Month"}),u.jsx(fe,{children:"Brand"}),u.jsx(fe,{children:"Integration Type"}),u.jsx(fe,{align:"right",children:"Started"}),u.jsx(fe,{align:"right",children:"Finished"}),r&&u.jsx(fe,{align:"right",children:"Total Cost"})]})}),u.jsx(_o,{children:e.map(n=>u.jsxs(kr,{children:[u.jsx(fe,{children:new Date(n.month).toLocaleDateString(void 0,{month:"short",year:"numeric",timeZone:"UTC"})}),u.jsx(fe,{children:n.brand}),u.jsx(fe,{children:n.integrationType}),u.jsx(fe,{align:"right",children:n.total}),u.jsx(fe,{align:"right",children:n.finished}),r&&u.jsx(fe,{align:"right",children:n.totalCost??"-"})]},`${n.brandUuid}-${n.month}`))})]})}):u.jsx(Ee,{});function ol({lastUpdated:e}){return u.jsxs(Oe,{variant:"caption",color:"text.secondary",fontWeight:"600",children:["The data was last updated on"," ",zc(e??Date.now(),{hour12:!1}),"."]})}const So=e=>new Intl.NumberFormat("en-US").format(Number(e.toFixed(0))),al=e=>new Intl.NumberFormat("en-US",{style:"currency",currency:"USD"}).format(e),il=e=>new Intl.NumberFormat("en-US",{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2}).format(e),jo={totalSignups:0,totalSuccess:0,totalCost:0,successRate:0};function sl(e){if(!(e!=null&&e.length))return jo;const t=e.reduce((a,i)=>a+(i.overall.oneClickCreated||0),0),r=e.reduce((a,i)=>a+(i.overall.oneClickSuccess||0),0),n=e.reduce((a,i)=>{const s=i.overall.totalCost?Number(i.overall.totalCost.replace("$","").replace(/,/g,"")):0;return a+s},0),o=r/t;return{totalSignups:t,totalSuccess:r,totalCost:n,successRate:isNaN(o)?0:o}}function cl({chartData:e,isLoading:t=!0,hideTotalCost:r=!1}){const n=t?jo:sl(e);return u.jsxs(Me,{direction:"row",spacing:3,children:[u.jsx(ut,{label:"Total 1-Click Signups",value:n.totalSignups,initialValue:n.totalSignups,map:So}),u.jsx(ut,{label:"Finished 1-Click Signups",value:n.totalSuccess,initialValue:n.totalSuccess,map:So}),!r&&u.jsx(ut,{label:"Total Cost",value:n.totalCost,initialValue:n.totalCost,map:al}),u.jsx(ut,{label:"Success Rate",value:n.successRate,initialValue:n.successRate,map:il})]})}export{yr as A,ut as B,Fc as C,an as D,Wc as E,sn as F,_n as G,Re as H,ge as I,so as J,sr as K,_e as L,nl as M,ro as N,Qc as O,wo as P,Vc as Q,Bc as R,ho as S,hr as T,Sr as U,Or as W,pe as _,yo as a,go as b,Dt as c,Yc as d,Jc as e,Oo as f,el as g,rl as h,Ee as i,ol as j,cl as k,la as l,tl as m,E as n,gr as o,Yn as p,en as q,io as r,oo as s,tn as t,mo as u,no as v,jt as w,ya as x,Jt as y,pr as z};