@flamingo-stack/openframe-frontend-core 0.0.669 → 0.0.670-2401.7221.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-QHL4GYYY.cjs → chunk-3BLN7YNM.cjs} +575 -452
- package/dist/chunk-3BLN7YNM.cjs.map +1 -0
- package/dist/{chunk-CFUUVLYQ.cjs → chunk-4TEV4KPV.cjs} +33 -33
- package/dist/{chunk-CFUUVLYQ.cjs.map → chunk-4TEV4KPV.cjs.map} +1 -1
- package/dist/{chunk-Z3HUP4G7.cjs → chunk-635CAJ36.cjs} +32 -32
- package/dist/{chunk-Z3HUP4G7.cjs.map → chunk-635CAJ36.cjs.map} +1 -1
- package/dist/{chunk-7UW2BBFI.cjs → chunk-7KZRU5Z2.cjs} +59 -59
- package/dist/{chunk-7UW2BBFI.cjs.map → chunk-7KZRU5Z2.cjs.map} +1 -1
- package/dist/{chunk-FJNX67W2.cjs → chunk-AGM3ZA43.cjs} +5 -5
- package/dist/{chunk-FJNX67W2.cjs.map → chunk-AGM3ZA43.cjs.map} +1 -1
- package/dist/{chunk-TFVUM6KK.cjs → chunk-ALKT3U5Y.cjs} +10 -10
- package/dist/{chunk-TFVUM6KK.cjs.map → chunk-ALKT3U5Y.cjs.map} +1 -1
- package/dist/{chunk-YH3BUB4W.js → chunk-B7EGFSTQ.js} +5 -5
- package/dist/{chunk-GF6WJ4MG.js → chunk-BP3OYBQV.js} +6 -6
- package/dist/{chunk-P6IJXAEE.js → chunk-DLJGCDHX.js} +2 -1
- package/dist/{chunk-P6IJXAEE.js.map → chunk-DLJGCDHX.js.map} +1 -1
- package/dist/{chunk-GO63IT6K.js → chunk-EJM2E6KF.js} +5 -5
- package/dist/{chunk-WVCDX7FE.cjs → chunk-GAQSQ7CH.cjs} +15 -15
- package/dist/{chunk-WVCDX7FE.cjs.map → chunk-GAQSQ7CH.cjs.map} +1 -1
- package/dist/{chunk-B5UP36KY.cjs → chunk-GN2TSC36.cjs} +12 -12
- package/dist/{chunk-B5UP36KY.cjs.map → chunk-GN2TSC36.cjs.map} +1 -1
- package/dist/{chunk-ZHRIFUN3.cjs → chunk-GP4SLGDO.cjs} +28 -28
- package/dist/{chunk-ZHRIFUN3.cjs.map → chunk-GP4SLGDO.cjs.map} +1 -1
- package/dist/{chunk-LJOELK7P.js → chunk-GUZG4MSV.js} +2 -2
- package/dist/{chunk-IBQT4RTS.js → chunk-HJXIIGLD.js} +3 -3
- package/dist/{chunk-E5HUHKHH.js → chunk-I3I3HPZA.js} +7 -7
- package/dist/{chunk-6KJV6GAJ.js → chunk-IA7AGOBD.js} +4 -4
- package/dist/{chunk-NNYND3I4.js → chunk-J4XQQ43Y.js} +3 -3
- package/dist/{chunk-IZ6F7LOE.js → chunk-JBH5YDPP.js} +3 -3
- package/dist/{chunk-Y7SFGCF4.cjs → chunk-LKRNXIUL.cjs} +20 -20
- package/dist/{chunk-Y7SFGCF4.cjs.map → chunk-LKRNXIUL.cjs.map} +1 -1
- package/dist/{chunk-EV2KJ4D2.cjs → chunk-MQCEDC6H.cjs} +7 -7
- package/dist/{chunk-EV2KJ4D2.cjs.map → chunk-MQCEDC6H.cjs.map} +1 -1
- package/dist/{chunk-PHLBRU5P.js → chunk-OCMJWI6L.js} +3 -3
- package/dist/{chunk-CWK4QHVF.js → chunk-PAJUQOWK.js} +3 -3
- package/dist/{chunk-IJPV7OMA.js → chunk-PEBQEALM.js} +589 -466
- package/dist/chunk-PEBQEALM.js.map +1 -0
- package/dist/{chunk-5CC33IJ7.js → chunk-PMCLM3KV.js} +6 -6
- package/dist/{chunk-6W4LUHMY.cjs → chunk-Q4SJJNP2.cjs} +206 -206
- package/dist/{chunk-6W4LUHMY.cjs.map → chunk-Q4SJJNP2.cjs.map} +1 -1
- package/dist/{chunk-37NYF4W2.cjs → chunk-QRUW4UXB.cjs} +2 -1
- package/dist/chunk-QRUW4UXB.cjs.map +1 -0
- package/dist/{chunk-Z3GN3MIW.cjs → chunk-QYUBHOIE.cjs} +81 -81
- package/dist/{chunk-Z3GN3MIW.cjs.map → chunk-QYUBHOIE.cjs.map} +1 -1
- package/dist/{chunk-VJ4XBTR5.cjs → chunk-S5UETFC4.cjs} +22 -22
- package/dist/{chunk-VJ4XBTR5.cjs.map → chunk-S5UETFC4.cjs.map} +1 -1
- package/dist/{chunk-5V3LERVC.js → chunk-SPYKIXKJ.js} +4 -4
- package/dist/{chunk-FOH4MNOZ.js → chunk-TQJN7EBG.js} +3 -3
- package/dist/{chunk-NZD2WTJ2.cjs → chunk-TYXXODCQ.cjs} +3 -3
- package/dist/{chunk-NZD2WTJ2.cjs.map → chunk-TYXXODCQ.cjs.map} +1 -1
- package/dist/{chunk-K4WYWTQV.cjs → chunk-UYZNNKPD.cjs} +6 -6
- package/dist/{chunk-K4WYWTQV.cjs.map → chunk-UYZNNKPD.cjs.map} +1 -1
- package/dist/{chunk-SHGMDYCR.js → chunk-VEAA5C5X.js} +2 -2
- package/dist/{chunk-VEQWH5KH.cjs → chunk-X4B3UY3L.cjs} +30 -30
- package/dist/{chunk-VEQWH5KH.cjs.map → chunk-X4B3UY3L.cjs.map} +1 -1
- package/dist/{chunk-DK3BHDUZ.js → chunk-Z72SBI2U.js} +3 -3
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/design-doc-card.d.ts +32 -0
- package/dist/components/chat/entity-cards/design-doc-card.d.ts.map +1 -0
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/index.d.ts +1 -0
- package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +15 -3
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +14 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +91 -91
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +66 -54
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +27 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +16 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +15 -3
- package/dist/index.cjs +21 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -7
- package/dist/index.js.map +1 -1
- package/dist/utils/index.cjs +7 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +7 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/design-doc-card.tsx +130 -0
- package/src/components/chat/entity-cards/dispatch.tsx +53 -1
- package/src/components/chat/entity-cards/index.ts +9 -0
- package/src/utils/list-url.ts +1 -0
- package/src/utils/source-icons.ts +3 -0
- package/dist/chunk-37NYF4W2.cjs.map +0 -1
- package/dist/chunk-IJPV7OMA.js.map +0 -1
- package/dist/chunk-QHL4GYYY.cjs.map +0 -1
- /package/dist/{chunk-YH3BUB4W.js.map → chunk-B7EGFSTQ.js.map} +0 -0
- /package/dist/{chunk-GF6WJ4MG.js.map → chunk-BP3OYBQV.js.map} +0 -0
- /package/dist/{chunk-GO63IT6K.js.map → chunk-EJM2E6KF.js.map} +0 -0
- /package/dist/{chunk-LJOELK7P.js.map → chunk-GUZG4MSV.js.map} +0 -0
- /package/dist/{chunk-IBQT4RTS.js.map → chunk-HJXIIGLD.js.map} +0 -0
- /package/dist/{chunk-E5HUHKHH.js.map → chunk-I3I3HPZA.js.map} +0 -0
- /package/dist/{chunk-6KJV6GAJ.js.map → chunk-IA7AGOBD.js.map} +0 -0
- /package/dist/{chunk-NNYND3I4.js.map → chunk-J4XQQ43Y.js.map} +0 -0
- /package/dist/{chunk-IZ6F7LOE.js.map → chunk-JBH5YDPP.js.map} +0 -0
- /package/dist/{chunk-PHLBRU5P.js.map → chunk-OCMJWI6L.js.map} +0 -0
- /package/dist/{chunk-CWK4QHVF.js.map → chunk-PAJUQOWK.js.map} +0 -0
- /package/dist/{chunk-5CC33IJ7.js.map → chunk-PMCLM3KV.js.map} +0 -0
- /package/dist/{chunk-5V3LERVC.js.map → chunk-SPYKIXKJ.js.map} +0 -0
- /package/dist/{chunk-FOH4MNOZ.js.map → chunk-TQJN7EBG.js.map} +0 -0
- /package/dist/{chunk-SHGMDYCR.js.map → chunk-VEAA5C5X.js.map} +0 -0
- /package/dist/{chunk-DK3BHDUZ.js.map → chunk-Z72SBI2U.js.map} +0 -0
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk7KZRU5Z2cjs = require('../../chunk-7KZRU5Z2.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('../../chunk-
|
|
13
|
+
var _chunk4TEV4KPVcjs = require('../../chunk-4TEV4KPV.cjs');
|
|
14
|
+
require('../../chunk-UYZNNKPD.cjs');
|
|
15
15
|
require('../../chunk-WKX7DYFM.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkALKT3U5Ycjs = require('../../chunk-ALKT3U5Y.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkTYXXODCQcjs = require('../../chunk-TYXXODCQ.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQYUBHOIEcjs = require('../../chunk-QYUBHOIE.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunkS5UETFC4cjs = require('../../chunk-S5UETFC4.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkGAQSQ7CHcjs = require('../../chunk-GAQSQ7CH.cjs');
|
|
33
33
|
require('../../chunk-77BLJHKI.cjs');
|
|
34
|
-
require('../../chunk-
|
|
34
|
+
require('../../chunk-AGM3ZA43.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
39
|
-
require('../../chunk-
|
|
40
|
-
require('../../chunk-
|
|
38
|
+
var _chunkGP4SLGDOcjs = require('../../chunk-GP4SLGDO.cjs');
|
|
39
|
+
require('../../chunk-MQCEDC6H.cjs');
|
|
40
|
+
require('../../chunk-GN2TSC36.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunkDOVVKQMZcjs = require('../../chunk-DOVVKQMZ.cjs');
|
|
@@ -55,7 +55,7 @@ var _chunkDOVVKQMZcjs = require('../../chunk-DOVVKQMZ.cjs');
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
var
|
|
58
|
+
var _chunkQ4SJJNP2cjs = require('../../chunk-Q4SJJNP2.cjs');
|
|
59
59
|
require('../../chunk-GQWM3ECA.cjs');
|
|
60
60
|
require('../../chunk-TON3YCCW.cjs');
|
|
61
61
|
|
|
@@ -74,7 +74,7 @@ require('../../chunk-QVSVRG7I.cjs');
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
77
|
-
var
|
|
77
|
+
var _chunk3BLN7YNMcjs = require('../../chunk-3BLN7YNM.cjs');
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
|
|
@@ -107,7 +107,7 @@ require('../../chunk-XQFFGR6U.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
|
|
110
|
-
var
|
|
110
|
+
var _chunkQRUW4UXBcjs = require('../../chunk-QRUW4UXB.cjs');
|
|
111
111
|
require('../../chunk-WLSFBRT5.cjs');
|
|
112
112
|
require('../../chunk-XOGD2AME.cjs');
|
|
113
113
|
require('../../chunk-63QUMV72.cjs');
|
|
@@ -137,9 +137,9 @@ function RoadmapPage({
|
|
|
137
137
|
belowContent,
|
|
138
138
|
shell
|
|
139
139
|
}) {
|
|
140
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
140
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGAQSQ7CHcjs.DevSectionPage, { sectionKey: "roadmap", backButton, title, subtitle, shell, children: [
|
|
141
141
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
142
|
-
|
|
142
|
+
_chunk7KZRU5Z2cjs.RoadmapView,
|
|
143
143
|
{
|
|
144
144
|
endpoint: roadmapEndpoint,
|
|
145
145
|
initialItems,
|
|
@@ -165,9 +165,9 @@ function ProductReleasesListPage({
|
|
|
165
165
|
belowContent,
|
|
166
166
|
shell
|
|
167
167
|
}) {
|
|
168
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
168
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGAQSQ7CHcjs.DevSectionPage, { sectionKey: "releases", backButton, title, subtitle, shell, children: [
|
|
169
169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
170
|
-
|
|
170
|
+
_chunk7KZRU5Z2cjs.ProductReleasesView,
|
|
171
171
|
{
|
|
172
172
|
endpoint: releasesEndpoint,
|
|
173
173
|
basePath,
|
|
@@ -190,8 +190,8 @@ function DeliveryPage({
|
|
|
190
190
|
belowContent,
|
|
191
191
|
shell
|
|
192
192
|
}) {
|
|
193
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
194
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
193
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGAQSQ7CHcjs.DevSectionPage, { sectionKey: "delivery", backButton, title, subtitle, shell, children: [
|
|
194
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7KZRU5Z2cjs.DeliveryLists, { completedApiEndpoint: completedEndpoint, inProgressApiEndpoint: inProgressEndpoint }),
|
|
195
195
|
belowContent
|
|
196
196
|
] });
|
|
197
197
|
}
|
|
@@ -211,9 +211,9 @@ function OnboardingGuidesCatalogPage({
|
|
|
211
211
|
belowContent,
|
|
212
212
|
shell
|
|
213
213
|
}) {
|
|
214
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
214
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGAQSQ7CHcjs.DevSectionPage, { sectionKey: "onboarding", backButton, title, subtitle, shell, children: [
|
|
215
215
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
216
|
-
|
|
216
|
+
_chunkGP4SLGDOcjs.OnboardingGuidesCatalogView,
|
|
217
217
|
{
|
|
218
218
|
guidesEndpoint,
|
|
219
219
|
sectionsEndpoint,
|
|
@@ -265,7 +265,7 @@ function TrustSection({
|
|
|
265
265
|
style: { scrollMarginTop: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX },
|
|
266
266
|
children: [
|
|
267
267
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className:
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { id: headingId, className: _chunk3BLN7YNMcjs.SECTION_HEADING_CLASS, children: title }),
|
|
269
269
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
270
270
|
] }),
|
|
271
271
|
children
|
|
@@ -286,18 +286,18 @@ function AiSection({ practices }) {
|
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
}));
|
|
289
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows });
|
|
290
290
|
}
|
|
291
291
|
function ComplianceSection({ frameworks }) {
|
|
292
292
|
const rows = frameworks.map((framework) => {
|
|
293
|
-
const entry =
|
|
293
|
+
const entry = _chunkQRUW4UXBcjs.trustFrameworkMonitoringEntry.call(void 0, framework.monitoring);
|
|
294
294
|
const Icon = FRAMEWORK_ICONS[entry.icon];
|
|
295
295
|
return {
|
|
296
296
|
id: framework.id,
|
|
297
297
|
columns: [
|
|
298
298
|
{
|
|
299
299
|
key: "framework",
|
|
300
|
-
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
300
|
+
leadingIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.ComplianceLogo, { names: [framework.standard, framework.label], fallback: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { "aria-hidden": "true" }) }),
|
|
301
301
|
value: framework.label,
|
|
302
302
|
label: _nullishCoalesce(framework.description, () => ( void 0)),
|
|
303
303
|
wrap: true
|
|
@@ -306,12 +306,12 @@ function ComplianceSection({ frameworks }) {
|
|
|
306
306
|
key: "monitoring",
|
|
307
307
|
width: ACTION_COLUMN,
|
|
308
308
|
align: "right",
|
|
309
|
-
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
309
|
+
content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQRUW4UXBcjs.StatusBadge, { text: _chunkQRUW4UXBcjs.trustFrameworkBadge.call(void 0, framework), colorScheme: entry.color, singleLine: true })
|
|
310
310
|
}
|
|
311
311
|
]
|
|
312
312
|
};
|
|
313
313
|
});
|
|
314
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
314
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows });
|
|
315
315
|
}
|
|
316
316
|
var CONTROL_ROW_CLASS = "h-14 md:h-20 overflow-hidden";
|
|
317
317
|
function controlRows(controls) {
|
|
@@ -344,22 +344,22 @@ function ControlsListSkeleton() {
|
|
|
344
344
|
{
|
|
345
345
|
key: "control",
|
|
346
346
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xs)]", children: [
|
|
347
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
348
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
347
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-2/3" }),
|
|
348
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Caption, { className: "w-full" })
|
|
349
349
|
] })
|
|
350
350
|
}
|
|
351
351
|
]
|
|
352
352
|
}));
|
|
353
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
353
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows });
|
|
354
354
|
}
|
|
355
355
|
function ControlsSection({ endpoint, seed }) {
|
|
356
356
|
const [domain, setDomain] = _react.useState.call(void 0, seed.domain);
|
|
357
357
|
const [typed, setTyped] = _react.useState.call(void 0, "");
|
|
358
|
-
const query = _chunkV2A4MAALcjs.useDebounce.call(void 0,
|
|
359
|
-
const url =
|
|
360
|
-
const seedUrl =
|
|
358
|
+
const query = _chunkV2A4MAALcjs.useDebounce.call(void 0, _chunkQRUW4UXBcjs.normalizeTrustControlQuery.call(void 0, typed), _chunkQRUW4UXBcjs.TRUST_CENTER_SEARCH_DEBOUNCE_MS);
|
|
359
|
+
const url = _chunkQRUW4UXBcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain, query });
|
|
360
|
+
const seedUrl = _chunkQRUW4UXBcjs.trustCenterControlsUrl.call(void 0, endpoint, { domain: seed.domain, query: "" });
|
|
361
361
|
const answer = _chunkDOVVKQMZcjs.useSelfFetch.call(void 0, url, url === seedUrl ? { initialData: seed } : void 0);
|
|
362
|
-
const typedQuery =
|
|
362
|
+
const typedQuery = _chunkQRUW4UXBcjs.normalizeTrustControlQuery.call(void 0, typed);
|
|
363
363
|
const current = answer.data && !answer.isLoading && typedQuery === query && answer.data.query === query ? answer.data : null;
|
|
364
364
|
const [categories, setCategories] = _react.useState.call(void 0, seed.categories);
|
|
365
365
|
if (current && current.categories !== categories) setCategories(current.categories);
|
|
@@ -378,12 +378,12 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
378
378
|
else summary = `${countLabel(current.controls.length, "passing control")} in ${current.domain}`;
|
|
379
379
|
let body;
|
|
380
380
|
if (answer.error && !current) {
|
|
381
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
381
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.LoadError, { message: "Could not load the controls", onRetry: answer.reload });
|
|
382
382
|
} else if (!current) {
|
|
383
383
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {});
|
|
384
384
|
} else if (current.controls.length === 0) {
|
|
385
385
|
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
386
|
-
|
|
386
|
+
_chunkGAQSQ7CHcjs.ListEmptyState,
|
|
387
387
|
{
|
|
388
388
|
isFiltered: true,
|
|
389
389
|
filtered: {
|
|
@@ -396,11 +396,11 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
396
396
|
}
|
|
397
397
|
);
|
|
398
398
|
} else {
|
|
399
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
399
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows: controlRows(current.controls) });
|
|
400
400
|
}
|
|
401
401
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
402
402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
403
|
-
|
|
403
|
+
_chunkQ4SJJNP2cjs.TabNavigation,
|
|
404
404
|
{
|
|
405
405
|
tabs,
|
|
406
406
|
activeTab,
|
|
@@ -410,7 +410,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
410
410
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] md:flex-row md:items-center md:justify-between", children: [
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, "aria-live": "polite", children: summary }),
|
|
412
412
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full md:w-80", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
413
|
-
|
|
413
|
+
_chunkQ4SJJNP2cjs.SearchInput,
|
|
414
414
|
{
|
|
415
415
|
placeholder: "Search controls",
|
|
416
416
|
value: typed,
|
|
@@ -420,7 +420,7 @@ function ControlsSection({ endpoint, seed }) {
|
|
|
420
420
|
}
|
|
421
421
|
) })
|
|
422
422
|
] }),
|
|
423
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
423
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3BLN7YNMcjs.ScrollShadow, { className: CONTROLS_LIST_HEIGHT, scrollClassName: "h-full", "data-testid": "controls-list", children: body })
|
|
424
424
|
] });
|
|
425
425
|
}
|
|
426
426
|
function DocumentsSection({
|
|
@@ -459,7 +459,7 @@ function DocumentsSection({
|
|
|
459
459
|
]
|
|
460
460
|
};
|
|
461
461
|
});
|
|
462
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
462
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows });
|
|
463
463
|
}
|
|
464
464
|
function DocumentRequestModal({
|
|
465
465
|
open,
|
|
@@ -468,12 +468,12 @@ function DocumentRequestModal({
|
|
|
468
468
|
onClose
|
|
469
469
|
}) {
|
|
470
470
|
const message = documentTitle ? `I'd like access to: ${documentTitle}.` : "I'd like access to your gated security documentation.";
|
|
471
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
472
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
473
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
471
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3BLN7YNMcjs.Modal, { isOpen: open, onClose, size: "medium", children: [
|
|
472
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3BLN7YNMcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3BLN7YNMcjs.ModalTitle, { children: "Request access" }) }),
|
|
473
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3BLN7YNMcjs.ModalContent, { children: open ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
474
474
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: "We share gated security documents under NDA. Leave your work email and our security team will follow up with access, usually within one business day." }),
|
|
475
475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
476
|
-
|
|
476
|
+
_chunkS5UETFC4cjs.ContactForm,
|
|
477
477
|
{
|
|
478
478
|
title: "",
|
|
479
479
|
noBorder: true,
|
|
@@ -490,12 +490,12 @@ function DocumentRequestModal({
|
|
|
490
490
|
] });
|
|
491
491
|
}
|
|
492
492
|
function subprocessorMark({ name, logoUrl }) {
|
|
493
|
-
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
494
|
-
const logo =
|
|
495
|
-
return logo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": name, className: "flex", children: _react.createElement.call(void 0, logo, { className: "size-6" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
493
|
+
if (logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.EntityImage, { src: logoUrl, alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
494
|
+
const logo = _chunk3BLN7YNMcjs.brandLogoForName.call(void 0, name);
|
|
495
|
+
return logo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": name, className: "flex", children: _react.createElement.call(void 0, logo, { className: "size-6" }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.EntityImage, { alt: name, fallbackText: name, sizeClassName: "size-6" });
|
|
496
496
|
}
|
|
497
497
|
function countryWithFlag(country) {
|
|
498
|
-
const flag =
|
|
498
|
+
const flag = _chunkQ4SJJNP2cjs.getFlagFromCountryName.call(void 0, country);
|
|
499
499
|
return flag ? `${flag} ${country}` : country;
|
|
500
500
|
}
|
|
501
501
|
function SubprocessorsSection({ subprocessors }) {
|
|
@@ -522,11 +522,11 @@ function SubprocessorsSection({ subprocessors }) {
|
|
|
522
522
|
] : []
|
|
523
523
|
]
|
|
524
524
|
}));
|
|
525
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
525
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows });
|
|
526
526
|
}
|
|
527
527
|
function ContactSection({ onContact }) {
|
|
528
528
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
529
|
-
|
|
529
|
+
_chunkQ4SJJNP2cjs.StackedRowsPanel,
|
|
530
530
|
{
|
|
531
531
|
rows: [
|
|
532
532
|
{
|
|
@@ -552,11 +552,11 @@ function ContactSection({ onContact }) {
|
|
|
552
552
|
);
|
|
553
553
|
}
|
|
554
554
|
function SkeletonSection({ id, children }) {
|
|
555
|
-
const label = _nullishCoalesce(_optionalChain([
|
|
555
|
+
const label = _nullishCoalesce(_optionalChain([_chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS, 'access', _7 => _7.find, 'call', _8 => _8((section) => section.id === id), 'optionalAccess', _9 => _9.label]), () => ( id));
|
|
556
556
|
const lead = TRUST_SECTION_LEADS[id];
|
|
557
557
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { "aria-hidden": "true", className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
558
558
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
559
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
559
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk3BLN7YNMcjs.SECTION_HEADING_CLASS, children: label }),
|
|
560
560
|
lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: BODY_TEXT, children: lead }) : null
|
|
561
561
|
] }),
|
|
562
562
|
children
|
|
@@ -570,14 +570,14 @@ function skeletonRows(count, shape) {
|
|
|
570
570
|
key: "item",
|
|
571
571
|
content: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-s)]", children: [
|
|
572
572
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
573
|
-
|
|
573
|
+
_chunkQ4SJJNP2cjs.UnifiedSkeleton,
|
|
574
574
|
{
|
|
575
575
|
className: shape.mark === "logo" ? "size-10 shrink-0 rounded-full" : "size-6 shrink-0 rounded"
|
|
576
576
|
}
|
|
577
577
|
),
|
|
578
578
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
579
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
580
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
579
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-1/3 md:h-6" }),
|
|
580
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-1/2" })
|
|
581
581
|
] })
|
|
582
582
|
] })
|
|
583
583
|
},
|
|
@@ -585,17 +585,17 @@ function skeletonRows(count, shape) {
|
|
|
585
585
|
key: "action",
|
|
586
586
|
width: ACTION_COLUMN,
|
|
587
587
|
align: "right",
|
|
588
|
-
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
588
|
+
content: shape.action === "badge" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { className: "h-4 w-28 rounded" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { className: "h-6 w-16 rounded md:h-8" })
|
|
589
589
|
}
|
|
590
590
|
]
|
|
591
591
|
}));
|
|
592
592
|
}
|
|
593
593
|
function ControlsSectionSkeleton() {
|
|
594
594
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-m)]", children: [
|
|
595
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] overflow-hidden", children: [0, 1, 2, 3].map((index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
595
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] overflow-hidden", children: [0, 1, 2, 3].map((index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 p-[var(--spacing-system-m)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { variant: "text", className: "h-5 w-36 md:h-6" }) }, index)) }),
|
|
596
596
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-s)] md:flex-row md:items-center md:justify-between", children: [
|
|
597
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
598
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
597
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-48" }),
|
|
598
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { className: "h-11 w-full rounded-[6px] md:h-12 md:w-80" })
|
|
599
599
|
] }),
|
|
600
600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTROLS_LIST_HEIGHT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsListSkeleton, {}) })
|
|
601
601
|
] });
|
|
@@ -606,32 +606,32 @@ function SectionRailSkeleton() {
|
|
|
606
606
|
"div",
|
|
607
607
|
{
|
|
608
608
|
className: "absolute -left-0.5 top-0 w-px bg-ods-border",
|
|
609
|
-
style: { height:
|
|
609
|
+
style: { height: _chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.length * 40 }
|
|
610
610
|
}
|
|
611
611
|
),
|
|
612
|
-
|
|
612
|
+
_chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.map((section) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-10 items-center px-3 py-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-24" }) }, section.id))
|
|
613
613
|
] }) });
|
|
614
614
|
}
|
|
615
615
|
function TrustCenterSkeleton() {
|
|
616
616
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
617
617
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, "aria-hidden": "true", children: [
|
|
618
618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1.5", children: [
|
|
619
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
620
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
619
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { className: "size-3 rounded-full" }),
|
|
620
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-44" })
|
|
621
621
|
] }),
|
|
622
622
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-xxs)] sm:flex-row sm:items-center sm:gap-[var(--spacing-system-sf)]", children: [
|
|
623
623
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
624
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
625
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
624
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.UnifiedSkeleton, { className: "size-4 rounded" }),
|
|
625
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-36" })
|
|
626
626
|
] }),
|
|
627
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
627
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.TextSkeleton.Body, { className: "w-44" })
|
|
628
628
|
] })
|
|
629
629
|
] }),
|
|
630
630
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_BODY_GRID_CLASS, "aria-busy": "true", "aria-label": "Loading the trust center", children: [
|
|
631
631
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_SECTIONS_COLUMN_CLASS, children: [
|
|
632
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
632
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "compliance", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows: skeletonRows(3, { mark: "logo", action: "badge" }) }) }),
|
|
633
633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "controls", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ControlsSectionSkeleton, {}) }),
|
|
634
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
634
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, SkeletonSection, { id: "documents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StackedRowsPanel, { rows: skeletonRows(2, { mark: "glyph", action: "button" }) }) })
|
|
635
635
|
] }),
|
|
636
636
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SectionRailSkeleton, {}) })
|
|
637
637
|
] })
|
|
@@ -650,7 +650,7 @@ function visibleSections(data) {
|
|
|
650
650
|
faq: data.faqs.length > 0,
|
|
651
651
|
contact: true
|
|
652
652
|
};
|
|
653
|
-
return
|
|
653
|
+
return _chunkQRUW4UXBcjs.TRUST_CENTER_SECTIONS.filter((section) => hasContent[section.id]);
|
|
654
654
|
}
|
|
655
655
|
function controlsSeed(data) {
|
|
656
656
|
const first = _nullishCoalesce(data.controlDomains[0], () => ( null));
|
|
@@ -666,21 +666,21 @@ var MONITORING_CLOCK_TICK_MS = 6e4;
|
|
|
666
666
|
function monitoringStatus(data, hydrated, nowMs) {
|
|
667
667
|
if (!data.connected) return { status: "missing", label: "Live control monitoring is not enabled yet" };
|
|
668
668
|
if (!hydrated) return { status: "missing", label: "Checking monitoring status" };
|
|
669
|
-
return
|
|
669
|
+
return _chunkQRUW4UXBcjs.isTrustCenterMonitored.call(void 0, data, nowMs) ? { status: "success", label: "Controls continuously monitored" } : { status: "pending", label: "Monitoring paused" };
|
|
670
670
|
}
|
|
671
671
|
function TrustCenterPage({
|
|
672
|
-
endpoint =
|
|
672
|
+
endpoint = _chunkQRUW4UXBcjs.TRUST_CENTER_API_PATH,
|
|
673
673
|
initialData,
|
|
674
674
|
shell = true,
|
|
675
675
|
backButton = false,
|
|
676
|
-
title =
|
|
677
|
-
subtitle =
|
|
676
|
+
title = _chunkQRUW4UXBcjs.TRUST_CENTER_TITLE,
|
|
677
|
+
subtitle = _chunkQRUW4UXBcjs.TRUST_CENTER_TAGLINE
|
|
678
678
|
}) {
|
|
679
679
|
const { data, isLoading, error, reload } = _chunkDOVVKQMZcjs.useSelfFetch.call(void 0, endpoint, {
|
|
680
680
|
initialData,
|
|
681
|
-
revalidateOnVisibleAfterMs:
|
|
681
|
+
revalidateOnVisibleAfterMs: _chunkQRUW4UXBcjs.TRUST_CENTER_CACHE_SECONDS * 1e3
|
|
682
682
|
});
|
|
683
|
-
const hydrated =
|
|
683
|
+
const hydrated = _chunk3BLN7YNMcjs.useIsHydrated.call(void 0, );
|
|
684
684
|
const [clock, setClock] = _react.useState.call(void 0, () => ({ data, nowMs: Date.now() }));
|
|
685
685
|
if (clock.data !== data) {
|
|
686
686
|
setClock(() => ({ data, nowMs: Date.now() }));
|
|
@@ -696,7 +696,7 @@ function TrustCenterPage({
|
|
|
696
696
|
documentTitle: null
|
|
697
697
|
});
|
|
698
698
|
const sections = _react.useMemo.call(void 0, () => data ? visibleSections(data) : [], [data]);
|
|
699
|
-
const { activeSection } =
|
|
699
|
+
const { activeSection } = _chunk4TEV4KPVcjs.useScrollSpy.call(void 0, sections, { syncHash: true });
|
|
700
700
|
const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
|
|
701
701
|
_chunkV2A4MAALcjs.navigateSamePageHash.call(void 0, `#${sectionId}`, { headerOffset: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX, history: "replace" });
|
|
702
702
|
}, []);
|
|
@@ -726,7 +726,7 @@ function TrustCenterPage({
|
|
|
726
726
|
DocumentsSection,
|
|
727
727
|
{
|
|
728
728
|
documents: d.documents,
|
|
729
|
-
documentUrl: (document) =>
|
|
729
|
+
documentUrl: (document) => _chunkQRUW4UXBcjs.trustCenterDocumentUrl.call(void 0, endpoint, document),
|
|
730
730
|
onRequest: openRequest
|
|
731
731
|
}
|
|
732
732
|
)
|
|
@@ -735,24 +735,24 @@ function TrustCenterPage({
|
|
|
735
735
|
lead: TRUST_SECTION_LEADS.subprocessors,
|
|
736
736
|
render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SubprocessorsSection, { subprocessors: d.subprocessors })
|
|
737
737
|
},
|
|
738
|
-
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
738
|
+
faq: { render: (d) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkALKT3U5Ycjs.FaqSection, { initialFaqs: d.faqs, heading: null }) },
|
|
739
739
|
contact: { render: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContactSection, { onContact: () => openRequest(null) }) }
|
|
740
740
|
};
|
|
741
741
|
let body;
|
|
742
742
|
if (error && !data) {
|
|
743
|
-
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
743
|
+
body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.LoadError, { message: "Could not load the trust center", onRetry: reload });
|
|
744
744
|
} else if (!data) {
|
|
745
745
|
body = isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) : null;
|
|
746
746
|
} else {
|
|
747
747
|
const status = monitoringStatus(data, hydrated, nowMs);
|
|
748
748
|
body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
749
749
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TRUST_STATUS_ROW_CLASS, children: [
|
|
750
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
750
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.StatusIndicator, { status: status.status, label: status.label }),
|
|
751
751
|
data.connected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
752
|
-
|
|
752
|
+
_chunkQ4SJJNP2cjs.DataAttribution,
|
|
753
753
|
{
|
|
754
754
|
icon: data.dataSource.logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
755
|
-
|
|
755
|
+
_chunkQ4SJJNP2cjs.EntityImage,
|
|
756
756
|
{
|
|
757
757
|
src: data.dataSource.logoUrl,
|
|
758
758
|
alt: data.dataSource.name,
|
|
@@ -771,7 +771,7 @@ function TrustCenterPage({
|
|
|
771
771
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustSection, { id: section.id, title: section.label, lead: view.lead, children: view.render(data) }, section.id);
|
|
772
772
|
}) }),
|
|
773
773
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "aside", { className: "hidden lg:block", "aria-label": "Trust center sections", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky", style: { top: _chunkV2A4MAALcjs.STICKY_HEADER_OFFSET_PX }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
774
|
-
|
|
774
|
+
_chunkTYXXODCQcjs.StickySectionNav,
|
|
775
775
|
{
|
|
776
776
|
sections: sections.map((section) => ({ id: section.id, label: section.label })),
|
|
777
777
|
activeSection,
|
|
@@ -803,7 +803,7 @@ function TrustCenterChrome({
|
|
|
803
803
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
804
804
|
const backCfg = backButton === false ? void 0 : { label: _nullishCoalesce(backButton.label, () => ( "Back to home")), onClick: () => router.push(_nullishCoalesce(backButton.href, () => ( "/"))) };
|
|
805
805
|
const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
806
|
-
|
|
806
|
+
_chunkQ4SJJNP2cjs.PageLayout,
|
|
807
807
|
{
|
|
808
808
|
title,
|
|
809
809
|
subtitle,
|
|
@@ -815,13 +815,13 @@ function TrustCenterChrome({
|
|
|
815
815
|
children
|
|
816
816
|
}
|
|
817
817
|
);
|
|
818
|
-
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
818
|
+
return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ4SJJNP2cjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
|
|
819
819
|
}
|
|
820
820
|
function TrustCenterPageSkeleton({
|
|
821
821
|
shell = true,
|
|
822
822
|
backButton = false,
|
|
823
|
-
title =
|
|
824
|
-
subtitle =
|
|
823
|
+
title = _chunkQRUW4UXBcjs.TRUST_CENTER_TITLE,
|
|
824
|
+
subtitle = _chunkQRUW4UXBcjs.TRUST_CENTER_TAGLINE
|
|
825
825
|
}) {
|
|
826
826
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChrome, { shell, title, subtitle, backButton, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterSkeleton, {}) });
|
|
827
827
|
}
|
|
@@ -838,5 +838,5 @@ function TrustCenterPageSkeleton({
|
|
|
838
838
|
|
|
839
839
|
|
|
840
840
|
|
|
841
|
-
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage =
|
|
841
|
+
exports.DeliveryPage = DeliveryPage; exports.DocsHubPage = _chunk4TEV4KPVcjs.DocsHubPage; exports.FaqDocumentPage = _chunkALKT3U5Ycjs.FaqDocumentPage; exports.HelpCenterList = _chunkQYUBHOIEcjs.HelpCenterList; exports.LegalDocumentPage = _chunk7KZRU5Z2cjs.LegalDocumentPage; exports.OnboardingGuideDetailView = _chunkGP4SLGDOcjs.OnboardingGuideDetailView; exports.OnboardingGuidesCatalogPage = OnboardingGuidesCatalogPage; exports.ProductReleasesListPage = ProductReleasesListPage; exports.ReleaseDetailPage = _chunk7KZRU5Z2cjs.ReleaseDetailPage; exports.RoadmapPage = RoadmapPage; exports.TrustCenterPage = TrustCenterPage; exports.TrustCenterPageSkeleton = TrustCenterPageSkeleton;
|
|
842
842
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -6,38 +6,38 @@ import {
|
|
|
6
6
|
ProductReleasesView,
|
|
7
7
|
ReleaseDetailPage,
|
|
8
8
|
RoadmapView
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-BP3OYBQV.js";
|
|
10
10
|
import {
|
|
11
11
|
DocsHubPage,
|
|
12
12
|
useScrollSpy
|
|
13
|
-
} from "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-B7EGFSTQ.js";
|
|
14
|
+
import "../../chunk-HJXIIGLD.js";
|
|
15
15
|
import "../../chunk-7EI3NES7.js";
|
|
16
16
|
import {
|
|
17
17
|
FaqDocumentPage,
|
|
18
18
|
FaqSection
|
|
19
|
-
} from "../../chunk-
|
|
19
|
+
} from "../../chunk-TQJN7EBG.js";
|
|
20
20
|
import {
|
|
21
21
|
StickySectionNav
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-GUZG4MSV.js";
|
|
23
23
|
import {
|
|
24
24
|
HelpCenterList
|
|
25
|
-
} from "../../chunk-
|
|
25
|
+
} from "../../chunk-I3I3HPZA.js";
|
|
26
26
|
import {
|
|
27
27
|
ContactForm
|
|
28
|
-
} from "../../chunk-
|
|
28
|
+
} from "../../chunk-PAJUQOWK.js";
|
|
29
29
|
import {
|
|
30
30
|
DevSectionPage,
|
|
31
31
|
ListEmptyState
|
|
32
|
-
} from "../../chunk-
|
|
32
|
+
} from "../../chunk-JBH5YDPP.js";
|
|
33
33
|
import "../../chunk-5ONM3FHQ.js";
|
|
34
|
-
import "../../chunk-
|
|
34
|
+
import "../../chunk-J4XQQ43Y.js";
|
|
35
35
|
import {
|
|
36
36
|
OnboardingGuideDetailView,
|
|
37
37
|
OnboardingGuidesCatalogView
|
|
38
|
-
} from "../../chunk-
|
|
39
|
-
import "../../chunk-
|
|
40
|
-
import "../../chunk-
|
|
38
|
+
} from "../../chunk-PMCLM3KV.js";
|
|
39
|
+
import "../../chunk-Z72SBI2U.js";
|
|
40
|
+
import "../../chunk-SPYKIXKJ.js";
|
|
41
41
|
import {
|
|
42
42
|
useSelfFetch
|
|
43
43
|
} from "../../chunk-KKSSA4CS.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
TextSkeleton,
|
|
56
56
|
UnifiedSkeleton,
|
|
57
57
|
getFlagFromCountryName
|
|
58
|
-
} from "../../chunk-
|
|
58
|
+
} from "../../chunk-OCMJWI6L.js";
|
|
59
59
|
import "../../chunk-L2SLFCXP.js";
|
|
60
60
|
import "../../chunk-BJXDHKUX.js";
|
|
61
61
|
import {
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
ScrollShadow,
|
|
75
75
|
brandLogoForName,
|
|
76
76
|
useIsHydrated
|
|
77
|
-
} from "../../chunk-
|
|
77
|
+
} from "../../chunk-PEBQEALM.js";
|
|
78
78
|
import {
|
|
79
79
|
STICKY_HEADER_OFFSET_PX,
|
|
80
80
|
navigateSamePageHash,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
trustCenterDocumentUrl,
|
|
108
108
|
trustFrameworkBadge,
|
|
109
109
|
trustFrameworkMonitoringEntry
|
|
110
|
-
} from "../../chunk-
|
|
110
|
+
} from "../../chunk-DLJGCDHX.js";
|
|
111
111
|
import "../../chunk-MDKCTSDS.js";
|
|
112
112
|
import "../../chunk-LZLT67PE.js";
|
|
113
113
|
import "../../chunk-OTX6XNSA.js";
|