@hiver/connector-agent 1.3.5-beta.4 → 1.3.5-beta.5
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/app/index.d.ts.map +1 -1
- package/app/provider.d.ts.map +1 -1
- package/context/index.d.ts +2 -0
- package/context/index.d.ts.map +1 -1
- package/context/main-app-provider/index.d.ts +2 -1
- package/context/main-app-provider/index.d.ts.map +1 -1
- package/features/schedule-call/index.d.ts.map +1 -1
- package/index.es.js +22 -16
- package/index.umd.js +4 -4
- package/package.json +1 -1
package/app/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAO3B,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAIrD,UAAU,IAAI;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAO3B,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAIrD,UAAU,IAAI;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC;AAED,eAAO,MAAM,GAAG,EAAE,EAAE,CAAC,IAAI,CA6BxB,CAAC"}
|
package/app/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/app/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAErD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,WAAW,wEAAyE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../src/app/provider.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAErD,KAAK,gBAAgB,GAAG;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,WAAW,wEAAyE,gBAAgB,4CAkBhH,CAAC"}
|
package/context/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export interface IMainAppContext {
|
|
|
24
24
|
sendTrackingEvent: (event: string, data?: ITrackingData) => void;
|
|
25
25
|
availableFeatures?: IAvailableFtr;
|
|
26
26
|
userPermissions: string[];
|
|
27
|
+
isAdmin?: boolean;
|
|
27
28
|
}
|
|
28
29
|
export declare const defaultMainAppvalues: {
|
|
29
30
|
email: string;
|
|
@@ -33,6 +34,7 @@ export declare const defaultMainAppvalues: {
|
|
|
33
34
|
availableFeatures: {};
|
|
34
35
|
sendTrackingEvent: () => void;
|
|
35
36
|
userPermissions: never[];
|
|
37
|
+
isAdmin: boolean;
|
|
36
38
|
};
|
|
37
39
|
export declare const MainAppContext: import('react').Context<IMainAppContext>;
|
|
38
40
|
//# sourceMappingURL=index.d.ts.map
|
package/context/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,aAAa;IAE5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IACjE,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/context/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,aAAa;IAE5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,SAAS,CAAC;IACpB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IACjE,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;CAShC,CAAC;AAEF,eAAO,MAAM,cAAc,0CAAuD,CAAC"}
|
|
@@ -10,7 +10,8 @@ interface IProps {
|
|
|
10
10
|
metaData?: IMetaData;
|
|
11
11
|
availableFeatures?: IAvailableFtr;
|
|
12
12
|
userPermissions?: string[];
|
|
13
|
+
isAdmin?: boolean;
|
|
13
14
|
}
|
|
14
|
-
declare const MainAppProvider: ({ children, sendTrackingEvent, senderEmail, baseUrls, currentSmIds, metaData, availableFeatures, userPermissions }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const MainAppProvider: ({ children, sendTrackingEvent, senderEmail, baseUrls, currentSmIds, metaData, availableFeatures, userPermissions, isAdmin }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export default MainAppProvider;
|
|
16
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAkB,MAAM,aAAa,CAAC;AACtF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/main-app-provider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,aAAa,EAAkB,MAAM,aAAa,CAAC;AACtF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,UAAU,MAAM;IACd,QAAQ,EAAE,SAAS,CAAC;IACpB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,KAAK,IAAI,CAAC;IAC9E,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,eAAe,gIAUlB,MAAM,4CAgBR,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/schedule-call/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AA4B5D,UAAU,aAAa;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/features/schedule-call/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmC,MAAM,OAAO,CAAC;AA4B5D,UAAU,aAAa;IACrB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,aAAa,CAoD1C,CAAC"}
|
package/index.es.js
CHANGED
|
@@ -24498,7 +24498,8 @@ const tx = ({ cache: e, theme: t, children: n, ...r }) => w.createElement(Jw, e,
|
|
|
24498
24498
|
availableFeatures: {},
|
|
24499
24499
|
sendTrackingEvent: () => {
|
|
24500
24500
|
},
|
|
24501
|
-
userPermissions: []
|
|
24501
|
+
userPermissions: [],
|
|
24502
|
+
isAdmin: !1
|
|
24502
24503
|
}, uA = Gp(nx), rx = ({
|
|
24503
24504
|
children: e,
|
|
24504
24505
|
sendTrackingEvent: t,
|
|
@@ -24507,9 +24508,10 @@ const tx = ({ cache: e, theme: t, children: n, ...r }) => w.createElement(Jw, e,
|
|
|
24507
24508
|
currentSmIds: o = [],
|
|
24508
24509
|
metaData: A,
|
|
24509
24510
|
availableFeatures: s,
|
|
24510
|
-
userPermissions: a = []
|
|
24511
|
+
userPermissions: a = [],
|
|
24512
|
+
isAdmin: c = !1
|
|
24511
24513
|
}) => {
|
|
24512
|
-
const
|
|
24514
|
+
const l = Dc(
|
|
24513
24515
|
() => ({
|
|
24514
24516
|
email: n,
|
|
24515
24517
|
baseUrls: r,
|
|
@@ -24518,11 +24520,12 @@ const tx = ({ cache: e, theme: t, children: n, ...r }) => w.createElement(Jw, e,
|
|
|
24518
24520
|
sendTrackingEvent: t || (() => {
|
|
24519
24521
|
}),
|
|
24520
24522
|
availableFeatures: s,
|
|
24521
|
-
userPermissions: a
|
|
24523
|
+
userPermissions: a,
|
|
24524
|
+
isAdmin: c
|
|
24522
24525
|
}),
|
|
24523
|
-
[n, r, t, o, A, s, a]
|
|
24526
|
+
[n, r, t, o, A, s, a, c]
|
|
24524
24527
|
);
|
|
24525
|
-
return /* @__PURE__ */ b.jsx(uA.Provider, { value:
|
|
24528
|
+
return /* @__PURE__ */ b.jsx(uA.Provider, { value: l, children: e });
|
|
24526
24529
|
};
|
|
24527
24530
|
function Pt(e) {
|
|
24528
24531
|
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
@@ -30027,6 +30030,7 @@ const _F = "success", ZF = "error", $F = "Some error occured. Please contact sup
|
|
|
30027
30030
|
metaData: t == null ? void 0 : t.metaData,
|
|
30028
30031
|
baseUrls: r,
|
|
30029
30032
|
userPermissions: t == null ? void 0 : t.userPermissions,
|
|
30033
|
+
isAdmin: t == null ? void 0 : t.isAdmin,
|
|
30030
30034
|
children: /* @__PURE__ */ b.jsx(Xp, { fallback: /* @__PURE__ */ b.jsx(b.Fragment, {}), children: e })
|
|
30031
30035
|
}
|
|
30032
30036
|
) }) }), kp = RB.withTypes(), ts = mB.withTypes(), ik = "Please refresh and try again", sk = "No data available", Is = "-", ak = "Refresh", lk = "Minimize", Sp = "Expand", ck = "Connectors", uk = "Collapse", gk = "Close", fk = "bullet_list", dk = "Expanded", Ck = "Collapsed", Rp = V(vE.Connector)`
|
|
@@ -30700,28 +30704,30 @@ const _F = "success", ZF = "error", $F = "Some error occured. Please contact sup
|
|
|
30700
30704
|
`, YS = V(bt)`
|
|
30701
30705
|
color: ${ot.palette.gray.gray2};
|
|
30702
30706
|
`, WS = ({ userPermissions: e = [] }) => {
|
|
30703
|
-
const { availableFeatures: t, sendTrackingEvent: n } = Zo(uA)
|
|
30707
|
+
const { availableFeatures: t, sendTrackingEvent: n, isAdmin: r } = Zo(uA);
|
|
30708
|
+
console.log("SSSSSSSSS isAdmin in ScheduleCall ", r);
|
|
30709
|
+
const o = gS(e), [A, s] = Rt(() => !(localStorage.getItem(Vl) === "true") && Hp(t, qk));
|
|
30704
30710
|
tn(() => {
|
|
30705
|
-
localStorage.getItem(Vl) === "true" &&
|
|
30711
|
+
localStorage.getItem(Vl) === "true" && s(!1);
|
|
30706
30712
|
}, []);
|
|
30707
|
-
const
|
|
30708
|
-
localStorage.setItem(Vl, "true"),
|
|
30713
|
+
const a = () => {
|
|
30714
|
+
localStorage.setItem(Vl, "true"), s(!1), n(lS, {
|
|
30709
30715
|
source: r1
|
|
30710
30716
|
});
|
|
30711
|
-
},
|
|
30717
|
+
}, c = () => {
|
|
30712
30718
|
window.open(US, "_blank"), n(aS, {
|
|
30713
30719
|
source: r1
|
|
30714
30720
|
});
|
|
30715
30721
|
};
|
|
30716
|
-
return !
|
|
30722
|
+
return !A || !o ? null : /* @__PURE__ */ b.jsxs(DS, { justifyContent: "space-between", alignItems: "baseline", gap: "10px", children: [
|
|
30717
30723
|
/* @__PURE__ */ b.jsx(PS, { gap: "4px", children: /* @__PURE__ */ b.jsxs(LS, { children: [
|
|
30718
30724
|
/* @__PURE__ */ b.jsxs(lt, { direction: "row", justifyContent: "space-between", children: [
|
|
30719
30725
|
/* @__PURE__ */ b.jsx(zS, { variant: "body1_medium", children: SS }),
|
|
30720
|
-
/* @__PURE__ */ b.jsx(lt, { onClick:
|
|
30726
|
+
/* @__PURE__ */ b.jsx(lt, { onClick: a, children: /* @__PURE__ */ b.jsx(HS, {}) })
|
|
30721
30727
|
] }),
|
|
30722
30728
|
/* @__PURE__ */ b.jsx(YS, { variant: "body2", children: RS })
|
|
30723
30729
|
] }) }),
|
|
30724
|
-
/* @__PURE__ */ b.jsxs(NS, { onClick:
|
|
30730
|
+
/* @__PURE__ */ b.jsxs(NS, { onClick: c, direction: "row", alignItems: "center", children: [
|
|
30725
30731
|
/* @__PURE__ */ b.jsx(VS, {}),
|
|
30726
30732
|
/* @__PURE__ */ b.jsx(jS, { children: MS })
|
|
30727
30733
|
] })
|
|
@@ -31597,7 +31603,7 @@ const _F = "success", ZF = "error", $F = "Some error occured. Please contact sup
|
|
|
31597
31603
|
align-self: auto !important;
|
|
31598
31604
|
margin-left: 12px;
|
|
31599
31605
|
}
|
|
31600
|
-
`, AR = ({ senderEmail: e = "", baseUrls: t = {}, extraParams: n = {}, availableFeatures: r = {} }) => /* @__PURE__ */ b.jsx(KS, { children: /* @__PURE__ */ b.jsxs(
|
|
31606
|
+
`, AR = ({ senderEmail: e = "", baseUrls: t = {}, extraParams: n = {}, availableFeatures: r = {} }) => (console.log("SSSSSSSSSS extraParams : ", n), /* @__PURE__ */ b.jsx(KS, { children: /* @__PURE__ */ b.jsxs(
|
|
31601
31607
|
Ak,
|
|
31602
31608
|
{
|
|
31603
31609
|
availableFeatures: r,
|
|
@@ -31625,7 +31631,7 @@ const _F = "success", ZF = "error", $F = "Some error occured. Please contact sup
|
|
|
31625
31631
|
/* @__PURE__ */ b.jsx(WS, { userPermissions: n == null ? void 0 : n.userPermissions })
|
|
31626
31632
|
]
|
|
31627
31633
|
}
|
|
31628
|
-
) }), GS = "/v1/api", XS = GS + "/templates/metadata", _S = {
|
|
31634
|
+
) })), GS = "/v1/api", XS = GS + "/templates/metadata", _S = {
|
|
31629
31635
|
GET: "GET",
|
|
31630
31636
|
POST: "POST",
|
|
31631
31637
|
DELETE: "DELETE",
|
package/index.umd.js
CHANGED
|
@@ -2039,7 +2039,7 @@ Valid keys: `+JSON.stringify(Object.keys(f),null," "));var N=j(D,M,x,F,k+"."+M,
|
|
|
2039
2039
|
*
|
|
2040
2040
|
* This source code is licensed under the MIT license found in the
|
|
2041
2041
|
* LICENSE file in the root directory of this source tree.
|
|
2042
|
-
*/lu={exports:{}},process.env.NODE_ENV==="production"?lu.exports=function(){if(kC)return _e;kC=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen");function d(g){if(typeof g=="object"&&g!==null){var B=g.$$typeof;switch(B){case t:switch(g=g.type){case r:case A:case o:case u:case p:return g;default:switch(g=g&&g.$$typeof){case c:case a:case l:case Q:case E:case s:return g;default:return B}}case n:return B}}}return e=Symbol.for("react.module.reference"),_e.ContextConsumer=a,_e.ContextProvider=s,_e.Element=t,_e.ForwardRef=l,_e.Fragment=r,_e.Lazy=Q,_e.Memo=E,_e.Portal=n,_e.Profiler=A,_e.StrictMode=o,_e.Suspense=u,_e.SuspenseList=p,_e.isAsyncMode=function(){return!1},_e.isConcurrentMode=function(){return!1},_e.isContextConsumer=function(g){return d(g)===a},_e.isContextProvider=function(g){return d(g)===s},_e.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},_e.isForwardRef=function(g){return d(g)===l},_e.isFragment=function(g){return d(g)===r},_e.isLazy=function(g){return d(g)===Q},_e.isMemo=function(g){return d(g)===E},_e.isPortal=function(g){return d(g)===n},_e.isProfiler=function(g){return d(g)===A},_e.isStrictMode=function(g){return d(g)===o},_e.isSuspense=function(g){return d(g)===u},_e.isSuspenseList=function(g){return d(g)===p},_e.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===A||g===o||g===u||g===p||g===C||typeof g=="object"&&g!==null&&(g.$$typeof===Q||g.$$typeof===E||g.$$typeof===s||g.$$typeof===a||g.$$typeof===l||g.$$typeof===e||g.getModuleId!==void 0)},_e.typeOf=d,_e}():lu.exports=(SC||(SC=1,process.env.NODE_ENV!=="production"&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen");function d(M){if(typeof M=="object"&&M!==null){var j=M.$$typeof;switch(j){case t:var N=M.type;switch(N){case r:case A:case o:case u:case p:return N;default:var Y=N&&N.$$typeof;switch(Y){case c:case a:case l:case Q:case E:case s:return Y;default:return j}}case n:return j}}}e=Symbol.for("react.module.reference");var g=a,B=s,m=t,I=l,y=r,f=Q,h=E,v=n,x=A,F=o,k=u,D=p,P=!1,R=!1;tt.ContextConsumer=g,tt.ContextProvider=B,tt.Element=m,tt.ForwardRef=I,tt.Fragment=y,tt.Lazy=f,tt.Memo=h,tt.Portal=v,tt.Profiler=x,tt.StrictMode=F,tt.Suspense=k,tt.SuspenseList=D,tt.isAsyncMode=function(M){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},tt.isConcurrentMode=function(M){return R||(R=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},tt.isContextConsumer=function(M){return d(M)===a},tt.isContextProvider=function(M){return d(M)===s},tt.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===t},tt.isForwardRef=function(M){return d(M)===l},tt.isFragment=function(M){return d(M)===r},tt.isLazy=function(M){return d(M)===Q},tt.isMemo=function(M){return d(M)===E},tt.isPortal=function(M){return d(M)===n},tt.isProfiler=function(M){return d(M)===A},tt.isStrictMode=function(M){return d(M)===o},tt.isSuspense=function(M){return d(M)===u},tt.isSuspenseList=function(M){return d(M)===p},tt.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===r||M===A||M===o||M===u||M===p||M===C||typeof M=="object"&&M!==null&&(M.$$typeof===Q||M.$$typeof===E||M.$$typeof===s||M.$$typeof===a||M.$$typeof===l||M.$$typeof===e||M.getModuleId!==void 0)},tt.typeOf=d}()),tt),typeof window<"u"&&window.Math==Math||typeof self<"u"&&self.Math==Math||Function("return this")(),Fr.exports.oneOfType([Fr.exports.func,Fr.exports.object]);function MC(){return null}MC.isRequired=MC,process.env.NODE_ENV;const Sw={defaultProps:{size:"large"},styleOverrides:{root:({theme:e,ownerState:t})=>({padding:e.spacing(1),color:t.color==="default"?e.palette.gray.gray5:void 0,"&.Mui-disabled":{color:e.palette.gray.gray1},"&:hover":{backgroundColor:e.palette.gray.white16}}),sizeLarge:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.spacing(3)}}),sizeMedium:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.spacing(2.5)}}),sizeSmall:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.spacing(2.25)}})}},Mw={MuiButton:{styleOverrides:{contained:({theme:e})=>({"&.Mui-disabled":{color:e.palette.gray.gray4,backgroundColor:e.palette.gray.gray1}}),outlined:({theme:e})=>({"&.Mui-disabled":{color:e.palette.gray.gray4,backgroundColor:e.palette.gray.gray1},"&:not(.Mui-disabled).MuiButton-outlinedTertiary":{color:e.palette.gray.white,borderColor:e.palette.gray.gray3,boxShadow:"none"},"&:hover, &.MuiButton-hover":{"&.MuiButton-outlinedTertiary":{color:e.palette.gray.white,backgroundColor:e.palette.gray.black,borderColor:e.palette.gray.gray3,boxShadow:"none"}}}),text:({theme:e})=>({"&.Mui-disabled":{color:e.palette.gray.gray2},"&:hover, &.MuiButton-hover":{color:e.palette.gray.white,backgroundColor:e.palette.primary.dark,boxShadow:"0px 2px 4px 0px #00000040","&.MuiButton-textTertiary":{backgroundColor:e.palette.purple.primary},"&.MuiButton-textError":{backgroundColor:e.palette.error.dark},"&.MuiButton-textWarning":{backgroundColor:e.palette.warning.dark},"&.MuiButton-textSuccess":{backgroundColor:e.palette.success.dark}}})}},MuiIconButton:Sw,MuiChip:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(.5,1),textTransform:"unset",height:e.spacing(2.25),maxWidth:"122px",...e.typography.chip,"& .MuiChip-label":{paddingLeft:"unset",paddingRight:"unset"},"& .MuiChip-deleteIcon":{color:"#fff",width:e.spacing(1.5),height:e.spacing(1.5),marginLeft:e.spacing(.75),marginRight:0},"& .MuiChip-icon":{color:"#fff",width:e.spacing(1.5),height:e.spacing(1.5),marginRight:e.spacing(.75),marginLeft:0},"&.MuiChip-colorSuccess, &[colors=success]":{color:"#fff",backgroundColor:e.palette.green.hover},"&.MuiChip-colorError, &[colors=error]":{color:"#fff",backgroundColor:e.palette.red.hover},"&.Mui-disabled&.MuiChip-outlined":{color:e.palette.gray.gray3,backgroundColor:e.palette.gray.white16,borderColor:"transparent"},"&.Mui-disabled":{color:e.palette.gray.gray3,backgroundColor:e.palette.gray.white16,opacity:1,"& .MuiChip-deleteIcon":{color:e.palette.gray.gray3},"& .MuiChip-icon, &.MuiChip-colorError .MuiChip-icon, &.MuiChip-colorSuccess .MuiChip-icon":{color:e.palette.gray.gray3}}}),filled:({theme:e})=>({color:"#fff",backgroundColor:e.palette.gray.gray3,"&:hover, &:focus":{backgroundColor:e.palette.gray.gray1,"&.MuiChip-colorSuccess, &[colors=success]":{backgroundColor:e.palette.green.primary},"&.MuiChip-colorError, &[colors=error]":{backgroundColor:e.palette.red.primary}}}),outlined:({theme:e})=>({color:e.palette.gray.gray3,borderColor:e.palette.gray.gray3,"& .MuiChip-deleteIcon:hover":{color:e.palette.gray.gray3},"&:hover, &:focus":{color:e.palette.gray.gray4,borderColor:e.palette.gray.gray4,"& .MuiChip-deleteIcon":{color:e.palette.gray.gray4},"& .MuiChip-icon":{color:e.palette.gray.gray4},"&.MuiChip-colorSuccess, &[colors=success]":{color:e.palette.green.hover,borderColor:e.palette.green.hover,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.green.hover},"& .MuiChip-icon":{color:e.palette.green.hover}},"&.MuiChip-colorError, &[colors=error]":{color:e.palette.red.hover,borderColor:e.palette.red.hover,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.red.hover},"& .MuiChip-icon":{color:e.palette.red.hover}}},"& .MuiChip-deleteIcon":{color:e.palette.gray.gray3},"& .MuiChip-icon":{color:e.palette.gray.gray3},"&.MuiChip-colorSuccess, &[colors=success]":{color:e.palette.green.primary,borderColor:e.palette.green.primary,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.green.primary},"& .MuiChip-icon":{color:e.palette.green.primary}},"&.MuiChip-colorError, &[colors=error]":{color:e.palette.red.primary,borderColor:e.palette.red.primary,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.red.primary},"& .MuiChip-icon":{color:e.palette.red.primary}}})}}},ot=UA({palette:{...ee,primary:{main:ee.blue.primary,light:ee.blue.light,dark:ee.blue.hover},secondary:{main:ee.yellow.primary,light:ee.yellow.light,dark:ee.yellow.hover},tertiary:{light:ee.purple.light,main:ee.purple.primary,dark:ee.purple.hover,contrastText:ee.gray.white},text:{primary:ee.gray.gray2,secondary:ee.gray.gray4},action:{disabled:ee.gray.gray4,disabledBackground:ee.gray.gray6},success:{main:ee.green.primary,dark:ee.green.hover,light:ee.green.light,contrastText:ee.gray.white},error:{main:ee.red.primary,dark:ee.red.hover,light:ee.red.light,contrastText:ee.gray.white},info:{main:ee.blue.primary,dark:ee.blue.hover,light:ee.blue.light,contrastText:ee.gray.white},warning:{main:ee.orange.primary,dark:ee.orange.hover,light:ee.orange.light,contrastText:ee.gray.white},divider:ee.gray.gray6},typography:{fontFamily:"Roboto, sans-serif",fontSize:14,htmlFontSize:14,fontWeightRegular:400,fontWeightMedium:500,fontWeightSemiBold:600,fontWeightBold:700,fontWeightExtraBold:800,h1:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:20,fontWeight:500,lineHeight:"32px",letterSpacing:"0.2px",color:ee.gray.black},h2:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:16,fontWeight:500,lineHeight:"28px",letterSpacing:"0.2px",color:ee.gray.black},h3:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:14,fontWeight:500,lineHeight:"24px",letterSpacing:"0.3px",color:ee.gray.black},h4:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:13,fontWeight:500,lineHeight:"24px",letterSpacing:"0.3px",color:ee.gray.black},h5:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:12,fontWeight:700,lineHeight:"24px",letterSpacing:"0.5px",textTransform:"uppercase",color:ee.gray.black},body1:{fontSize:14,fontWeight:400,lineHeight:"20px",letterSpacing:"0.25px"},body1_medium:{fontFamily:"Roboto, sans-serif",fontSize:14,fontWeight:500,lineHeight:"20px",letterSpacing:"0.25px"},body2:{fontSize:13,fontWeight:400,lineHeight:"20px",letterSpacing:"0.25px"},body2_medium:{fontFamily:"Roboto, sans-serif",fontSize:13,fontWeight:500,lineHeight:"20px",letterSpacing:"0.25px"},caption:{fontSize:12,fontWeight:400,lineHeight:"20px",letterSpacing:"0.4px"},overline:{fontSize:11,fontWeight:400,lineHeight:"20px",letterSpacing:"1px",textTransform:"uppercase"},buttonLarge:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:15,fontWeight:500,lineHeight:"28px",letterSpacing:"0.2px"},buttonMedium:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:13,fontWeight:500,lineHeight:"24px",letterSpacing:"0.2px"},buttonSmall:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:12,fontWeight:500,lineHeight:"20px",letterSpacing:"0.4px"},chip:{fontFamily:"Roboto, sans-serif",fontSize:12,lineHeight:"12px",letterSpacing:"0.4px"}},shape:{borderRadius:4},components:gC}),Uw=UA({palette:{...ee,action:{...ee.action,disabledBackground:ee.gray.gray1}},components:Mw});var Dw=function e(t,n,r={clone:!0}){const o=r.clone?Au({},t):t;return Zo(t)&&Zo(n)&&Object.keys(n).forEach(A=>{A!=="__proto__"&&(Zo(n[A])&&A in t&&Zo(t[A])?o[A]=e(t[A],n[A],r):r.clone?o[A]=Zo(n[A])?fC(n[A]):n[A]:o[A]=n[A])}),o}(ot,Uw);function Rw({theme:e,dark:t,darkAuto:n,children:r,custom:o,...A}){const s=Fm("(prefers-color-scheme: dark)");let a=e;return a||(a=o?Ow:t||t==null&&n&&s?Dw:ot),b.createElement(Td,fr({theme:a},A),b.createElement(cC,{dateAdapter:aw},b.createElement(z1,null,r)))}const Pw=({cache:e,theme:t,children:n,...r})=>b.createElement(Fw,e,b.createElement(Rw,fr({theme:t},r),n)),di={AccountCircle:cd,Add:Ch,ArchiveOutlined:Eh,ArrowBack:ph,ArrowBackIos:Bh,ArrowDropDown:Ih,ArrowDropUp:Qh,ArrowForward:hh,ArrowOutward:mh,CalendarTodayOutlinedIcon:fd,Cancel:yh,CancelOutlined:vh,CheckCircle:bh,ChevronRightOutlined:wh,Close:xh,CodeSharp:Th,DeleteOutline:Oh,DownloadOutlined:Fh,DragIndicator:kh,EditOutlined:Sh,Error:Mh,ErrorOutline:Uh,GroupsOutlined:Dh,InfoOutlined:Rh,LabelOutlined:Ph,Link:Lh,LockOutlined:Nh,MailOutlined:jh,MicNone:Hh,MoreVert:Vh,NotificationsOutlined:zh,OpenInNew:Yh,Pause:Wh,PersonOutline:Kh,PersonOutlined:qh,Phone:Jh,PlayArrow:Gh,Public:Xh,Search:_h,Settings:Zh,SettingsOutlined:$h,StickyNote2Outlined:em,ThumbDownAlt:tm,ThumbDownOffAlt:nm,ThumbUpAlt:rm,ThumbUpOffAlt:om,TimerOutlined:Am,TrackChanges:im,UnarchiveOutlined:sm,Voicemail:am,Warning:lm,WarningAmber:cm},UC=Qw,Lw={email:"",baseUrls:{},currentSmIds:[],metaData:void 0,availableFeatures:{},sendTrackingEvent:()=>{},userPermissions:[]},$o=b.createContext(Lw),Nw=({children:e,sendTrackingEvent:t,senderEmail:n="",baseUrls:r={},currentSmIds:o=[],metaData:A,availableFeatures:s,userPermissions:a=[]})=>{const c=b.useMemo(()=>({email:n,baseUrls:r,currentSmIds:o,metaData:A,sendTrackingEvent:t||(()=>{}),availableFeatures:s,userPermissions:a}),[n,r,t,o,A,s,a]);return w.jsx($o.Provider,{value:c,children:e})};function Lt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var jw=typeof Symbol=="function"&&Symbol.observable||"@@observable",DC=jw,cu=()=>Math.random().toString(36).substring(7).split("").join("."),Hw={INIT:`@@redux/INIT${cu()}`,REPLACE:`@@redux/REPLACE${cu()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${cu()}`},$r=Hw;function Ci(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Vw(e){if(e===void 0)return"undefined";if(e===null)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(Ww(e))return"date";if(Yw(e))return"error";const n=zw(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function zw(e){return typeof e.constructor=="function"?e.constructor.name:null}function Yw(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function Ww(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function kr(e){let t=typeof e;return process.env.NODE_ENV!=="production"&&(t=Vw(e)),t}function RC(e,t,n){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(2):`Expected the root reducer to be a function. Instead, received: '${kr(e)}'`);if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Lt(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(1):`Expected the enhancer to be a function. Instead, received: '${kr(n)}'`);return n(RC)(e,t)}let r=e,o=t,A=new Map,s=A,a=0,c=!1;function l(){s===A&&(s=new Map,A.forEach((g,B)=>{s.set(B,g)}))}function u(){if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function p(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(4):`Expected the listener to be a function. Instead, received: '${kr(g)}'`);if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let B=!0;l();const m=a++;return s.set(m,g),function(){if(B){if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");B=!1,l(),s.delete(m),A=null}}}function E(g){if(!Ci(g))throw new Error(process.env.NODE_ENV==="production"?Lt(7):`Actions must be plain objects. Instead, the actual type was: '${kr(g)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof g.type>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof g.type!="string")throw new Error(process.env.NODE_ENV==="production"?Lt(17):`Action "type" property must be a string. Instead, the actual type was: '${kr(g.type)}'. Value was: '${g.type}' (stringified)`);if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(9):"Reducers may not dispatch actions.");try{c=!0,o=r(o,g)}finally{c=!1}return(A=s).forEach(m=>{m()}),g}function Q(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(10):`Expected the nextReducer to be a function. Instead, received: '${kr(g)}`);r=g,E({type:$r.REPLACE})}function C(){const g=p;return{subscribe(B){if(typeof B!="object"||B===null)throw new Error(process.env.NODE_ENV==="production"?Lt(11):`Expected the observer to be an object. Instead, received: '${kr(B)}'`);function m(){const y=B;y.next&&y.next(u())}return m(),{unsubscribe:g(m)}},[DC](){return this}}}return E({type:$r.INIT}),{dispatch:E,subscribe:p,getState:u,replaceReducer:Q,[DC]:C}}function PC(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function Kw(e,t,n,r){const o=Object.keys(t),A=n&&n.type===$r.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Ci(e))return`The ${A} has unexpected type of "${kr(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const s=Object.keys(e).filter(a=>!t.hasOwnProperty(a)&&!r[a]);if(s.forEach(a=>{r[a]=!0}),!(n&&n.type===$r.REPLACE)&&s.length>0)return`Unexpected ${s.length>1?"keys":"key"} "${s.join('", "')}" found in ${A}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`}function qw(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:$r.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(12):`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof n(void 0,{type:$r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${$r.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function LC(e){const t=Object.keys(e),n={};for(let s=0;s<t.length;s++){const a=t[s];process.env.NODE_ENV!=="production"&&typeof e[a]>"u"&&PC(`No reducer provided for key "${a}"`),typeof e[a]=="function"&&(n[a]=e[a])}const r=Object.keys(n);let o;process.env.NODE_ENV!=="production"&&(o={});let A;try{qw(n)}catch(s){A=s}return function(a={},c){if(A)throw A;if(process.env.NODE_ENV!=="production"){const p=Kw(a,n,c,o);p&&PC(p)}let l=!1;const u={};for(let p=0;p<r.length;p++){const E=r[p],Q=n[E],C=a[E],d=Q(C,c);if(typeof d>"u"){const g=c&&c.type;throw new Error(process.env.NODE_ENV==="production"?Lt(14):`When called with an action of type ${g?`"${String(g)}"`:"(unknown type)"}, the slice reducer for key "${E}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}u[E]=d,l=l||d!==C}return l=l||r.length!==Object.keys(a).length,l?u:a}}function ga(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Jw(...e){return t=>(n,r)=>{const o=t(n,r);let A=()=>{throw new Error(process.env.NODE_ENV==="production"?Lt(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const s={getState:o.getState,dispatch:(c,...l)=>A(c,...l)},a=e.map(c=>c(s));return A=ga(...a)(o.dispatch),{...o,dispatch:A}}}function NC(e){return Ci(e)&&"type"in e&&typeof e.type=="string"}var jC=Symbol.for("immer-nothing"),HC=Symbol.for("immer-draftable"),cn=Symbol.for("immer-state"),Gw=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function _t(e,...t){if(process.env.NODE_ENV!=="production"){const n=Gw[e],r=typeof n=="function"?n.apply(null,t):n;throw new Error(`[Immer] ${r}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var eA=Object.getPrototypeOf;function eo(e){return!!e&&!!e[cn]}function dr(e){var t;return e?VC(e)||Array.isArray(e)||!!e[HC]||!!((t=e.constructor)!=null&&t[HC])||Ca(e)||Ea(e):!1}var Xw=Object.prototype.constructor.toString();function VC(e){if(!e||typeof e!="object")return!1;const t=eA(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Xw}function fa(e,t){da(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function da(e){const t=e[cn];return t?t.type_:Array.isArray(e)?1:Ca(e)?2:Ea(e)?3:0}function uu(e,t){return da(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function zC(e,t,n){const r=da(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function _w(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ca(e){return e instanceof Map}function Ea(e){return e instanceof Set}function to(e){return e.copy_||e.base_}function gu(e,t){if(Ca(e))return new Map(e);if(Ea(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=VC(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[cn];let o=Reflect.ownKeys(r);for(let A=0;A<o.length;A++){const s=o[A],a=r[s];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[s]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[s]})}return Object.create(eA(e),r)}else{const r=eA(e);if(r!==null&&n)return{...e};const o=Object.create(r);return Object.assign(o,e)}}function fu(e,t=!1){return pa(e)||eo(e)||!dr(e)||(da(e)>1&&(e.set=e.add=e.clear=e.delete=Zw),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>fu(r,!0))),e}function Zw(){_t(2)}function pa(e){return Object.isFrozen(e)}var $w={};function no(e){const t=$w[e];return t||_t(0,e),t}var Ei;function YC(){return Ei}function ex(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function WC(e,t){t&&(no("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function du(e){Cu(e),e.drafts_.forEach(tx),e.drafts_=null}function Cu(e){e===Ei&&(Ei=e.parent_)}function KC(e){return Ei=ex(Ei,e)}function tx(e){const t=e[cn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function qC(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[cn].modified_&&(du(t),_t(4)),dr(e)&&(e=Ba(t,e),t.parent_||Ia(t,e)),t.patches_&&no("Patches").generateReplacementPatches_(n[cn].base_,e,t.patches_,t.inversePatches_)):e=Ba(t,n,[]),du(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==jC?e:void 0}function Ba(e,t,n){if(pa(t))return t;const r=t[cn];if(!r)return fa(t,(o,A)=>JC(e,r,t,o,A,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Ia(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const o=r.copy_;let A=o,s=!1;r.type_===3&&(A=new Set(o),o.clear(),s=!0),fa(A,(a,c)=>JC(e,r,o,a,c,n,s)),Ia(e,o,!1),n&&e.patches_&&no("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function JC(e,t,n,r,o,A,s){if(process.env.NODE_ENV!=="production"&&o===n&&_t(5),eo(o)){const a=A&&t&&t.type_!==3&&!uu(t.assigned_,r)?A.concat(r):void 0,c=Ba(e,o,a);if(zC(n,r,c),eo(c))e.canAutoFreeze_=!1;else return}else s&&n.add(o);if(dr(o)&&!pa(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ba(e,o),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Ia(e,o)}}function Ia(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&fu(t,n)}function nx(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:YC(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,A=Eu;n&&(o=[r],A=pi);const{revoke:s,proxy:a}=Proxy.revocable(o,A);return r.draft_=a,r.revoke_=s,a}var Eu={get(e,t){if(t===cn)return e;const n=to(e);if(!uu(n,t))return rx(e,n,t);const r=n[t];return e.finalized_||!dr(r)?r:r===pu(e.base_,t)?(Iu(e),e.copy_[t]=Qu(r,e)):r},has(e,t){return t in to(e)},ownKeys(e){return Reflect.ownKeys(to(e))},set(e,t,n){const r=GC(to(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const o=pu(to(e),t),A=o==null?void 0:o[cn];if(A&&A.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(_w(n,o)&&(n!==void 0||uu(e.base_,t)))return!0;Iu(e),Bu(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return pu(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Iu(e),Bu(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=to(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){_t(11)},getPrototypeOf(e){return eA(e.base_)},setPrototypeOf(){_t(12)}},pi={};fa(Eu,(e,t)=>{pi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),pi.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&_t(13),pi.set.call(this,e,t,void 0)},pi.set=function(e,t,n){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&_t(14),Eu.set.call(this,e[0],t,n,e[0])};function pu(e,t){const n=e[cn];return(n?to(n):e)[t]}function rx(e,t,n){var o;const r=GC(t,n);return r?"value"in r?r.value:(o=r.get)==null?void 0:o.call(e.draft_):void 0}function GC(e,t){if(!(t in e))return;let n=eA(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=eA(n)}}function Bu(e){e.modified_||(e.modified_=!0,e.parent_&&Bu(e.parent_))}function Iu(e){e.copy_||(e.copy_=gu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ox=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const A=n;n=t;const s=this;return function(c=A,...l){return s.produce(c,u=>n.call(this,u,...l))}}typeof n!="function"&&_t(6),r!==void 0&&typeof r!="function"&&_t(7);let o;if(dr(t)){const A=KC(this),s=Qu(t,void 0);let a=!0;try{o=n(s),a=!1}finally{a?du(A):Cu(A)}return WC(A,r),qC(o,A)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===jC&&(o=void 0),this.autoFreeze_&&fu(o,!0),r){const A=[],s=[];no("Patches").generateReplacementPatches_(t,o,A,s),r(A,s)}return o}else _t(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,c=>t(c,...a));let r,o;return[this.produce(t,n,(s,a)=>{r=s,o=a}),r,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){dr(e)||_t(8),eo(e)&&(e=Ax(e));const t=KC(this),n=Qu(e,void 0);return n[cn].isManual_=!0,Cu(t),n}finishDraft(e,t){const n=e&&e[cn];(!n||!n.isManual_)&&_t(9);const{scope_:r}=n;return WC(r,t),qC(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const r=no("Patches").applyPatches_;return eo(e)?r(e,t):this.produce(e,o=>r(o,t))}};function Qu(e,t){const n=Ca(e)?no("MapSet").proxyMap_(e,t):Ea(e)?no("MapSet").proxySet_(e,t):nx(e,t);return(t?t.scope_:YC()).drafts_.push(n),n}function Ax(e){return eo(e)||_t(10,e),XC(e)}function XC(e){if(!dr(e)||pa(e))return e;const t=e[cn];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=gu(e,t.scope_.immer_.useStrictShallowCopy_)}else n=gu(e,!0);return fa(n,(r,o)=>{zC(n,r,XC(o))}),t&&(t.finalized_=!1),n}var un=new ox,_C=un.produce;un.produceWithPatches.bind(un),un.setAutoFreeze.bind(un),un.setUseStrictShallowCopy.bind(un),un.applyPatches.bind(un),un.createDraft.bind(un),un.finishDraft.bind(un);var ix=(e,t,n)=>{if(t.length===1&&t[0]===n){let r=!1;try{const o={};e(o)===o&&(r=!0)}catch{}if(r){let o;try{throw new Error}catch(A){({stack:o}=A)}console.warn(`The result function returned its own inputs without modification. e.g
|
|
2042
|
+
*/lu={exports:{}},process.env.NODE_ENV==="production"?lu.exports=function(){if(kC)return _e;kC=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen");function d(g){if(typeof g=="object"&&g!==null){var B=g.$$typeof;switch(B){case t:switch(g=g.type){case r:case A:case o:case u:case p:return g;default:switch(g=g&&g.$$typeof){case c:case a:case l:case Q:case E:case s:return g;default:return B}}case n:return B}}}return e=Symbol.for("react.module.reference"),_e.ContextConsumer=a,_e.ContextProvider=s,_e.Element=t,_e.ForwardRef=l,_e.Fragment=r,_e.Lazy=Q,_e.Memo=E,_e.Portal=n,_e.Profiler=A,_e.StrictMode=o,_e.Suspense=u,_e.SuspenseList=p,_e.isAsyncMode=function(){return!1},_e.isConcurrentMode=function(){return!1},_e.isContextConsumer=function(g){return d(g)===a},_e.isContextProvider=function(g){return d(g)===s},_e.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},_e.isForwardRef=function(g){return d(g)===l},_e.isFragment=function(g){return d(g)===r},_e.isLazy=function(g){return d(g)===Q},_e.isMemo=function(g){return d(g)===E},_e.isPortal=function(g){return d(g)===n},_e.isProfiler=function(g){return d(g)===A},_e.isStrictMode=function(g){return d(g)===o},_e.isSuspense=function(g){return d(g)===u},_e.isSuspenseList=function(g){return d(g)===p},_e.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===A||g===o||g===u||g===p||g===C||typeof g=="object"&&g!==null&&(g.$$typeof===Q||g.$$typeof===E||g.$$typeof===s||g.$$typeof===a||g.$$typeof===l||g.$$typeof===e||g.getModuleId!==void 0)},_e.typeOf=d,_e}():lu.exports=(SC||(SC=1,process.env.NODE_ENV!=="production"&&function(){var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen");function d(M){if(typeof M=="object"&&M!==null){var j=M.$$typeof;switch(j){case t:var N=M.type;switch(N){case r:case A:case o:case u:case p:return N;default:var Y=N&&N.$$typeof;switch(Y){case c:case a:case l:case Q:case E:case s:return Y;default:return j}}case n:return j}}}e=Symbol.for("react.module.reference");var g=a,B=s,m=t,I=l,y=r,f=Q,h=E,v=n,x=A,F=o,k=u,D=p,P=!1,R=!1;tt.ContextConsumer=g,tt.ContextProvider=B,tt.Element=m,tt.ForwardRef=I,tt.Fragment=y,tt.Lazy=f,tt.Memo=h,tt.Portal=v,tt.Profiler=x,tt.StrictMode=F,tt.Suspense=k,tt.SuspenseList=D,tt.isAsyncMode=function(M){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},tt.isConcurrentMode=function(M){return R||(R=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},tt.isContextConsumer=function(M){return d(M)===a},tt.isContextProvider=function(M){return d(M)===s},tt.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===t},tt.isForwardRef=function(M){return d(M)===l},tt.isFragment=function(M){return d(M)===r},tt.isLazy=function(M){return d(M)===Q},tt.isMemo=function(M){return d(M)===E},tt.isPortal=function(M){return d(M)===n},tt.isProfiler=function(M){return d(M)===A},tt.isStrictMode=function(M){return d(M)===o},tt.isSuspense=function(M){return d(M)===u},tt.isSuspenseList=function(M){return d(M)===p},tt.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===r||M===A||M===o||M===u||M===p||M===C||typeof M=="object"&&M!==null&&(M.$$typeof===Q||M.$$typeof===E||M.$$typeof===s||M.$$typeof===a||M.$$typeof===l||M.$$typeof===e||M.getModuleId!==void 0)},tt.typeOf=d}()),tt),typeof window<"u"&&window.Math==Math||typeof self<"u"&&self.Math==Math||Function("return this")(),Fr.exports.oneOfType([Fr.exports.func,Fr.exports.object]);function MC(){return null}MC.isRequired=MC,process.env.NODE_ENV;const Sw={defaultProps:{size:"large"},styleOverrides:{root:({theme:e,ownerState:t})=>({padding:e.spacing(1),color:t.color==="default"?e.palette.gray.gray5:void 0,"&.Mui-disabled":{color:e.palette.gray.gray1},"&:hover":{backgroundColor:e.palette.gray.white16}}),sizeLarge:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.spacing(3)}}),sizeMedium:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.spacing(2.5)}}),sizeSmall:({theme:e})=>({"& .MuiSvgIcon-root":{fontSize:e.spacing(2.25)}})}},Mw={MuiButton:{styleOverrides:{contained:({theme:e})=>({"&.Mui-disabled":{color:e.palette.gray.gray4,backgroundColor:e.palette.gray.gray1}}),outlined:({theme:e})=>({"&.Mui-disabled":{color:e.palette.gray.gray4,backgroundColor:e.palette.gray.gray1},"&:not(.Mui-disabled).MuiButton-outlinedTertiary":{color:e.palette.gray.white,borderColor:e.palette.gray.gray3,boxShadow:"none"},"&:hover, &.MuiButton-hover":{"&.MuiButton-outlinedTertiary":{color:e.palette.gray.white,backgroundColor:e.palette.gray.black,borderColor:e.palette.gray.gray3,boxShadow:"none"}}}),text:({theme:e})=>({"&.Mui-disabled":{color:e.palette.gray.gray2},"&:hover, &.MuiButton-hover":{color:e.palette.gray.white,backgroundColor:e.palette.primary.dark,boxShadow:"0px 2px 4px 0px #00000040","&.MuiButton-textTertiary":{backgroundColor:e.palette.purple.primary},"&.MuiButton-textError":{backgroundColor:e.palette.error.dark},"&.MuiButton-textWarning":{backgroundColor:e.palette.warning.dark},"&.MuiButton-textSuccess":{backgroundColor:e.palette.success.dark}}})}},MuiIconButton:Sw,MuiChip:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(.5,1),textTransform:"unset",height:e.spacing(2.25),maxWidth:"122px",...e.typography.chip,"& .MuiChip-label":{paddingLeft:"unset",paddingRight:"unset"},"& .MuiChip-deleteIcon":{color:"#fff",width:e.spacing(1.5),height:e.spacing(1.5),marginLeft:e.spacing(.75),marginRight:0},"& .MuiChip-icon":{color:"#fff",width:e.spacing(1.5),height:e.spacing(1.5),marginRight:e.spacing(.75),marginLeft:0},"&.MuiChip-colorSuccess, &[colors=success]":{color:"#fff",backgroundColor:e.palette.green.hover},"&.MuiChip-colorError, &[colors=error]":{color:"#fff",backgroundColor:e.palette.red.hover},"&.Mui-disabled&.MuiChip-outlined":{color:e.palette.gray.gray3,backgroundColor:e.palette.gray.white16,borderColor:"transparent"},"&.Mui-disabled":{color:e.palette.gray.gray3,backgroundColor:e.palette.gray.white16,opacity:1,"& .MuiChip-deleteIcon":{color:e.palette.gray.gray3},"& .MuiChip-icon, &.MuiChip-colorError .MuiChip-icon, &.MuiChip-colorSuccess .MuiChip-icon":{color:e.palette.gray.gray3}}}),filled:({theme:e})=>({color:"#fff",backgroundColor:e.palette.gray.gray3,"&:hover, &:focus":{backgroundColor:e.palette.gray.gray1,"&.MuiChip-colorSuccess, &[colors=success]":{backgroundColor:e.palette.green.primary},"&.MuiChip-colorError, &[colors=error]":{backgroundColor:e.palette.red.primary}}}),outlined:({theme:e})=>({color:e.palette.gray.gray3,borderColor:e.palette.gray.gray3,"& .MuiChip-deleteIcon:hover":{color:e.palette.gray.gray3},"&:hover, &:focus":{color:e.palette.gray.gray4,borderColor:e.palette.gray.gray4,"& .MuiChip-deleteIcon":{color:e.palette.gray.gray4},"& .MuiChip-icon":{color:e.palette.gray.gray4},"&.MuiChip-colorSuccess, &[colors=success]":{color:e.palette.green.hover,borderColor:e.palette.green.hover,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.green.hover},"& .MuiChip-icon":{color:e.palette.green.hover}},"&.MuiChip-colorError, &[colors=error]":{color:e.palette.red.hover,borderColor:e.palette.red.hover,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.red.hover},"& .MuiChip-icon":{color:e.palette.red.hover}}},"& .MuiChip-deleteIcon":{color:e.palette.gray.gray3},"& .MuiChip-icon":{color:e.palette.gray.gray3},"&.MuiChip-colorSuccess, &[colors=success]":{color:e.palette.green.primary,borderColor:e.palette.green.primary,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.green.primary},"& .MuiChip-icon":{color:e.palette.green.primary}},"&.MuiChip-colorError, &[colors=error]":{color:e.palette.red.primary,borderColor:e.palette.red.primary,backgroundColor:"transparent","& .MuiChip-deleteIcon":{color:e.palette.red.primary},"& .MuiChip-icon":{color:e.palette.red.primary}}})}}},ot=UA({palette:{...ee,primary:{main:ee.blue.primary,light:ee.blue.light,dark:ee.blue.hover},secondary:{main:ee.yellow.primary,light:ee.yellow.light,dark:ee.yellow.hover},tertiary:{light:ee.purple.light,main:ee.purple.primary,dark:ee.purple.hover,contrastText:ee.gray.white},text:{primary:ee.gray.gray2,secondary:ee.gray.gray4},action:{disabled:ee.gray.gray4,disabledBackground:ee.gray.gray6},success:{main:ee.green.primary,dark:ee.green.hover,light:ee.green.light,contrastText:ee.gray.white},error:{main:ee.red.primary,dark:ee.red.hover,light:ee.red.light,contrastText:ee.gray.white},info:{main:ee.blue.primary,dark:ee.blue.hover,light:ee.blue.light,contrastText:ee.gray.white},warning:{main:ee.orange.primary,dark:ee.orange.hover,light:ee.orange.light,contrastText:ee.gray.white},divider:ee.gray.gray6},typography:{fontFamily:"Roboto, sans-serif",fontSize:14,htmlFontSize:14,fontWeightRegular:400,fontWeightMedium:500,fontWeightSemiBold:600,fontWeightBold:700,fontWeightExtraBold:800,h1:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:20,fontWeight:500,lineHeight:"32px",letterSpacing:"0.2px",color:ee.gray.black},h2:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:16,fontWeight:500,lineHeight:"28px",letterSpacing:"0.2px",color:ee.gray.black},h3:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:14,fontWeight:500,lineHeight:"24px",letterSpacing:"0.3px",color:ee.gray.black},h4:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:13,fontWeight:500,lineHeight:"24px",letterSpacing:"0.3px",color:ee.gray.black},h5:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:12,fontWeight:700,lineHeight:"24px",letterSpacing:"0.5px",textTransform:"uppercase",color:ee.gray.black},body1:{fontSize:14,fontWeight:400,lineHeight:"20px",letterSpacing:"0.25px"},body1_medium:{fontFamily:"Roboto, sans-serif",fontSize:14,fontWeight:500,lineHeight:"20px",letterSpacing:"0.25px"},body2:{fontSize:13,fontWeight:400,lineHeight:"20px",letterSpacing:"0.25px"},body2_medium:{fontFamily:"Roboto, sans-serif",fontSize:13,fontWeight:500,lineHeight:"20px",letterSpacing:"0.25px"},caption:{fontSize:12,fontWeight:400,lineHeight:"20px",letterSpacing:"0.4px"},overline:{fontSize:11,fontWeight:400,lineHeight:"20px",letterSpacing:"1px",textTransform:"uppercase"},buttonLarge:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:15,fontWeight:500,lineHeight:"28px",letterSpacing:"0.2px"},buttonMedium:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:13,fontWeight:500,lineHeight:"24px",letterSpacing:"0.2px"},buttonSmall:{fontFamily:'"DM Sans", Roboto, sans-serif',fontSize:12,fontWeight:500,lineHeight:"20px",letterSpacing:"0.4px"},chip:{fontFamily:"Roboto, sans-serif",fontSize:12,lineHeight:"12px",letterSpacing:"0.4px"}},shape:{borderRadius:4},components:gC}),Uw=UA({palette:{...ee,action:{...ee.action,disabledBackground:ee.gray.gray1}},components:Mw});var Dw=function e(t,n,r={clone:!0}){const o=r.clone?Au({},t):t;return Zo(t)&&Zo(n)&&Object.keys(n).forEach(A=>{A!=="__proto__"&&(Zo(n[A])&&A in t&&Zo(t[A])?o[A]=e(t[A],n[A],r):r.clone?o[A]=Zo(n[A])?fC(n[A]):n[A]:o[A]=n[A])}),o}(ot,Uw);function Rw({theme:e,dark:t,darkAuto:n,children:r,custom:o,...A}){const s=Fm("(prefers-color-scheme: dark)");let a=e;return a||(a=o?Ow:t||t==null&&n&&s?Dw:ot),b.createElement(Td,fr({theme:a},A),b.createElement(cC,{dateAdapter:aw},b.createElement(z1,null,r)))}const Pw=({cache:e,theme:t,children:n,...r})=>b.createElement(Fw,e,b.createElement(Rw,fr({theme:t},r),n)),di={AccountCircle:cd,Add:Ch,ArchiveOutlined:Eh,ArrowBack:ph,ArrowBackIos:Bh,ArrowDropDown:Ih,ArrowDropUp:Qh,ArrowForward:hh,ArrowOutward:mh,CalendarTodayOutlinedIcon:fd,Cancel:yh,CancelOutlined:vh,CheckCircle:bh,ChevronRightOutlined:wh,Close:xh,CodeSharp:Th,DeleteOutline:Oh,DownloadOutlined:Fh,DragIndicator:kh,EditOutlined:Sh,Error:Mh,ErrorOutline:Uh,GroupsOutlined:Dh,InfoOutlined:Rh,LabelOutlined:Ph,Link:Lh,LockOutlined:Nh,MailOutlined:jh,MicNone:Hh,MoreVert:Vh,NotificationsOutlined:zh,OpenInNew:Yh,Pause:Wh,PersonOutline:Kh,PersonOutlined:qh,Phone:Jh,PlayArrow:Gh,Public:Xh,Search:_h,Settings:Zh,SettingsOutlined:$h,StickyNote2Outlined:em,ThumbDownAlt:tm,ThumbDownOffAlt:nm,ThumbUpAlt:rm,ThumbUpOffAlt:om,TimerOutlined:Am,TrackChanges:im,UnarchiveOutlined:sm,Voicemail:am,Warning:lm,WarningAmber:cm},UC=Qw,Lw={email:"",baseUrls:{},currentSmIds:[],metaData:void 0,availableFeatures:{},sendTrackingEvent:()=>{},userPermissions:[],isAdmin:!1},$o=b.createContext(Lw),Nw=({children:e,sendTrackingEvent:t,senderEmail:n="",baseUrls:r={},currentSmIds:o=[],metaData:A,availableFeatures:s,userPermissions:a=[],isAdmin:c=!1})=>{const l=b.useMemo(()=>({email:n,baseUrls:r,currentSmIds:o,metaData:A,sendTrackingEvent:t||(()=>{}),availableFeatures:s,userPermissions:a,isAdmin:c}),[n,r,t,o,A,s,a,c]);return w.jsx($o.Provider,{value:l,children:e})};function Lt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var jw=typeof Symbol=="function"&&Symbol.observable||"@@observable",DC=jw,cu=()=>Math.random().toString(36).substring(7).split("").join("."),Hw={INIT:`@@redux/INIT${cu()}`,REPLACE:`@@redux/REPLACE${cu()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${cu()}`},$r=Hw;function Ci(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Vw(e){if(e===void 0)return"undefined";if(e===null)return"null";const t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(Ww(e))return"date";if(Yw(e))return"error";const n=zw(e);switch(n){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return n}return Object.prototype.toString.call(e).slice(8,-1).toLowerCase().replace(/\s/g,"")}function zw(e){return typeof e.constructor=="function"?e.constructor.name:null}function Yw(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function Ww(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function kr(e){let t=typeof e;return process.env.NODE_ENV!=="production"&&(t=Vw(e)),t}function RC(e,t,n){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(2):`Expected the root reducer to be a function. Instead, received: '${kr(e)}'`);if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Lt(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(1):`Expected the enhancer to be a function. Instead, received: '${kr(n)}'`);return n(RC)(e,t)}let r=e,o=t,A=new Map,s=A,a=0,c=!1;function l(){s===A&&(s=new Map,A.forEach((g,B)=>{s.set(B,g)}))}function u(){if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return o}function p(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(4):`Expected the listener to be a function. Instead, received: '${kr(g)}'`);if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");let B=!0;l();const m=a++;return s.set(m,g),function(){if(B){if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");B=!1,l(),s.delete(m),A=null}}}function E(g){if(!Ci(g))throw new Error(process.env.NODE_ENV==="production"?Lt(7):`Actions must be plain objects. Instead, the actual type was: '${kr(g)}'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.`);if(typeof g.type>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(typeof g.type!="string")throw new Error(process.env.NODE_ENV==="production"?Lt(17):`Action "type" property must be a string. Instead, the actual type was: '${kr(g.type)}'. Value was: '${g.type}' (stringified)`);if(c)throw new Error(process.env.NODE_ENV==="production"?Lt(9):"Reducers may not dispatch actions.");try{c=!0,o=r(o,g)}finally{c=!1}return(A=s).forEach(m=>{m()}),g}function Q(g){if(typeof g!="function")throw new Error(process.env.NODE_ENV==="production"?Lt(10):`Expected the nextReducer to be a function. Instead, received: '${kr(g)}`);r=g,E({type:$r.REPLACE})}function C(){const g=p;return{subscribe(B){if(typeof B!="object"||B===null)throw new Error(process.env.NODE_ENV==="production"?Lt(11):`Expected the observer to be an object. Instead, received: '${kr(B)}'`);function m(){const y=B;y.next&&y.next(u())}return m(),{unsubscribe:g(m)}},[DC](){return this}}}return E({type:$r.INIT}),{dispatch:E,subscribe:p,getState:u,replaceReducer:Q,[DC]:C}}function PC(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function Kw(e,t,n,r){const o=Object.keys(t),A=n&&n.type===$r.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!Ci(e))return`The ${A} has unexpected type of "${kr(e)}". Expected argument to be an object with the following keys: "${o.join('", "')}"`;const s=Object.keys(e).filter(a=>!t.hasOwnProperty(a)&&!r[a]);if(s.forEach(a=>{r[a]=!0}),!(n&&n.type===$r.REPLACE)&&s.length>0)return`Unexpected ${s.length>1?"keys":"key"} "${s.join('", "')}" found in ${A}. Expected to find one of the known reducer keys instead: "${o.join('", "')}". Unexpected keys will be ignored.`}function qw(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:$r.INIT})>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(12):`The slice reducer for key "${t}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof n(void 0,{type:$r.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Lt(13):`The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${$r.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`)})}function LC(e){const t=Object.keys(e),n={};for(let s=0;s<t.length;s++){const a=t[s];process.env.NODE_ENV!=="production"&&typeof e[a]>"u"&&PC(`No reducer provided for key "${a}"`),typeof e[a]=="function"&&(n[a]=e[a])}const r=Object.keys(n);let o;process.env.NODE_ENV!=="production"&&(o={});let A;try{qw(n)}catch(s){A=s}return function(a={},c){if(A)throw A;if(process.env.NODE_ENV!=="production"){const p=Kw(a,n,c,o);p&&PC(p)}let l=!1;const u={};for(let p=0;p<r.length;p++){const E=r[p],Q=n[E],C=a[E],d=Q(C,c);if(typeof d>"u"){const g=c&&c.type;throw new Error(process.env.NODE_ENV==="production"?Lt(14):`When called with an action of type ${g?`"${String(g)}"`:"(unknown type)"}, the slice reducer for key "${E}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`)}u[E]=d,l=l||d!==C}return l=l||r.length!==Object.keys(a).length,l?u:a}}function ga(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Jw(...e){return t=>(n,r)=>{const o=t(n,r);let A=()=>{throw new Error(process.env.NODE_ENV==="production"?Lt(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")};const s={getState:o.getState,dispatch:(c,...l)=>A(c,...l)},a=e.map(c=>c(s));return A=ga(...a)(o.dispatch),{...o,dispatch:A}}}function NC(e){return Ci(e)&&"type"in e&&typeof e.type=="string"}var jC=Symbol.for("immer-nothing"),HC=Symbol.for("immer-draftable"),cn=Symbol.for("immer-state"),Gw=process.env.NODE_ENV!=="production"?[function(e){return`The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`},function(e){return`produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${e}'`},"This object has been frozen and should not be mutated",function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.","Immer forbids circular references","The first or second argument to `produce` must be a function","The third argument to `produce` must be a function or undefined","First argument to `createDraft` must be a plain object, an array, or an immerable object","First argument to `finishDraft` must be a draft returned by `createDraft`",function(e){return`'current' expects a draft, got: ${e}`},"Object.defineProperty() cannot be used on an Immer draft","Object.setPrototypeOf() cannot be used on an Immer draft","Immer only supports deleting array indices","Immer only supports setting array indices and the 'length' property",function(e){return`'original' expects a draft, got: ${e}`}]:[];function _t(e,...t){if(process.env.NODE_ENV!=="production"){const n=Gw[e],r=typeof n=="function"?n.apply(null,t):n;throw new Error(`[Immer] ${r}`)}throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var eA=Object.getPrototypeOf;function eo(e){return!!e&&!!e[cn]}function dr(e){var t;return e?VC(e)||Array.isArray(e)||!!e[HC]||!!((t=e.constructor)!=null&&t[HC])||Ca(e)||Ea(e):!1}var Xw=Object.prototype.constructor.toString();function VC(e){if(!e||typeof e!="object")return!1;const t=eA(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===Xw}function fa(e,t){da(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function da(e){const t=e[cn];return t?t.type_:Array.isArray(e)?1:Ca(e)?2:Ea(e)?3:0}function uu(e,t){return da(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function zC(e,t,n){const r=da(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function _w(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function Ca(e){return e instanceof Map}function Ea(e){return e instanceof Set}function to(e){return e.copy_||e.base_}function gu(e,t){if(Ca(e))return new Map(e);if(Ea(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=VC(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[cn];let o=Reflect.ownKeys(r);for(let A=0;A<o.length;A++){const s=o[A],a=r[s];a.writable===!1&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(r[s]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[s]})}return Object.create(eA(e),r)}else{const r=eA(e);if(r!==null&&n)return{...e};const o=Object.create(r);return Object.assign(o,e)}}function fu(e,t=!1){return pa(e)||eo(e)||!dr(e)||(da(e)>1&&(e.set=e.add=e.clear=e.delete=Zw),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>fu(r,!0))),e}function Zw(){_t(2)}function pa(e){return Object.isFrozen(e)}var $w={};function no(e){const t=$w[e];return t||_t(0,e),t}var Ei;function YC(){return Ei}function ex(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function WC(e,t){t&&(no("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function du(e){Cu(e),e.drafts_.forEach(tx),e.drafts_=null}function Cu(e){e===Ei&&(Ei=e.parent_)}function KC(e){return Ei=ex(Ei,e)}function tx(e){const t=e[cn];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function qC(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[cn].modified_&&(du(t),_t(4)),dr(e)&&(e=Ba(t,e),t.parent_||Ia(t,e)),t.patches_&&no("Patches").generateReplacementPatches_(n[cn].base_,e,t.patches_,t.inversePatches_)):e=Ba(t,n,[]),du(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==jC?e:void 0}function Ba(e,t,n){if(pa(t))return t;const r=t[cn];if(!r)return fa(t,(o,A)=>JC(e,r,t,o,A,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return Ia(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const o=r.copy_;let A=o,s=!1;r.type_===3&&(A=new Set(o),o.clear(),s=!0),fa(A,(a,c)=>JC(e,r,o,a,c,n,s)),Ia(e,o,!1),n&&e.patches_&&no("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function JC(e,t,n,r,o,A,s){if(process.env.NODE_ENV!=="production"&&o===n&&_t(5),eo(o)){const a=A&&t&&t.type_!==3&&!uu(t.assigned_,r)?A.concat(r):void 0,c=Ba(e,o,a);if(zC(n,r,c),eo(c))e.canAutoFreeze_=!1;else return}else s&&n.add(o);if(dr(o)&&!pa(o)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;Ba(e,o),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&Ia(e,o)}}function Ia(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&fu(t,n)}function nx(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:YC(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let o=r,A=Eu;n&&(o=[r],A=pi);const{revoke:s,proxy:a}=Proxy.revocable(o,A);return r.draft_=a,r.revoke_=s,a}var Eu={get(e,t){if(t===cn)return e;const n=to(e);if(!uu(n,t))return rx(e,n,t);const r=n[t];return e.finalized_||!dr(r)?r:r===pu(e.base_,t)?(Iu(e),e.copy_[t]=Qu(r,e)):r},has(e,t){return t in to(e)},ownKeys(e){return Reflect.ownKeys(to(e))},set(e,t,n){const r=GC(to(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const o=pu(to(e),t),A=o==null?void 0:o[cn];if(A&&A.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(_w(n,o)&&(n!==void 0||uu(e.base_,t)))return!0;Iu(e),Bu(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return pu(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,Iu(e),Bu(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=to(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){_t(11)},getPrototypeOf(e){return eA(e.base_)},setPrototypeOf(){_t(12)}},pi={};fa(Eu,(e,t)=>{pi[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),pi.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&_t(13),pi.set.call(this,e,t,void 0)},pi.set=function(e,t,n){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&_t(14),Eu.set.call(this,e[0],t,n,e[0])};function pu(e,t){const n=e[cn];return(n?to(n):e)[t]}function rx(e,t,n){var o;const r=GC(t,n);return r?"value"in r?r.value:(o=r.get)==null?void 0:o.call(e.draft_):void 0}function GC(e,t){if(!(t in e))return;let n=eA(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=eA(n)}}function Bu(e){e.modified_||(e.modified_=!0,e.parent_&&Bu(e.parent_))}function Iu(e){e.copy_||(e.copy_=gu(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var ox=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const A=n;n=t;const s=this;return function(c=A,...l){return s.produce(c,u=>n.call(this,u,...l))}}typeof n!="function"&&_t(6),r!==void 0&&typeof r!="function"&&_t(7);let o;if(dr(t)){const A=KC(this),s=Qu(t,void 0);let a=!0;try{o=n(s),a=!1}finally{a?du(A):Cu(A)}return WC(A,r),qC(o,A)}else if(!t||typeof t!="object"){if(o=n(t),o===void 0&&(o=t),o===jC&&(o=void 0),this.autoFreeze_&&fu(o,!0),r){const A=[],s=[];no("Patches").generateReplacementPatches_(t,o,A,s),r(A,s)}return o}else _t(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(s,...a)=>this.produceWithPatches(s,c=>t(c,...a));let r,o;return[this.produce(t,n,(s,a)=>{r=s,o=a}),r,o]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){dr(e)||_t(8),eo(e)&&(e=Ax(e));const t=KC(this),n=Qu(e,void 0);return n[cn].isManual_=!0,Cu(t),n}finishDraft(e,t){const n=e&&e[cn];(!n||!n.isManual_)&&_t(9);const{scope_:r}=n;return WC(r,t),qC(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const o=t[n];if(o.path.length===0&&o.op==="replace"){e=o.value;break}}n>-1&&(t=t.slice(n+1));const r=no("Patches").applyPatches_;return eo(e)?r(e,t):this.produce(e,o=>r(o,t))}};function Qu(e,t){const n=Ca(e)?no("MapSet").proxyMap_(e,t):Ea(e)?no("MapSet").proxySet_(e,t):nx(e,t);return(t?t.scope_:YC()).drafts_.push(n),n}function Ax(e){return eo(e)||_t(10,e),XC(e)}function XC(e){if(!dr(e)||pa(e))return e;const t=e[cn];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=gu(e,t.scope_.immer_.useStrictShallowCopy_)}else n=gu(e,!0);return fa(n,(r,o)=>{zC(n,r,XC(o))}),t&&(t.finalized_=!1),n}var un=new ox,_C=un.produce;un.produceWithPatches.bind(un),un.setAutoFreeze.bind(un),un.setUseStrictShallowCopy.bind(un),un.applyPatches.bind(un),un.createDraft.bind(un),un.finishDraft.bind(un);var ix=(e,t,n)=>{if(t.length===1&&t[0]===n){let r=!1;try{const o={};e(o)===o&&(r=!0)}catch{}if(r){let o;try{throw new Error}catch(A){({stack:o}=A)}console.warn(`The result function returned its own inputs without modification. e.g
|
|
2043
2043
|
\`createSelector([state => state.todos], todos => todos)\`
|
|
2044
2044
|
This could lead to inefficient memoization and unnecessary re-renders.
|
|
2045
2045
|
Ensure transformation logic is in the result function, and extraction logic is in the input selectors.`,{stack:o})}}},sx=(e,t,n)=>{const{memoize:r,memoizeOptions:o}=t,{inputSelectorResults:A,inputSelectorResultsCopy:s}=e,a=r(()=>({}),...o);if(!(a.apply(null,A)===a.apply(null,s))){let l;try{throw new Error}catch(u){({stack:l}=u)}console.warn(`An input selector returned a different result when passed same arguments.
|
|
@@ -2075,7 +2075,7 @@ Take a look at the reducer(s) handling this action type: ${Q.type}.
|
|
|
2075
2075
|
fill: #ffffff;
|
|
2076
2076
|
width: 10px;
|
|
2077
2077
|
}
|
|
2078
|
-
`,WF=(e,{closeToast:t})=>w.jsx(YF,{children:w.jsx("img",{src:jF,onClick:t})}),La=({message:e})=>w.jsxs(HF,{children:[w.jsx(zF,{}),w.jsx(VF,{children:e})]});function hp(e){const{message:t,type:n,autoClose:r}=e,o={closeButton:w.jsx(WF,{}),autoClose:r??5e3,pauseOnHover:!0,position:"bottom-left",rtl:!1,draggable:!0,closeOnClick:!0,hideProgressBar:!0};let A;switch(n){case"success":{A=ze.success(w.jsx(La,{message:t}),{...o,icon:!1});break}case"error":{A=ze.error(w.jsx(La,{message:t}),{...o,icon:!1});break}case"info-dark":{A=ze.info(w.jsx(La,{message:t}),{...o,icon:!1,className:"toast_dark"});break}default:{A=ze.info(w.jsx(La,{message:t}),{...o,icon:!1});break}}return setTimeout(()=>{KF(A)},r&&!isNaN(r)?Number(r):5e3),A}function KF(e){ze.dismiss(e)}const qF="success",JF="error",GF="Some error occured. Please contact support@hiverhq.com",XF="Card refreshed successfully",mp=Xx({name:"connectorCardLibrary",initialState:nT,reducers:{updateThreadId(e,t){const{payload:n}=t;e.threadId=n.threadId,e.connectorCards=null},clearConnectorList(e){e.connectorCards=null,e.cardSpecificData=null}},extraReducers:e=>{e.addCase(Na.pending,t=>{t.connectorApiStatus=wn.LOADING}).addCase(Na.fulfilled,(t,n)=>{t.connectorApiStatus=wn.IDLE,t.connectorCards=n.payload.cards}).addCase(Na.rejected,t=>{t.connectorApiStatus=wn.FAILED}).addCase(bi.pending,(t,n)=>{const{id:r}=n.meta.arg;t.specificConnectorApiStatus={...t.specificConnectorApiStatus??{},[r]:wn.LOADING}}).addCase(bi.fulfilled,(t,n)=>{const{id:r}=n.meta.arg,{data:o}=n.payload||{};o&&(t.cardSpecificData={...t.cardSpecificData?t.cardSpecificData:{},[r]:o}),t.specificConnectorApiStatus={...t.specificConnectorApiStatus??{},[r]:wn.IDLE}}).addCase(bi.rejected,(t,n)=>{const{id:r}=n.meta.arg;t.specificConnectorApiStatus={...t.specificConnectorApiStatus??{},[r]:wn.FAILED}})}}),Na=CE("connectorCardLibrary/fetchAllCard",async({inboxIds:e,channelType:t})=>{var o;const n=await UF({inboxIds:e,channelType:t});return Array.isArray((o=n==null?void 0:n.data)==null?void 0:o.cards)?{cards:n.data.cards.sort((A,s)=>(A==null?void 0:A.priority)-(s==null?void 0:s.priority))}:{cards:[]}}),bi=CE("connectorCardLibrary/fetchSpecificCard",async({id:e,email:t,isRefresh:n},r)=>{try{const o=await DF(e,t),A=o==null?void 0:o.data,s=o==null?void 0:o.status;if(!A)return n&&hp({message:GF,type:JF}),{data:{},status:s};if(n&&hp({message:XF,type:qF}),A.cardType==="flat"){const a=A.data.flatDisplay.sort((c,l)=>(c==null?void 0:c.priority)-(l==null?void 0:l.priority));A.data.flatDisplay=a}else{const a=A.data.listItems.fields.map(c=>c.sort((l,u)=>(l==null?void 0:l.priority)-(u==null?void 0:u.priority)));A.data.listItems.fields=a}return{data:A,status:s}}catch(o){return r.rejectWithValue(o)}}),_F=mp.reducer,ZF=mp.actions,$F=LC({cardList:_F}),ek=Dx({reducer:$F,devTools:!0}),tk=({children:e,extraParams:t,senderEmail:n,baseUrls:r,availableFeatures:o})=>w.jsx(BB,{store:ek,children:w.jsx(Pw,{custom:!0,children:w.jsx(Nw,{availableFeatures:o,sendTrackingEvent:t==null?void 0:t.sendTrackingEvent,senderEmail:n,currentSmIds:t==null?void 0:t.currentSmIds,metaData:t==null?void 0:t.metaData,baseUrls:r,userPermissions:t==null?void 0:t.userPermissions,children:w.jsx(b.Suspense,{fallback:w.jsx(w.Fragment,{}),children:e})})})}),yp=hB.withTypes(),ja=cB.withTypes(),nk="Please refresh and try again",rk="No data available",Ha="-",ok="Refresh",Ak="Minimize",vp="Expand",ik="Connectors",sk="Collapse",ak="Close",lk="bullet_list",ck="Expanded",uk="Collapsed",bp=H(UC.Connector)`
|
|
2078
|
+
`,WF=(e,{closeToast:t})=>w.jsx(YF,{children:w.jsx("img",{src:jF,onClick:t})}),La=({message:e})=>w.jsxs(HF,{children:[w.jsx(zF,{}),w.jsx(VF,{children:e})]});function hp(e){const{message:t,type:n,autoClose:r}=e,o={closeButton:w.jsx(WF,{}),autoClose:r??5e3,pauseOnHover:!0,position:"bottom-left",rtl:!1,draggable:!0,closeOnClick:!0,hideProgressBar:!0};let A;switch(n){case"success":{A=ze.success(w.jsx(La,{message:t}),{...o,icon:!1});break}case"error":{A=ze.error(w.jsx(La,{message:t}),{...o,icon:!1});break}case"info-dark":{A=ze.info(w.jsx(La,{message:t}),{...o,icon:!1,className:"toast_dark"});break}default:{A=ze.info(w.jsx(La,{message:t}),{...o,icon:!1});break}}return setTimeout(()=>{KF(A)},r&&!isNaN(r)?Number(r):5e3),A}function KF(e){ze.dismiss(e)}const qF="success",JF="error",GF="Some error occured. Please contact support@hiverhq.com",XF="Card refreshed successfully",mp=Xx({name:"connectorCardLibrary",initialState:nT,reducers:{updateThreadId(e,t){const{payload:n}=t;e.threadId=n.threadId,e.connectorCards=null},clearConnectorList(e){e.connectorCards=null,e.cardSpecificData=null}},extraReducers:e=>{e.addCase(Na.pending,t=>{t.connectorApiStatus=wn.LOADING}).addCase(Na.fulfilled,(t,n)=>{t.connectorApiStatus=wn.IDLE,t.connectorCards=n.payload.cards}).addCase(Na.rejected,t=>{t.connectorApiStatus=wn.FAILED}).addCase(bi.pending,(t,n)=>{const{id:r}=n.meta.arg;t.specificConnectorApiStatus={...t.specificConnectorApiStatus??{},[r]:wn.LOADING}}).addCase(bi.fulfilled,(t,n)=>{const{id:r}=n.meta.arg,{data:o}=n.payload||{};o&&(t.cardSpecificData={...t.cardSpecificData?t.cardSpecificData:{},[r]:o}),t.specificConnectorApiStatus={...t.specificConnectorApiStatus??{},[r]:wn.IDLE}}).addCase(bi.rejected,(t,n)=>{const{id:r}=n.meta.arg;t.specificConnectorApiStatus={...t.specificConnectorApiStatus??{},[r]:wn.FAILED}})}}),Na=CE("connectorCardLibrary/fetchAllCard",async({inboxIds:e,channelType:t})=>{var o;const n=await UF({inboxIds:e,channelType:t});return Array.isArray((o=n==null?void 0:n.data)==null?void 0:o.cards)?{cards:n.data.cards.sort((A,s)=>(A==null?void 0:A.priority)-(s==null?void 0:s.priority))}:{cards:[]}}),bi=CE("connectorCardLibrary/fetchSpecificCard",async({id:e,email:t,isRefresh:n},r)=>{try{const o=await DF(e,t),A=o==null?void 0:o.data,s=o==null?void 0:o.status;if(!A)return n&&hp({message:GF,type:JF}),{data:{},status:s};if(n&&hp({message:XF,type:qF}),A.cardType==="flat"){const a=A.data.flatDisplay.sort((c,l)=>(c==null?void 0:c.priority)-(l==null?void 0:l.priority));A.data.flatDisplay=a}else{const a=A.data.listItems.fields.map(c=>c.sort((l,u)=>(l==null?void 0:l.priority)-(u==null?void 0:u.priority)));A.data.listItems.fields=a}return{data:A,status:s}}catch(o){return r.rejectWithValue(o)}}),_F=mp.reducer,ZF=mp.actions,$F=LC({cardList:_F}),ek=Dx({reducer:$F,devTools:!0}),tk=({children:e,extraParams:t,senderEmail:n,baseUrls:r,availableFeatures:o})=>w.jsx(BB,{store:ek,children:w.jsx(Pw,{custom:!0,children:w.jsx(Nw,{availableFeatures:o,sendTrackingEvent:t==null?void 0:t.sendTrackingEvent,senderEmail:n,currentSmIds:t==null?void 0:t.currentSmIds,metaData:t==null?void 0:t.metaData,baseUrls:r,userPermissions:t==null?void 0:t.userPermissions,isAdmin:t==null?void 0:t.isAdmin,children:w.jsx(b.Suspense,{fallback:w.jsx(w.Fragment,{}),children:e})})})}),yp=hB.withTypes(),ja=cB.withTypes(),nk="Please refresh and try again",rk="No data available",Ha="-",ok="Refresh",Ak="Minimize",vp="Expand",ik="Connectors",sk="Collapse",ak="Close",lk="bullet_list",ck="Expanded",uk="Collapsed",bp=H(UC.Connector)`
|
|
2079
2079
|
width: 20px;
|
|
2080
2080
|
height: 20px;
|
|
2081
2081
|
margin-right: 8px;
|
|
@@ -2410,7 +2410,7 @@ Take a look at the reducer(s) handling this action type: ${Q.type}.
|
|
|
2410
2410
|
color: ${ot.palette.gray.black};
|
|
2411
2411
|
`,jS=H(bt)`
|
|
2412
2412
|
color: ${ot.palette.gray.gray2};
|
|
2413
|
-
`,HS=({userPermissions:e=[]})=>{const{availableFeatures:t,sendTrackingEvent:n}=b.useContext($o),r=aS(e),[
|
|
2413
|
+
`,HS=({userPermissions:e=[]})=>{const{availableFeatures:t,sendTrackingEvent:n,isAdmin:r}=b.useContext($o);console.log("SSSSSSSSS isAdmin in ScheduleCall ",r);const o=aS(e),[A,s]=b.useState(()=>!(localStorage.getItem(Gu)==="true")&&Dp(t,zk));b.useEffect(()=>{localStorage.getItem(Gu)==="true"&&s(!1)},[]);const a=()=>{localStorage.setItem(Gu,"true"),s(!1),n(AS,{source:Np})},c=()=>{window.open(kS,"_blank"),n(oS,{source:Np})};return!A||!o?null:w.jsxs(SS,{justifyContent:"space-between",alignItems:"baseline",gap:"10px",children:[w.jsx(MS,{gap:"4px",children:w.jsxs(US,{children:[w.jsxs(lt,{direction:"row",justifyContent:"space-between",children:[w.jsx(NS,{variant:"body1_medium",children:TS}),w.jsx(lt,{onClick:a,children:w.jsx(PS,{})})]}),w.jsx(jS,{variant:"body2",children:OS})]})}),w.jsxs(DS,{onClick:c,direction:"row",alignItems:"center",children:[w.jsx(LS,{}),w.jsx(RS,{children:FS})]})]})},VS=H(Mt)`
|
|
2414
2414
|
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
2415
2415
|
|
|
2416
2416
|
/* Document
|
|
@@ -3281,4 +3281,4 @@ Take a look at the reducer(s) handling this action type: ${Q.type}.
|
|
|
3281
3281
|
align-self: auto !important;
|
|
3282
3282
|
margin-left: 12px;
|
|
3283
3283
|
}
|
|
3284
|
-
`,WS=({senderEmail:e="",baseUrls:t={},extraParams:n={},availableFeatures:r={}})=>w.jsx(VS,{children:w.jsxs(tk,{availableFeatures:r,extraParams:n,senderEmail:e,baseUrls:t,children:[w.jsx(xS,{isAdmin:n==null?void 0:n.isAdmin}),kn.createPortal(w.jsx(YS,{id:"toast-message",children:w.jsx(tB,{position:"bottom-left",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,draggable:!0,pauseOnHover:!0})}),document.body),w.jsx(HS,{userPermissions:n==null?void 0:n.userPermissions})]})}),KS="/v1/api"+"/templates/metadata",qS={GET:"GET",POST:"POST",DELETE:"DELETE",PATCH:"PATCH",PUT:"PUT"},JS=async()=>Wu({url:KS,method:qS.GET});Dt.ConnectorCardList=WS,Dt.getMetaData=JS,Dt.setAppConfig=rT,Dt.setAppUgId=AT,Dt.setAppUserId=oT,Object.defineProperty(Dt,Symbol.toStringTag,{value:"Module"})});
|
|
3284
|
+
`,WS=({senderEmail:e="",baseUrls:t={},extraParams:n={},availableFeatures:r={}})=>(console.log("SSSSSSSSSS extraParams : ",n),w.jsx(VS,{children:w.jsxs(tk,{availableFeatures:r,extraParams:n,senderEmail:e,baseUrls:t,children:[w.jsx(xS,{isAdmin:n==null?void 0:n.isAdmin}),kn.createPortal(w.jsx(YS,{id:"toast-message",children:w.jsx(tB,{position:"bottom-left",autoClose:5e3,hideProgressBar:!0,newestOnTop:!1,closeOnClick:!0,rtl:!1,draggable:!0,pauseOnHover:!0})}),document.body),w.jsx(HS,{userPermissions:n==null?void 0:n.userPermissions})]})})),KS="/v1/api"+"/templates/metadata",qS={GET:"GET",POST:"POST",DELETE:"DELETE",PATCH:"PATCH",PUT:"PUT"},JS=async()=>Wu({url:KS,method:qS.GET});Dt.ConnectorCardList=WS,Dt.getMetaData=JS,Dt.setAppConfig=rT,Dt.setAppUgId=AT,Dt.setAppUserId=oT,Object.defineProperty(Dt,Symbol.toStringTag,{value:"Module"})});
|