@verifiedinc-public/shared-ui-elements 9.9.0 → 9.9.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.
- package/dist/components/CopyableUuid/index.d.ts +28 -0
- package/dist/components/CopyableUuid/index.mjs +1 -0
- package/dist/components/chart/BillableEventsProductTable/BillableEventsProductTable.mjs +1 -1
- package/dist/components/chart/BillableEventsTable/BillableEventsTable.mjs +1 -1
- package/dist/components/chart/BillableEventsTable/exportBillableEventsToCsv.mjs +3 -3
- package/dist/components/chart/ConversionOverTimeChart/index.d.ts +16 -1
- package/dist/components/chart/ConversionOverTimeChart/index.mjs +1 -1
- package/dist/components/chart/SeriesPercentageChartLegend/index.d.ts +1 -1
- package/dist/components/chart/SeriesPercentageChartLegend/index.mjs +1 -1
- package/dist/components/chart/SynchronizedMetricsChart/SynchronizedMetricsChart.d.ts +12 -0
- package/dist/components/chart/SynchronizedMetricsChart/SynchronizedMetricsChart.map.mjs +1 -1
- package/dist/components/chart/SynchronizedMetricsChart/SynchronizedMetricsChart.mjs +1 -1
- package/dist/components/chart/SynchronizedMetricsChart/SynchronizedMetricsChart.types.d.ts +5 -0
- package/dist/components/chart/index.mjs +1 -1
- package/dist/components/form/TimezoneInput/timezones.mjs +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/components/logs/LogsTable/LogsTable.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/node_modules/d3-array/src/ascending.mjs +1 -0
- package/dist/node_modules/d3-array/src/bisect.mjs +1 -0
- package/dist/node_modules/d3-array/src/bisector.mjs +1 -0
- package/dist/node_modules/d3-array/src/descending.mjs +1 -0
- package/dist/node_modules/d3-array/src/number.mjs +1 -0
- package/dist/node_modules/d3-array/src/ticks.mjs +1 -0
- package/dist/node_modules/d3-color/src/color.mjs +1 -0
- package/dist/node_modules/d3-color/src/define.mjs +1 -0
- package/dist/node_modules/d3-format/src/defaultLocale.mjs +1 -0
- package/dist/node_modules/d3-format/src/exponent.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatDecimal.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatGroup.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatNumerals.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatPrefixAuto.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatRounded.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatSpecifier.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatTrim.mjs +1 -0
- package/dist/node_modules/d3-format/src/formatTypes.mjs +1 -0
- package/dist/node_modules/d3-format/src/identity.mjs +1 -0
- package/dist/node_modules/d3-format/src/locale.mjs +1 -0
- package/dist/node_modules/d3-format/src/precisionFixed.mjs +1 -0
- package/dist/node_modules/d3-format/src/precisionPrefix.mjs +1 -0
- package/dist/node_modules/d3-format/src/precisionRound.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/array.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/color.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/constant.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/date.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/number.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/numberArray.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/object.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/rgb.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/round.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/string.mjs +1 -0
- package/dist/node_modules/d3-interpolate/src/value.mjs +1 -0
- package/dist/node_modules/d3-scale/src/constant.mjs +1 -0
- package/dist/node_modules/d3-scale/src/continuous.mjs +1 -0
- package/dist/node_modules/d3-scale/src/init.mjs +1 -0
- package/dist/node_modules/d3-scale/src/linear.mjs +1 -0
- package/dist/node_modules/d3-scale/src/number.mjs +1 -0
- package/dist/node_modules/d3-scale/src/symlog.mjs +1 -0
- package/dist/node_modules/d3-scale/src/tickFormat.mjs +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps, TypographyProps } from '@mui/material';
|
|
3
|
+
export type CopyableUuidVariant = 'text' | 'button';
|
|
4
|
+
export interface CopyableUuidProps {
|
|
5
|
+
uuid: string | null | undefined;
|
|
6
|
+
/** Snackbar label. Defaults to "UUID". */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Number of leading characters to keep when truncating. Defaults to 4. */
|
|
9
|
+
head?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Number of trailing characters to keep when truncating. Defaults to 4.
|
|
12
|
+
* When 0, renders a head-only ellipsis ("abcd...").
|
|
13
|
+
*/
|
|
14
|
+
tail?: number;
|
|
15
|
+
/**
|
|
16
|
+
* `text` — clickable monospace text that copies on click (inline legend style).
|
|
17
|
+
* `button` — text followed by a hover-revealed copy icon (table cell style).
|
|
18
|
+
* Defaults to `button`.
|
|
19
|
+
*/
|
|
20
|
+
variant?: CopyableUuidVariant;
|
|
21
|
+
/** Fallback rendered when `uuid` is nullish/empty. Defaults to `—`. */
|
|
22
|
+
placeholder?: React.ReactNode;
|
|
23
|
+
/** Whether to use monospace typography. Defaults to true. */
|
|
24
|
+
mono?: boolean;
|
|
25
|
+
typographyProps?: Omit<TypographyProps, 'children'>;
|
|
26
|
+
sx?: SxProps;
|
|
27
|
+
}
|
|
28
|
+
export declare function CopyableUuid({ uuid, label, head, tail, variant, placeholder, mono, typographyProps, sx, }: Readonly<CopyableUuidProps>): React.ReactElement;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";import{ContentCopy as g}from"@mui/icons-material";import{Typography as s,Stack as C,IconButton as v}from"@mui/material";import{useCopyToClipboard as k}from"../../hooks/useCopyToClipboard.mjs";import{useSnackbar as _}from"../Snackbar/index.mjs";import{jsx as r,jsxs as $}from"react/jsx-runtime";function S(o,t,e){return e===0?o.length<=t?o:`${o.slice(0,t)}...`:o.length<=t+e+1?o:`${o.slice(0,t)}\u2026${o.slice(-e)}`}function B({uuid:o,label:t="UUID",head:e=4,tail:d=4,variant:y="button",placeholder:b="\u2014",mono:m=!0,typographyProps:f,sx:n}){const{copy:h}=k({type:"text/plain"}),{enqueueSnackbar:x}=_(),{sx:a,...i}=f??{},l=m?{fontFamily:"monospace"}:{};if(!o)return r(s,{variant:"body2",color:"text.secondary",...i,sx:[l,a,n].filter(Boolean),children:b});const p=S(o,e,d),u=async c=>{c.stopPropagation();try{await h(o),x(`${t} copied to clipboard`,"success")}catch{}};if(y==="text"){const c={background:"transparent",border:0,padding:0,margin:0,font:"inherit",color:"inherit",textAlign:"inherit",cursor:"pointer","&:hover":{textDecoration:"underline"},"&:focus-visible":{outline:"2px solid currentColor",outlineOffset:2}};return r(s,{component:"button",type:"button",variant:"body2","aria-label":`Copy ${t}`,onClick:u,...i,sx:[l,c,a,n].filter(Boolean),children:p})}return $(C,{direction:"row",alignItems:"center",sx:{"& .copyable-uuid__btn":{opacity:0},"&:hover .copyable-uuid__btn":{opacity:1},...n},children:[r(s,{variant:"body2",color:"text.secondary",noWrap:!0,...i,sx:[l,a].filter(Boolean),children:p}),r(v,{className:"copyable-uuid__btn",size:"small","aria-label":`Copy ${t}`,onClick:u,sx:{p:.25,ml:.5},children:r(g,{sx:{fontSize:13}})})]})}export{B as CopyableUuid};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{TableContainer as k,Paper as C,Table as
|
|
1
|
+
"use strict";import{TableContainer as k,Paper as C,Table as U,TableHead as x,TableRow as h,TableCell as i,TableBody as B,TableSortLabel as D}from"@mui/material";import{useMemo as p}from"react";import{EmptyChartSection as L}from"../EmptyChartSection.mjs";import{LoadingChartSection as S}from"../LoadingChartSection.mjs";import{BILLABLE_PRODUCTS as v}from"../BillableEventsTable/BillableEventsTable.types.mjs";import{useBillableSort as I}from"../BillableEventsTable/useBillableSort.hook.mjs";import{CopyableUuid as E}from"../../CopyableUuid/index.mjs";import{white as P}from"../../../styles/colors.mjs";import{jsx as a,jsxs as d}from"react/jsx-runtime";const j=["brand","integrationType"],w=({data:l,isLoading:b,isFetching:u,product:s,columnSlots:n})=>{const{sortKey:c,sortDir:g,handleSort:y,sortedData:f}=I(l,j,"brand"),o=p(()=>v.find(e=>e.product===s),[s]),m=p(()=>o?.columns??[],[o]),t=(e,r,T="left")=>a(D,{active:c===e,direction:c===e?g:"asc",onClick:()=>y(e),sx:T==="right"?{flexDirection:"row"}:void 0,children:r});return!(l!=null&&l.length)&&b?a(S,{}):l!=null&&l.length?a(k,{component:C,sx:{opacity:u?.4:1},children:d(U,{sx:{backgroundColor:P},children:[a(x,{children:d(h,{children:[a(i,{children:t("brand","Brand")}),a(i,{children:"UUID"}),a(i,{children:t("integrationType","Integration Type")}),m.map(e=>a(i,{align:"right",children:t(e.key,e.label,"right")},e.key))]})}),a(B,{children:f.map(e=>d(h,{children:[a(i,{children:e.brand}),a(i,{children:a(E,{uuid:e.brandUuid,label:"Brand UUID",variant:"button"})}),a(i,{children:e.integrationType}),m.map(r=>a(i,{align:"right",children:n!=null&&n[r.key]?n[r.key](e):e.metrics[r.key]??0},r.key))]},e.brandUuid))})]})}):a(L,{})};export{w as BillableEventsProductTable};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{TableContainer as
|
|
1
|
+
"use strict";import{TableContainer as B,Paper as w,Table as x,TableHead as U,TableRow as b,TableCell as a,TableBody as v,TableSortLabel as D}from"@mui/material";import{useEffect as L,useMemo as u}from"react";import{EmptyChartSection as E}from"../EmptyChartSection.mjs";import{LoadingChartSection as I}from"../LoadingChartSection.mjs";import{BillableProduct as P,BILLABLE_PRODUCTS as j}from"./BillableEventsTable.types.mjs";import{useBillableSort as M}from"./useBillableSort.hook.mjs";import{CopyableUuid as O}from"../../CopyableUuid/index.mjs";import{white as R}from"../../../styles/colors.mjs";import{jsx as r,jsxs as s}from"react/jsx-runtime";const K=["brand","integrationType"],_=({data:o,isLoading:k,isFetching:S,visibleProducts:y,onSortedDataChange:c,columnSlots:l,topLevelColumns:t=[]})=>{const{sortKey:g,sortDir:T,handleSort:C,sortedData:d}=M(o,K,"brand");L(()=>{c?.(d)},[d,c]);const h=u(()=>{const e=y??Object.values(P);return j.filter(n=>e.includes(n.product))},[y]),m=u(()=>new Set(t.map(e=>e.key)),[t]),f=u(()=>h.flatMap(e=>e.columns).filter(e=>!m.has(e.key)),[h,m]),i=(e,n,p="left")=>r(D,{active:g===e,direction:g===e?T:"asc",onClick:()=>C(e),sx:p==="right"?{flexDirection:"row"}:void 0,children:n});return!(o!=null&&o.length)&&k?r(I,{}):o!=null&&o.length?r(B,{component:w,sx:{opacity:S?.4:1},children:s(x,{sx:{backgroundColor:R},children:[s(U,{children:[s(b,{children:[r(a,{rowSpan:2,children:i("brand","Brand")}),r(a,{rowSpan:2,children:"UUID"}),r(a,{rowSpan:2,children:i("integrationType","Integration Type")}),t.map(e=>r(a,{rowSpan:2,children:i(e.key,e.label)},e.key)),h.map(e=>{const n=e.columns.filter(p=>!m.has(p.key)).length;return n===0?null:r(a,{colSpan:n,align:"center",sx:{fontWeight:"bold",borderBottom:"none"},children:e.label},e.product)})]}),r(b,{children:f.map(e=>r(a,{align:"right",children:i(e.key,e.label,"right")},e.key))})]}),r(v,{children:d.map(e=>s(b,{children:[r(a,{children:e.brand}),r(a,{children:r(O,{uuid:e.brandUuid,label:"Brand UUID",variant:"button"})}),r(a,{children:e.integrationType}),t.map(n=>r(a,{children:l!=null&&l[n.key]?l[n.key](e):e.metrics[n.key]??0},n.key)),f.map(n=>r(a,{align:"right",children:l!=null&&l[n.key]?l[n.key](e):e.metrics[n.key]??0},n.key))]},e.brandUuid))})]})}):r(E,{})};export{_ as BillableEventsTable};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";import{BillableProduct as
|
|
2
|
-
`)?`"${
|
|
3
|
-
`),
|
|
1
|
+
"use strict";import{BillableProduct as g,BILLABLE_PRODUCTS as j}from"./BillableEventsTable.types.mjs";function o(u){const n=String(u);return n.includes(",")||n.includes('"')||n.includes(`
|
|
2
|
+
`)?`"${n.replace(/"/g,'""')}"`:n}function B({data:u,visibleProducts:n,filename:y="billable-events",topLevelColumns:i=[],columnFormatters:r}){const k=n??Object.values(g),b=j.filter(e=>k.includes(e.product)),h=new Set(i.map(e=>e.key)),m=b.flatMap(e=>e.columns).filter(e=>!h.has(e.key)),a=[],f=["","","",...i.map(()=>"")];for(const e of b){const s=e.columns.filter(t=>!h.has(t.key)).length;if(s!==0){f.push(o(e.label));for(let t=1;t<s;t++)f.push("")}}a.push(f.join(","));const p=["Brand","UUID","Integration Type"];for(const e of i)p.push(o(e.label));for(const e of m)p.push(o(e.label));a.push(p.join(","));for(const e of u){const s=[o(e.brand),o(e.brandUuid),o(e.integrationType)];for(const t of i){const l=e.metrics[t.key]??0,c=r?.[t.key];s.push(c?o(c(l,e)):String(l))}for(const t of m){const l=e.metrics[t.key]??0,c=r?.[t.key];s.push(c?o(c(l,e)):String(l))}a.push(s.join(","))}const L=a.join(`
|
|
3
|
+
`),U=new Blob([L],{type:"text/csv;charset=utf-8;"}),v=URL.createObjectURL(U),d=document.createElement("a");d.href=v,d.download=`${y}.csv`,d.click(),URL.revokeObjectURL(v)}export{B as exportBillableEventsToCsv};
|
|
@@ -8,6 +8,14 @@ export interface BrandIntervalData {
|
|
|
8
8
|
brandName: string;
|
|
9
9
|
interval?: Array<Record<string, number | string>>;
|
|
10
10
|
}
|
|
11
|
+
export interface ConversionOverTimeChartLegendBrand {
|
|
12
|
+
uuid: string;
|
|
13
|
+
value: string;
|
|
14
|
+
color: string;
|
|
15
|
+
dataKey?: string;
|
|
16
|
+
brandName?: string;
|
|
17
|
+
integrationType?: string;
|
|
18
|
+
}
|
|
11
19
|
export interface ConversionOverTimeChartProps {
|
|
12
20
|
data?: Array<Record<string, number | string>>;
|
|
13
21
|
series?: AreaSeriesChartData[];
|
|
@@ -22,5 +30,12 @@ export interface ConversionOverTimeChartProps {
|
|
|
22
30
|
};
|
|
23
31
|
sx?: SxProps;
|
|
24
32
|
stackMode?: 'stack' | 'none';
|
|
33
|
+
/**
|
|
34
|
+
* Single-brand legend entry. When provided, renders a brand legend row
|
|
35
|
+
* beneath the chart with name, optional metadata, and a copyable UUID.
|
|
36
|
+
*/
|
|
37
|
+
legendBrand?: ConversionOverTimeChartLegendBrand;
|
|
38
|
+
/** Whether the legend displays the copyable UUID. Defaults to true. */
|
|
39
|
+
showLegendUuid?: boolean;
|
|
25
40
|
}
|
|
26
|
-
export declare function ConversionOverTimeChart({ data, series, chartData, seriesConfig, stackMode: stackModeProp, isLoading, isFetching, isSuccess, filter, sx, }: Readonly<ConversionOverTimeChartProps>): React.ReactNode;
|
|
41
|
+
export declare function ConversionOverTimeChart({ data, series, chartData, seriesConfig, stackMode: stackModeProp, isLoading, isFetching, isSuccess, filter, sx, legendBrand, showLegendUuid, }: Readonly<ConversionOverTimeChartProps>): React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{useState as
|
|
1
|
+
"use strict";import{useState as T}from"react";import{Stack as A,Box as v,ToggleButtonGroup as E,ToggleButton as N}from"@mui/material";import{EmptyChartSection as U}from"../EmptyChartSection.mjs";import{LoadingChartSection as B}from"../LoadingChartSection.mjs";import{AreaChart as j}from"../AreaChart/index.mjs";import{SeriesPercentageChartLegend as Z}from"../SeriesPercentageChartLegend/index.mjs";import{useStyle as $}from"../styles.mjs";import{formatExtendedDate as z,formatDateMMYY as O}from"../../../utils/date.mjs";import{DEFAULT_TIMEZONE as W}from"../../form/TimezoneInput/timezones.mjs";import{jsx as n,jsxs as b}from"react/jsx-runtime";function _({brands:g,data:y,seriesConfig:d}){const c=new Map,u=g?new Set(g.map(a=>a._raw.brandUuid)):null;for(const a of y)if(!(u&&!u.has(a.brandUuid)))for(const l of a.interval??[]){const f=+new Date(l.date);let t=c.get(f);if(!t){t={date:f};for(const i of d)t[i.dataKey]=0;c.set(f,t)}for(const i of d)t[i.dataKey]=t[i.dataKey]+Number(l[i.dataKey]||0)}return{series:d,data:Array.from(c.values()).sort((a,l)=>a.date-l.date)}}function I({data:g,series:y,chartData:d,seriesConfig:c,stackMode:u="stack",isLoading:a,isFetching:l,isSuccess:f,filter:t,sx:i,legendBrand:r,showLegendUuid:K=!0}){const x=$(),C=t.timezone??W,[p,k]=T("absolute"),o=d!==void 0?a?{series:[],data:[]}:_({brands:t.brands,data:d,seriesConfig:c??[]}):{series:y??[],data:g??[]};if(!o.data.length&&a)return n(B,{});if(!o.data.length||!f)return n(U,{});const S=u==="none"&&p==="percent"?o.data.map(e=>{const m=Math.max(0,...o.series.map(s=>Number(e[s.dataKey])||0)),h={date:e.date};for(const s of o.series)h[s.dataKey]=m===0?0:(Number(e[s.dataKey])||0)/m;return h}):null,F=u==="stack"?p==="absolute"?"stack":"expand":"none",D=p==="absolute"?{tickFormatter:e=>Number(e).toLocaleString(),allowDecimals:!1}:{tickFormatter:e=>`${(e*100).toFixed(0)}%`,domain:[0,1]},M=p==="absolute"?e=>Number(e).toLocaleString():u==="stack"?(e,m,h)=>{const s=o.series.reduce((w,L)=>w+(Number(h.payload[L.dataKey])||0),0);return s===0?"0.0%":`${(Number(e)/s*100).toFixed(1)}%`}:e=>`${(Number(e)*100).toFixed(1)}%`;return b(A,{children:[b(v,{sx:{display:"flex",flexDirection:"column",gap:1,height:x.regularChartWrapper.height},children:[n(v,{sx:{display:"flex",justifyContent:"flex-end"},children:b(E,{value:p,exclusive:!0,onChange:(e,m)=>{m!==null&&k(m)},size:"small",children:[n(N,{value:"absolute",children:"Numbers"}),n(N,{value:"percent",children:"Percentages"})]})}),n(j,{data:S??o.data,series:o.series,stackMode:F,isAnimationActive:!0,xAxis:{dataKey:"date",type:"number",domain:["dataMin","dataMax"],tickFormatter:e=>O(e,{timeZone:C,hour12:!1,hour:"numeric"}),allowDuplicatedCategory:!1},yAxis:D,tooltip:{formatter:M,labelFormatter:e=>z(e,{timeZone:C,hour12:!1})},sx:{...x.regularChartWrapper,height:"unset",flex:1,minHeight:0,opacity:l?.4:1,...i}})]}),r&&n(Z,{payload:[{uuid:r.uuid,value:r.value,color:r.color,dataKey:r.dataKey??r.uuid,brandName:r.brandName,integrationType:r.integrationType}],showUuid:K})]})}export{I as ConversionOverTimeChart};
|
|
@@ -12,5 +12,5 @@ interface SeriesPercentageChartLegendProps extends Omit<LegendProps, 'payload'>
|
|
|
12
12
|
showUuid?: boolean;
|
|
13
13
|
payload?: CustomPayload[];
|
|
14
14
|
}
|
|
15
|
-
export declare function SeriesPercentageChartLegend(props: SeriesPercentageChartLegendProps): ReactElement;
|
|
15
|
+
export declare function SeriesPercentageChartLegend(props: Readonly<SeriesPercentageChartLegendProps>): ReactElement;
|
|
16
16
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{Box as d,Stack as
|
|
1
|
+
"use strict";import{Box as d,Stack as c,Typography as e}from"@mui/material";import i from"@mui/material/Unstable_Grid2";import{AnimatePresence as l}from"framer-motion";import{MotionStack as p}from"../../animation/motions.mjs";import{CopyableUuid as s}from"../../CopyableUuid/index.mjs";import{jsx as r,jsxs as n}from"react/jsx-runtime";function u({entry:o,showUuid:a=!0}){return n(p,{component:"li",direction:"row",spacing:1,sx:{color:o.color},layout:"position",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[r(d,{sx:{width:"3px",height:"100%",backgroundColor:o.color,borderRadius:3}}),n(c,{children:[r(e,{variant:"body1",children:o.value}),o.brandName&&r(e,{variant:"body2",children:o.brandName}),o.integrationType&&r(e,{variant:"body2",children:o.integrationType}),a&&o.uuid&&r(s,{uuid:o.uuid,label:"UUID",head:5,tail:0,variant:"text",mono:!1,typographyProps:{color:"inherit"}})]})]})}function m(o){const{payload:a}=o;return r(i,{container:!0,direction:"row",component:"ul",gap:2,sx:{mt:2,justifyContent:"flex-start",alignItem:"center",flexWrap:"wrap"},children:r(l,{children:a?.map(t=>r(i,{children:r(u,{entry:t,showUuid:o.showUuid})},`item-${t.uuid}-${t.value}`))})})}export{m as SeriesPercentageChartLegend};
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { SeriesChartData } from '../SeriesChart';
|
|
2
3
|
import { SynchronizedMetricsChartProps } from './SynchronizedMetricsChart.types';
|
|
4
|
+
/**
|
|
5
|
+
* Merges per-brand SeriesChartData into a flat array for chart-level data.
|
|
6
|
+
* Each entry: { date, [brand1.uuid]: value, [brand2.uuid]: value, ... }
|
|
7
|
+
* This is required for Recharts syncId tooltip sync to work across charts.
|
|
8
|
+
*
|
|
9
|
+
* Exported for testing.
|
|
10
|
+
*/
|
|
11
|
+
export declare function mergeChartData(seriesData: SeriesChartData[]): Array<Record<string, number>>;
|
|
12
|
+
/** Exported for testing. */
|
|
13
|
+
export declare const TOTAL_DATA_KEY = "__total__";
|
|
14
|
+
export declare function enrichWithTotal(entries: Array<Record<string, number>>, visibleBrandKeys: string[]): Array<Record<string, number>>;
|
|
3
15
|
export declare function SynchronizedMetricsChart({ subCharts, chartData, subChartConfig, colorMap, syncId, isLoading, isSuccess, isFetching, filter, sx, }: Readonly<SynchronizedMetricsChartProps>): React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{mapSeriesTimeSeriesData as m}from"../SeriesChart/SeriesChart.map.mjs";function y({chartData:
|
|
1
|
+
"use strict";import{mapSeriesTimeSeriesData as m}from"../SeriesChart/SeriesChart.map.mjs";function y({chartData:e,subChartConfig:r,brands:s,colorMap:l,isLoading:c}){if(c)return[{title:r[0].title,data:[]}];const i={brands:s,colorMap:l,data:e};return r.map(t=>{if(t.dataKey!=null)return{title:t.title,data:m({...i,keyValue:t.dataKey}),tooltipFormatter:t.tooltipFormatter,yAxisTickFormatter:t.yAxisTickFormatter,yAxisDomain:t.yAxisDomain,isPercentage:!1};const{numerator:p,denominator:o}=t.percentageOf,u=e.map(n=>({...n,interval:(n.interval??[]).map(a=>({...a,percentage:Number(a[o])>0?Math.min(Number(a[p])/Number(a[o])*100,100):0}))}));return{title:t.title,data:m({...i,data:u,keyValue:"percentage"}),tooltipFormatter:t.tooltipFormatter,yAxisTickFormatter:t.yAxisTickFormatter,yAxisDomain:t.yAxisDomain,isPercentage:!0}})}export{y as mapSynchronizedSubCharts};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{useMemo as
|
|
1
|
+
"use strict";import{useState as v,useMemo as k}from"react";import{Stack as p,ToggleButton as F,useTheme as I,Typography as K}from"@mui/material";import{ResponsiveContainer as W,LineChart as Y,CartesianGrid as j,XAxis as Z,YAxis as O,Tooltip as U,Line as L}from"recharts";import{formatDateMMYY as B,formatExtendedDate as G}from"../../../utils/date.mjs";import{DEFAULT_TIMEZONE as R}from"../../form/TimezoneInput/timezones.mjs";import{EmptyChartSection as X}from"../EmptyChartSection.mjs";import{LoadingChartSection as q}from"../LoadingChartSection.mjs";import{SeriesPercentageChartLegend as H}from"../SeriesPercentageChartLegend/index.mjs";import{chartDefaultProps as J,xAxisDefaultProps as Q,yAxisDefaultProps as V}from"../shared.mjs";import{mapSynchronizedSubCharts as $}from"./SynchronizedMetricsChart.map.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";import tt from"../../../node_modules/d3-scale/src/symlog.mjs";const at="synchronized-metrics",et=200,g="__total__",rt="Total";function w(n){const i=new Map;for(const o of n)for(const r of o.chartData){let s=i.get(r.date);s||(s={date:r.date},i.set(r.date,s)),s[o.uuid]=r.value}return Array.from(i.values()).sort((o,r)=>o.date-r.date)}const ot=g;function z(n,i){return i.length?n.map(o=>({...o,[g]:i.reduce((r,s)=>r+(Number(o[s])||0),0)})):n}function it({title:n,mergedData:i,brands:o,timezone:r,syncId:s,isPercentage:l,showTotal:f,logScale:y,tooltipFormatter:u,yAxisTickFormatter:x,yAxisDomain:b}){const m=I(),A=y&&!l,c=f&&!l&&o.length>1,T=A?tt():void 0;return d(p,{children:[e(K,{variant:"h5",sx:{mb:.5,fontSize:"1.15rem"},children:n}),e(W,{width:"100%",height:et,children:d(Y,{data:i,syncId:s,margin:J.margin,children:[e(j,{vertical:!1}),e(Z,{dataKey:"date",tickFormatter:a=>B(a,{timeZone:r,hour12:!1,hour:"numeric"}),...Q}),e(O,{tickFormatter:x??(a=>Number(a).toLocaleString()),allowDecimals:!1,domain:b,scale:T,...V}),e(U,{cursor:{stroke:m.palette.neutral.main,strokeWidth:1},formatter:u??(a=>Number(a).toLocaleString()),labelFormatter:a=>G(a,{timeZone:r,hour12:!1}),itemSorter:a=>-Number(a?.value??0)}),o.map(a=>e(L,{dataKey:a.uuid,name:a.name,stroke:a.color,type:"monotone",strokeWidth:2,isAnimationActive:!1,dot:!1},a.uuid)),c&&e(L,{dataKey:g,name:rt,stroke:m.palette.text.primary,strokeWidth:2,strokeDasharray:"4 4",type:"monotone",isAnimationActive:!1,dot:!1},g)]})})]})}function st({subCharts:n,chartData:i,subChartConfig:o,colorMap:r,syncId:s=at,isLoading:l,isSuccess:f,isFetching:y,filter:u,sx:x}){const b=u.timezone??R,[m,A]=v(!1),[c,T]=v(!1),a=i?$({chartData:i,subChartConfig:o,brands:u.brands,colorMap:r,isLoading:l}):n,D=a.every(t=>t.data.length===0),P=k(()=>a.map(t=>{const h=w(t.data);if(t.isPercentage)return h;const _=t.data.map(E=>E.uuid);return z(h,_)}),[a]),S=a.some(t=>!t.isPercentage),C=a.some(t=>!t.isPercentage&&t.data.length>1),M=k(()=>a[0].data.map(t=>({uuid:t.brandUuid??t.uuid,value:t.name,color:t.color,dataKey:t.uuid,integrationType:t.description??void 0,brandName:t.brandName})),[a]);if(D&&l)return e(q,{});if(D||!f)return e(X,{});const N=S||C;return d(p,{sx:{width:"100%",...x},children:[N&&d(p,{direction:"row",spacing:1,justifyContent:"flex-end",sx:{mb:1},children:[C&&e(F,{value:"total",selected:m,onChange:()=>A(t=>!t),size:"small","aria-label":"Show Total line","aria-pressed":m,children:"Show Total"}),S&&e(F,{value:"log",selected:c,onChange:()=>T(t=>!t),size:"small","aria-label":"Toggle logarithmic scale","aria-pressed":c,children:"Log Scale"})]}),d(p,{sx:{opacity:y?.4:1,gap:2},children:[a.map((t,h)=>e(it,{title:t.title,mergedData:P[h],brands:t.data,timezone:b,syncId:s,isPercentage:t.isPercentage??!1,showTotal:m,logScale:c,tooltipFormatter:t.tooltipFormatter,yAxisTickFormatter:t.yAxisTickFormatter,yAxisDomain:t.yAxisDomain},t.title)),e(H,{payload:M})]})]})}export{st as SynchronizedMetricsChart,ot as TOTAL_DATA_KEY,z as enrichWithTotal,w as mergeChartData};
|
|
@@ -8,6 +8,11 @@ export interface SubChartConfig {
|
|
|
8
8
|
tooltipFormatter?: (value: number | string) => string;
|
|
9
9
|
yAxisTickFormatter?: (value: number) => string;
|
|
10
10
|
yAxisDomain?: [number | string, number | string];
|
|
11
|
+
/**
|
|
12
|
+
* Marks this sub-chart as showing percentage values. Percentage sub-charts
|
|
13
|
+
* opt out of the Total line and the Log Scale toggle.
|
|
14
|
+
*/
|
|
15
|
+
isPercentage?: boolean;
|
|
11
16
|
}
|
|
12
17
|
export type SynchronizedSubChartConfig = {
|
|
13
18
|
title: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{SeriesChart as a}from"./SeriesChart/index.mjs";import{SeriesChartLegend as r}from"./SeriesChartLegend/index.mjs";import{SeriesPercentageChart as e}from"./SeriesPercentageChart/index.mjs";import{BigNumber as i}from"./BigNumber/index.mjs";import{SimpleBarChart as t}from"./SimpleBarChart/index.mjs";import{AreaChart as s}from"./AreaChart/index.mjs";import{ErrorCodesChart as o}from"./ErrorCodesChart/index.mjs";import{ReasonCodesChart as m}from"./ReasonCodesChart/index.mjs";import{PieChart as n}from"./PieChart/index.mjs";import{RiskScorePieChart as l}from"./RiskScorePieChart/index.mjs";import{RiskScoreBarChart as C}from"./RiskScoreBarChart/index.mjs";import{SimpleLegend as p}from"./SimpleLegend/index.mjs";import{LoadingChartSection as c}from"./LoadingChartSection.mjs";import{EmptyChartSection as f}from"./EmptyChartSection.mjs";import{MetricLastUpdated as h}from"./MetricLastUpdated.mjs";import{FunnelChart as
|
|
1
|
+
"use strict";import{SeriesChart as a}from"./SeriesChart/index.mjs";import{SeriesChartLegend as r}from"./SeriesChartLegend/index.mjs";import{SeriesPercentageChart as e}from"./SeriesPercentageChart/index.mjs";import{BigNumber as i}from"./BigNumber/index.mjs";import{SimpleBarChart as t}from"./SimpleBarChart/index.mjs";import{AreaChart as s}from"./AreaChart/index.mjs";import{ErrorCodesChart as o}from"./ErrorCodesChart/index.mjs";import{ReasonCodesChart as m}from"./ReasonCodesChart/index.mjs";import{PieChart as n}from"./PieChart/index.mjs";import{RiskScorePieChart as l}from"./RiskScorePieChart/index.mjs";import{RiskScoreBarChart as C}from"./RiskScoreBarChart/index.mjs";import{SimpleLegend as p}from"./SimpleLegend/index.mjs";import{LoadingChartSection as c}from"./LoadingChartSection.mjs";import{EmptyChartSection as f}from"./EmptyChartSection.mjs";import{MetricLastUpdated as h}from"./MetricLastUpdated.mjs";import{FunnelChart as T}from"./FunnelChart/index.mjs";import{ConversionOverTimeChart as S}from"./ConversionOverTimeChart/index.mjs";import{BILLABLE_PRODUCTS as v,BillableProduct as O}from"./BillableEventsTable/BillableEventsTable.types.mjs";import{BillableEventsProductTable as b}from"./BillableEventsProductTable/BillableEventsProductTable.mjs";import{BillableEventsTable as d}from"./BillableEventsTable/BillableEventsTable.mjs";import{OneClickVerificationEventsOverTimeChart as B}from"./OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.mjs";import{OneClickVerificationFunnelChart as u}from"./OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.mjs";import{OneClickVerificationSuccessOverTimeChart as D}from"./OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.mjs";import{OverviewBigNumbers as E}from"./OverviewBigNumbers/OverviewBigNumbers.mjs";import{SynchronizedMetricsChart as g,TOTAL_DATA_KEY as L,enrichWithTotal as k,mergeChartData as P}from"./SynchronizedMetricsChart/SynchronizedMetricsChart.mjs";import{TTSOverTimeChart as A}from"./TTSOverTimeChart/TTSOverTimeChart.mjs";import{defaultOverviewMetrics as V}from"./OverviewBigNumbers/OverviewBigNumbers.types.mjs";import{exportBillableEventsToCsv as R}from"./BillableEventsTable/exportBillableEventsToCsv.mjs";import{formatIntegrationType as F,mapBillableEventsTableData as _}from"./BillableEventsTable/BillableEventsTableDataMapper.mjs";import{mapBillableEventsProductTableData as y}from"./BillableEventsProductTable/BillableEventsProductTableDataMapper.mjs";import{mapOneClickVerificationAreaSeriesData as M}from"./OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.map.mjs";import{mapOneClickVerificationFunnelChartData as w}from"./OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.map.mjs";import{mapOneClickVerificationSuccessOverTimeChartData as N}from"./OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.map.mjs";import{mapSeriesTimeSeriesData as x}from"./SeriesChart/SeriesChart.map.mjs";import{mapTTSTimeSeriesData as I}from"./TTSOverTimeChart/TTSOverTimeChart.map.mjs";export{s as AreaChart,v as BILLABLE_PRODUCTS,i as BigNumber,b as BillableEventsProductTable,d as BillableEventsTable,O as BillableProduct,S as ConversionOverTimeChart,f as EmptyChartSection,o as ErrorCodesChart,T as FunnelChart,c as LoadingChartSection,h as MetricLastUpdated,B as OneClickVerificationEventsOverTimeChart,u as OneClickVerificationFunnelChart,D as OneClickVerificationSuccessOverTimeChart,E as OverviewBigNumbers,n as PieChart,m as ReasonCodesChart,C as RiskScoreBarChart,l as RiskScorePieChart,a as SeriesChart,r as SeriesChartLegend,e as SeriesPercentageChart,t as SimpleBarChart,p as SimpleLegend,g as SynchronizedMetricsChart,L as TOTAL_DATA_KEY,A as TTSOverTimeChart,V as defaultOverviewMetrics,k as enrichWithTotal,R as exportBillableEventsToCsv,F as formatIntegrationType,y as mapBillableEventsProductTableData,_ as mapBillableEventsTableData,M as mapOneClickVerificationAreaSeriesData,w as mapOneClickVerificationFunnelChartData,N as mapOneClickVerificationSuccessOverTimeChartData,x as mapSeriesTimeSeriesData,I as mapTTSTimeSeriesData,P as mergeChartData};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=[{name:"Etc/GMT+12",utc_offset:"-12:00:00"},{name:"US/Samoa",utc_offset:"-11:00:00"},{name:"Etc/GMT+11",utc_offset:"-11:00:00"},{name:"Pacific/Pago_Pago",utc_offset:"-11:00:00"},{name:"Pacific/Niue",utc_offset:"-11:00:00"},{name:"Pacific/Samoa",utc_offset:"-11:00:00"},{name:"Pacific/Midway",utc_offset:"-11:00:00"},{name:"HST",utc_offset:"-10:00:00"},{name:"US/Hawaii",utc_offset:"-10:00:00"},{name:"Etc/GMT+10",utc_offset:"-10:00:00"},{name:"Pacific/Tahiti",utc_offset:"-10:00:00"},{name:"Pacific/Honolulu",utc_offset:"-10:00:00"},{name:"Pacific/Johnston",utc_offset:"-10:00:00"},{name:"Pacific/Rarotonga",utc_offset:"-10:00:00"},{name:"America/Atka",utc_offset:"-09:00:00"},{name:"America/Adak",utc_offset:"-09:00:00"},{name:"US/Aleutian",utc_offset:"-09:00:00"},{name:"Etc/GMT+9",utc_offset:"-09:00:00"},{name:"Pacific/Marquesas",utc_offset:"-09:30:00"},{name:"Pacific/Gambier",utc_offset:"-09:00:00"},{name:"America/Sitka",utc_offset:"-08:00:00"},{name:"America/Metlakatla",utc_offset:"-08:00:00"},{name:"America/Juneau",utc_offset:"-08:00:00"},{name:"America/Nome",utc_offset:"-08:00:00"},{name:"America/Yakutat",utc_offset:"-08:00:00"},{name:"America/Anchorage",utc_offset:"-08:00:00"},{name:"US/Alaska",utc_offset:"-08:00:00"},{name:"Etc/GMT+8",utc_offset:"-08:00:00"},{name:"Pacific/Pitcairn",utc_offset:"-08:00:00"},{name:"Mexico/BajaSur",utc_offset:"-07:00:00"},{name:"Mexico/BajaNorte",utc_offset:"-07:00:00"},{name:"America/Ensenada",utc_offset:"-07:00:00"},{name:"America/Los_Angeles",utc_offset:"-07:00:00"},{name:"America/Dawson_Creek",utc_offset:"-07:00:00"},{name:"America/Mazatlan",utc_offset:"-07:00:00"},{name:"America/Santa_Isabel",utc_offset:"-07:00:00"},{name:"America/Creston",utc_offset:"-07:00:00"},{name:"America/Dawson",utc_offset:"-07:00:00"},{name:"America/Whitehorse",utc_offset:"-07:00:00"},{name:"America/Vancouver",utc_offset:"-07:00:00"},{name:"America/Tijuana",utc_offset:"-07:00:00"},{name:"America/Hermosillo",utc_offset:"-07:00:00"},{name:"America/Fort_Nelson",utc_offset:"-07:00:00"},{name:"America/Phoenix",utc_offset:"-07:00:00"},{name:"US/Arizona",utc_offset:"-07:00:00"},{name:"US/Pacific",utc_offset:"-07:00:00"},{name:"Etc/GMT+7",utc_offset:"-07:00:00"},{name:"PST8PDT",utc_offset:"-07:00:00"},{name:"MST",utc_offset:"-07:00:00"},{name:"Canada/Yukon",utc_offset:"-07:00:00"},{name:"Canada/Pacific",utc_offset:"-07:00:00"},{name:"Navajo",utc_offset:"-06:00:00"},{name:"Chile/EasterIsland",utc_offset:"-06:00:00"},{name:"MST7MDT",utc_offset:"-06:00:00"},{name:"Mexico/General",utc_offset:"-06:00:00"},{name:"America/Guatemala",utc_offset:"-06:00:00"},{name:"America/Boise",utc_offset:"-06:00:00"},{name:"America/Costa_Rica",utc_offset:"-06:00:00"},{name:"America/Swift_Current",utc_offset:"-06:00:00"},{name:"America/Managua",utc_offset:"-06:00:00"},{name:"America/Yellowknife",utc_offset:"-06:00:00"},{name:"America/Bahia_Banderas",utc_offset:"-06:00:00"},{name:"America/Shiprock",utc_offset:"-06:00:00"},{name:"America/Edmonton",utc_offset:"-06:00:00"},{name:"America/Mexico_City",utc_offset:"-06:00:00"},{name:"America/Belize",utc_offset:"-06:00:00"},{name:"America/Inuvik",utc_offset:"-06:00:00"},{name:"America/Tegucigalpa",utc_offset:"-06:00:00"},{name:"America/Regina",utc_offset:"-06:00:00"},{name:"America/Cambridge_Bay",utc_offset:"-06:00:00"},{name:"America/Denver",utc_offset:"-06:00:00"},{name:"America/El_Salvador",utc_offset:"-06:00:00"},{name:"America/Chihuahua",utc_offset:"-06:00:00"},{name:"America/Monterrey",utc_offset:"-06:00:00"},{name:"America/Ciudad_Juarez",utc_offset:"-06:00:00"},{name:"America/Merida",utc_offset:"-06:00:00"},{name:"US/Mountain",utc_offset:"-06:00:00"},{name:"Etc/GMT+6",utc_offset:"-06:00:00"},{name:"Pacific/Galapagos",utc_offset:"-06:00:00"},{name:"Pacific/Easter",utc_offset:"-06:00:00"},{name:"Canada/Saskatchewan",utc_offset:"-06:00:00"},{name:"Canada/Mountain",utc_offset:"-06:00:00"},{name:"Brazil/Acre",utc_offset:"-05:00:00"},{name:"America/Cancun",utc_offset:"-05:00:00"},{name:"America/Rainy_River",utc_offset:"-05:00:00"},{name:"America/Atikokan",utc_offset:"-05:00:00"},{name:"America/Panama",utc_offset:"-05:00:00"},{name:"America/Porto_Acre",utc_offset:"-05:00:00"},{name:"America/Ojinaga",utc_offset:"-05:00:00"},{name:"America/Chicago",utc_offset:"-05:00:00"},{name:"America/Cayman",utc_offset:"-05:00:00"},{name:"America/Knox_IN",utc_offset:"-05:00:00"},{name:"America/Coral_Harbour",utc_offset:"-05:00:00"},{name:"America/Indiana/Knox",utc_offset:"-05:00:00"},{name:"America/Indiana/Tell_City",utc_offset:"-05:00:00"},{name:"America/Rio_Branco",utc_offset:"-05:00:00"},{name:"America/Eirunepe",utc_offset:"-05:00:00"},{name:"America/Menominee",utc_offset:"-05:00:00"},{name:"America/Winnipeg",utc_offset:"-05:00:00"},{name:"America/Lima",utc_offset:"-05:00:00"},{name:"America/Matamoros",utc_offset:"-05:00:00"},{name:"America/Resolute",utc_offset:"-05:00:00"},{name:"America/Guayaquil",utc_offset:"-05:00:00"},{name:"America/North_Dakota/Center",utc_offset:"-05:00:00"},{name:"America/North_Dakota/Beulah",utc_offset:"-05:00:00"},{name:"America/North_Dakota/New_Salem",utc_offset:"-05:00:00"},{name:"America/Bogota",utc_offset:"-05:00:00"},{name:"America/Rankin_Inlet",utc_offset:"-05:00:00"},{name:"America/Jamaica",utc_offset:"-05:00:00"},{name:"US/Central",utc_offset:"-05:00:00"},{name:"US/Indiana-Starke",utc_offset:"-05:00:00"},{name:"EST",utc_offset:"-05:00:00"},{name:"Etc/GMT+5",utc_offset:"-05:00:00"},{name:"Canada/Central",utc_offset:"-05:00:00"},{name:"CST6CDT",utc_offset:"-05:00:00"},{name:"Jamaica",utc_offset:"-05:00:00"},{name:"Chile/Continental",utc_offset:"-04:00:00"},{name:"Brazil/West",utc_offset:"-04:00:00"},{name:"America/Martinique",utc_offset:"-04:00:00"},{name:"America/La_Paz",utc_offset:"-04:00:00"},{name:"America/Cuiaba",utc_offset:"-04:00:00"},{name:"America/Caracas",utc_offset:"-04:00:00"},{name:"America/Grand_Turk",utc_offset:"-04:00:00"},{name:"America/Nipigon",utc_offset:"-04:00:00"},{name:"America/Grenada",utc_offset:"-04:00:00"},{name:"America/Lower_Princes",utc_offset:"-04:00:00"},{name:"America/Port-au-Prince",utc_offset:"-04:00:00"},{name:"America/Santiago",utc_offset:"-04:00:00"},{name:"America/St_Vincent",utc_offset:"-04:00:00"},{name:"America/Kentucky/Monticello",utc_offset:"-04:00:00"},{name:"America/Kentucky/Louisville",utc_offset:"-04:00:00"},{name:"America/St_Kitts",utc_offset:"-04:00:00"},{name:"America/St_Lucia",utc_offset:"-04:00:00"},{name:"America/Guadeloupe",utc_offset:"-04:00:00"},{name:"America/Havana",utc_offset:"-04:00:00"},{name:"America/Toronto",utc_offset:"-04:00:00"},{name:"America/Montserrat",utc_offset:"-04:00:00"},{name:"America/Curacao",utc_offset:"-04:00:00"},{name:"America/Barbados",utc_offset:"-04:00:00"},{name:"America/Virgin",utc_offset:"-04:00:00"},{name:"America/Detroit",utc_offset:"-04:00:00"},{name:"America/Antigua",utc_offset:"-04:00:00"},{name:"America/Blanc-Sablon",utc_offset:"-04:00:00"},{name:"America/Manaus",utc_offset:"-04:00:00"},{name:"America/Thunder_Bay",utc_offset:"-04:00:00"},{name:"America/Guyana",utc_offset:"-04:00:00"},{name:"America/Puerto_Rico",utc_offset:"-04:00:00"},{name:"America/Louisville",utc_offset:"-04:00:00"},{name:"America/Port_of_Spain",utc_offset:"-04:00:00"},{name:"America/Nassau",utc_offset:"-04:00:00"},{name:"America/Boa_Vista",utc_offset:"-04:00:00"},{name:"America/Fort_Wayne",utc_offset:"-04:00:00"},{name:"America/Iqaluit",utc_offset:"-04:00:00"},{name:"America/Indiana/Winamac",utc_offset:"-04:00:00"},{name:"America/Indiana/Vincennes",utc_offset:"-04:00:00"},{name:"America/Indiana/Marengo",utc_offset:"-04:00:00"},{name:"America/Indiana/Petersburg",utc_offset:"-04:00:00"},{name:"America/Indiana/Indianapolis",utc_offset:"-04:00:00"},{name:"America/Indiana/Vevay",utc_offset:"-04:00:00"},{name:"America/St_Barthelemy",utc_offset:"-04:00:00"},{name:"America/New_York",utc_offset:"-04:00:00"},{name:"America/Campo_Grande",utc_offset:"-04:00:00"},{name:"America/St_Thomas",utc_offset:"-04:00:00"},{name:"America/Tortola",utc_offset:"-04:00:00"},{name:"America/Montreal",utc_offset:"-04:00:00"},{name:"America/Pangnirtung",utc_offset:"-04:00:00"},{name:"America/Anguilla",utc_offset:"-04:00:00"},{name:"America/Kralendijk",utc_offset:"-04:00:00"},{name:"America/Indianapolis",utc_offset:"-04:00:00"},{name:"America/Dominica",utc_offset:"-04:00:00"},{name:"America/Santo_Domingo",utc_offset:"-04:00:00"},{name:"America/Marigot",utc_offset:"-04:00:00"},{name:"America/Porto_Velho",utc_offset:"-04:00:00"},{name:"America/Aruba",utc_offset:"-04:00:00"},{name:"EST5EDT",utc_offset:"-04:00:00"},{name:"US/Eastern",utc_offset:"-04:00:00"},{name:"US/East-Indiana",utc_offset:"-04:00:00"},{name:"US/Michigan",utc_offset:"-04:00:00"},{name:"Etc/GMT+4",utc_offset:"-04:00:00"},{name:"Canada/Eastern",utc_offset:"-04:00:00"},{name:"Cuba",utc_offset:"-04:00:00"},{name:"America/Sao_Paulo",utc_offset:"-03:00:00"},{name:"Brazil/East",utc_offset:"-03:00:00"},{name:"America/Asuncion",utc_offset:"-03:00:00"},{name:"America/Bahia",utc_offset:"-03:00:00"},{name:"America/Buenos_Aires",utc_offset:"-03:00:00"},{name:"America/Cayenne",utc_offset:"-03:00:00"},{name:"America/Argentina/Buenos_Aires",utc_offset:"-03:00:00"},{name:"America/Argentina/ComodRivadavia",utc_offset:"-03:00:00"},{name:"America/Argentina/Salta",utc_offset:"-03:00:00"},{name:"America/Argentina/Mendoza",utc_offset:"-03:00:00"},{name:"America/Argentina/Rio_Gallegos",utc_offset:"-03:00:00"},{name:"America/Argentina/Cordoba",utc_offset:"-03:00:00"},{name:"America/Argentina/Catamarca",utc_offset:"-03:00:00"},{name:"America/Argentina/Ushuaia",utc_offset:"-03:00:00"},{name:"America/Argentina/Jujuy",utc_offset:"-03:00:00"},{name:"America/Argentina/San_Luis",utc_offset:"-03:00:00"},{name:"America/Argentina/La_Rioja",utc_offset:"-03:00:00"},{name:"America/Argentina/San_Juan",utc_offset:"-03:00:00"},{name:"America/Argentina/Tucuman",utc_offset:"-03:00:00"},{name:"America/Belem",utc_offset:"-03:00:00"},{name:"America/Recife",utc_offset:"-03:00:00"},{name:"America/Mendoza",utc_offset:"-03:00:00"},{name:"America/Goose_Bay",utc_offset:"-03:00:00"},{name:"America/Cordoba",utc_offset:"-03:00:00"},{name:"America/Rosario",utc_offset:"-03:00:00"},{name:"America/Catamarca",utc_offset:"-03:00:00"},{name:"America/Santarem",utc_offset:"-03:00:00"},{name:"America/Maceio",utc_offset:"-03:00:00"},{name:"America/Punta_Arenas",utc_offset:"-03:00:00"},{name:"America/Jujuy",utc_offset:"-03:00:00"},{name:"America/Fortaleza",utc_offset:"-03:00:00"},{name:"America/Araguaina",utc_offset:"-03:00:00"},{name:"America/Thule",utc_offset:"-03:00:00"},{name:"America/Paramaribo",utc_offset:"-03:00:00"},{name:"America/Moncton",utc_offset:"-03:00:00"},{name:"America/Glace_Bay",utc_offset:"-03:00:00"},{name:"America/Halifax",utc_offset:"-03:00:00"},{name:"America/Montevideo",utc_offset:"-03:00:00"},{name:"Etc/GMT+3",utc_offset:"-03:00:00"},{name:"Antarctica/Rothera",utc_offset:"-03:00:00"},{name:"Antarctica/Palmer",utc_offset:"-03:00:00"},{name:"Atlantic/Bermuda",utc_offset:"-03:00:00"},{name:"Atlantic/Stanley",utc_offset:"-03:00:00"},{name:"Canada/Atlantic",utc_offset:"-03:00:00"},{name:"Brazil/DeNoronha",utc_offset:"-02:00:00"},{name:"America/Noronha",utc_offset:"-02:00:00"},{name:"America/St_Johns",utc_offset:"-02:30:00"},{name:"America/Miquelon",utc_offset:"-02:00:00"},{name:"Etc/GMT+2",utc_offset:"-02:00:00"},{name:"Atlantic/South_Georgia",utc_offset:"-02:00:00"},{name:"Canada/Newfoundland",utc_offset:"-02:30:00"},{name:"America/Scoresbysund",utc_offset:"-01:00:00"},{name:"America/Godthab",utc_offset:"-01:00:00"},{name:"America/Nuuk",utc_offset:"-01:00:00"},{name:"Etc/GMT+1",utc_offset:"-01:00:00"},{name:"Atlantic/Cape_Verde",utc_offset:"-01:00:00"},{name:"UTC",utc_offset:"00:00:00"},{name:"GMT",utc_offset:"00:00:00"},{name:"Universal",utc_offset:"00:00:00"},{name:"GMT-0",utc_offset:"00:00:00"},{name:"Greenwich",utc_offset:"00:00:00"},{name:"Africa/Freetown",utc_offset:"00:00:00"},{name:"Africa/Accra",utc_offset:"00:00:00"},{name:"Africa/Monrovia",utc_offset:"00:00:00"},{name:"Africa/Ouagadougou",utc_offset:"00:00:00"},{name:"Africa/Lome",utc_offset:"00:00:00"},{name:"Africa/Timbuktu",utc_offset:"00:00:00"},{name:"Africa/Conakry",utc_offset:"00:00:00"},{name:"Africa/Nouakchott",utc_offset:"00:00:00"},{name:"Africa/Bissau",utc_offset:"00:00:00"},{name:"Africa/Sao_Tome",utc_offset:"00:00:00"},{name:"Africa/Dakar",utc_offset:"00:00:00"},{name:"Africa/Bamako",utc_offset:"00:00:00"},{name:"Africa/Abidjan",utc_offset:"00:00:00"},{name:"Africa/Banjul",utc_offset:"00:00:00"},{name:"Zulu",utc_offset:"00:00:00"},{name:"America/Danmarkshavn",utc_offset:"00:00:00"},{name:"GMT0",utc_offset:"00:00:00"},{name:"UCT",utc_offset:"00:00:00"},{name:"Etc/Greenwich",utc_offset:"00:00:00"},{name:"Etc/UTC",utc_offset:"00:00:00"},{name:"Etc/GMT",utc_offset:"00:00:00"},{name:"Etc/Universal",utc_offset:"00:00:00"},{name:"Etc/GMT-0",utc_offset:"00:00:00"},{name:"Etc/Zulu",utc_offset:"00:00:00"},{name:"Etc/GMT0",utc_offset:"00:00:00"},{name:"Etc/UCT",utc_offset:"00:00:00"},{name:"Etc/GMT+0",utc_offset:"00:00:00"},{name:"GMT+0",utc_offset:"00:00:00"},{name:"Atlantic/Azores",utc_offset:"00:00:00"},{name:"Atlantic/St_Helena",utc_offset:"00:00:00"},{name:"Atlantic/Reykjavik",utc_offset:"00:00:00"},{name:"Factory",utc_offset:"00:00:00"},{name:"Iceland",utc_offset:"00:00:00"},{name:"Eire",utc_offset:"01:00:00"},{name:"Africa/Casablanca",utc_offset:"01:00:00"},{name:"Africa/Luanda",utc_offset:"01:00:00"},{name:"Africa/Libreville",utc_offset:"01:00:00"},{name:"Africa/Porto-Novo",utc_offset:"01:00:00"},{name:"Africa/Kinshasa",utc_offset:"01:00:00"},{name:"Africa/Ndjamena",utc_offset:"01:00:00"},{name:"Africa/Brazzaville",utc_offset:"01:00:00"},{name:"Africa/Malabo",utc_offset:"01:00:00"},{name:"Africa/Tunis",utc_offset:"01:00:00"},{name:"Africa/Algiers",utc_offset:"01:00:00"},{name:"Africa/Lagos",utc_offset:"01:00:00"},{name:"Africa/El_Aaiun",utc_offset:"01:00:00"},{name:"Africa/Niamey",utc_offset:"01:00:00"},{name:"Africa/Bangui",utc_offset:"01:00:00"},{name:"Africa/Douala",utc_offset:"01:00:00"},{name:"Europe/Lisbon",utc_offset:"01:00:00"},{name:"Europe/Jersey",utc_offset:"01:00:00"},{name:"Europe/Guernsey",utc_offset:"01:00:00"},{name:"Europe/Isle_of_Man",utc_offset:"01:00:00"},{name:"Europe/Belfast",utc_offset:"01:00:00"},{name:"Europe/London",utc_offset:"01:00:00"},{name:"Europe/Dublin",utc_offset:"01:00:00"},{name:"GB",utc_offset:"01:00:00"},{name:"GB-Eire",utc_offset:"01:00:00"},{name:"Etc/GMT-1",utc_offset:"01:00:00"},{name:"Atlantic/Faeroe",utc_offset:"01:00:00"},{name:"Atlantic/Faroe",utc_offset:"01:00:00"},{name:"Atlantic/Canary",utc_offset:"01:00:00"},{name:"Atlantic/Madeira",utc_offset:"01:00:00"},{name:"WET",utc_offset:"01:00:00"},{name:"Portugal",utc_offset:"01:00:00"},{name:"Libya",utc_offset:"02:00:00"},{name:"Africa/Blantyre",utc_offset:"02:00:00"},{name:"Africa/Windhoek",utc_offset:"02:00:00"},{name:"Africa/Johannesburg",utc_offset:"02:00:00"},{name:"Africa/Cairo",utc_offset:"02:00:00"},{name:"Africa/Gaborone",utc_offset:"02:00:00"},{name:"Africa/Juba",utc_offset:"02:00:00"},{name:"Africa/Maputo",utc_offset:"02:00:00"},{name:"Africa/Lubumbashi",utc_offset:"02:00:00"},{name:"Africa/Maseru",utc_offset:"02:00:00"},{name:"Africa/Ceuta",utc_offset:"02:00:00"},{name:"Africa/Kigali",utc_offset:"02:00:00"},{name:"Africa/Harare",utc_offset:"02:00:00"},{name:"Africa/Lusaka",utc_offset:"02:00:00"},{name:"Africa/Tripoli",utc_offset:"02:00:00"},{name:"Africa/Bujumbura",utc_offset:"02:00:00"},{name:"Africa/Mbabane",utc_offset:"02:00:00"},{name:"Africa/Khartoum",utc_offset:"02:00:00"},{name:"Europe/Copenhagen",utc_offset:"02:00:00"},{name:"Europe/Skopje",utc_offset:"02:00:00"},{name:"Europe/Sarajevo",utc_offset:"02:00:00"},{name:"Europe/Stockholm",utc_offset:"02:00:00"},{name:"Europe/Zurich",utc_offset:"02:00:00"},{name:"Europe/Gibraltar",utc_offset:"02:00:00"},{name:"Europe/Prague",utc_offset:"02:00:00"},{name:"Europe/Brussels",utc_offset:"02:00:00"},{name:"Europe/Busingen",utc_offset:"02:00:00"},{name:"Europe/Madrid",utc_offset:"02:00:00"},{name:"Europe/Bratislava",utc_offset:"02:00:00"},{name:"Europe/Luxembourg",utc_offset:"02:00:00"},{name:"Europe/Budapest",utc_offset:"02:00:00"},{name:"Europe/Malta",utc_offset:"02:00:00"},{name:"Europe/Belgrade",utc_offset:"02:00:00"},{name:"Europe/Ljubljana",utc_offset:"02:00:00"},{name:"Europe/Vaduz",utc_offset:"02:00:00"},{name:"Europe/Vatican",utc_offset:"02:00:00"},{name:"Europe/Podgorica",utc_offset:"02:00:00"},{name:"Europe/Andorra",utc_offset:"02:00:00"},{name:"Europe/Zagreb",utc_offset:"02:00:00"},{name:"Europe/Kaliningrad",utc_offset:"02:00:00"},{name:"Europe/Paris",utc_offset:"02:00:00"},{name:"Europe/San_Marino",utc_offset:"02:00:00"},{name:"Europe/Amsterdam",utc_offset:"02:00:00"},{name:"Europe/Vienna",utc_offset:"02:00:00"},{name:"Europe/Tirane",utc_offset:"02:00:00"},{name:"Europe/Berlin",utc_offset:"02:00:00"},{name:"Europe/Warsaw",utc_offset:"02:00:00"},{name:"Europe/Monaco",utc_offset:"02:00:00"},{name:"Europe/Oslo",utc_offset:"02:00:00"},{name:"Europe/Rome",utc_offset:"02:00:00"},{name:"CET",utc_offset:"02:00:00"},{name:"Asia/Hebron",utc_offset:"02:00:00"},{name:"Asia/Gaza",utc_offset:"02:00:00"},{name:"MET",utc_offset:"02:00:00"},{name:"Etc/GMT-2",utc_offset:"02:00:00"},{name:"Antarctica/Troll",utc_offset:"02:00:00"},{name:"Atlantic/Jan_Mayen",utc_offset:"02:00:00"},{name:"Arctic/Longyearbyen",utc_offset:"02:00:00"},{name:"Poland",utc_offset:"02:00:00"},{name:"Egypt",utc_offset:"02:00:00"},{name:"Indian/Mayotte",utc_offset:"03:00:00"},{name:"Indian/Comoro",utc_offset:"03:00:00"},{name:"Indian/Antananarivo",utc_offset:"03:00:00"},{name:"Africa/Nairobi",utc_offset:"03:00:00"},{name:"Africa/Mogadishu",utc_offset:"03:00:00"},{name:"Africa/Asmera",utc_offset:"03:00:00"},{name:"Africa/Dar_es_Salaam",utc_offset:"03:00:00"},{name:"Africa/Asmara",utc_offset:"03:00:00"},{name:"Africa/Kampala",utc_offset:"03:00:00"},{name:"Africa/Djibouti",utc_offset:"03:00:00"},{name:"Africa/Addis_Ababa",utc_offset:"03:00:00"},{name:"Europe/Uzhgorod",utc_offset:"03:00:00"},{name:"Europe/Minsk",utc_offset:"03:00:00"},{name:"Europe/Vilnius",utc_offset:"03:00:00"},{name:"Europe/Sofia",utc_offset:"03:00:00"},{name:"Europe/Mariehamn",utc_offset:"03:00:00"},{name:"Europe/Riga",utc_offset:"03:00:00"},{name:"Europe/Tallinn",utc_offset:"03:00:00"},{name:"Europe/Moscow",utc_offset:"03:00:00"},{name:"Europe/Bucharest",utc_offset:"03:00:00"},{name:"Europe/Athens",utc_offset:"03:00:00"},{name:"Europe/Nicosia",utc_offset:"03:00:00"},{name:"Europe/Zaporozhye",utc_offset:"03:00:00"},{name:"Europe/Kyiv",utc_offset:"03:00:00"},{name:"Europe/Istanbul",utc_offset:"03:00:00"},{name:"Europe/Helsinki",utc_offset:"03:00:00"},{name:"Europe/Simferopol",utc_offset:"03:00:00"},{name:"Europe/Volgograd",utc_offset:"03:00:00"},{name:"Europe/Kirov",utc_offset:"03:00:00"},{name:"Europe/Chisinau",utc_offset:"03:00:00"},{name:"Europe/Kiev",utc_offset:"03:00:00"},{name:"Europe/Tiraspol",utc_offset:"03:00:00"},{name:"Asia/Damascus",utc_offset:"03:00:00"},{name:"Asia/Amman",utc_offset:"03:00:00"},{name:"Asia/Riyadh",utc_offset:"03:00:00"},{name:"Asia/Famagusta",utc_offset:"03:00:00"},{name:"Asia/Baghdad",utc_offset:"03:00:00"},{name:"Asia/Beirut",utc_offset:"03:00:00"},{name:"Asia/Kuwait",utc_offset:"03:00:00"},{name:"Asia/Jerusalem",utc_offset:"03:00:00"},{name:"Asia/Nicosia",utc_offset:"03:00:00"},{name:"Asia/Aden",utc_offset:"03:00:00"},{name:"Asia/Tehran",utc_offset:"03:30:00"},{name:"Asia/Istanbul",utc_offset:"03:00:00"},{name:"Asia/Qatar",utc_offset:"03:00:00"},{name:"Asia/Bahrain",utc_offset:"03:00:00"},{name:"Asia/Tel_Aviv",utc_offset:"03:00:00"},{name:"Etc/GMT-3",utc_offset:"03:00:00"},{name:"EET",utc_offset:"03:00:00"},{name:"Antarctica/Syowa",utc_offset:"03:00:00"},{name:"W-SU",utc_offset:"03:00:00"},{name:"Israel",utc_offset:"03:00:00"},{name:"Turkey",utc_offset:"03:00:00"},{name:"Iran",utc_offset:"03:30:00"},{name:"Indian/Mahe",utc_offset:"04:00:00"},{name:"Indian/Mauritius",utc_offset:"04:00:00"},{name:"Indian/Reunion",utc_offset:"04:00:00"},{name:"Europe/Samara",utc_offset:"04:00:00"},{name:"Europe/Ulyanovsk",utc_offset:"04:00:00"},{name:"Europe/Saratov",utc_offset:"04:00:00"},{name:"Europe/Astrakhan",utc_offset:"04:00:00"},{name:"Asia/Baku",utc_offset:"04:00:00"},{name:"Asia/Dubai",utc_offset:"04:00:00"},{name:"Asia/Muscat",utc_offset:"04:00:00"},{name:"Asia/Tbilisi",utc_offset:"04:00:00"},{name:"Asia/Kabul",utc_offset:"04:30:00"},{name:"Asia/Yerevan",utc_offset:"04:00:00"},{name:"Etc/GMT-4",utc_offset:"04:00:00"},{name:"Indian/Kerguelen",utc_offset:"05:00:00"},{name:"Indian/Maldives",utc_offset:"05:00:00"},{name:"Asia/Ashgabat",utc_offset:"05:00:00"},{name:"Asia/Kolkata",utc_offset:"05:30:00"},{name:"Asia/Qostanay",utc_offset:"05:00:00"},{name:"Asia/Aqtau",utc_offset:"05:00:00"},{name:"Asia/Samarkand",utc_offset:"05:00:00"},{name:"Asia/Ashkhabad",utc_offset:"05:00:00"},{name:"Asia/Kathmandu",utc_offset:"05:45:00"},{name:"Asia/Atyrau",utc_offset:"05:00:00"},{name:"Asia/Aqtobe",utc_offset:"05:00:00"},{name:"Asia/Calcutta",utc_offset:"05:30:00"},{name:"Asia/Almaty",utc_offset:"05:00:00"},{name:"Asia/Katmandu",utc_offset:"05:45:00"},{name:"Asia/Colombo",utc_offset:"05:30:00"},{name:"Asia/Dushanbe",utc_offset:"05:00:00"},{name:"Asia/Tashkent",utc_offset:"05:00:00"},{name:"Asia/Oral",utc_offset:"05:00:00"},{name:"Asia/Qyzylorda",utc_offset:"05:00:00"},{name:"Asia/Karachi",utc_offset:"05:00:00"},{name:"Asia/Yekaterinburg",utc_offset:"05:00:00"},{name:"Etc/GMT-5",utc_offset:"05:00:00"},{name:"Antarctica/Mawson",utc_offset:"05:00:00"},{name:"Antarctica/Vostok",utc_offset:"05:00:00"},{name:"Indian/Chagos",utc_offset:"06:00:00"},{name:"Indian/Cocos",utc_offset:"06:30:00"},{name:"Asia/Thimphu",utc_offset:"06:00:00"},{name:"Asia/Yangon",utc_offset:"06:30:00"},{name:"Asia/Rangoon",utc_offset:"06:30:00"},{name:"Asia/Bishkek",utc_offset:"06:00:00"},{name:"Asia/Urumqi",utc_offset:"06:00:00"},{name:"Asia/Dacca",utc_offset:"06:00:00"},{name:"Asia/Dhaka",utc_offset:"06:00:00"},{name:"Asia/Kashgar",utc_offset:"06:00:00"},{name:"Asia/Thimbu",utc_offset:"06:00:00"},{name:"Asia/Omsk",utc_offset:"06:00:00"},{name:"Etc/GMT-6",utc_offset:"06:00:00"},{name:"Indian/Christmas",utc_offset:"07:00:00"},{name:"Asia/Ho_Chi_Minh",utc_offset:"07:00:00"},{name:"Asia/Saigon",utc_offset:"07:00:00"},{name:"Asia/Pontianak",utc_offset:"07:00:00"},{name:"Asia/Barnaul",utc_offset:"07:00:00"},{name:"Asia/Novokuznetsk",utc_offset:"07:00:00"},{name:"Asia/Vientiane",utc_offset:"07:00:00"},{name:"Asia/Novosibirsk",utc_offset:"07:00:00"},{name:"Asia/Phnom_Penh",utc_offset:"07:00:00"},{name:"Asia/Jakarta",utc_offset:"07:00:00"},{name:"Asia/Bangkok",utc_offset:"07:00:00"},{name:"Asia/Hovd",utc_offset:"07:00:00"},{name:"Asia/Tomsk",utc_offset:"07:00:00"},{name:"Asia/Krasnoyarsk",utc_offset:"07:00:00"},{name:"Etc/GMT-7",utc_offset:"07:00:00"},{name:"Antarctica/Davis",utc_offset:"07:00:00"},{name:"PRC",utc_offset:"08:00:00"},{name:"Australia/Eucla",utc_offset:"08:45:00"},{name:"Australia/Perth",utc_offset:"08:00:00"},{name:"Australia/West",utc_offset:"08:00:00"},{name:"Singapore",utc_offset:"08:00:00"},{name:"Asia/Macau",utc_offset:"08:00:00"},{name:"Asia/Harbin",utc_offset:"08:00:00"},{name:"Asia/Irkutsk",utc_offset:"08:00:00"},{name:"Asia/Shanghai",utc_offset:"08:00:00"},{name:"Asia/Ujung_Pandang",utc_offset:"08:00:00"},{name:"Asia/Kuching",utc_offset:"08:00:00"},{name:"Asia/Kuala_Lumpur",utc_offset:"08:00:00"},{name:"Asia/Manila",utc_offset:"08:00:00"},{name:"Asia/Brunei",utc_offset:"08:00:00"},{name:"Asia/Chongqing",utc_offset:"08:00:00"},{name:"Asia/Singapore",utc_offset:"08:00:00"},{name:"Asia/Choibalsan",utc_offset:"08:00:00"},{name:"Asia/Chungking",utc_offset:"08:00:00"},{name:"Asia/Taipei",utc_offset:"08:00:00"},{name:"Asia/Ulan_Bator",utc_offset:"08:00:00"},{name:"Asia/Hong_Kong",utc_offset:"08:00:00"},{name:"Asia/Ulaanbaatar",utc_offset:"08:00:00"},{name:"Asia/Macao",utc_offset:"08:00:00"},{name:"Asia/Makassar",utc_offset:"08:00:00"},{name:"Etc/GMT-8",utc_offset:"08:00:00"},{name:"Antarctica/Casey",utc_offset:"08:00:00"},{name:"ROC",utc_offset:"08:00:00"},{name:"Hongkong",utc_offset:"08:00:00"},{name:"Australia/Yancowinna",utc_offset:"09:30:00"},{name:"Australia/Adelaide",utc_offset:"09:30:00"},{name:"Australia/Darwin",utc_offset:"09:30:00"},{name:"Australia/South",utc_offset:"09:30:00"},{name:"Australia/North",utc_offset:"09:30:00"},{name:"Australia/Broken_Hill",utc_offset:"09:30:00"},{name:"ROK",utc_offset:"09:00:00"},{name:"Asia/Seoul",utc_offset:"09:00:00"},{name:"Asia/Dili",utc_offset:"09:00:00"},{name:"Asia/Tokyo",utc_offset:"09:00:00"},{name:"Asia/Yakutsk",utc_offset:"09:00:00"},{name:"Asia/Jayapura",utc_offset:"09:00:00"},{name:"Asia/Chita",utc_offset:"09:00:00"},{name:"Asia/Pyongyang",utc_offset:"09:00:00"},{name:"Asia/Khandyga",utc_offset:"09:00:00"},{name:"Japan",utc_offset:"09:00:00"},{name:"Etc/GMT-9",utc_offset:"09:00:00"},{name:"Pacific/Palau",utc_offset:"09:00:00"},{name:"Australia/Tasmania",utc_offset:"10:00:00"},{name:"Australia/Lord_Howe",utc_offset:"10:30:00"},{name:"Australia/Currie",utc_offset:"10:00:00"},{name:"Australia/Hobart",utc_offset:"10:00:00"},{name:"Australia/LHI",utc_offset:"10:30:00"},{name:"Australia/Melbourne",utc_offset:"10:00:00"},{name:"Australia/Lindeman",utc_offset:"10:00:00"},{name:"Australia/Sydney",utc_offset:"10:00:00"},{name:"Australia/Canberra",utc_offset:"10:00:00"},{name:"Australia/Victoria",utc_offset:"10:00:00"},{name:"Australia/NSW",utc_offset:"10:00:00"},{name:"Australia/ACT",utc_offset:"10:00:00"},{name:"Australia/Queensland",utc_offset:"10:00:00"},{name:"Australia/Brisbane",utc_offset:"10:00:00"},{name:"Asia/Ust-Nera",utc_offset:"10:00:00"},{name:"Asia/Vladivostok",utc_offset:"10:00:00"},{name:"Etc/GMT-10",utc_offset:"10:00:00"},{name:"Antarctica/DumontDUrville",utc_offset:"10:00:00"},{name:"Antarctica/Macquarie",utc_offset:"10:00:00"},{name:"Pacific/Port_Moresby",utc_offset:"10:00:00"},{name:"Pacific/Chuuk",utc_offset:"10:00:00"},{name:"Pacific/Saipan",utc_offset:"10:00:00"},{name:"Pacific/Yap",utc_offset:"10:00:00"},{name:"Pacific/Truk",utc_offset:"10:00:00"},{name:"Pacific/Guam",utc_offset:"10:00:00"},{name:"Asia/Magadan",utc_offset:"11:00:00"},{name:"Asia/Srednekolymsk",utc_offset:"11:00:00"},{name:"Asia/Sakhalin",utc_offset:"11:00:00"},{name:"Etc/GMT-11",utc_offset:"11:00:00"},{name:"Pacific/Noumea",utc_offset:"11:00:00"},{name:"Pacific/Kosrae",utc_offset:"11:00:00"},{name:"Pacific/Efate",utc_offset:"11:00:00"},{name:"Pacific/Bougainville",utc_offset:"11:00:00"},{name:"Pacific/Norfolk",utc_offset:"11:00:00"},{name:"Pacific/Ponape",utc_offset:"11:00:00"},{name:"Pacific/Guadalcanal",utc_offset:"11:00:00"},{name:"Pacific/Pohnpei",utc_offset:"11:00:00"},{name:"NZ-CHAT",utc_offset:"12:45:00"},{name:"Kwajalein",utc_offset:"12:00:00"},{name:"Asia/Anadyr",utc_offset:"12:00:00"},{name:"Asia/Kamchatka",utc_offset:"12:00:00"},{name:"Etc/GMT-12",utc_offset:"12:00:00"},{name:"Antarctica/McMurdo",utc_offset:"12:00:00"},{name:"Antarctica/South_Pole",utc_offset:"12:00:00"},{name:"Pacific/Majuro",utc_offset:"12:00:00"},{name:"Pacific/Auckland",utc_offset:"12:00:00"},{name:"Pacific/Nauru",utc_offset:"12:00:00"},{name:"Pacific/Funafuti",utc_offset:"12:00:00"},{name:"Pacific/Chatham",utc_offset:"12:45:00"},{name:"Pacific/Wake",utc_offset:"12:00:00"},{name:"Pacific/Kwajalein",utc_offset:"12:00:00"},{name:"Pacific/Wallis",utc_offset:"12:00:00"},{name:"Pacific/Tarawa",utc_offset:"12:00:00"},{name:"Pacific/Fiji",utc_offset:"12:00:00"},{name:"NZ",utc_offset:"12:00:00"},{name:"Etc/GMT-13",utc_offset:"13:00:00"},{name:"Pacific/Kanton",utc_offset:"13:00:00"},{name:"Pacific/Apia",utc_offset:"13:00:00"},{name:"Pacific/Fakaofo",utc_offset:"13:00:00"},{name:"Pacific/Enderbury",utc_offset:"13:00:00"},{name:"Pacific/Tongatapu",utc_offset:"13:00:00"},{name:"Etc/GMT-14",utc_offset:"14:00:00"},{name:"Pacific/Kiritimati",utc_offset:"14:00:00"}];e.map(a=>a.name);const t="UTC";export{t as DEFAULT_TIMEZONE,e as timezones};
|
|
1
|
+
"use strict";const e=[{name:"Etc/GMT+12",utc_offset:"-12:00:00"},{name:"US/Samoa",utc_offset:"-11:00:00"},{name:"Etc/GMT+11",utc_offset:"-11:00:00"},{name:"Pacific/Pago_Pago",utc_offset:"-11:00:00"},{name:"Pacific/Niue",utc_offset:"-11:00:00"},{name:"Pacific/Samoa",utc_offset:"-11:00:00"},{name:"Pacific/Midway",utc_offset:"-11:00:00"},{name:"HST",utc_offset:"-10:00:00"},{name:"US/Hawaii",utc_offset:"-10:00:00"},{name:"Etc/GMT+10",utc_offset:"-10:00:00"},{name:"Pacific/Tahiti",utc_offset:"-10:00:00"},{name:"Pacific/Honolulu",utc_offset:"-10:00:00"},{name:"Pacific/Johnston",utc_offset:"-10:00:00"},{name:"Pacific/Rarotonga",utc_offset:"-10:00:00"},{name:"America/Atka",utc_offset:"-09:00:00"},{name:"America/Adak",utc_offset:"-09:00:00"},{name:"US/Aleutian",utc_offset:"-09:00:00"},{name:"Etc/GMT+9",utc_offset:"-09:00:00"},{name:"Pacific/Marquesas",utc_offset:"-09:30:00"},{name:"Pacific/Gambier",utc_offset:"-09:00:00"},{name:"America/Sitka",utc_offset:"-08:00:00"},{name:"America/Metlakatla",utc_offset:"-08:00:00"},{name:"America/Juneau",utc_offset:"-08:00:00"},{name:"America/Nome",utc_offset:"-08:00:00"},{name:"America/Yakutat",utc_offset:"-08:00:00"},{name:"America/Anchorage",utc_offset:"-08:00:00"},{name:"US/Alaska",utc_offset:"-08:00:00"},{name:"Etc/GMT+8",utc_offset:"-08:00:00"},{name:"Pacific/Pitcairn",utc_offset:"-08:00:00"},{name:"Mexico/BajaSur",utc_offset:"-07:00:00"},{name:"Mexico/BajaNorte",utc_offset:"-07:00:00"},{name:"America/Ensenada",utc_offset:"-07:00:00"},{name:"America/Los_Angeles",utc_offset:"-07:00:00"},{name:"America/Dawson_Creek",utc_offset:"-07:00:00"},{name:"America/Mazatlan",utc_offset:"-07:00:00"},{name:"America/Santa_Isabel",utc_offset:"-07:00:00"},{name:"America/Creston",utc_offset:"-07:00:00"},{name:"America/Dawson",utc_offset:"-07:00:00"},{name:"America/Whitehorse",utc_offset:"-07:00:00"},{name:"America/Vancouver",utc_offset:"-07:00:00"},{name:"America/Tijuana",utc_offset:"-07:00:00"},{name:"America/Hermosillo",utc_offset:"-07:00:00"},{name:"America/Fort_Nelson",utc_offset:"-07:00:00"},{name:"America/Phoenix",utc_offset:"-07:00:00"},{name:"US/Arizona",utc_offset:"-07:00:00"},{name:"US/Pacific",utc_offset:"-07:00:00"},{name:"Etc/GMT+7",utc_offset:"-07:00:00"},{name:"PST8PDT",utc_offset:"-07:00:00"},{name:"MST",utc_offset:"-07:00:00"},{name:"Canada/Yukon",utc_offset:"-07:00:00"},{name:"Canada/Pacific",utc_offset:"-07:00:00"},{name:"Navajo",utc_offset:"-06:00:00"},{name:"Chile/EasterIsland",utc_offset:"-06:00:00"},{name:"MST7MDT",utc_offset:"-06:00:00"},{name:"Mexico/General",utc_offset:"-06:00:00"},{name:"America/Guatemala",utc_offset:"-06:00:00"},{name:"America/Boise",utc_offset:"-06:00:00"},{name:"America/Costa_Rica",utc_offset:"-06:00:00"},{name:"America/Swift_Current",utc_offset:"-06:00:00"},{name:"America/Managua",utc_offset:"-06:00:00"},{name:"America/Yellowknife",utc_offset:"-06:00:00"},{name:"America/Bahia_Banderas",utc_offset:"-06:00:00"},{name:"America/Shiprock",utc_offset:"-06:00:00"},{name:"America/Edmonton",utc_offset:"-06:00:00"},{name:"America/Mexico_City",utc_offset:"-06:00:00"},{name:"America/Belize",utc_offset:"-06:00:00"},{name:"America/Inuvik",utc_offset:"-06:00:00"},{name:"America/Tegucigalpa",utc_offset:"-06:00:00"},{name:"America/Regina",utc_offset:"-06:00:00"},{name:"America/Cambridge_Bay",utc_offset:"-06:00:00"},{name:"America/Denver",utc_offset:"-06:00:00"},{name:"America/El_Salvador",utc_offset:"-06:00:00"},{name:"America/Chihuahua",utc_offset:"-06:00:00"},{name:"America/Monterrey",utc_offset:"-06:00:00"},{name:"America/Ciudad_Juarez",utc_offset:"-06:00:00"},{name:"America/Merida",utc_offset:"-06:00:00"},{name:"US/Mountain",utc_offset:"-06:00:00"},{name:"Etc/GMT+6",utc_offset:"-06:00:00"},{name:"Pacific/Galapagos",utc_offset:"-06:00:00"},{name:"Pacific/Easter",utc_offset:"-06:00:00"},{name:"Canada/Saskatchewan",utc_offset:"-06:00:00"},{name:"Canada/Mountain",utc_offset:"-06:00:00"},{name:"Brazil/Acre",utc_offset:"-05:00:00"},{name:"America/Cancun",utc_offset:"-05:00:00"},{name:"America/Rainy_River",utc_offset:"-05:00:00"},{name:"America/Atikokan",utc_offset:"-05:00:00"},{name:"America/Panama",utc_offset:"-05:00:00"},{name:"America/Porto_Acre",utc_offset:"-05:00:00"},{name:"America/Ojinaga",utc_offset:"-05:00:00"},{name:"America/Chicago",utc_offset:"-05:00:00"},{name:"America/Cayman",utc_offset:"-05:00:00"},{name:"America/Knox_IN",utc_offset:"-05:00:00"},{name:"America/Coral_Harbour",utc_offset:"-05:00:00"},{name:"America/Indiana/Knox",utc_offset:"-05:00:00"},{name:"America/Indiana/Tell_City",utc_offset:"-05:00:00"},{name:"America/Rio_Branco",utc_offset:"-05:00:00"},{name:"America/Eirunepe",utc_offset:"-05:00:00"},{name:"America/Menominee",utc_offset:"-05:00:00"},{name:"America/Winnipeg",utc_offset:"-05:00:00"},{name:"America/Lima",utc_offset:"-05:00:00"},{name:"America/Matamoros",utc_offset:"-05:00:00"},{name:"America/Resolute",utc_offset:"-05:00:00"},{name:"America/Guayaquil",utc_offset:"-05:00:00"},{name:"America/North_Dakota/Center",utc_offset:"-05:00:00"},{name:"America/North_Dakota/Beulah",utc_offset:"-05:00:00"},{name:"America/North_Dakota/New_Salem",utc_offset:"-05:00:00"},{name:"America/Bogota",utc_offset:"-05:00:00"},{name:"America/Rankin_Inlet",utc_offset:"-05:00:00"},{name:"America/Jamaica",utc_offset:"-05:00:00"},{name:"US/Central",utc_offset:"-05:00:00"},{name:"US/Indiana-Starke",utc_offset:"-05:00:00"},{name:"EST",utc_offset:"-05:00:00"},{name:"Etc/GMT+5",utc_offset:"-05:00:00"},{name:"Canada/Central",utc_offset:"-05:00:00"},{name:"CST6CDT",utc_offset:"-05:00:00"},{name:"Jamaica",utc_offset:"-05:00:00"},{name:"Chile/Continental",utc_offset:"-04:00:00"},{name:"Brazil/West",utc_offset:"-04:00:00"},{name:"America/Martinique",utc_offset:"-04:00:00"},{name:"America/La_Paz",utc_offset:"-04:00:00"},{name:"America/Cuiaba",utc_offset:"-04:00:00"},{name:"America/Caracas",utc_offset:"-04:00:00"},{name:"America/Grand_Turk",utc_offset:"-04:00:00"},{name:"America/Nipigon",utc_offset:"-04:00:00"},{name:"America/Grenada",utc_offset:"-04:00:00"},{name:"America/Lower_Princes",utc_offset:"-04:00:00"},{name:"America/Port-au-Prince",utc_offset:"-04:00:00"},{name:"America/Santiago",utc_offset:"-04:00:00"},{name:"America/St_Vincent",utc_offset:"-04:00:00"},{name:"America/Kentucky/Monticello",utc_offset:"-04:00:00"},{name:"America/Kentucky/Louisville",utc_offset:"-04:00:00"},{name:"America/St_Kitts",utc_offset:"-04:00:00"},{name:"America/St_Lucia",utc_offset:"-04:00:00"},{name:"America/Guadeloupe",utc_offset:"-04:00:00"},{name:"America/Havana",utc_offset:"-04:00:00"},{name:"America/Toronto",utc_offset:"-04:00:00"},{name:"America/Montserrat",utc_offset:"-04:00:00"},{name:"America/Curacao",utc_offset:"-04:00:00"},{name:"America/Barbados",utc_offset:"-04:00:00"},{name:"America/Virgin",utc_offset:"-04:00:00"},{name:"America/Detroit",utc_offset:"-04:00:00"},{name:"America/Antigua",utc_offset:"-04:00:00"},{name:"America/Blanc-Sablon",utc_offset:"-04:00:00"},{name:"America/Manaus",utc_offset:"-04:00:00"},{name:"America/Thunder_Bay",utc_offset:"-04:00:00"},{name:"America/Guyana",utc_offset:"-04:00:00"},{name:"America/Puerto_Rico",utc_offset:"-04:00:00"},{name:"America/Louisville",utc_offset:"-04:00:00"},{name:"America/Port_of_Spain",utc_offset:"-04:00:00"},{name:"America/Nassau",utc_offset:"-04:00:00"},{name:"America/Boa_Vista",utc_offset:"-04:00:00"},{name:"America/Fort_Wayne",utc_offset:"-04:00:00"},{name:"America/Iqaluit",utc_offset:"-04:00:00"},{name:"America/Indiana/Winamac",utc_offset:"-04:00:00"},{name:"America/Indiana/Vincennes",utc_offset:"-04:00:00"},{name:"America/Indiana/Marengo",utc_offset:"-04:00:00"},{name:"America/Indiana/Petersburg",utc_offset:"-04:00:00"},{name:"America/Indiana/Indianapolis",utc_offset:"-04:00:00"},{name:"America/Indiana/Vevay",utc_offset:"-04:00:00"},{name:"America/St_Barthelemy",utc_offset:"-04:00:00"},{name:"America/New_York",utc_offset:"-04:00:00"},{name:"America/Campo_Grande",utc_offset:"-04:00:00"},{name:"America/St_Thomas",utc_offset:"-04:00:00"},{name:"America/Tortola",utc_offset:"-04:00:00"},{name:"America/Montreal",utc_offset:"-04:00:00"},{name:"America/Pangnirtung",utc_offset:"-04:00:00"},{name:"America/Anguilla",utc_offset:"-04:00:00"},{name:"America/Kralendijk",utc_offset:"-04:00:00"},{name:"America/Indianapolis",utc_offset:"-04:00:00"},{name:"America/Dominica",utc_offset:"-04:00:00"},{name:"America/Santo_Domingo",utc_offset:"-04:00:00"},{name:"America/Marigot",utc_offset:"-04:00:00"},{name:"America/Porto_Velho",utc_offset:"-04:00:00"},{name:"America/Aruba",utc_offset:"-04:00:00"},{name:"EST5EDT",utc_offset:"-04:00:00"},{name:"US/Eastern",utc_offset:"-04:00:00"},{name:"US/East-Indiana",utc_offset:"-04:00:00"},{name:"US/Michigan",utc_offset:"-04:00:00"},{name:"Etc/GMT+4",utc_offset:"-04:00:00"},{name:"Canada/Eastern",utc_offset:"-04:00:00"},{name:"Cuba",utc_offset:"-04:00:00"},{name:"America/Sao_Paulo",utc_offset:"-03:00:00"},{name:"Brazil/East",utc_offset:"-03:00:00"},{name:"America/Asuncion",utc_offset:"-03:00:00"},{name:"America/Bahia",utc_offset:"-03:00:00"},{name:"America/Buenos_Aires",utc_offset:"-03:00:00"},{name:"America/Cayenne",utc_offset:"-03:00:00"},{name:"America/Argentina/Buenos_Aires",utc_offset:"-03:00:00"},{name:"America/Argentina/ComodRivadavia",utc_offset:"-03:00:00"},{name:"America/Argentina/Salta",utc_offset:"-03:00:00"},{name:"America/Argentina/Mendoza",utc_offset:"-03:00:00"},{name:"America/Argentina/Rio_Gallegos",utc_offset:"-03:00:00"},{name:"America/Argentina/Cordoba",utc_offset:"-03:00:00"},{name:"America/Argentina/Catamarca",utc_offset:"-03:00:00"},{name:"America/Argentina/Ushuaia",utc_offset:"-03:00:00"},{name:"America/Argentina/Jujuy",utc_offset:"-03:00:00"},{name:"America/Argentina/San_Luis",utc_offset:"-03:00:00"},{name:"America/Argentina/La_Rioja",utc_offset:"-03:00:00"},{name:"America/Argentina/San_Juan",utc_offset:"-03:00:00"},{name:"America/Argentina/Tucuman",utc_offset:"-03:00:00"},{name:"America/Belem",utc_offset:"-03:00:00"},{name:"America/Recife",utc_offset:"-03:00:00"},{name:"America/Mendoza",utc_offset:"-03:00:00"},{name:"America/Goose_Bay",utc_offset:"-03:00:00"},{name:"America/Cordoba",utc_offset:"-03:00:00"},{name:"America/Rosario",utc_offset:"-03:00:00"},{name:"America/Catamarca",utc_offset:"-03:00:00"},{name:"America/Santarem",utc_offset:"-03:00:00"},{name:"America/Maceio",utc_offset:"-03:00:00"},{name:"America/Punta_Arenas",utc_offset:"-03:00:00"},{name:"America/Jujuy",utc_offset:"-03:00:00"},{name:"America/Fortaleza",utc_offset:"-03:00:00"},{name:"America/Araguaina",utc_offset:"-03:00:00"},{name:"America/Thule",utc_offset:"-03:00:00"},{name:"America/Paramaribo",utc_offset:"-03:00:00"},{name:"America/Moncton",utc_offset:"-03:00:00"},{name:"America/Glace_Bay",utc_offset:"-03:00:00"},{name:"America/Halifax",utc_offset:"-03:00:00"},{name:"America/Montevideo",utc_offset:"-03:00:00"},{name:"Etc/GMT+3",utc_offset:"-03:00:00"},{name:"Antarctica/Rothera",utc_offset:"-03:00:00"},{name:"Antarctica/Palmer",utc_offset:"-03:00:00"},{name:"Atlantic/Bermuda",utc_offset:"-03:00:00"},{name:"Atlantic/Stanley",utc_offset:"-03:00:00"},{name:"Canada/Atlantic",utc_offset:"-03:00:00"},{name:"Brazil/DeNoronha",utc_offset:"-02:00:00"},{name:"America/Noronha",utc_offset:"-02:00:00"},{name:"America/St_Johns",utc_offset:"-02:30:00"},{name:"America/Miquelon",utc_offset:"-02:00:00"},{name:"Etc/GMT+2",utc_offset:"-02:00:00"},{name:"Atlantic/South_Georgia",utc_offset:"-02:00:00"},{name:"Canada/Newfoundland",utc_offset:"-02:30:00"},{name:"America/Scoresbysund",utc_offset:"-01:00:00"},{name:"America/Godthab",utc_offset:"-01:00:00"},{name:"America/Nuuk",utc_offset:"-01:00:00"},{name:"Etc/GMT+1",utc_offset:"-01:00:00"},{name:"Atlantic/Cape_Verde",utc_offset:"-01:00:00"},{name:"UTC",utc_offset:"00:00:00"},{name:"GMT",utc_offset:"00:00:00"},{name:"Universal",utc_offset:"00:00:00"},{name:"GMT-0",utc_offset:"00:00:00"},{name:"Greenwich",utc_offset:"00:00:00"},{name:"Africa/Freetown",utc_offset:"00:00:00"},{name:"Africa/Accra",utc_offset:"00:00:00"},{name:"Africa/Monrovia",utc_offset:"00:00:00"},{name:"Africa/Ouagadougou",utc_offset:"00:00:00"},{name:"Africa/Lome",utc_offset:"00:00:00"},{name:"Africa/Timbuktu",utc_offset:"00:00:00"},{name:"Africa/Conakry",utc_offset:"00:00:00"},{name:"Africa/Nouakchott",utc_offset:"00:00:00"},{name:"Africa/Bissau",utc_offset:"00:00:00"},{name:"Africa/Sao_Tome",utc_offset:"00:00:00"},{name:"Africa/Dakar",utc_offset:"00:00:00"},{name:"Africa/Bamako",utc_offset:"00:00:00"},{name:"Africa/Abidjan",utc_offset:"00:00:00"},{name:"Africa/Banjul",utc_offset:"00:00:00"},{name:"Zulu",utc_offset:"00:00:00"},{name:"America/Danmarkshavn",utc_offset:"00:00:00"},{name:"GMT0",utc_offset:"00:00:00"},{name:"UCT",utc_offset:"00:00:00"},{name:"Etc/Greenwich",utc_offset:"00:00:00"},{name:"Etc/UTC",utc_offset:"00:00:00"},{name:"Etc/GMT",utc_offset:"00:00:00"},{name:"Etc/Universal",utc_offset:"00:00:00"},{name:"Etc/GMT-0",utc_offset:"00:00:00"},{name:"Etc/Zulu",utc_offset:"00:00:00"},{name:"Etc/GMT0",utc_offset:"00:00:00"},{name:"Etc/UCT",utc_offset:"00:00:00"},{name:"Etc/GMT+0",utc_offset:"00:00:00"},{name:"GMT+0",utc_offset:"00:00:00"},{name:"Atlantic/Azores",utc_offset:"00:00:00"},{name:"Atlantic/St_Helena",utc_offset:"00:00:00"},{name:"Atlantic/Reykjavik",utc_offset:"00:00:00"},{name:"Iceland",utc_offset:"00:00:00"},{name:"Eire",utc_offset:"01:00:00"},{name:"Africa/Casablanca",utc_offset:"01:00:00"},{name:"Africa/Luanda",utc_offset:"01:00:00"},{name:"Africa/Libreville",utc_offset:"01:00:00"},{name:"Africa/Porto-Novo",utc_offset:"01:00:00"},{name:"Africa/Kinshasa",utc_offset:"01:00:00"},{name:"Africa/Ndjamena",utc_offset:"01:00:00"},{name:"Africa/Brazzaville",utc_offset:"01:00:00"},{name:"Africa/Malabo",utc_offset:"01:00:00"},{name:"Africa/Tunis",utc_offset:"01:00:00"},{name:"Africa/Algiers",utc_offset:"01:00:00"},{name:"Africa/Lagos",utc_offset:"01:00:00"},{name:"Africa/El_Aaiun",utc_offset:"01:00:00"},{name:"Africa/Niamey",utc_offset:"01:00:00"},{name:"Africa/Bangui",utc_offset:"01:00:00"},{name:"Africa/Douala",utc_offset:"01:00:00"},{name:"Europe/Lisbon",utc_offset:"01:00:00"},{name:"Europe/Jersey",utc_offset:"01:00:00"},{name:"Europe/Guernsey",utc_offset:"01:00:00"},{name:"Europe/Isle_of_Man",utc_offset:"01:00:00"},{name:"Europe/Belfast",utc_offset:"01:00:00"},{name:"Europe/London",utc_offset:"01:00:00"},{name:"Europe/Dublin",utc_offset:"01:00:00"},{name:"GB",utc_offset:"01:00:00"},{name:"GB-Eire",utc_offset:"01:00:00"},{name:"Etc/GMT-1",utc_offset:"01:00:00"},{name:"Atlantic/Faeroe",utc_offset:"01:00:00"},{name:"Atlantic/Faroe",utc_offset:"01:00:00"},{name:"Atlantic/Canary",utc_offset:"01:00:00"},{name:"Atlantic/Madeira",utc_offset:"01:00:00"},{name:"WET",utc_offset:"01:00:00"},{name:"Portugal",utc_offset:"01:00:00"},{name:"Libya",utc_offset:"02:00:00"},{name:"Africa/Blantyre",utc_offset:"02:00:00"},{name:"Africa/Windhoek",utc_offset:"02:00:00"},{name:"Africa/Johannesburg",utc_offset:"02:00:00"},{name:"Africa/Cairo",utc_offset:"02:00:00"},{name:"Africa/Gaborone",utc_offset:"02:00:00"},{name:"Africa/Juba",utc_offset:"02:00:00"},{name:"Africa/Maputo",utc_offset:"02:00:00"},{name:"Africa/Lubumbashi",utc_offset:"02:00:00"},{name:"Africa/Maseru",utc_offset:"02:00:00"},{name:"Africa/Ceuta",utc_offset:"02:00:00"},{name:"Africa/Kigali",utc_offset:"02:00:00"},{name:"Africa/Harare",utc_offset:"02:00:00"},{name:"Africa/Lusaka",utc_offset:"02:00:00"},{name:"Africa/Tripoli",utc_offset:"02:00:00"},{name:"Africa/Bujumbura",utc_offset:"02:00:00"},{name:"Africa/Mbabane",utc_offset:"02:00:00"},{name:"Africa/Khartoum",utc_offset:"02:00:00"},{name:"Europe/Copenhagen",utc_offset:"02:00:00"},{name:"Europe/Skopje",utc_offset:"02:00:00"},{name:"Europe/Sarajevo",utc_offset:"02:00:00"},{name:"Europe/Stockholm",utc_offset:"02:00:00"},{name:"Europe/Zurich",utc_offset:"02:00:00"},{name:"Europe/Gibraltar",utc_offset:"02:00:00"},{name:"Europe/Prague",utc_offset:"02:00:00"},{name:"Europe/Brussels",utc_offset:"02:00:00"},{name:"Europe/Busingen",utc_offset:"02:00:00"},{name:"Europe/Madrid",utc_offset:"02:00:00"},{name:"Europe/Bratislava",utc_offset:"02:00:00"},{name:"Europe/Luxembourg",utc_offset:"02:00:00"},{name:"Europe/Budapest",utc_offset:"02:00:00"},{name:"Europe/Malta",utc_offset:"02:00:00"},{name:"Europe/Belgrade",utc_offset:"02:00:00"},{name:"Europe/Ljubljana",utc_offset:"02:00:00"},{name:"Europe/Vaduz",utc_offset:"02:00:00"},{name:"Europe/Vatican",utc_offset:"02:00:00"},{name:"Europe/Podgorica",utc_offset:"02:00:00"},{name:"Europe/Andorra",utc_offset:"02:00:00"},{name:"Europe/Zagreb",utc_offset:"02:00:00"},{name:"Europe/Kaliningrad",utc_offset:"02:00:00"},{name:"Europe/Paris",utc_offset:"02:00:00"},{name:"Europe/San_Marino",utc_offset:"02:00:00"},{name:"Europe/Amsterdam",utc_offset:"02:00:00"},{name:"Europe/Vienna",utc_offset:"02:00:00"},{name:"Europe/Tirane",utc_offset:"02:00:00"},{name:"Europe/Berlin",utc_offset:"02:00:00"},{name:"Europe/Warsaw",utc_offset:"02:00:00"},{name:"Europe/Monaco",utc_offset:"02:00:00"},{name:"Europe/Oslo",utc_offset:"02:00:00"},{name:"Europe/Rome",utc_offset:"02:00:00"},{name:"CET",utc_offset:"02:00:00"},{name:"Asia/Hebron",utc_offset:"02:00:00"},{name:"Asia/Gaza",utc_offset:"02:00:00"},{name:"MET",utc_offset:"02:00:00"},{name:"Etc/GMT-2",utc_offset:"02:00:00"},{name:"Antarctica/Troll",utc_offset:"02:00:00"},{name:"Atlantic/Jan_Mayen",utc_offset:"02:00:00"},{name:"Arctic/Longyearbyen",utc_offset:"02:00:00"},{name:"Poland",utc_offset:"02:00:00"},{name:"Egypt",utc_offset:"02:00:00"},{name:"Indian/Mayotte",utc_offset:"03:00:00"},{name:"Indian/Comoro",utc_offset:"03:00:00"},{name:"Indian/Antananarivo",utc_offset:"03:00:00"},{name:"Africa/Nairobi",utc_offset:"03:00:00"},{name:"Africa/Mogadishu",utc_offset:"03:00:00"},{name:"Africa/Asmera",utc_offset:"03:00:00"},{name:"Africa/Dar_es_Salaam",utc_offset:"03:00:00"},{name:"Africa/Asmara",utc_offset:"03:00:00"},{name:"Africa/Kampala",utc_offset:"03:00:00"},{name:"Africa/Djibouti",utc_offset:"03:00:00"},{name:"Africa/Addis_Ababa",utc_offset:"03:00:00"},{name:"Europe/Uzhgorod",utc_offset:"03:00:00"},{name:"Europe/Minsk",utc_offset:"03:00:00"},{name:"Europe/Vilnius",utc_offset:"03:00:00"},{name:"Europe/Sofia",utc_offset:"03:00:00"},{name:"Europe/Mariehamn",utc_offset:"03:00:00"},{name:"Europe/Riga",utc_offset:"03:00:00"},{name:"Europe/Tallinn",utc_offset:"03:00:00"},{name:"Europe/Moscow",utc_offset:"03:00:00"},{name:"Europe/Bucharest",utc_offset:"03:00:00"},{name:"Europe/Athens",utc_offset:"03:00:00"},{name:"Europe/Nicosia",utc_offset:"03:00:00"},{name:"Europe/Zaporozhye",utc_offset:"03:00:00"},{name:"Europe/Kyiv",utc_offset:"03:00:00"},{name:"Europe/Istanbul",utc_offset:"03:00:00"},{name:"Europe/Helsinki",utc_offset:"03:00:00"},{name:"Europe/Simferopol",utc_offset:"03:00:00"},{name:"Europe/Volgograd",utc_offset:"03:00:00"},{name:"Europe/Kirov",utc_offset:"03:00:00"},{name:"Europe/Chisinau",utc_offset:"03:00:00"},{name:"Europe/Kiev",utc_offset:"03:00:00"},{name:"Europe/Tiraspol",utc_offset:"03:00:00"},{name:"Asia/Damascus",utc_offset:"03:00:00"},{name:"Asia/Amman",utc_offset:"03:00:00"},{name:"Asia/Riyadh",utc_offset:"03:00:00"},{name:"Asia/Famagusta",utc_offset:"03:00:00"},{name:"Asia/Baghdad",utc_offset:"03:00:00"},{name:"Asia/Beirut",utc_offset:"03:00:00"},{name:"Asia/Kuwait",utc_offset:"03:00:00"},{name:"Asia/Jerusalem",utc_offset:"03:00:00"},{name:"Asia/Nicosia",utc_offset:"03:00:00"},{name:"Asia/Aden",utc_offset:"03:00:00"},{name:"Asia/Tehran",utc_offset:"03:30:00"},{name:"Asia/Istanbul",utc_offset:"03:00:00"},{name:"Asia/Qatar",utc_offset:"03:00:00"},{name:"Asia/Bahrain",utc_offset:"03:00:00"},{name:"Asia/Tel_Aviv",utc_offset:"03:00:00"},{name:"Etc/GMT-3",utc_offset:"03:00:00"},{name:"EET",utc_offset:"03:00:00"},{name:"Antarctica/Syowa",utc_offset:"03:00:00"},{name:"W-SU",utc_offset:"03:00:00"},{name:"Israel",utc_offset:"03:00:00"},{name:"Turkey",utc_offset:"03:00:00"},{name:"Iran",utc_offset:"03:30:00"},{name:"Indian/Mahe",utc_offset:"04:00:00"},{name:"Indian/Mauritius",utc_offset:"04:00:00"},{name:"Indian/Reunion",utc_offset:"04:00:00"},{name:"Europe/Samara",utc_offset:"04:00:00"},{name:"Europe/Ulyanovsk",utc_offset:"04:00:00"},{name:"Europe/Saratov",utc_offset:"04:00:00"},{name:"Europe/Astrakhan",utc_offset:"04:00:00"},{name:"Asia/Baku",utc_offset:"04:00:00"},{name:"Asia/Dubai",utc_offset:"04:00:00"},{name:"Asia/Muscat",utc_offset:"04:00:00"},{name:"Asia/Tbilisi",utc_offset:"04:00:00"},{name:"Asia/Kabul",utc_offset:"04:30:00"},{name:"Asia/Yerevan",utc_offset:"04:00:00"},{name:"Etc/GMT-4",utc_offset:"04:00:00"},{name:"Indian/Kerguelen",utc_offset:"05:00:00"},{name:"Indian/Maldives",utc_offset:"05:00:00"},{name:"Asia/Ashgabat",utc_offset:"05:00:00"},{name:"Asia/Kolkata",utc_offset:"05:30:00"},{name:"Asia/Qostanay",utc_offset:"05:00:00"},{name:"Asia/Aqtau",utc_offset:"05:00:00"},{name:"Asia/Samarkand",utc_offset:"05:00:00"},{name:"Asia/Ashkhabad",utc_offset:"05:00:00"},{name:"Asia/Kathmandu",utc_offset:"05:45:00"},{name:"Asia/Atyrau",utc_offset:"05:00:00"},{name:"Asia/Aqtobe",utc_offset:"05:00:00"},{name:"Asia/Calcutta",utc_offset:"05:30:00"},{name:"Asia/Almaty",utc_offset:"05:00:00"},{name:"Asia/Katmandu",utc_offset:"05:45:00"},{name:"Asia/Colombo",utc_offset:"05:30:00"},{name:"Asia/Dushanbe",utc_offset:"05:00:00"},{name:"Asia/Tashkent",utc_offset:"05:00:00"},{name:"Asia/Oral",utc_offset:"05:00:00"},{name:"Asia/Qyzylorda",utc_offset:"05:00:00"},{name:"Asia/Karachi",utc_offset:"05:00:00"},{name:"Asia/Yekaterinburg",utc_offset:"05:00:00"},{name:"Etc/GMT-5",utc_offset:"05:00:00"},{name:"Antarctica/Mawson",utc_offset:"05:00:00"},{name:"Antarctica/Vostok",utc_offset:"05:00:00"},{name:"Indian/Chagos",utc_offset:"06:00:00"},{name:"Indian/Cocos",utc_offset:"06:30:00"},{name:"Asia/Thimphu",utc_offset:"06:00:00"},{name:"Asia/Yangon",utc_offset:"06:30:00"},{name:"Asia/Rangoon",utc_offset:"06:30:00"},{name:"Asia/Bishkek",utc_offset:"06:00:00"},{name:"Asia/Urumqi",utc_offset:"06:00:00"},{name:"Asia/Dacca",utc_offset:"06:00:00"},{name:"Asia/Dhaka",utc_offset:"06:00:00"},{name:"Asia/Kashgar",utc_offset:"06:00:00"},{name:"Asia/Thimbu",utc_offset:"06:00:00"},{name:"Asia/Omsk",utc_offset:"06:00:00"},{name:"Etc/GMT-6",utc_offset:"06:00:00"},{name:"Indian/Christmas",utc_offset:"07:00:00"},{name:"Asia/Ho_Chi_Minh",utc_offset:"07:00:00"},{name:"Asia/Saigon",utc_offset:"07:00:00"},{name:"Asia/Pontianak",utc_offset:"07:00:00"},{name:"Asia/Barnaul",utc_offset:"07:00:00"},{name:"Asia/Novokuznetsk",utc_offset:"07:00:00"},{name:"Asia/Vientiane",utc_offset:"07:00:00"},{name:"Asia/Novosibirsk",utc_offset:"07:00:00"},{name:"Asia/Phnom_Penh",utc_offset:"07:00:00"},{name:"Asia/Jakarta",utc_offset:"07:00:00"},{name:"Asia/Bangkok",utc_offset:"07:00:00"},{name:"Asia/Hovd",utc_offset:"07:00:00"},{name:"Asia/Tomsk",utc_offset:"07:00:00"},{name:"Asia/Krasnoyarsk",utc_offset:"07:00:00"},{name:"Etc/GMT-7",utc_offset:"07:00:00"},{name:"Antarctica/Davis",utc_offset:"07:00:00"},{name:"PRC",utc_offset:"08:00:00"},{name:"Australia/Eucla",utc_offset:"08:45:00"},{name:"Australia/Perth",utc_offset:"08:00:00"},{name:"Australia/West",utc_offset:"08:00:00"},{name:"Singapore",utc_offset:"08:00:00"},{name:"Asia/Macau",utc_offset:"08:00:00"},{name:"Asia/Harbin",utc_offset:"08:00:00"},{name:"Asia/Irkutsk",utc_offset:"08:00:00"},{name:"Asia/Shanghai",utc_offset:"08:00:00"},{name:"Asia/Ujung_Pandang",utc_offset:"08:00:00"},{name:"Asia/Kuching",utc_offset:"08:00:00"},{name:"Asia/Kuala_Lumpur",utc_offset:"08:00:00"},{name:"Asia/Manila",utc_offset:"08:00:00"},{name:"Asia/Brunei",utc_offset:"08:00:00"},{name:"Asia/Chongqing",utc_offset:"08:00:00"},{name:"Asia/Singapore",utc_offset:"08:00:00"},{name:"Asia/Choibalsan",utc_offset:"08:00:00"},{name:"Asia/Chungking",utc_offset:"08:00:00"},{name:"Asia/Taipei",utc_offset:"08:00:00"},{name:"Asia/Ulan_Bator",utc_offset:"08:00:00"},{name:"Asia/Hong_Kong",utc_offset:"08:00:00"},{name:"Asia/Ulaanbaatar",utc_offset:"08:00:00"},{name:"Asia/Macao",utc_offset:"08:00:00"},{name:"Asia/Makassar",utc_offset:"08:00:00"},{name:"Etc/GMT-8",utc_offset:"08:00:00"},{name:"Antarctica/Casey",utc_offset:"08:00:00"},{name:"ROC",utc_offset:"08:00:00"},{name:"Hongkong",utc_offset:"08:00:00"},{name:"Australia/Yancowinna",utc_offset:"09:30:00"},{name:"Australia/Adelaide",utc_offset:"09:30:00"},{name:"Australia/Darwin",utc_offset:"09:30:00"},{name:"Australia/South",utc_offset:"09:30:00"},{name:"Australia/North",utc_offset:"09:30:00"},{name:"Australia/Broken_Hill",utc_offset:"09:30:00"},{name:"ROK",utc_offset:"09:00:00"},{name:"Asia/Seoul",utc_offset:"09:00:00"},{name:"Asia/Dili",utc_offset:"09:00:00"},{name:"Asia/Tokyo",utc_offset:"09:00:00"},{name:"Asia/Yakutsk",utc_offset:"09:00:00"},{name:"Asia/Jayapura",utc_offset:"09:00:00"},{name:"Asia/Chita",utc_offset:"09:00:00"},{name:"Asia/Pyongyang",utc_offset:"09:00:00"},{name:"Asia/Khandyga",utc_offset:"09:00:00"},{name:"Japan",utc_offset:"09:00:00"},{name:"Etc/GMT-9",utc_offset:"09:00:00"},{name:"Pacific/Palau",utc_offset:"09:00:00"},{name:"Australia/Tasmania",utc_offset:"10:00:00"},{name:"Australia/Lord_Howe",utc_offset:"10:30:00"},{name:"Australia/Currie",utc_offset:"10:00:00"},{name:"Australia/Hobart",utc_offset:"10:00:00"},{name:"Australia/LHI",utc_offset:"10:30:00"},{name:"Australia/Melbourne",utc_offset:"10:00:00"},{name:"Australia/Lindeman",utc_offset:"10:00:00"},{name:"Australia/Sydney",utc_offset:"10:00:00"},{name:"Australia/Canberra",utc_offset:"10:00:00"},{name:"Australia/Victoria",utc_offset:"10:00:00"},{name:"Australia/NSW",utc_offset:"10:00:00"},{name:"Australia/ACT",utc_offset:"10:00:00"},{name:"Australia/Queensland",utc_offset:"10:00:00"},{name:"Australia/Brisbane",utc_offset:"10:00:00"},{name:"Asia/Ust-Nera",utc_offset:"10:00:00"},{name:"Asia/Vladivostok",utc_offset:"10:00:00"},{name:"Etc/GMT-10",utc_offset:"10:00:00"},{name:"Antarctica/DumontDUrville",utc_offset:"10:00:00"},{name:"Antarctica/Macquarie",utc_offset:"10:00:00"},{name:"Pacific/Port_Moresby",utc_offset:"10:00:00"},{name:"Pacific/Chuuk",utc_offset:"10:00:00"},{name:"Pacific/Saipan",utc_offset:"10:00:00"},{name:"Pacific/Yap",utc_offset:"10:00:00"},{name:"Pacific/Truk",utc_offset:"10:00:00"},{name:"Pacific/Guam",utc_offset:"10:00:00"},{name:"Asia/Magadan",utc_offset:"11:00:00"},{name:"Asia/Srednekolymsk",utc_offset:"11:00:00"},{name:"Asia/Sakhalin",utc_offset:"11:00:00"},{name:"Etc/GMT-11",utc_offset:"11:00:00"},{name:"Pacific/Noumea",utc_offset:"11:00:00"},{name:"Pacific/Kosrae",utc_offset:"11:00:00"},{name:"Pacific/Efate",utc_offset:"11:00:00"},{name:"Pacific/Bougainville",utc_offset:"11:00:00"},{name:"Pacific/Norfolk",utc_offset:"11:00:00"},{name:"Pacific/Ponape",utc_offset:"11:00:00"},{name:"Pacific/Guadalcanal",utc_offset:"11:00:00"},{name:"Pacific/Pohnpei",utc_offset:"11:00:00"},{name:"NZ-CHAT",utc_offset:"12:45:00"},{name:"Kwajalein",utc_offset:"12:00:00"},{name:"Asia/Anadyr",utc_offset:"12:00:00"},{name:"Asia/Kamchatka",utc_offset:"12:00:00"},{name:"Etc/GMT-12",utc_offset:"12:00:00"},{name:"Antarctica/McMurdo",utc_offset:"12:00:00"},{name:"Antarctica/South_Pole",utc_offset:"12:00:00"},{name:"Pacific/Majuro",utc_offset:"12:00:00"},{name:"Pacific/Auckland",utc_offset:"12:00:00"},{name:"Pacific/Nauru",utc_offset:"12:00:00"},{name:"Pacific/Funafuti",utc_offset:"12:00:00"},{name:"Pacific/Chatham",utc_offset:"12:45:00"},{name:"Pacific/Wake",utc_offset:"12:00:00"},{name:"Pacific/Kwajalein",utc_offset:"12:00:00"},{name:"Pacific/Wallis",utc_offset:"12:00:00"},{name:"Pacific/Tarawa",utc_offset:"12:00:00"},{name:"Pacific/Fiji",utc_offset:"12:00:00"},{name:"NZ",utc_offset:"12:00:00"},{name:"Etc/GMT-13",utc_offset:"13:00:00"},{name:"Pacific/Kanton",utc_offset:"13:00:00"},{name:"Pacific/Apia",utc_offset:"13:00:00"},{name:"Pacific/Fakaofo",utc_offset:"13:00:00"},{name:"Pacific/Enderbury",utc_offset:"13:00:00"},{name:"Pacific/Tongatapu",utc_offset:"13:00:00"},{name:"Etc/GMT-14",utc_offset:"14:00:00"},{name:"Pacific/Kiritimati",utc_offset:"14:00:00"}];e.map(a=>a.name);const t="UTC";export{t as DEFAULT_TIMEZONE,e as timezones};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{Paragraph as a}from"./typographies/Paragraph.mjs";import{SectionHeader as r}from"./typographies/SectionHeader.mjs";import{PageHeader as e}from"./typographies/PageHeader.mjs";import{PageSectionHeader as o}from"./typographies/PageSectionHeader.mjs";import{Typography as t}from"./Typography/index.mjs";import{CredentialRequestsEditor as i}from"./CredentialRequestsEditor/index.mjs";import{When as s}from"./When.mjs";import{Image as m}from"./Image.mjs";import{QRCodeDisplay as n}from"./QRCodeDisplay/index.mjs";import{CustomAlertComponent as p,useSnackbar as l}from"./Snackbar/index.mjs";import{Backdrop as f}from"./Backdrop/index.mjs";import{Button as c}from"./Button/index.mjs";import{BrandFilterInput as d}from"./BrandFilterInput/index.mjs";import{SeriesChart as C}from"./chart/SeriesChart/index.mjs";import{SeriesChartLegend as u}from"./chart/SeriesChartLegend/index.mjs";import{SeriesPercentageChart as h}from"./chart/SeriesPercentageChart/index.mjs";import{BigNumber as T}from"./chart/BigNumber/index.mjs";import{SimpleBarChart as B}from"./chart/SimpleBarChart/index.mjs";import{AreaChart as S}from"./chart/AreaChart/index.mjs";import{ErrorCodesChart as g}from"./chart/ErrorCodesChart/index.mjs";import{ReasonCodesChart as P}from"./chart/ReasonCodesChart/index.mjs";import{PieChart as I}from"./chart/PieChart/index.mjs";import{RiskScorePieChart as v}from"./chart/RiskScorePieChart/index.mjs";import{RiskScoreBarChart as O}from"./chart/RiskScoreBarChart/index.mjs";import{SimpleLegend as L}from"./chart/SimpleLegend/index.mjs";import{LoadingChartSection as b}from"./chart/LoadingChartSection.mjs";import{EmptyChartSection as D}from"./chart/EmptyChartSection.mjs";import{MetricLastUpdated as F}from"./chart/MetricLastUpdated.mjs";import{FunnelChart as y}from"./chart/FunnelChart/index.mjs";import{ConversionOverTimeChart as k}from"./chart/ConversionOverTimeChart/index.mjs";import{WhenStyled as E}from"./WhenStyled.mjs";import{RequiredLabel as R}from"./RequiredLabel/index.mjs";import{AcceptTermsNotice as A}from"./terms/AcceptTermsNotice.mjs";import{AdaptativeBox as V}from"./UI/AdaptativeBox.mjs";import{AddressInput as N}from"./form/AddressInput/index.mjs";import{Alert as M}from"./Alert/Alert.mjs";import{BILLABLE_PRODUCTS as x,BillableProduct as w}from"./chart/BillableEventsTable/BillableEventsTable.types.mjs";import{Banner as W}from"./Banners/Banner.mjs";import{BasePhoneInput as H}from"./form/BasePhoneInput.mjs";import{BillableEventsProductTable as q}from"./chart/BillableEventsProductTable/BillableEventsProductTable.mjs";import{BillableEventsTable as z}from"./chart/BillableEventsTable/BillableEventsTable.mjs";import{CalendlyDialog as Q,CalendlyDialogComponent as U}from"./dialog/CalendlyDialog.mjs";import{ContentWithLoader as _}from"./UI/ContentWithLoader.mjs";import{CustomDialog as G}from"./dialog/Dialog.mjs";import{DateInput as K}from"./form/DateInput/index.mjs";import{DateRangeInput as j}from"./form/DateRangeInput/index.mjs";import{DefaultInput as Y}from"./form/DefaultInput.mjs";import{EmailInput as $}from"./form/EmailInput.mjs";import{ExactBirthdayBanner as J}from"./Banners/ExactBirthdayBanner.mjs";import{ExportToPdfButton as X}from"./buttons/ExportToPdfButton.mjs";import{Form as Z}from"./form/NewOneClickForm/core/form/form.mjs";import{FormBuilder as aa}from"./form/NewOneClickForm/core/form/formBuilder.mjs";import{FormField as ra}from"./form/NewOneClickForm/core/form/formField.mjs";import{FormFieldBuilder as ea}from"./form/NewOneClickForm/core/form/formFieldBuilder.mjs";import{FormProvider as oa,useForm as ta}from"./form/NewOneClickForm/react/core/form.context.mjs";import{FullWidthAlert as ia}from"./Alert/FullWidthAlert.mjs";import{IconPlayer as sa}from"./icons/IconPlayer.mjs";import{LegalLink as ma}from"./terms/LegalLink.mjs";import{LinkButton as na}from"./buttons/LinkButton.mjs";import{LogDetailPanel as pa}from"./logs/LogsTable/LogDetailPanel.mjs";import{LogsInfoAlert as la}from"./logs/LogsInfoAlert/LogsInfoAlert.mjs";import{LogsTable as fa}from"./logs/LogsTable/LogsTable.mjs";import{NPIInput as ca}from"./form/NPIInput/index.mjs";import{NewOneClickForm as da}from"./form/NewOneClickForm/react/ui/form.mjs";import{OTPInput as Ca}from"./form/OTPInput.mjs";import{OneClickVerificationEventsOverTimeChart as ua}from"./chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.mjs";import{OneClickVerificationFunnelChart as ha}from"./chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.mjs";import{OneClickVerificationSuccessOverTimeChart as Ta}from"./chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.mjs";import{OriginalButton as Ba}from"./buttons/OriginalButton.mjs";import{OverviewBigNumbers as Sa}from"./chart/OverviewBigNumbers/OverviewBigNumbers.mjs";import{PersistentDialog as ga}from"./dialog/PersistentDialog.mjs";import{PhoneInput as Pa}from"./form/PhoneInput.mjs";import{PoweredByVerified as Ia}from"./verified/powered-by-verified/index.mjs";import{PrettyPhoneInput as va}from"./form/PrettyPhoneInput.mjs";import{PrivacyPolicyNotice as Oa}from"./terms/PrivacyPolicyNotice.mjs";import{RadioOption as La}from"./form/RadioOption.mjs";import{ResendPhoneBanner as ba}from"./Banners/ResendPhoneBanner.mjs";import{SSNInput as Da}from"./form/SSNInput.mjs";import{SelectInput as Fa}from"./form/SelectInput.mjs";import{SnackbarProvider as ya}from"notistack";import{SynchronizedMetricsChart as ka}from"./chart/SynchronizedMetricsChart/SynchronizedMetricsChart.mjs";import{TTSMagicButton as Ea}from"./text-to-signup/magic-button.mjs";import{TTSMagicLegalLanguage as Ra}from"./text-to-signup/magic-legal-language.mjs";import{TTSMagicQRCode as Aa}from"./text-to-signup/magic-qr-code.mjs";import{TTSOverTimeChart as Va}from"./chart/TTSOverTimeChart/TTSOverTimeChart.mjs";import{TestPhoneNumbersBanner as Na}from"./Banners/TestPhoneNumbersBanner.mjs";import{TextButton as Ma}from"./buttons/TextButton.mjs";import{TimezoneInput as xa}from"./form/TimezoneInput/index.mjs";import{VerifiedImage as wa}from"./verified/VerifiedImage.mjs";import{VerifiedIncLogo as Wa}from"./verified/VerifiedIncLogo.mjs";import{defaultOverviewMetrics as Ha}from"./chart/OverviewBigNumbers/OverviewBigNumbers.types.mjs";import{exportBillableEventsToCsv as qa}from"./chart/BillableEventsTable/exportBillableEventsToCsv.mjs";import{formatIntegrationType as za,mapBillableEventsTableData as Qa}from"./chart/BillableEventsTable/BillableEventsTableDataMapper.mjs";import{mapBillableEventsProductTableData as Ua}from"./chart/BillableEventsProductTable/BillableEventsProductTableDataMapper.mjs";import{mapOneClickVerificationAreaSeriesData as _a}from"./chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.map.mjs";import{mapOneClickVerificationFunnelChartData as Ga}from"./chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.map.mjs";import{mapOneClickVerificationSuccessOverTimeChartData as Ka}from"./chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.map.mjs";import{mapSeriesTimeSeriesData as ja}from"./chart/SeriesChart/SeriesChart.map.mjs";import{mapTTSTimeSeriesData as Ya}from"./chart/TTSOverTimeChart/TTSOverTimeChart.map.mjs";import{toCreatePatchCredentials as $a}from"./form/NewOneClickForm/core/mappers/create-patch.map.mjs";import{toOption as Ja,useBrandFilterInput as Xa}from"./BrandFilterInput/BrandFilterInput.hook.mjs";import{toShareCredentials as Za}from"./form/NewOneClickForm/core/mappers/share.map.mjs";export{A as AcceptTermsNotice,V as AdaptativeBox,N as AddressInput,M as Alert,S as AreaChart,x as BILLABLE_PRODUCTS,f as Backdrop,W as Banner,H as BasePhoneInput,T as BigNumber,q as BillableEventsProductTable,z as BillableEventsTable,w as BillableProduct,d as BrandFilterInput,c as Button,Q as CalendlyDialog,U as CalendlyDialogComponent,_ as ContentWithLoader,k as ConversionOverTimeChart,i as CredentialRequestsEditor,p as CustomAlertComponent,G as CustomDialog,K as DateInput,j as DateRangeInput,Y as DefaultInput,$ as EmailInput,D as EmptyChartSection,g as ErrorCodesChart,J as ExactBirthdayBanner,X as ExportToPdfButton,Z as Form,aa as FormBuilder,ra as FormField,ea as FormFieldBuilder,oa as FormProvider,ia as FullWidthAlert,y as FunnelChart,sa as IconPlayer,m as Image,ma as LegalLink,na as LinkButton,b as LoadingChartSection,pa as LogDetailPanel,la as LogsInfoAlert,fa as LogsTable,F as MetricLastUpdated,ca as NPIInput,da as NewOneClickForm,Ca as OTPInput,ua as OneClickVerificationEventsOverTimeChart,ha as OneClickVerificationFunnelChart,Ta as OneClickVerificationSuccessOverTimeChart,Ba as OriginalButton,Sa as OverviewBigNumbers,e as PageHeader,o as PageSectionHeader,a as Paragraph,ga as PersistentDialog,Pa as PhoneInput,I as PieChart,Ia as PoweredByVerified,va as PrettyPhoneInput,Oa as PrivacyPolicyNotice,n as QRCodeDisplay,La as RadioOption,P as ReasonCodesChart,R as RequiredLabel,ba as ResendPhoneBanner,O as RiskScoreBarChart,v as RiskScorePieChart,Da as SSNInput,r as SectionHeader,Fa as SelectInput,C as SeriesChart,u as SeriesChartLegend,h as SeriesPercentageChart,B as SimpleBarChart,L as SimpleLegend,ya as SnackbarProvider,ka as SynchronizedMetricsChart,Ea as TTSMagicButton,Ra as TTSMagicLegalLanguage,Aa as TTSMagicQRCode,Va as TTSOverTimeChart,Na as TestPhoneNumbersBanner,Ma as TextButton,xa as TimezoneInput,t as Typography,wa as VerifiedImage,Wa as VerifiedIncLogo,s as When,E as WhenStyled,Ha as defaultOverviewMetrics,qa as exportBillableEventsToCsv,za as formatIntegrationType,Ua as mapBillableEventsProductTableData,Qa as mapBillableEventsTableData,_a as mapOneClickVerificationAreaSeriesData,Ga as mapOneClickVerificationFunnelChartData,Ka as mapOneClickVerificationSuccessOverTimeChartData,ja as mapSeriesTimeSeriesData,Ya as mapTTSTimeSeriesData,$a as toCreatePatchCredentials,Ja as toOption,Za as toShareCredentials,Xa as useBrandFilterInput,ta as useForm,l as useSnackbar};
|
|
1
|
+
"use strict";import{Paragraph as a}from"./typographies/Paragraph.mjs";import{SectionHeader as r}from"./typographies/SectionHeader.mjs";import{PageHeader as e}from"./typographies/PageHeader.mjs";import{PageSectionHeader as o}from"./typographies/PageSectionHeader.mjs";import{Typography as t}from"./Typography/index.mjs";import{CredentialRequestsEditor as i}from"./CredentialRequestsEditor/index.mjs";import{When as s}from"./When.mjs";import{Image as m}from"./Image.mjs";import{QRCodeDisplay as n}from"./QRCodeDisplay/index.mjs";import{CustomAlertComponent as p,useSnackbar as l}from"./Snackbar/index.mjs";import{Backdrop as f}from"./Backdrop/index.mjs";import{Button as c}from"./Button/index.mjs";import{BrandFilterInput as d}from"./BrandFilterInput/index.mjs";import{SeriesChart as C}from"./chart/SeriesChart/index.mjs";import{SeriesChartLegend as u}from"./chart/SeriesChartLegend/index.mjs";import{SeriesPercentageChart as h}from"./chart/SeriesPercentageChart/index.mjs";import{BigNumber as T}from"./chart/BigNumber/index.mjs";import{SimpleBarChart as B}from"./chart/SimpleBarChart/index.mjs";import{AreaChart as S}from"./chart/AreaChart/index.mjs";import{ErrorCodesChart as g}from"./chart/ErrorCodesChart/index.mjs";import{ReasonCodesChart as P}from"./chart/ReasonCodesChart/index.mjs";import{PieChart as I}from"./chart/PieChart/index.mjs";import{RiskScorePieChart as v}from"./chart/RiskScorePieChart/index.mjs";import{RiskScoreBarChart as D}from"./chart/RiskScoreBarChart/index.mjs";import{SimpleLegend as O}from"./chart/SimpleLegend/index.mjs";import{LoadingChartSection as b}from"./chart/LoadingChartSection.mjs";import{EmptyChartSection as L}from"./chart/EmptyChartSection.mjs";import{MetricLastUpdated as y}from"./chart/MetricLastUpdated.mjs";import{FunnelChart as F}from"./chart/FunnelChart/index.mjs";import{ConversionOverTimeChart as E}from"./chart/ConversionOverTimeChart/index.mjs";import{WhenStyled as k}from"./WhenStyled.mjs";import{RequiredLabel as A}from"./RequiredLabel/index.mjs";import{CopyableUuid as R}from"./CopyableUuid/index.mjs";import{AcceptTermsNotice as V}from"./terms/AcceptTermsNotice.mjs";import{AdaptativeBox as N}from"./UI/AdaptativeBox.mjs";import{AddressInput as M}from"./form/AddressInput/index.mjs";import{Alert as x}from"./Alert/Alert.mjs";import{BILLABLE_PRODUCTS as w,BillableProduct as W}from"./chart/BillableEventsTable/BillableEventsTable.types.mjs";import{Banner as U}from"./Banners/Banner.mjs";import{BasePhoneInput as q}from"./form/BasePhoneInput.mjs";import{BillableEventsProductTable as H}from"./chart/BillableEventsProductTable/BillableEventsProductTable.mjs";import{BillableEventsTable as Q}from"./chart/BillableEventsTable/BillableEventsTable.mjs";import{CalendlyDialog as _,CalendlyDialogComponent as z}from"./dialog/CalendlyDialog.mjs";import{ContentWithLoader as Y}from"./UI/ContentWithLoader.mjs";import{CustomDialog as G}from"./dialog/Dialog.mjs";import{DateInput as K}from"./form/DateInput/index.mjs";import{DateRangeInput as X}from"./form/DateRangeInput/index.mjs";import{DefaultInput as Z}from"./form/DefaultInput.mjs";import{EmailInput as $}from"./form/EmailInput.mjs";import{ExactBirthdayBanner as j}from"./Banners/ExactBirthdayBanner.mjs";import{ExportToPdfButton as J}from"./buttons/ExportToPdfButton.mjs";import{Form as aa}from"./form/NewOneClickForm/core/form/form.mjs";import{FormBuilder as ra}from"./form/NewOneClickForm/core/form/formBuilder.mjs";import{FormField as ea}from"./form/NewOneClickForm/core/form/formField.mjs";import{FormFieldBuilder as oa}from"./form/NewOneClickForm/core/form/formFieldBuilder.mjs";import{FormProvider as ta,useForm as ia}from"./form/NewOneClickForm/react/core/form.context.mjs";import{FullWidthAlert as sa}from"./Alert/FullWidthAlert.mjs";import{IconPlayer as ma}from"./icons/IconPlayer.mjs";import{LegalLink as na}from"./terms/LegalLink.mjs";import{LinkButton as pa}from"./buttons/LinkButton.mjs";import{LogDetailPanel as la}from"./logs/LogsTable/LogDetailPanel.mjs";import{LogsInfoAlert as fa}from"./logs/LogsInfoAlert/LogsInfoAlert.mjs";import{LogsTable as ca}from"./logs/LogsTable/LogsTable.mjs";import{NPIInput as da}from"./form/NPIInput/index.mjs";import{NewOneClickForm as Ca}from"./form/NewOneClickForm/react/ui/form.mjs";import{OTPInput as ua}from"./form/OTPInput.mjs";import{OneClickVerificationEventsOverTimeChart as ha}from"./chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.mjs";import{OneClickVerificationFunnelChart as Ta}from"./chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.mjs";import{OneClickVerificationSuccessOverTimeChart as Ba}from"./chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.mjs";import{OriginalButton as Sa}from"./buttons/OriginalButton.mjs";import{OverviewBigNumbers as ga}from"./chart/OverviewBigNumbers/OverviewBigNumbers.mjs";import{PersistentDialog as Pa}from"./dialog/PersistentDialog.mjs";import{PhoneInput as Ia}from"./form/PhoneInput.mjs";import{PoweredByVerified as va}from"./verified/powered-by-verified/index.mjs";import{PrettyPhoneInput as Da}from"./form/PrettyPhoneInput.mjs";import{PrivacyPolicyNotice as Oa}from"./terms/PrivacyPolicyNotice.mjs";import{RadioOption as ba}from"./form/RadioOption.mjs";import{ResendPhoneBanner as La}from"./Banners/ResendPhoneBanner.mjs";import{SSNInput as ya}from"./form/SSNInput.mjs";import{SelectInput as Fa}from"./form/SelectInput.mjs";import{SnackbarProvider as Ea}from"notistack";import{SynchronizedMetricsChart as ka,TOTAL_DATA_KEY as Aa,enrichWithTotal as Ra,mergeChartData as Va}from"./chart/SynchronizedMetricsChart/SynchronizedMetricsChart.mjs";import{TTSMagicButton as Na}from"./text-to-signup/magic-button.mjs";import{TTSMagicLegalLanguage as Ma}from"./text-to-signup/magic-legal-language.mjs";import{TTSMagicQRCode as xa}from"./text-to-signup/magic-qr-code.mjs";import{TTSOverTimeChart as wa}from"./chart/TTSOverTimeChart/TTSOverTimeChart.mjs";import{TestPhoneNumbersBanner as Wa}from"./Banners/TestPhoneNumbersBanner.mjs";import{TextButton as Ua}from"./buttons/TextButton.mjs";import{TimezoneInput as qa}from"./form/TimezoneInput/index.mjs";import{VerifiedImage as Ha}from"./verified/VerifiedImage.mjs";import{VerifiedIncLogo as Qa}from"./verified/VerifiedIncLogo.mjs";import{defaultOverviewMetrics as _a}from"./chart/OverviewBigNumbers/OverviewBigNumbers.types.mjs";import{exportBillableEventsToCsv as za}from"./chart/BillableEventsTable/exportBillableEventsToCsv.mjs";import{formatIntegrationType as Ya,mapBillableEventsTableData as Ga}from"./chart/BillableEventsTable/BillableEventsTableDataMapper.mjs";import{mapBillableEventsProductTableData as Ka}from"./chart/BillableEventsProductTable/BillableEventsProductTableDataMapper.mjs";import{mapOneClickVerificationAreaSeriesData as Xa}from"./chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.map.mjs";import{mapOneClickVerificationFunnelChartData as Za}from"./chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.map.mjs";import{mapOneClickVerificationSuccessOverTimeChartData as $a}from"./chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.map.mjs";import{mapSeriesTimeSeriesData as ja}from"./chart/SeriesChart/SeriesChart.map.mjs";import{mapTTSTimeSeriesData as Ja}from"./chart/TTSOverTimeChart/TTSOverTimeChart.map.mjs";import{toCreatePatchCredentials as ar}from"./form/NewOneClickForm/core/mappers/create-patch.map.mjs";import{toOption as rr,useBrandFilterInput as er}from"./BrandFilterInput/BrandFilterInput.hook.mjs";import{toShareCredentials as or}from"./form/NewOneClickForm/core/mappers/share.map.mjs";export{V as AcceptTermsNotice,N as AdaptativeBox,M as AddressInput,x as Alert,S as AreaChart,w as BILLABLE_PRODUCTS,f as Backdrop,U as Banner,q as BasePhoneInput,T as BigNumber,H as BillableEventsProductTable,Q as BillableEventsTable,W as BillableProduct,d as BrandFilterInput,c as Button,_ as CalendlyDialog,z as CalendlyDialogComponent,Y as ContentWithLoader,E as ConversionOverTimeChart,R as CopyableUuid,i as CredentialRequestsEditor,p as CustomAlertComponent,G as CustomDialog,K as DateInput,X as DateRangeInput,Z as DefaultInput,$ as EmailInput,L as EmptyChartSection,g as ErrorCodesChart,j as ExactBirthdayBanner,J as ExportToPdfButton,aa as Form,ra as FormBuilder,ea as FormField,oa as FormFieldBuilder,ta as FormProvider,sa as FullWidthAlert,F as FunnelChart,ma as IconPlayer,m as Image,na as LegalLink,pa as LinkButton,b as LoadingChartSection,la as LogDetailPanel,fa as LogsInfoAlert,ca as LogsTable,y as MetricLastUpdated,da as NPIInput,Ca as NewOneClickForm,ua as OTPInput,ha as OneClickVerificationEventsOverTimeChart,Ta as OneClickVerificationFunnelChart,Ba as OneClickVerificationSuccessOverTimeChart,Sa as OriginalButton,ga as OverviewBigNumbers,e as PageHeader,o as PageSectionHeader,a as Paragraph,Pa as PersistentDialog,Ia as PhoneInput,I as PieChart,va as PoweredByVerified,Da as PrettyPhoneInput,Oa as PrivacyPolicyNotice,n as QRCodeDisplay,ba as RadioOption,P as ReasonCodesChart,A as RequiredLabel,La as ResendPhoneBanner,D as RiskScoreBarChart,v as RiskScorePieChart,ya as SSNInput,r as SectionHeader,Fa as SelectInput,C as SeriesChart,u as SeriesChartLegend,h as SeriesPercentageChart,B as SimpleBarChart,O as SimpleLegend,Ea as SnackbarProvider,ka as SynchronizedMetricsChart,Aa as TOTAL_DATA_KEY,Na as TTSMagicButton,Ma as TTSMagicLegalLanguage,xa as TTSMagicQRCode,wa as TTSOverTimeChart,Wa as TestPhoneNumbersBanner,Ua as TextButton,qa as TimezoneInput,t as Typography,Ha as VerifiedImage,Qa as VerifiedIncLogo,s as When,k as WhenStyled,_a as defaultOverviewMetrics,Ra as enrichWithTotal,za as exportBillableEventsToCsv,Ya as formatIntegrationType,Ka as mapBillableEventsProductTableData,Ga as mapBillableEventsTableData,Xa as mapOneClickVerificationAreaSeriesData,Za as mapOneClickVerificationFunnelChartData,$a as mapOneClickVerificationSuccessOverTimeChartData,ja as mapSeriesTimeSeriesData,Ja as mapTTSTimeSeriesData,Va as mergeChartData,ar as toCreatePatchCredentials,rr as toOption,or as toShareCredentials,er as useBrandFilterInput,ia as useForm,l as useSnackbar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import
|
|
1
|
+
"use strict";import R,{useMemo as E,useState as v,useRef as S,useEffect as T}from"react";import{useVirtualizer as q}from"@tanstack/react-virtual";import{useTheme as K,useMediaQuery as V,Stack as b,TableContainer as G,Paper as Q,Table as Z,TableHead as _,TableRow as u,TableCell as n,Typography as a,TableBody as J,CircularProgress as A,Chip as B,Box as X,IconButton as Y,Tooltip as N}from"@mui/material";import{ContentCopy as ee}from"@mui/icons-material";import{EmptyChartSection as re}from"../../chart/EmptyChartSection.mjs";import{useCopyToClipboard as te}from"../../../hooks/useCopyToClipboard.mjs";import{useSnackbar as oe}from"../../Snackbar/index.mjs";import{CopyableUuid as ne}from"../../CopyableUuid/index.mjs";import{formatLogTimestamp as ie}from"../../../utils/date.mjs";import{PRODUCT_LABELS as le}from"../constants.mjs";import{LogDetailPanel as ae}from"./LogDetailPanel.mjs";import{useBidirectionalScroll as se}from"../../../hooks/useBidirectionalScroll.mjs";import{jsx as e,jsxs as c}from"react/jsx-runtime";function de({statusCode:t,errorCode:i}){let l="grey.400";return i??t>=400?l="error.main":t>=200&&t<300&&(l="success.main"),e(X,{sx:{width:8,height:8,borderRadius:"50%",bgcolor:l,flexShrink:0}})}function ce({value:t,label:i,onCopy:l}){return e(Y,{className:"copy-btn",size:"small",onClick:h=>{h.stopPropagation(),l(i,t)},sx:{p:.25,ml:.5},children:e(ee,{sx:{fontSize:13}})})}function he(t){return t.source==="sdk"?t.path:`${t.method} /${t.path}`}function pe({text:t}){const i=S(null),[l,h]=v(!1);return T(()=>{const s=i.current;s&&h(s.scrollWidth>s.clientWidth)},[t]),e(N,{title:l?t:"",placement:"top",children:e(a,{ref:i,variant:"body2",noWrap:!0,sx:{fontSize:"0.8em",color:"text.primary",fontFamily:"monospace"},children:t})})}function me({label:t,...i}){const l=S(null),[h,s]=v(!1);return T(()=>{var x;const g=(x=l.current)==null?void 0:x.querySelector(".MuiChip-label");g&&s(g.scrollWidth>g.clientWidth)},[t]),e(N,{title:h?t:"",placement:"top",children:e(B,{ref:l,label:t,...i,sx:{...i.sx,maxWidth:"100%","& .MuiChip-label":{overflow:"hidden",textOverflow:"ellipsis"}}})})}const ue=48,xe={fontFamily:"monospace"};function ge({data:t,isLoading:i,hasOlder:l,hasNewer:h,isLoadingOlder:s,isLoadingNewer:x,onLoadNewer:g,onLoadOlder:O,filterKey:U,timeZone:M}){const $=K(),k=V($.breakpoints.down("xl")),p={...xe,fontSize:"0.8em"},j=E(()=>[{label:"Timestamp",width:230},{label:"Phone",width:150},{label:"1-Click UUID",width:130},{label:"Source",width:90},{label:"Product",width:140},{label:"Event",width:k?125:200},{label:"HTTP",align:"right",width:75},{label:"Latency",align:"right",width:100},{label:"Error",width:140}],[k]),[y,L]=v(null),C=S(null),{copy:F}=te({type:"text/plain"}),{enqueueSnackbar:D}=oe(),H=async(o,r)=>{await F(r),D(`${o} copied to clipboard`,"success")},m=E(()=>t?.data??[],[t?.data]),f=q({count:m.length,getScrollElement:()=>C.current,estimateSize:()=>ue,overscan:5});se({scrollContainerRef:C,virtualizer:f,rowCount:m.length,hasNewer:h,hasOlder:l,isLoadingNewer:x,isLoadingOlder:s,onLoadNewer:g,onLoadOlder:O,resetKey:U});const d=f.getVirtualItems(),z=(o,r)=>`${o.eventTimestamp}-${r}`;T(()=>{y&&(d.some(o=>{const r=m[o.index];return z(r,o.index)===y})||L(null))},[d,y,m]);const W=d.length>0?d[0].start:0,I=d.length>0?f.getTotalSize()-d[d.length-1].end:0;return!i&&m.length===0?e(re,{}):e(b,{sx:{width:"100%",flex:1,minHeight:0},children:e(G,{component:Q,ref:C,sx:{flex:1,scrollbarGutter:"stable",minHeight:500},children:c(Z,{size:"small",stickyHeader:!0,sx:{minWidth:1230,tableLayout:"fixed"},children:[e(_,{children:c(u,{children:[e(n,{sx:{width:32,bgcolor:"background.paper"}}),j.map(o=>e(n,{sx:{textAlign:o.align,width:o.width},children:e(a,{sx:{textTransform:"uppercase"},variant:"subtitle2",children:o.label})},o.label))]})}),c(J,{children:[i&&m.length===0&&e(u,{children:e(n,{colSpan:10,sx:{textAlign:"center",py:2},children:e(a,{color:"text.secondary",children:"Loading..."})})}),x&&e(u,{sx:{position:"sticky",top:37,zIndex:1,pointerEvents:"none"},children:e(n,{colSpan:10,sx:{textAlign:"center",py:.75,bgcolor:"grey.100",borderBottom:"1px solid",borderColor:"divider"},children:c(b,{direction:"row",alignItems:"center",justifyContent:"center",spacing:1,children:[e(A,{size:12}),e(a,{variant:"caption",color:"text.secondary",children:"Loading newer logs"})]})})}),W>0&&e("tr",{children:e("td",{style:{height:W,padding:0,border:"none"}})}),d.map(o=>{const r=m[o.index],P=z(r,o.index),w=y===P;return c(R.Fragment,{children:[c(u,{"data-index":o.index,ref:f.measureElement,onClick:()=>L(w?null:P),hover:!0,sx:{cursor:"pointer","& > td":{borderBottom:w?"none":void 0}},children:[e(n,{sx:{width:32,px:1},children:e(b,{alignItems:"center",justifyContent:"center",height:"100%",children:e(de,{statusCode:r.statusCode,errorCode:r.errorCode})})}),e(n,{sx:{whiteSpace:"nowrap"},children:e(a,{variant:"body2",color:"text.secondary",sx:p,children:ie(r.eventTimestamp,M)})}),e(n,{sx:{"& .copy-btn":{opacity:0},"&:hover .copy-btn":{opacity:1}},children:c(b,{direction:"row",alignItems:"center",children:[e(a,{variant:"body2",color:"text.secondary",sx:p,children:r.phone??"\u2014"}),r.phone&&e(ce,{value:r.phone,label:"Phone",onCopy:H})]})}),e(n,{children:e(ne,{uuid:r.uuid,label:"1-Click UUID",variant:"button",typographyProps:{sx:p}})}),e(n,{children:e(B,{label:r.source.toUpperCase(),size:"small",variant:"filled",sx:{fontWeight:600,fontSize:12,minWidth:40,bgcolor:r.source==="sdk"?"#4FC3F7":"primary.main",color:"white"}})}),e(n,{children:e(me,{label:le[r.product],variant:"outlined",sx:{fontSize:13,fontWeight:600,minWidth:110}})}),e(n,{children:e(pe,{text:he(r)})}),e(n,{sx:{textAlign:"right"},children:e(a,{variant:"body2",sx:{...p,color:r.source==="sdk"?"text.secondary":r.statusCode>=400?"error.main":"success.main"},children:r.source==="sdk"?"\u2014":r.statusCode})}),e(n,{sx:{textAlign:"right"},children:e(a,{variant:"body2",color:"text.secondary",sx:p,children:r.source==="sdk"||!r.latencyMs?"\u2014":`${r.latencyMs}ms`})}),e(n,{children:r.errorCode?e(a,{variant:"body2",sx:{...p,color:"error.main"},children:r.errorCode}):e(a,{variant:"body2",color:"text.secondary",sx:p,children:"\u2014"})})]}),w&&e(u,{children:e(n,{colSpan:10,sx:{py:0,px:1,borderTop:"none",bgcolor:"grey.50"},children:e(ae,{log:r})})})]},o.key)}),I>0&&e("tr",{children:e("td",{style:{height:I,padding:0,border:"none"}})}),s&&e(u,{sx:{position:"sticky",bottom:0,zIndex:1,pointerEvents:"none"},children:e(n,{colSpan:10,sx:{textAlign:"center",py:.75,bgcolor:"grey.100",borderTop:"1px solid",borderColor:"divider"},children:c(b,{direction:"row",alignItems:"center",justifyContent:"center",spacing:1,children:[e(A,{size:12}),e(a,{variant:"caption",color:"text.secondary",children:"Loading older logs"})]})})})]})]})})})}export{ge as LogsTable};
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{Paragraph as a}from"./components/typographies/Paragraph.mjs";import{SectionHeader as e}from"./components/typographies/SectionHeader.mjs";import{PageHeader as r}from"./components/typographies/PageHeader.mjs";import{PageSectionHeader as s}from"./components/typographies/PageSectionHeader.mjs";import{Typography as o}from"./components/Typography/index.mjs";import{CredentialRequestsEditor as t}from"./components/CredentialRequestsEditor/index.mjs";import{When as i}from"./components/When.mjs";import{Image as m}from"./components/Image.mjs";import{QRCodeDisplay as n}from"./components/QRCodeDisplay/index.mjs";import{CustomAlertComponent as p,useSnackbar as l}from"./components/Snackbar/index.mjs";import{Backdrop as f}from"./components/Backdrop/index.mjs";import{Button as d}from"./components/Button/index.mjs";import{BrandFilterInput as u}from"./components/BrandFilterInput/index.mjs";import{SeriesChart as c}from"./components/chart/SeriesChart/index.mjs";import{SeriesChartLegend as C}from"./components/chart/SeriesChartLegend/index.mjs";import{SeriesPercentageChart as h}from"./components/chart/SeriesPercentageChart/index.mjs";import{BigNumber as S}from"./components/chart/BigNumber/index.mjs";import{SimpleBarChart as g}from"./components/chart/SimpleBarChart/index.mjs";import{AreaChart as T}from"./components/chart/AreaChart/index.mjs";import{ErrorCodesChart as P}from"./components/chart/ErrorCodesChart/index.mjs";import{ReasonCodesChart as D}from"./components/chart/ReasonCodesChart/index.mjs";import{PieChart as B}from"./components/chart/PieChart/index.mjs";import{RiskScorePieChart as k}from"./components/chart/RiskScorePieChart/index.mjs";import{RiskScoreBarChart as y}from"./components/chart/RiskScoreBarChart/index.mjs";import{SimpleLegend as v}from"./components/chart/SimpleLegend/index.mjs";import{LoadingChartSection as b}from"./components/chart/LoadingChartSection.mjs";import{EmptyChartSection as I}from"./components/chart/EmptyChartSection.mjs";import{MetricLastUpdated as F}from"./components/chart/MetricLastUpdated.mjs";import{FunnelChart as L}from"./components/chart/FunnelChart/index.mjs";import{ConversionOverTimeChart as O}from"./components/chart/ConversionOverTimeChart/index.mjs";import{WhenStyled as M}from"./components/WhenStyled.mjs";import{RequiredLabel as R}from"./components/RequiredLabel/index.mjs";import{Tunnel as N}from"./contexts/tunnel/index.mjs";import{useLocalStorage as E}from"./hooks/useLocalStorage.mjs";import{useCopyToClipboard as A}from"./hooks/useCopyToClipboard.mjs";import{useDisclosure as w}from"./hooks/useDisclosure.mjs";import{useGoogleFont as x}from"./hooks/useGoogleFont.mjs";import{useCallbackRef as V}from"./hooks/useCallbackRef.mjs";import{useQRCode as U}from"./hooks/useQRCode.mjs";import{useSearchParams as Y}from"./hooks/useSearchParams.mjs";import{useDebounceValue as G}from"./hooks/useDebounceValue.mjs";import{useScript as W}from"./hooks/useScript.mjs";import{useThrottle as z}from"./hooks/useThrottle.mjs";import{useToggle as Q}from"./hooks/useToggle.mjs";import{useWindowScroll as H}from"./hooks/useWindowScroll.mjs";import{useWindowSize as _}from"./hooks/useWindowSize.mjs";import{useIntersectionObserver as q}from"./hooks/useIntersectionObserver.mjs";import{useCounter as Z}from"./hooks/useCounter.mjs";import{useOnClickOutside as $}from"./hooks/useOnClickOutside.mjs";import{usePrevious as J}from"./hooks/usePrevious.mjs";import{useResizeObserver as K}from"./hooks/useResizeObserver.mjs";import{useNavigatorOnline as j}from"./hooks/useNavigatorOnline.mjs";import{useDebounceCallback as X}from"./hooks/useDebounceCallback.mjs";import{useStyledQRCode as aa}from"./hooks/useStyledQRCode.mjs";import{useNetworkType as ea}from"./hooks/useNetworkType.mjs";import{useBidirectionalScroll as ra}from"./hooks/useBidirectionalScroll.mjs";import{black as sa,blue as oa,colors as ta,dangerContrast as ia,darkBlue as ma,darkGreen as na,darkGrey as pa,darkGreyContrast as la,darkRed as fa,darkYellow as da,green as ua,grey as ca,greyContrast as Ca,infoContrast as ha,lightBlue as Sa,lightGreen as ga,lightGrey as Ta,lightGreyContrast as Pa,lightRed as Da,lightYellow as Ba,red as ka,textDisabled as ya,warningContrast as va,white as ba,yellow as Ia}from"./styles/colors.mjs";import{theme as Fa}from"./styles/theme.mjs";import{shadows as La}from"./styles/shadows.mjs";import{wrapPromise as Oa}from"./utils/wrapPromise/index.mjs";import{formatDateMMDDYYYY as Ma,formatDateMMYY as Ra,formatDateToTimestamp as Na,formatExtendedDate as Ea,formatLogTimestamp as Aa,toUTCMilliseconds as wa}from"./utils/date.mjs";import{countries as xa,getPhoneData as Va,getPhoneDataByFieldName as Ua,parseToPhoneNational as Ya,sortByCountryName as Ga,validatePhone as Wa}from"./utils/phone/index.mjs";import{masks as za}from"./utils/masks/index.mjs";import{omitProperties as Qa}from"./utils/omitProperty.mjs";import{ssnFormatter as Ha,ssnRegex as _a}from"./utils/ssn.mjs";import{stringToHashedColor as qa,uuidToHashedColor as Za}from"./utils/uuidColor.mjs";import{toCapitalize as $a}from"./utils/string/toCapitalize.mjs";import{toSentenceCase as Ja}from"./utils/string/toSentenceCase.mjs";import{kebabCaseToPretty as Ka}from"./utils/string/formatKebabToPretty.mjs";import{generateKeyFromString as ja}from"./utils/string/generateKeyFromString.mjs";import{alpha as Xa,contrastColor as ae,darken as ee,getThemeFromPrimaryColor as re,lighten as se,mix as oe}from"./utils/color/index.mjs";import{addressFormatter as te,fromUSAddress as ie,parseCountryCode as me,toUSaddress as ne,toUSaddressPretty as pe}from"./utils/address/index.mjs";import{DEFAULT_FONT_FAMILY as le,DEFAULT_FONT_WEIGHTS as fe,makeGoogleFontUrl as de}from"./utils/makeGoogleFont.mjs";import{prepareNotification as ue}from"./utils/notification.mjs";import{resolveLogo as ce}from"./utils/logo/index.mjs";import{USDateSchema as Ce,birthDateSchema as he,dateSchema as Se,getDateSchemaWithPastValidation as ge,refineAge18Plus as Te,refineMinimumDate1900 as Pe,refineTimestamp as De,validateAge18Plus as Be,validateMinimumDate1900 as ke,validateTimestamp as ye}from"./validations/date.schema.mjs";import{descriptionSchema as ve}from"./validations/description.schema.mjs";import{businessEmailSchema as be,emailSchema as Ie}from"./validations/email.schema.mjs";import{fieldSchema as Fe}from"./validations/field.schema.mjs";import{phoneSchema as Le}from"./validations/phone.schema.mjs";import{MaskedAndUnmaskedSSNSchema as Oe,SSNSchema as Me}from"./validations/ssn.schema.mjs";import{getUnixSchema as Re}from"./validations/unix.schema.mjs";import{npiSchema as Ne}from"./validations/npi.schema.mjs";import{stateSchema as Ee,zipCodeSchema as Ae}from"./validations/address.schema.mjs";import{AcceptTermsNotice as we}from"./components/terms/AcceptTermsNotice.mjs";import{AdaptativeBox as xe}from"./components/UI/AdaptativeBox.mjs";import{AddressInput as Ve}from"./components/form/AddressInput/index.mjs";import{Alert as Ue}from"./components/Alert/Alert.mjs";import{BILLABLE_PRODUCTS as Ye,BillableProduct as Ge}from"./components/chart/BillableEventsTable/BillableEventsTable.types.mjs";import{Banner as We}from"./components/Banners/Banner.mjs";import{BasePhoneInput as ze}from"./components/form/BasePhoneInput.mjs";import{BillableEventsProductTable as Qe}from"./components/chart/BillableEventsProductTable/BillableEventsProductTable.mjs";import{BillableEventsTable as He}from"./components/chart/BillableEventsTable/BillableEventsTable.mjs";import{CalendlyDialog as _e,CalendlyDialogComponent as qe}from"./components/dialog/CalendlyDialog.mjs";import{ContentWithLoader as Ze}from"./components/UI/ContentWithLoader.mjs";import{CustomDialog as $e}from"./components/dialog/Dialog.mjs";import{DateInput as Je}from"./components/form/DateInput/index.mjs";import{DateRangeInput as Ke}from"./components/form/DateRangeInput/index.mjs";import{DefaultInput as je}from"./components/form/DefaultInput.mjs";import{EmailInput as Xe}from"./components/form/EmailInput.mjs";import{ExactBirthdayBanner as ar}from"./components/Banners/ExactBirthdayBanner.mjs";import{ExportToPdfButton as er}from"./components/buttons/ExportToPdfButton.mjs";import{Form as rr}from"./components/form/NewOneClickForm/core/form/form.mjs";import{FormBuilder as sr}from"./components/form/NewOneClickForm/core/form/formBuilder.mjs";import{FormField as or}from"./components/form/NewOneClickForm/core/form/formField.mjs";import{FormFieldBuilder as tr}from"./components/form/NewOneClickForm/core/form/formFieldBuilder.mjs";import{FormProvider as ir,useForm as mr}from"./components/form/NewOneClickForm/react/core/form.context.mjs";import{FullWidthAlert as nr}from"./components/Alert/FullWidthAlert.mjs";import{IconPlayer as pr}from"./components/icons/IconPlayer.mjs";import{LegalLink as lr}from"./components/terms/LegalLink.mjs";import{LinkButton as fr}from"./components/buttons/LinkButton.mjs";import{LogDetailPanel as dr}from"./components/logs/LogsTable/LogDetailPanel.mjs";import{LogsInfoAlert as ur}from"./components/logs/LogsInfoAlert/LogsInfoAlert.mjs";import{LogsTable as cr}from"./components/logs/LogsTable/LogsTable.mjs";import{MetricsProvider as Cr,useMetrics as hr}from"./contexts/metrics/Metrics.context.mjs";import{NPIInput as Sr}from"./components/form/NPIInput/index.mjs";import{NewOneClickForm as gr}from"./components/form/NewOneClickForm/react/ui/form.mjs";import{OTPInput as Tr}from"./components/form/OTPInput.mjs";import{OneClickVerificationEventsOverTimeChart as Pr}from"./components/chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.mjs";import{OneClickVerificationFunnelChart as Dr}from"./components/chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.mjs";import{OneClickVerificationSuccessOverTimeChart as Br}from"./components/chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.mjs";import{OriginalButton as kr}from"./components/buttons/OriginalButton.mjs";import{OverviewBigNumbers as yr}from"./components/chart/OverviewBigNumbers/OverviewBigNumbers.mjs";import{PersistentDialog as vr}from"./components/dialog/PersistentDialog.mjs";import{PhoneInput as br}from"./components/form/PhoneInput.mjs";import{PoweredByVerified as Ir}from"./components/verified/powered-by-verified/index.mjs";import{PrettyPhoneInput as Fr}from"./components/form/PrettyPhoneInput.mjs";import{PrivacyPolicyNotice as Lr}from"./components/terms/PrivacyPolicyNotice.mjs";import{RadioOption as Or}from"./components/form/RadioOption.mjs";import{ResendPhoneBanner as Mr}from"./components/Banners/ResendPhoneBanner.mjs";import{SSNInput as Rr}from"./components/form/SSNInput.mjs";import{SelectInput as Nr}from"./components/form/SelectInput.mjs";import{SnackbarProvider as Er}from"notistack";import{SynchronizedMetricsChart as Ar}from"./components/chart/SynchronizedMetricsChart/SynchronizedMetricsChart.mjs";import{TTSMagicButton as wr}from"./components/text-to-signup/magic-button.mjs";import{TTSMagicLegalLanguage as xr}from"./components/text-to-signup/magic-legal-language.mjs";import{TTSMagicQRCode as Vr}from"./components/text-to-signup/magic-qr-code.mjs";import{TTSOverTimeChart as Ur}from"./components/chart/TTSOverTimeChart/TTSOverTimeChart.mjs";import{TestPhoneNumbersBanner as Yr}from"./components/Banners/TestPhoneNumbersBanner.mjs";import{TextButton as Gr}from"./components/buttons/TextButton.mjs";import{TimezoneInput as Wr}from"./components/form/TimezoneInput/index.mjs";import{VerifiedImage as zr}from"./components/verified/VerifiedImage.mjs";import{VerifiedIncLogo as Qr}from"./components/verified/VerifiedIncLogo.mjs";import{defaultOverviewMetrics as Hr}from"./components/chart/OverviewBigNumbers/OverviewBigNumbers.types.mjs";import{exportBillableEventsToCsv as _r}from"./components/chart/BillableEventsTable/exportBillableEventsToCsv.mjs";import{formatInTimeZone as qr}from"./node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.mjs";import{formatIntegrationType as Zr,mapBillableEventsTableData as $r}from"./components/chart/BillableEventsTable/BillableEventsTableDataMapper.mjs";import{mapBillableEventsProductTableData as Jr}from"./components/chart/BillableEventsProductTable/BillableEventsProductTableDataMapper.mjs";import{mapOneClickVerificationAreaSeriesData as Kr}from"./components/chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.map.mjs";import{mapOneClickVerificationFunnelChartData as jr}from"./components/chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.map.mjs";import{mapOneClickVerificationSuccessOverTimeChartData as Xr}from"./components/chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.map.mjs";import{mapSeriesTimeSeriesData as as}from"./components/chart/SeriesChart/SeriesChart.map.mjs";import{mapTTSTimeSeriesData as es}from"./components/chart/TTSOverTimeChart/TTSOverTimeChart.map.mjs";import{toCreatePatchCredentials as rs}from"./components/form/NewOneClickForm/core/mappers/create-patch.map.mjs";import{toOption as ss,useBrandFilterInput as os}from"./components/BrandFilterInput/BrandFilterInput.hook.mjs";import{toShareCredentials as ts}from"./components/form/NewOneClickForm/core/mappers/share.map.mjs";import{useColorMap as is}from"./hooks/metrics/useColorMap.mjs";import{useTTSMagicLink as ms}from"./hooks/text-to-signup/magic-link.mjs";import{useTTSMagicQRCode as ns}from"./hooks/text-to-signup/magic-qr-code.mjs";import{useTTSMagicQRCodeOptions as ps}from"./hooks/text-to-signup/magic-qr-code-options.mjs";import{useTTSMagicText as ls}from"./hooks/text-to-signup/magic-text.mjs";export{we as AcceptTermsNotice,xe as AdaptativeBox,Ve as AddressInput,Ue as Alert,T as AreaChart,Ye as BILLABLE_PRODUCTS,f as Backdrop,We as Banner,ze as BasePhoneInput,S as BigNumber,Qe as BillableEventsProductTable,He as BillableEventsTable,Ge as BillableProduct,u as BrandFilterInput,d as Button,_e as CalendlyDialog,qe as CalendlyDialogComponent,Ze as ContentWithLoader,O as ConversionOverTimeChart,t as CredentialRequestsEditor,p as CustomAlertComponent,$e as CustomDialog,le as DEFAULT_FONT_FAMILY,fe as DEFAULT_FONT_WEIGHTS,Je as DateInput,Ke as DateRangeInput,je as DefaultInput,Xe as EmailInput,I as EmptyChartSection,P as ErrorCodesChart,ar as ExactBirthdayBanner,er as ExportToPdfButton,rr as Form,sr as FormBuilder,or as FormField,tr as FormFieldBuilder,ir as FormProvider,nr as FullWidthAlert,L as FunnelChart,pr as IconPlayer,m as Image,lr as LegalLink,fr as LinkButton,b as LoadingChartSection,dr as LogDetailPanel,ur as LogsInfoAlert,cr as LogsTable,Oe as MaskedAndUnmaskedSSNSchema,F as MetricLastUpdated,Cr as MetricsProvider,Sr as NPIInput,gr as NewOneClickForm,Tr as OTPInput,Pr as OneClickVerificationEventsOverTimeChart,Dr as OneClickVerificationFunnelChart,Br as OneClickVerificationSuccessOverTimeChart,kr as OriginalButton,yr as OverviewBigNumbers,r as PageHeader,s as PageSectionHeader,a as Paragraph,vr as PersistentDialog,br as PhoneInput,B as PieChart,Ir as PoweredByVerified,Fr as PrettyPhoneInput,Lr as PrivacyPolicyNotice,n as QRCodeDisplay,Or as RadioOption,D as ReasonCodesChart,R as RequiredLabel,Mr as ResendPhoneBanner,y as RiskScoreBarChart,k as RiskScorePieChart,Rr as SSNInput,Me as SSNSchema,e as SectionHeader,Nr as SelectInput,c as SeriesChart,C as SeriesChartLegend,h as SeriesPercentageChart,g as SimpleBarChart,v as SimpleLegend,Er as SnackbarProvider,Ar as SynchronizedMetricsChart,wr as TTSMagicButton,xr as TTSMagicLegalLanguage,Vr as TTSMagicQRCode,Ur as TTSOverTimeChart,Yr as TestPhoneNumbersBanner,Gr as TextButton,Wr as TimezoneInput,N as Tunnel,o as Typography,Ce as USDateSchema,zr as VerifiedImage,Qr as VerifiedIncLogo,i as When,M as WhenStyled,te as addressFormatter,Xa as alpha,he as birthDateSchema,sa as black,oa as blue,be as businessEmailSchema,ta as colors,ae as contrastColor,xa as countries,ia as dangerContrast,ma as darkBlue,na as darkGreen,pa as darkGrey,la as darkGreyContrast,fa as darkRed,da as darkYellow,ee as darken,Se as dateSchema,Hr as defaultOverviewMetrics,ve as descriptionSchema,Ie as emailSchema,_r as exportBillableEventsToCsv,Fe as fieldSchema,Ma as formatDateMMDDYYYY,Ra as formatDateMMYY,Na as formatDateToTimestamp,Ea as formatExtendedDate,qr as formatInTimeZone,Zr as formatIntegrationType,Aa as formatLogTimestamp,ie as fromUSAddress,ja as generateKeyFromString,ge as getDateSchemaWithPastValidation,Va as getPhoneData,Ua as getPhoneDataByFieldName,re as getThemeFromPrimaryColor,Re as getUnixSchema,ua as green,ca as grey,Ca as greyContrast,ha as infoContrast,Ka as kebabCaseToPretty,Sa as lightBlue,ga as lightGreen,Ta as lightGrey,Pa as lightGreyContrast,Da as lightRed,Ba as lightYellow,se as lighten,de as makeGoogleFontUrl,Jr as mapBillableEventsProductTableData,$r as mapBillableEventsTableData,Kr as mapOneClickVerificationAreaSeriesData,jr as mapOneClickVerificationFunnelChartData,Xr as mapOneClickVerificationSuccessOverTimeChartData,as as mapSeriesTimeSeriesData,es as mapTTSTimeSeriesData,za as masks,oe as mix,Ne as npiSchema,Qa as omitProperties,me as parseCountryCode,Ya as parseToPhoneNational,Le as phoneSchema,ue as prepareNotification,ka as red,Te as refineAge18Plus,Pe as refineMinimumDate1900,De as refineTimestamp,ce as resolveLogo,La as shadows,Ga as sortByCountryName,Ha as ssnFormatter,_a as ssnRegex,Ee as stateSchema,qa as stringToHashedColor,ya as textDisabled,Fa as theme,$a as toCapitalize,rs as toCreatePatchCredentials,ss as toOption,Ja as toSentenceCase,ts as toShareCredentials,ne as toUSaddress,pe as toUSaddressPretty,wa as toUTCMilliseconds,ra as useBidirectionalScroll,os as useBrandFilterInput,V as useCallbackRef,is as useColorMap,A as useCopyToClipboard,Z as useCounter,X as useDebounceCallback,G as useDebounceValue,w as useDisclosure,mr as useForm,x as useGoogleFont,q as useIntersectionObserver,E as useLocalStorage,hr as useMetrics,j as useNavigatorOnline,ea as useNetworkType,$ as useOnClickOutside,J as usePrevious,U as useQRCode,K as useResizeObserver,W as useScript,Y as useSearchParams,l as useSnackbar,aa as useStyledQRCode,ms as useTTSMagicLink,ns as useTTSMagicQRCode,ps as useTTSMagicQRCodeOptions,ls as useTTSMagicText,z as useThrottle,Q as useToggle,H as useWindowScroll,_ as useWindowSize,Za as uuidToHashedColor,Be as validateAge18Plus,ke as validateMinimumDate1900,Wa as validatePhone,ye as validateTimestamp,va as warningContrast,ba as white,Oa as wrapPromise,Ia as yellow,Ae as zipCodeSchema};
|
|
1
|
+
"use strict";import{Paragraph as a}from"./components/typographies/Paragraph.mjs";import{SectionHeader as e}from"./components/typographies/SectionHeader.mjs";import{PageHeader as r}from"./components/typographies/PageHeader.mjs";import{PageSectionHeader as s}from"./components/typographies/PageSectionHeader.mjs";import{Typography as o}from"./components/Typography/index.mjs";import{CredentialRequestsEditor as t}from"./components/CredentialRequestsEditor/index.mjs";import{When as i}from"./components/When.mjs";import{Image as m}from"./components/Image.mjs";import{QRCodeDisplay as n}from"./components/QRCodeDisplay/index.mjs";import{CustomAlertComponent as p,useSnackbar as l}from"./components/Snackbar/index.mjs";import{Backdrop as f}from"./components/Backdrop/index.mjs";import{Button as d}from"./components/Button/index.mjs";import{BrandFilterInput as u}from"./components/BrandFilterInput/index.mjs";import{SeriesChart as c}from"./components/chart/SeriesChart/index.mjs";import{SeriesChartLegend as h}from"./components/chart/SeriesChartLegend/index.mjs";import{SeriesPercentageChart as C}from"./components/chart/SeriesPercentageChart/index.mjs";import{BigNumber as S}from"./components/chart/BigNumber/index.mjs";import{SimpleBarChart as g}from"./components/chart/SimpleBarChart/index.mjs";import{AreaChart as T}from"./components/chart/AreaChart/index.mjs";import{ErrorCodesChart as P}from"./components/chart/ErrorCodesChart/index.mjs";import{ReasonCodesChart as D}from"./components/chart/ReasonCodesChart/index.mjs";import{PieChart as B}from"./components/chart/PieChart/index.mjs";import{RiskScorePieChart as y}from"./components/chart/RiskScorePieChart/index.mjs";import{RiskScoreBarChart as b}from"./components/chart/RiskScoreBarChart/index.mjs";import{SimpleLegend as k}from"./components/chart/SimpleLegend/index.mjs";import{LoadingChartSection as v}from"./components/chart/LoadingChartSection.mjs";import{EmptyChartSection as O}from"./components/chart/EmptyChartSection.mjs";import{MetricLastUpdated as F}from"./components/chart/MetricLastUpdated.mjs";import{FunnelChart as I}from"./components/chart/FunnelChart/index.mjs";import{ConversionOverTimeChart as L}from"./components/chart/ConversionOverTimeChart/index.mjs";import{WhenStyled as M}from"./components/WhenStyled.mjs";import{RequiredLabel as A}from"./components/RequiredLabel/index.mjs";import{CopyableUuid as E}from"./components/CopyableUuid/index.mjs";import{Tunnel as R}from"./contexts/tunnel/index.mjs";import{useLocalStorage as N}from"./hooks/useLocalStorage.mjs";import{useCopyToClipboard as w}from"./hooks/useCopyToClipboard.mjs";import{useDisclosure as x}from"./hooks/useDisclosure.mjs";import{useGoogleFont as V}from"./hooks/useGoogleFont.mjs";import{useCallbackRef as U}from"./hooks/useCallbackRef.mjs";import{useQRCode as G}from"./hooks/useQRCode.mjs";import{useSearchParams as Y}from"./hooks/useSearchParams.mjs";import{useDebounceValue as _}from"./hooks/useDebounceValue.mjs";import{useScript as W}from"./hooks/useScript.mjs";import{useThrottle as H}from"./hooks/useThrottle.mjs";import{useToggle as z}from"./hooks/useToggle.mjs";import{useWindowScroll as Q}from"./hooks/useWindowScroll.mjs";import{useWindowSize as q}from"./hooks/useWindowSize.mjs";import{useIntersectionObserver as Z}from"./hooks/useIntersectionObserver.mjs";import{useCounter as J}from"./hooks/useCounter.mjs";import{useOnClickOutside as K}from"./hooks/useOnClickOutside.mjs";import{usePrevious as $}from"./hooks/usePrevious.mjs";import{useResizeObserver as j}from"./hooks/useResizeObserver.mjs";import{useNavigatorOnline as X}from"./hooks/useNavigatorOnline.mjs";import{useDebounceCallback as aa}from"./hooks/useDebounceCallback.mjs";import{useStyledQRCode as ea}from"./hooks/useStyledQRCode.mjs";import{useNetworkType as ra}from"./hooks/useNetworkType.mjs";import{useBidirectionalScroll as sa}from"./hooks/useBidirectionalScroll.mjs";import{black as oa,blue as ta,colors as ia,dangerContrast as ma,darkBlue as na,darkGreen as pa,darkGrey as la,darkGreyContrast as fa,darkRed as da,darkYellow as ua,green as ca,grey as ha,greyContrast as Ca,infoContrast as Sa,lightBlue as ga,lightGreen as Ta,lightGrey as Pa,lightGreyContrast as Da,lightRed as Ba,lightYellow as ya,red as ba,textDisabled as ka,warningContrast as va,white as Oa,yellow as Fa}from"./styles/colors.mjs";import{theme as Ia}from"./styles/theme.mjs";import{shadows as La}from"./styles/shadows.mjs";import{wrapPromise as Ma}from"./utils/wrapPromise/index.mjs";import{formatDateMMDDYYYY as Aa,formatDateMMYY as Ea,formatDateToTimestamp as Ra,formatExtendedDate as Na,formatLogTimestamp as wa,toUTCMilliseconds as xa}from"./utils/date.mjs";import{countries as Va,getPhoneData as Ua,getPhoneDataByFieldName as Ga,parseToPhoneNational as Ya,sortByCountryName as _a,validatePhone as Wa}from"./utils/phone/index.mjs";import{masks as Ha}from"./utils/masks/index.mjs";import{omitProperties as za}from"./utils/omitProperty.mjs";import{ssnFormatter as Qa,ssnRegex as qa}from"./utils/ssn.mjs";import{stringToHashedColor as Za,uuidToHashedColor as Ja}from"./utils/uuidColor.mjs";import{toCapitalize as Ka}from"./utils/string/toCapitalize.mjs";import{toSentenceCase as $a}from"./utils/string/toSentenceCase.mjs";import{kebabCaseToPretty as ja}from"./utils/string/formatKebabToPretty.mjs";import{generateKeyFromString as Xa}from"./utils/string/generateKeyFromString.mjs";import{alpha as ae,contrastColor as ee,darken as re,getThemeFromPrimaryColor as se,lighten as oe,mix as te}from"./utils/color/index.mjs";import{addressFormatter as ie,fromUSAddress as me,parseCountryCode as ne,toUSaddress as pe,toUSaddressPretty as le}from"./utils/address/index.mjs";import{DEFAULT_FONT_FAMILY as fe,DEFAULT_FONT_WEIGHTS as de,makeGoogleFontUrl as ue}from"./utils/makeGoogleFont.mjs";import{prepareNotification as ce}from"./utils/notification.mjs";import{resolveLogo as he}from"./utils/logo/index.mjs";import{USDateSchema as Ce,birthDateSchema as Se,dateSchema as ge,getDateSchemaWithPastValidation as Te,refineAge18Plus as Pe,refineMinimumDate1900 as De,refineTimestamp as Be,validateAge18Plus as ye,validateMinimumDate1900 as be,validateTimestamp as ke}from"./validations/date.schema.mjs";import{descriptionSchema as ve}from"./validations/description.schema.mjs";import{businessEmailSchema as Oe,emailSchema as Fe}from"./validations/email.schema.mjs";import{fieldSchema as Ie}from"./validations/field.schema.mjs";import{phoneSchema as Le}from"./validations/phone.schema.mjs";import{MaskedAndUnmaskedSSNSchema as Me,SSNSchema as Ae}from"./validations/ssn.schema.mjs";import{getUnixSchema as Ee}from"./validations/unix.schema.mjs";import{npiSchema as Re}from"./validations/npi.schema.mjs";import{stateSchema as Ne,zipCodeSchema as we}from"./validations/address.schema.mjs";import{AcceptTermsNotice as xe}from"./components/terms/AcceptTermsNotice.mjs";import{AdaptativeBox as Ve}from"./components/UI/AdaptativeBox.mjs";import{AddressInput as Ue}from"./components/form/AddressInput/index.mjs";import{Alert as Ge}from"./components/Alert/Alert.mjs";import{BILLABLE_PRODUCTS as Ye,BillableProduct as _e}from"./components/chart/BillableEventsTable/BillableEventsTable.types.mjs";import{Banner as We}from"./components/Banners/Banner.mjs";import{BasePhoneInput as He}from"./components/form/BasePhoneInput.mjs";import{BillableEventsProductTable as ze}from"./components/chart/BillableEventsProductTable/BillableEventsProductTable.mjs";import{BillableEventsTable as Qe}from"./components/chart/BillableEventsTable/BillableEventsTable.mjs";import{CalendlyDialog as qe,CalendlyDialogComponent as Ze}from"./components/dialog/CalendlyDialog.mjs";import{ContentWithLoader as Je}from"./components/UI/ContentWithLoader.mjs";import{CustomDialog as Ke}from"./components/dialog/Dialog.mjs";import{DateInput as $e}from"./components/form/DateInput/index.mjs";import{DateRangeInput as je}from"./components/form/DateRangeInput/index.mjs";import{DefaultInput as Xe}from"./components/form/DefaultInput.mjs";import{EmailInput as ar}from"./components/form/EmailInput.mjs";import{ExactBirthdayBanner as er}from"./components/Banners/ExactBirthdayBanner.mjs";import{ExportToPdfButton as rr}from"./components/buttons/ExportToPdfButton.mjs";import{Form as sr}from"./components/form/NewOneClickForm/core/form/form.mjs";import{FormBuilder as or}from"./components/form/NewOneClickForm/core/form/formBuilder.mjs";import{FormField as tr}from"./components/form/NewOneClickForm/core/form/formField.mjs";import{FormFieldBuilder as ir}from"./components/form/NewOneClickForm/core/form/formFieldBuilder.mjs";import{FormProvider as mr,useForm as nr}from"./components/form/NewOneClickForm/react/core/form.context.mjs";import{FullWidthAlert as pr}from"./components/Alert/FullWidthAlert.mjs";import{IconPlayer as lr}from"./components/icons/IconPlayer.mjs";import{LegalLink as fr}from"./components/terms/LegalLink.mjs";import{LinkButton as dr}from"./components/buttons/LinkButton.mjs";import{LogDetailPanel as ur}from"./components/logs/LogsTable/LogDetailPanel.mjs";import{LogsInfoAlert as cr}from"./components/logs/LogsInfoAlert/LogsInfoAlert.mjs";import{LogsTable as hr}from"./components/logs/LogsTable/LogsTable.mjs";import{MetricsProvider as Cr,useMetrics as Sr}from"./contexts/metrics/Metrics.context.mjs";import{NPIInput as gr}from"./components/form/NPIInput/index.mjs";import{NewOneClickForm as Tr}from"./components/form/NewOneClickForm/react/ui/form.mjs";import{OTPInput as Pr}from"./components/form/OTPInput.mjs";import{OneClickVerificationEventsOverTimeChart as Dr}from"./components/chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.mjs";import{OneClickVerificationFunnelChart as Br}from"./components/chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.mjs";import{OneClickVerificationSuccessOverTimeChart as yr}from"./components/chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.mjs";import{OriginalButton as br}from"./components/buttons/OriginalButton.mjs";import{OverviewBigNumbers as kr}from"./components/chart/OverviewBigNumbers/OverviewBigNumbers.mjs";import{PersistentDialog as vr}from"./components/dialog/PersistentDialog.mjs";import{PhoneInput as Or}from"./components/form/PhoneInput.mjs";import{PoweredByVerified as Fr}from"./components/verified/powered-by-verified/index.mjs";import{PrettyPhoneInput as Ir}from"./components/form/PrettyPhoneInput.mjs";import{PrivacyPolicyNotice as Lr}from"./components/terms/PrivacyPolicyNotice.mjs";import{RadioOption as Mr}from"./components/form/RadioOption.mjs";import{ResendPhoneBanner as Ar}from"./components/Banners/ResendPhoneBanner.mjs";import{SSNInput as Er}from"./components/form/SSNInput.mjs";import{SelectInput as Rr}from"./components/form/SelectInput.mjs";import{SnackbarProvider as Nr}from"notistack";import{SynchronizedMetricsChart as wr,TOTAL_DATA_KEY as xr,enrichWithTotal as Vr,mergeChartData as Ur}from"./components/chart/SynchronizedMetricsChart/SynchronizedMetricsChart.mjs";import{TTSMagicButton as Gr}from"./components/text-to-signup/magic-button.mjs";import{TTSMagicLegalLanguage as Yr}from"./components/text-to-signup/magic-legal-language.mjs";import{TTSMagicQRCode as _r}from"./components/text-to-signup/magic-qr-code.mjs";import{TTSOverTimeChart as Wr}from"./components/chart/TTSOverTimeChart/TTSOverTimeChart.mjs";import{TestPhoneNumbersBanner as Hr}from"./components/Banners/TestPhoneNumbersBanner.mjs";import{TextButton as zr}from"./components/buttons/TextButton.mjs";import{TimezoneInput as Qr}from"./components/form/TimezoneInput/index.mjs";import{VerifiedImage as qr}from"./components/verified/VerifiedImage.mjs";import{VerifiedIncLogo as Zr}from"./components/verified/VerifiedIncLogo.mjs";import{defaultOverviewMetrics as Jr}from"./components/chart/OverviewBigNumbers/OverviewBigNumbers.types.mjs";import{exportBillableEventsToCsv as Kr}from"./components/chart/BillableEventsTable/exportBillableEventsToCsv.mjs";import{formatInTimeZone as $r}from"./node_modules/date-fns-tz/dist/esm/formatInTimeZone/index.mjs";import{formatIntegrationType as jr,mapBillableEventsTableData as Xr}from"./components/chart/BillableEventsTable/BillableEventsTableDataMapper.mjs";import{mapBillableEventsProductTableData as as}from"./components/chart/BillableEventsProductTable/BillableEventsProductTableDataMapper.mjs";import{mapOneClickVerificationAreaSeriesData as es}from"./components/chart/OneClickVerificationEventsOverTimeChart/OneClickVerificationEventsOverTimeChart.map.mjs";import{mapOneClickVerificationFunnelChartData as rs}from"./components/chart/OneClickVerificationFunnelChart/OneClickVerificationFunnelChart.map.mjs";import{mapOneClickVerificationSuccessOverTimeChartData as ss}from"./components/chart/OneClickVerificationSuccessOverTimeChart/OneClickVerificationSuccessOverTimeChart.map.mjs";import{mapSeriesTimeSeriesData as os}from"./components/chart/SeriesChart/SeriesChart.map.mjs";import{mapTTSTimeSeriesData as ts}from"./components/chart/TTSOverTimeChart/TTSOverTimeChart.map.mjs";import{toCreatePatchCredentials as is}from"./components/form/NewOneClickForm/core/mappers/create-patch.map.mjs";import{toOption as ms,useBrandFilterInput as ns}from"./components/BrandFilterInput/BrandFilterInput.hook.mjs";import{toShareCredentials as ps}from"./components/form/NewOneClickForm/core/mappers/share.map.mjs";import{useColorMap as ls}from"./hooks/metrics/useColorMap.mjs";import{useTTSMagicLink as fs}from"./hooks/text-to-signup/magic-link.mjs";import{useTTSMagicQRCode as ds}from"./hooks/text-to-signup/magic-qr-code.mjs";import{useTTSMagicQRCodeOptions as us}from"./hooks/text-to-signup/magic-qr-code-options.mjs";import{useTTSMagicText as cs}from"./hooks/text-to-signup/magic-text.mjs";export{xe as AcceptTermsNotice,Ve as AdaptativeBox,Ue as AddressInput,Ge as Alert,T as AreaChart,Ye as BILLABLE_PRODUCTS,f as Backdrop,We as Banner,He as BasePhoneInput,S as BigNumber,ze as BillableEventsProductTable,Qe as BillableEventsTable,_e as BillableProduct,u as BrandFilterInput,d as Button,qe as CalendlyDialog,Ze as CalendlyDialogComponent,Je as ContentWithLoader,L as ConversionOverTimeChart,E as CopyableUuid,t as CredentialRequestsEditor,p as CustomAlertComponent,Ke as CustomDialog,fe as DEFAULT_FONT_FAMILY,de as DEFAULT_FONT_WEIGHTS,$e as DateInput,je as DateRangeInput,Xe as DefaultInput,ar as EmailInput,O as EmptyChartSection,P as ErrorCodesChart,er as ExactBirthdayBanner,rr as ExportToPdfButton,sr as Form,or as FormBuilder,tr as FormField,ir as FormFieldBuilder,mr as FormProvider,pr as FullWidthAlert,I as FunnelChart,lr as IconPlayer,m as Image,fr as LegalLink,dr as LinkButton,v as LoadingChartSection,ur as LogDetailPanel,cr as LogsInfoAlert,hr as LogsTable,Me as MaskedAndUnmaskedSSNSchema,F as MetricLastUpdated,Cr as MetricsProvider,gr as NPIInput,Tr as NewOneClickForm,Pr as OTPInput,Dr as OneClickVerificationEventsOverTimeChart,Br as OneClickVerificationFunnelChart,yr as OneClickVerificationSuccessOverTimeChart,br as OriginalButton,kr as OverviewBigNumbers,r as PageHeader,s as PageSectionHeader,a as Paragraph,vr as PersistentDialog,Or as PhoneInput,B as PieChart,Fr as PoweredByVerified,Ir as PrettyPhoneInput,Lr as PrivacyPolicyNotice,n as QRCodeDisplay,Mr as RadioOption,D as ReasonCodesChart,A as RequiredLabel,Ar as ResendPhoneBanner,b as RiskScoreBarChart,y as RiskScorePieChart,Er as SSNInput,Ae as SSNSchema,e as SectionHeader,Rr as SelectInput,c as SeriesChart,h as SeriesChartLegend,C as SeriesPercentageChart,g as SimpleBarChart,k as SimpleLegend,Nr as SnackbarProvider,wr as SynchronizedMetricsChart,xr as TOTAL_DATA_KEY,Gr as TTSMagicButton,Yr as TTSMagicLegalLanguage,_r as TTSMagicQRCode,Wr as TTSOverTimeChart,Hr as TestPhoneNumbersBanner,zr as TextButton,Qr as TimezoneInput,R as Tunnel,o as Typography,Ce as USDateSchema,qr as VerifiedImage,Zr as VerifiedIncLogo,i as When,M as WhenStyled,ie as addressFormatter,ae as alpha,Se as birthDateSchema,oa as black,ta as blue,Oe as businessEmailSchema,ia as colors,ee as contrastColor,Va as countries,ma as dangerContrast,na as darkBlue,pa as darkGreen,la as darkGrey,fa as darkGreyContrast,da as darkRed,ua as darkYellow,re as darken,ge as dateSchema,Jr as defaultOverviewMetrics,ve as descriptionSchema,Fe as emailSchema,Vr as enrichWithTotal,Kr as exportBillableEventsToCsv,Ie as fieldSchema,Aa as formatDateMMDDYYYY,Ea as formatDateMMYY,Ra as formatDateToTimestamp,Na as formatExtendedDate,$r as formatInTimeZone,jr as formatIntegrationType,wa as formatLogTimestamp,me as fromUSAddress,Xa as generateKeyFromString,Te as getDateSchemaWithPastValidation,Ua as getPhoneData,Ga as getPhoneDataByFieldName,se as getThemeFromPrimaryColor,Ee as getUnixSchema,ca as green,ha as grey,Ca as greyContrast,Sa as infoContrast,ja as kebabCaseToPretty,ga as lightBlue,Ta as lightGreen,Pa as lightGrey,Da as lightGreyContrast,Ba as lightRed,ya as lightYellow,oe as lighten,ue as makeGoogleFontUrl,as as mapBillableEventsProductTableData,Xr as mapBillableEventsTableData,es as mapOneClickVerificationAreaSeriesData,rs as mapOneClickVerificationFunnelChartData,ss as mapOneClickVerificationSuccessOverTimeChartData,os as mapSeriesTimeSeriesData,ts as mapTTSTimeSeriesData,Ha as masks,Ur as mergeChartData,te as mix,Re as npiSchema,za as omitProperties,ne as parseCountryCode,Ya as parseToPhoneNational,Le as phoneSchema,ce as prepareNotification,ba as red,Pe as refineAge18Plus,De as refineMinimumDate1900,Be as refineTimestamp,he as resolveLogo,La as shadows,_a as sortByCountryName,Qa as ssnFormatter,qa as ssnRegex,Ne as stateSchema,Za as stringToHashedColor,ka as textDisabled,Ia as theme,Ka as toCapitalize,is as toCreatePatchCredentials,ms as toOption,$a as toSentenceCase,ps as toShareCredentials,pe as toUSaddress,le as toUSaddressPretty,xa as toUTCMilliseconds,sa as useBidirectionalScroll,ns as useBrandFilterInput,U as useCallbackRef,ls as useColorMap,w as useCopyToClipboard,J as useCounter,aa as useDebounceCallback,_ as useDebounceValue,x as useDisclosure,nr as useForm,V as useGoogleFont,Z as useIntersectionObserver,N as useLocalStorage,Sr as useMetrics,X as useNavigatorOnline,ra as useNetworkType,K as useOnClickOutside,$ as usePrevious,G as useQRCode,j as useResizeObserver,W as useScript,Y as useSearchParams,l as useSnackbar,ea as useStyledQRCode,fs as useTTSMagicLink,ds as useTTSMagicQRCode,us as useTTSMagicQRCodeOptions,cs as useTTSMagicText,H as useThrottle,z as useToggle,Q as useWindowScroll,q as useWindowSize,Ja as uuidToHashedColor,ye as validateAge18Plus,be as validateMinimumDate1900,Wa as validatePhone,ke as validateTimestamp,va as warningContrast,Oa as white,Ma as wrapPromise,Fa as yellow,we as zipCodeSchema};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(u,a){return u==null||a==null?NaN:u<a?-1:u>a?1:u>=a?0:NaN}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import o from"./ascending.mjs";import t from"./bisector.mjs";import i from"./number.mjs";const e=t(o),r=e.right;t(i).center;export{r as bisectRight,r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import h from"./ascending.mjs";import d from"./descending.mjs";function p(u){let e,r,l;u.length!==2?(e=h,r=(t,n)=>h(u(t),n),l=(t,n)=>u(t)-n):(e=u===h||u===d?u:a,r=u,l=u);function g(t,n,i=0,o=t.length){if(i<o){if(e(n,n)!==0)return o;do{const f=i+o>>>1;r(t[f],n)<0?i=f+1:o=f}while(i<o)}return i}function m(t,n,i=0,o=t.length){if(i<o){if(e(n,n)!==0)return o;do{const f=i+o>>>1;r(t[f],n)<=0?i=f+1:o=f}while(i<o)}return i}function s(t,n,i=0,o=t.length){const f=g(t,n,i,o-1);return f>i&&l(t[f-1],n)>-l(t[f],n)?f-1:f}return{left:g,center:s,right:m}}function a(){return 0}export{p as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a(l,u){return l==null||u==null?NaN:u<l?-1:u>l?1:u>=l?0:NaN}export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(u){return u===null?NaN:+u}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const d=Math.sqrt(50),p=Math.sqrt(10),w=Math.sqrt(2);function s(e,n,o){const h=(n-e)/Math.max(0,o),M=Math.floor(Math.log10(h)),r=h/Math.pow(10,M),c=r>=d?10:r>=p?5:r>=w?2:1;let a,u,t;return M<0?(t=Math.pow(10,-M)/c,a=Math.round(e*t),u=Math.round(n*t),a/t<e&&++a,u/t>n&&--u,t=-t):(t=Math.pow(10,M)*c,a=Math.round(e/t),u=Math.round(n/t),a*t<e&&++a,u*t>n&&--u),u<a&&.5<=o&&o<2?s(e,n,o*2):[a,u,t]}function f(e,n,o){if(n=+n,e=+e,o=+o,!(o>0))return[];if(e===n)return[e];const h=n<e,[M,r,c]=h?s(n,e,o):s(e,n,o);if(!(r>=M))return[];const a=r-M+1,u=new Array(a);if(h)if(c<0)for(let t=0;t<a;++t)u[t]=(r-t)/-c;else for(let t=0;t<a;++t)u[t]=(r-t)*c;else if(c<0)for(let t=0;t<a;++t)u[t]=(M+t)/-c;else for(let t=0;t<a;++t)u[t]=(M+t)*c;return u}function l(e,n,o){return n=+n,e=+e,o=+o,s(e,n,o)[2]}function q(e,n,o){n=+n,e=+e,o=+o;const h=n<e,M=h?l(n,e,o):l(e,n,o);return(h?-1:1)*(M<0?1/-M:M)}export{f as default,l as tickIncrement,q as tickStep};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import N,{extend as R}from"./define.mjs";function d(){}var b=.7,p=1/b,m="\\s*([+-]?\\d+)\\s*",y="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A=/^#([0-9a-f]{3,8})$/,B=new RegExp(`^rgb\\(${m},${m},${m}\\)$`),D=new RegExp(`^rgb\\(${s},${s},${s}\\)$`),F=new RegExp(`^rgba\\(${m},${m},${m},${y}\\)$`),G=new RegExp(`^rgba\\(${s},${s},${s},${y}\\)$`),J=new RegExp(`^hsl\\(${y},${s},${s}\\)$`),K=new RegExp(`^hsla\\(${y},${s},${s},${y}\\)$`),q={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};N(d,f,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:H,formatHex:H,formatHex8:Q,formatHsl:T,formatRgb:E,toString:E});function H(){return this.rgb().formatHex()}function Q(){return this.rgb().formatHex8()}function T(){return v(this).formatHsl()}function E(){return this.rgb().formatRgb()}function f(t){var r,i;return t=(t+"").trim().toLowerCase(),(r=A.exec(t))?(i=r[1].length,r=parseInt(r[1],16),i===6?C(r):i===3?new n(r>>8&15|r>>4&240,r>>4&15|r&240,(r&15)<<4|r&15,1):i===8?$(r>>24&255,r>>16&255,r>>8&255,(r&255)/255):i===4?$(r>>12&15|r>>8&240,r>>8&15|r>>4&240,r>>4&15|r&240,((r&15)<<4|r&15)/255):null):(r=B.exec(t))?new n(r[1],r[2],r[3],1):(r=D.exec(t))?new n(r[1]*255/100,r[2]*255/100,r[3]*255/100,1):(r=F.exec(t))?$(r[1],r[2],r[3],r[4]):(r=G.exec(t))?$(r[1]*255/100,r[2]*255/100,r[3]*255/100,r[4]):(r=J.exec(t))?I(r[1],r[2]/100,r[3]/100,1):(r=K.exec(t))?I(r[1],r[2]/100,r[3]/100,r[4]):q.hasOwnProperty(t)?C(q[t]):t==="transparent"?new n(NaN,NaN,NaN,0):null}function C(t){return new n(t>>16&255,t>>8&255,t&255,1)}function $(t,r,i,e){return e<=0&&(t=r=i=NaN),new n(t,r,i,e)}function S(t){return t instanceof d||(t=f(t)),t?(t=t.rgb(),new n(t.r,t.g,t.b,t.opacity)):new n}function j(t,r,i,e){return arguments.length===1?S(t):new n(t,r,i,e??1)}function n(t,r,i,e){this.r=+t,this.g=+r,this.b=+i,this.opacity=+e}N(n,j,R(d,{brighter(t){return t=t==null?p:Math.pow(p,t),new n(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?b:Math.pow(b,t),new n(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new n(l(this.r),l(this.g),l(this.b),k(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:O,formatHex:O,formatHex8:_,formatRgb:z,toString:z}));function O(){return`#${u(this.r)}${u(this.g)}${u(this.b)}`}function _(){return`#${u(this.r)}${u(this.g)}${u(this.b)}${u((isNaN(this.opacity)?1:this.opacity)*255)}`}function z(){const t=k(this.opacity);return`${t===1?"rgb(":"rgba("}${l(this.r)}, ${l(this.g)}, ${l(this.b)}${t===1?")":`, ${t})`}`}function k(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function l(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function u(t){return t=l(t),(t<16?"0":"")+t.toString(16)}function I(t,r,i,e){return e<=0?t=r=i=NaN:i<=0||i>=1?t=r=NaN:r<=0&&(t=NaN),new a(t,r,i,e)}function v(t){if(t instanceof a)return new a(t.h,t.s,t.l,t.opacity);if(t instanceof d||(t=f(t)),!t)return new a;if(t instanceof a)return t;t=t.rgb();var r=t.r/255,i=t.g/255,e=t.b/255,o=Math.min(r,i,e),g=Math.max(r,i,e),c=NaN,h=g-o,w=(g+o)/2;return h?(r===g?c=(i-e)/h+(i<e)*6:i===g?c=(e-r)/h+2:c=(r-i)/h+4,h/=w<.5?g+o:2-g-o,c*=60):h=w>0&&w<1?0:c,new a(c,h,w,t.opacity)}function L(t,r,i,e){return arguments.length===1?v(t):new a(t,r,i,e??1)}function a(t,r,i,e){this.h=+t,this.s=+r,this.l=+i,this.opacity=+e}N(a,L,R(d,{brighter(t){return t=t==null?p:Math.pow(p,t),new a(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?b:Math.pow(b,t),new a(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,r=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,e=i+(i<.5?i:1-i)*r,o=2*i-e;return new n(M(t>=240?t-240:t+120,o,e),M(t,o,e),M(t<120?t+240:t-120,o,e),this.opacity)},clamp(){return new a(P(this.h),x(this.s),x(this.l),k(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=k(this.opacity);return`${t===1?"hsl(":"hsla("}${P(this.h)}, ${x(this.s)*100}%, ${x(this.l)*100}%${t===1?")":`, ${t})`}`}}));function P(t){return t=(t||0)%360,t<0?t+360:t}function x(t){return Math.max(0,Math.min(1,t||0))}function M(t,r,i){return(t<60?r+(i-r)*t/60:t<180?i:t<240?r+(i-r)*(240-t)/60:r)*255}export{d as Color,n as Rgb,p as brighter,b as darker,f as default,L as hsl,v as hslConvert,j as rgb,S as rgbConvert};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(o,r,t){o.prototype=r.prototype=t,t.constructor=o}function p(o,r){var t=Object.create(o.prototype);for(var e in r)t[e]=r[e];return t}export{n as default,p as extend};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import f from"./locale.mjs";var r,o,t;e({thousands:",",grouping:[3],currency:["$",""]});function e(a){return r=f(a),o=r.format,t=r.formatPrefix,r}export{o as format,t as formatPrefix};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{formatDecimalParts as r}from"./formatDecimal.mjs";function e(a){return a=r(Math.abs(a)),a?a[1]:NaN}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function l(t,r){if((a=(t=r?t.toExponential(r-1):t.toExponential()).indexOf("e"))<0)return null;var a,n=t.slice(0,a);return[n.length>1?n[0]+n.slice(2):n,+t.slice(a+1)]}export{e as default,l as formatDecimalParts};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(r,a){return function(o,t){for(var u=o.length,h=[],s=0,n=r[0],i=0;u>0&&n>0&&(i+n+1>t&&(n=Math.max(1,t-i)),h.push(o.substring(u-=n,u+n)),!((i+=n+1)>t));)n=r[s=(s+1)%r.length];return h.reverse().join(a)}}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(n){return function(e){return e.replace(/[0-9]/g,function(r){return n[+r]})}}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{formatDecimalParts as f}from"./formatDecimal.mjs";var m;function l(t,o){var e=f(t,o);if(!e)return t+"";var a=e[0],i=e[1],r=i-(m=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,n=a.length;return r===n?a:r>n?a+new Array(r-n+1).join("0"):r>0?a.slice(0,r)+"."+a.slice(r):"0."+new Array(1-r).join("0")+f(t,Math.max(0,o+r-1))[0]}export{l as default,m as prefixExponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{formatDecimalParts as i}from"./formatDecimal.mjs";function o(n,t){var a=i(n,t);if(!a)return n+"";var r=a[0],e=a[1];return e<0?"0."+new Array(-e).join("0")+r:r.length>e+1?r.slice(0,e+1)+"."+r.slice(e+1):r+new Array(e-r.length+2).join("0")}export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function t(i){if(!(o=r.exec(i)))throw new Error("invalid format: "+i);var o;return new s({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10]})}t.prototype=s.prototype;function s(i){this.fill=i.fill===void 0?" ":i.fill+"",this.align=i.align===void 0?">":i.align+"",this.sign=i.sign===void 0?"-":i.sign+"",this.symbol=i.symbol===void 0?"":i.symbol+"",this.zero=!!i.zero,this.width=i.width===void 0?void 0:+i.width,this.comma=!!i.comma,this.precision=i.precision===void 0?void 0:+i.precision,this.trim=!!i.trim,this.type=i.type===void 0?"":i.type+""}s.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};export{s as FormatSpecifier,t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function l(t){c:for(var i=t.length,c=1,e=-1,s;c<i;++c)switch(t[c]){case".":e=s=c;break;case"0":e===0&&(e=c),s=c;break;default:if(!+t[c])break c;e>0&&(e=0);break}return e>0?t.slice(0,e)+t.slice(s+1):t}export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import i from"./formatDecimal.mjs";import n from"./formatPrefixAuto.mjs";import r from"./formatRounded.mjs";const a={"%":(o,t)=>(o*100).toFixed(t),b:o=>Math.round(o).toString(2),c:o=>o+"",d:i,e:(o,t)=>o.toExponential(t),f:(o,t)=>o.toFixed(t),g:(o,t)=>o.toPrecision(t),o:o=>Math.round(o).toString(8),p:(o,t)=>r(o*100,t),r,s:n,X:o=>Math.round(o).toString(16).toUpperCase(),x:o=>Math.round(o).toString(16)};export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(e){return e}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import D from"./exponent.mjs";import F from"./formatGroup.mjs";import H from"./formatNumerals.mjs";import A from"./formatSpecifier.mjs";import I from"./formatTrim.mjs";import z from"./formatTypes.mjs";import{prefixExponent as J}from"./formatPrefixAuto.mjs";import C from"./identity.mjs";var E=Array.prototype.map,P=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function K(r){var M=r.grouping===void 0||r.thousands===void 0?C:F(E.call(r.grouping,Number),r.thousands+""),S=r.currency===void 0?"":r.currency[0]+"",$=r.currency===void 0?"":r.currency[1]+"",j=r.decimal===void 0?".":r.decimal+"",G=r.numerals===void 0?C:H(E.call(r.numerals,String)),L=r.percent===void 0?"%":r.percent+"",T=r.minus===void 0?"\u2212":r.minus+"",X=r.nan===void 0?"NaN":r.nan+"";function b(o){o=A(o);var n=o.fill,u=o.align,t=o.sign,p=o.symbol,f=o.zero,h=o.width,y=o.comma,s=o.precision,k=o.trim,i=o.type;i==="n"?(y=!0,i="g"):z[i]||(s===void 0&&(s=12),k=!0,i="g"),(f||n==="0"&&u==="=")&&(f=!0,n="0",u="=");var Z=p==="$"?S:p==="#"&&/[boxX]/.test(i)?"0"+i.toLowerCase():"",q=p==="$"?$:/[%p]/.test(i)?L:"",w=z[i],B=/[defgprs%]/.test(i);s=s===void 0?6:/[gprs]/.test(i)?Math.max(1,Math.min(21,s)):Math.max(0,Math.min(20,s));function N(e){var c=Z,a=q,l,x,d;if(i==="c")a=w(e)+a,e="";else{e=+e;var g=e<0||1/e<0;if(e=isNaN(e)?X:w(Math.abs(e),s),k&&(e=I(e)),g&&+e==0&&t!=="+"&&(g=!1),c=(g?t==="("?t:T:t==="-"||t==="("?"":t)+c,a=(i==="s"?P[8+J/3]:"")+a+(g&&t==="("?")":""),B){for(l=-1,x=e.length;++l<x;)if(d=e.charCodeAt(l),48>d||d>57){a=(d===46?j+e.slice(l+1):e.slice(l))+a,e=e.slice(0,l);break}}}y&&!f&&(e=M(e,1/0));var v=c.length+e.length+a.length,m=v<h?new Array(h-v+1).join(n):"";switch(y&&f&&(e=M(m+e,m.length?h-a.length:1/0),m=""),u){case"<":e=c+e+a+m;break;case"=":e=c+m+e+a;break;case"^":e=m.slice(0,v=m.length>>1)+c+e+a+m.slice(v);break;default:e=m+c+e+a;break}return G(e)}return N.toString=function(){return o+""},N}function Y(o,n){var u=b((o=A(o),o.type="f",o)),t=Math.max(-8,Math.min(8,Math.floor(D(n)/3)))*3,p=Math.pow(10,-t),f=P[8+t/3];return function(h){return u(p*h)+f}}return{format:b,formatPrefix:Y}}export{K as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import a from"./exponent.mjs";function r(t){return Math.max(0,-a(Math.abs(t)))}export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"./exponent.mjs";function r(a,o){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(t(o)/3)))*3-t(Math.abs(a)))}export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import r from"./exponent.mjs";function e(a,t){return a=Math.abs(a),t=Math.abs(t)-a,Math.max(0,r(t)-r(a))+1}export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import c from"./value.mjs";function g(n,t){var o=t?t.length:0,e=n?Math.min(o,n.length):0,a=new Array(e),f=new Array(o),r;for(r=0;r<e;++r)a[r]=c(n[r],t[r]);for(;r<o;++r)f[r]=t[r];return function(i){for(r=0;r<e;++r)f[r]=a[r](i);return f}}export{g as genericArray};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import n from"./constant.mjs";function i(t,o){return function(u){return t+u*o}}function e(t,o,u){return t=Math.pow(t,u),o=Math.pow(o,u)-t,u=1/u,function(r){return Math.pow(t+r*o,u)}}function f(t){return(t=+t)==1?a:function(o,u){return u-o?e(o,u,t):n(isNaN(o)?u:o)}}function a(t,o){var u=o-t;return u?i(t,u):n(isNaN(t)?o:t)}export{a as default,f as gamma};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=a=>()=>a;export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(n,e){var t=new Date;return n=+n,e=+e,function(u){return t.setTime(n*(1-u)+e*u),t}}export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(t,u){return t=+t,u=+u,function(n){return t*(1-n)+u*n}}export{r as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(n,t){t||(t=[]);var u=n?Math.min(t.length,n.length):0,a=t.slice(),r;return function(i){for(r=0;r<u;++r)a[r]=n[r]*(1-i)+t[r]*i;return a}}function f(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}export{e as default,f as isNumberArray};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import i from"./value.mjs";function l(r,t){var f={},u={},n;(r===null||typeof r!="object")&&(r={}),(t===null||typeof t!="object")&&(t={});for(n in t)n in r?f[n]=i(r[n],t[n]):u[n]=t[n];return function(o){for(n in f)u[n]=f[n](o);return u}}export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import s,{gamma as y}from"./color.mjs";import{rgb as m}from"../../d3-color/src/color.mjs";const g=(function c(u){var n=y(u);function i(t,a){var f=n((t=m(t)).r,(a=m(a)).r),p=n(t.g,a.g),b=n(t.b,a.b),e=s(t.opacity,a.opacity);return function(r){return t.r=f(r),t.g=p(r),t.b=b(r),t.opacity=e(r),t+""}}return i.gamma=c,i})(1);export{g as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(u,n){return u=+u,n=+n,function(r){return Math.round(u*(1-r)+n*r)}}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import g from"./number.mjs";var o=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,s=new RegExp(o.source,"g");function h(u){return function(){return u}}function p(u){return function(r){return u(r)+""}}function v(u,r){var l=o.lastIndex=s.lastIndex=0,f,c,n,t=-1,e=[],x=[];for(u=u+"",r=r+"";(f=o.exec(u))&&(c=s.exec(r));)(n=c.index)>l&&(n=r.slice(l,n),e[t]?e[t]+=n:e[++t]=n),(f=f[0])===(c=c[0])?e[t]?e[t]+=c:e[++t]=c:(e[++t]=null,x.push({i:t,x:g(f,c)})),l=s.lastIndex;return l<r.length&&(n=r.slice(l),e[t]?e[t]+=n:e[++t]=n),e.length<2?x[0]?p(x[0].x):h(r):(r=x.length,function(d){for(var i=0,a;i<r;++i)e[(a=x[i]).i]=a.x(d);return e.join("")})}export{v as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import i from"./rgb.mjs";import{genericArray as a}from"./array.mjs";import e from"./date.mjs";import f from"./number.mjs";import p from"./object.mjs";import s from"./string.mjs";import u from"./constant.mjs";import c,{isNumberArray as y}from"./numberArray.mjs";import m from"../../d3-color/src/color.mjs";function l(n,o){var t=typeof o,r;return o==null||t==="boolean"?u(o):(t==="number"?f:t==="string"?(r=m(o))?(o=r,i):s:o instanceof m?i:o instanceof Date?e:y(o)?c:Array.isArray(o)?a:typeof o.valueOf!="function"&&typeof o.toString!="function"||isNaN(o)?p:f)(n,o)}export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(t){return function(){return t}}export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import y from"./constant.mjs";import N from"./number.mjs";import d from"../../d3-interpolate/src/number.mjs";import w from"../../d3-interpolate/src/value.mjs";import{bisectRight as A}from"../../d3-array/src/bisect.mjs";import M from"../../d3-interpolate/src/round.mjs";var h=[0,1];function g(n){return n}function p(n,r){return(r-=n=+n)?function(o){return(o-n)/r}:y(isNaN(r)?NaN:.5)}function k(n,r){var o;return n>r&&(o=n,n=r,r=o),function(e){return Math.max(n,Math.min(r,e))}}function R(n,r,o){var e=n[0],i=n[1],a=r[0],u=r[1];return i<e?(e=p(i,e),a=o(u,a)):(e=p(e,i),a=o(a,u)),function(m){return a(e(m))}}function x(n,r,o){var e=Math.min(n.length,r.length)-1,i=new Array(e),a=new Array(e),u=-1;for(n[e]<n[0]&&(n=n.slice().reverse(),r=r.slice().reverse());++u<e;)i[u]=p(n[u],n[u+1]),a[u]=o(r[u],r[u+1]);return function(m){var c=A(n,m,1,e)-1;return a[c](i[c](m))}}function b(n,r){return r.domain(n.domain()).range(n.range()).interpolate(n.interpolate()).clamp(n.clamp()).unknown(n.unknown())}function j(){var n=h,r=h,o=w,e,i,a,u=g,m,c,s;function l(){var t=Math.min(n.length,r.length);return u!==g&&(u=k(n[0],n[t-1])),m=t>2?x:R,c=s=null,f}function f(t){return t==null||isNaN(t=+t)?a:(c||(c=m(n.map(e),r,o)))(e(u(t)))}return f.invert=function(t){return u(i((s||(s=m(r,n.map(e),d)))(t)))},f.domain=function(t){return arguments.length?(n=Array.from(t,N),l()):n.slice()},f.range=function(t){return arguments.length?(r=Array.from(t),l()):r.slice()},f.rangeRound=function(t){return r=Array.from(t),o=M,l()},f.clamp=function(t){return arguments.length?(u=t?!0:g,l()):u!==g},f.interpolate=function(t){return arguments.length?(o=t,l()):o},f.unknown=function(t){return arguments.length?(a=t,f):a},function(t,v){return e=t,i=v,l()}}export{b as copy,g as identity,j as transformer};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(a,e){switch(arguments.length){case 0:break;case 1:this.range(a);break;default:this.range(e).domain(a);break}return this}export{t as initRange};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import h from"./tickFormat.mjs";import m,{tickIncrement as s}from"../../d3-array/src/ticks.mjs";function v(f){var l=f.domain;return f.ticks=function(i){var t=l();return m(t[0],t[t.length-1],i??10)},f.tickFormat=function(i,t){var a=l();return h(a[0],a[a.length-1],i??10,t)},f.nice=function(i){i==null&&(i=10);var t=l(),a=0,c=t.length-1,n=t[a],e=t[c],o,r,u=10;for(e<n&&(r=n,n=e,e=r,r=a,a=c,c=r);u-- >0;){if(r=s(n,e,i),r===o)return t[a]=n,t[c]=e,l(t);if(r>0)n=Math.floor(n/r)*r,e=Math.ceil(e/r)*r;else if(r<0)n=Math.ceil(n*r)/r,e=Math.floor(e*r)/r;else break;o=r}return f},f}export{v as linearish};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(n){return+n}export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{linearish as e}from"./linear.mjs";import{transformer as c,copy as f}from"./continuous.mjs";import{initRange as m}from"./init.mjs";function a(n){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/n))}}function o(n){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*n}}function s(n){var t=1,r=n(a(t),o(t));return r.constant=function(i){return arguments.length?n(a(t=+i),o(t)):t},e(r)}function u(){var n=s(c());return n.copy=function(){return f(n,u()).constant(n.constant())},m.apply(n,arguments)}export{u as default,s as symlogish};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{tickStep as p}from"../../d3-array/src/ticks.mjs";import c from"../../d3-format/src/formatSpecifier.mjs";import m from"../../d3-format/src/precisionFixed.mjs";import n from"../../d3-format/src/precisionRound.mjs";import f from"../../d3-format/src/precisionPrefix.mjs";import{formatPrefix as h,format as l}from"../../d3-format/src/defaultLocale.mjs";function u(s,i,a,r){var o=p(s,i,a),e;switch(r=c(r??",f"),r.type){case"s":{var t=Math.max(Math.abs(s),Math.abs(i));return r.precision==null&&!isNaN(e=f(o,t))&&(r.precision=e),h(r,t)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(e=n(o,Math.max(Math.abs(s),Math.abs(i))))&&(r.precision=e-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(e=m(o))&&(r.precision=e-(r.type==="%")*2);break}}return l(r)}export{u as default};
|
package/package.json
CHANGED