@rizom/site-rizom-ai 0.2.0-alpha.265 → 0.2.0-alpha.267
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/index.js +264 -301
- package/dist/index.js.map +12 -12
- package/package.json +1 -1
- package/src/ask-room.tsx +121 -0
- package/src/asked.tsx +5 -9
- package/src/layout.tsx +6 -3
- package/src/opening.tsx +24 -71
- package/src/routes.ts +6 -6
- package/src/site.ts +2 -2
- package/src/story/living-organism.tsx +1 -14
- package/src/story/runtime.ts +0 -23
- package/src/story/story-page.tsx +16 -10
- package/src/story.css +16 -55
- package/src/public-ask.tsx +0 -38
package/dist/index.js
CHANGED
|
@@ -39058,23 +39058,20 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39058
39058
|
width: min(100%, calc(100svh - var(--bar-height, 4.6rem) - 2rem));
|
|
39059
39059
|
aspect-ratio: 1;
|
|
39060
39060
|
}
|
|
39061
|
-
/*
|
|
39062
|
-
before the
|
|
39063
|
-
line down the
|
|
39064
|
-
can be fixed to the screen)
|
|
39065
|
-
|
|
39066
|
-
|
|
39067
|
-
screen): as the science comes up the network draws into its centre point,
|
|
39068
|
-
and past the reading line the figure's first drawing opens out of that same
|
|
39069
|
-
point; scrolling back runs it backwards. */
|
|
39061
|
+
/* The Ask room page (/ask, told as a story without a figure) brings its own
|
|
39062
|
+
drawing: it stands before the words in the chapters column and sticks at
|
|
39063
|
+
the figure's centre line down the page (the story is a size container, so
|
|
39064
|
+
nothing in it can be fixed to the screen), while the words scroll within
|
|
39065
|
+
the screen beside it. The homepage's opening keeps its drawing in the
|
|
39066
|
+
opening (the rule above), which leaves with it. */
|
|
39070
39067
|
@media not all and (max-width: 60rem) {
|
|
39071
39068
|
/* The words are the room's column (the kit scrolls it within the screen);
|
|
39072
|
-
the bar and the
|
|
39069
|
+
the bar and the chapter's 4rem of padding above and below stay clear, so
|
|
39073
39070
|
the composer is on the first screen. */
|
|
39074
39071
|
.chapter--opening .opening__words {
|
|
39075
39072
|
--ask-column-clear: calc(8rem + var(--bar-height, 4.6rem));
|
|
39076
39073
|
}
|
|
39077
|
-
:where(.chapters) > .net-layer {
|
|
39074
|
+
.story--room :where(.chapters) > .net-layer {
|
|
39078
39075
|
position: sticky;
|
|
39079
39076
|
top: calc(
|
|
39080
39077
|
var(--bar-height, 4.6rem) + (100svh - var(--bar-height, 4.6rem)) / 2
|
|
@@ -39088,16 +39085,8 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39088
39085
|
var(--words) - var(--words-gap) - clamp(1rem, 6vw, 7rem)
|
|
39089
39086
|
);
|
|
39090
39087
|
}
|
|
39091
|
-
:where(.chapters) > .net-layer > * {
|
|
39088
|
+
.story--room :where(.chapters) > .net-layer > * {
|
|
39092
39089
|
translate: 0 -50%;
|
|
39093
|
-
scale: calc(1 - clamp(0, var(--handover, 0), 1));
|
|
39094
|
-
}
|
|
39095
|
-
.net-leads {
|
|
39096
|
-
opacity: calc(1 - clamp(0, var(--handover, 0) * 2, 1));
|
|
39097
|
-
}
|
|
39098
|
-
/* The figure's first drawing opens out of the point the network drew into. */
|
|
39099
|
-
.living-org .o-box {
|
|
39100
|
-
scale: clamp(0, var(--handover, 0) - 1, 1);
|
|
39101
39090
|
}
|
|
39102
39091
|
}
|
|
39103
39092
|
.net-svg {
|
|
@@ -39716,22 +39705,6 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39716
39705
|
color: var(--color-text-muted);
|
|
39717
39706
|
quotes: "\u201C" "\u201D";
|
|
39718
39707
|
}
|
|
39719
|
-
/* The chapter's drawing stands where the organism stood, beside the words,
|
|
39720
|
-
and the organism steps aside while the chapter is read. */
|
|
39721
|
-
.asked .net-layer {
|
|
39722
|
-
top: 50%;
|
|
39723
|
-
translate: 0 -50%;
|
|
39724
|
-
left: calc(100% + var(--words-gap));
|
|
39725
|
-
right: auto;
|
|
39726
|
-
width: min(
|
|
39727
|
-
calc(100svh - var(--bar-height, 4.6rem) - 2rem),
|
|
39728
|
-
calc(100cqi - var(--words) - var(--words-gap) - clamp(1rem, 6vw, 7rem))
|
|
39729
|
-
);
|
|
39730
|
-
}
|
|
39731
|
-
.story.is-asked .figure {
|
|
39732
|
-
opacity: 0;
|
|
39733
|
-
transition: opacity 0.6s ease;
|
|
39734
|
-
}
|
|
39735
39708
|
/* The Ask room's lead layer (the room script draws into it; the kit styles
|
|
39736
39709
|
the leads): leads join words to the drawing across the page, so the
|
|
39737
39710
|
viewport is their frame. On a phone the opening's drawing joins the open
|
|
@@ -39762,29 +39735,17 @@ var story_default = `/* The story pages: chapters beside one drawing, under the
|
|
|
39762
39735
|
border-bottom: 1px solid var(--color-border);
|
|
39763
39736
|
}
|
|
39764
39737
|
}
|
|
39765
|
-
/*
|
|
39766
|
-
brain blinks on its own; only
|
|
39767
|
-
.
|
|
39768
|
-
.
|
|
39769
|
-
.asked .net-reply:not(.is-lit) .net-
|
|
39738
|
+
/* While the Asked-before questions are read, the page's drawing is the
|
|
39739
|
+
network at rest: no pulse travels it and no brain blinks on its own; only
|
|
39740
|
+
the open question's brains answer. */
|
|
39741
|
+
.story.is-asked .net-pulse,
|
|
39742
|
+
.story.is-asked .net-reply:not(.is-lit) .net-echo,
|
|
39743
|
+
.story.is-asked .net-reply:not(.is-lit) .net-spark {
|
|
39770
39744
|
display: none;
|
|
39771
39745
|
}
|
|
39772
|
-
.asked .net-mark i {
|
|
39746
|
+
.story.is-asked .net-mark i {
|
|
39773
39747
|
animation: none;
|
|
39774
39748
|
}
|
|
39775
|
-
@media (max-width: 60rem) {
|
|
39776
|
-
/* On a phone the chapter's drawing takes the strip while the chapter is read. */
|
|
39777
|
-
.asked .net-layer {
|
|
39778
|
-
top: var(--bar-height, 4.6rem);
|
|
39779
|
-
translate: none;
|
|
39780
|
-
left: 0;
|
|
39781
|
-
right: 0;
|
|
39782
|
-
width: auto;
|
|
39783
|
-
}
|
|
39784
|
-
.story.is-asked .asked .net-layer {
|
|
39785
|
-
opacity: 1;
|
|
39786
|
-
z-index: 3;
|
|
39787
|
-
}
|
|
39788
39749
|
}
|
|
39789
39750
|
|
|
39790
39751
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -40499,10 +40460,6 @@ var livingOrganism = organism({
|
|
|
40499
40460
|
...Object.fromEntries(Object.entries(one).map(([k, v2]) => [k, shrink(v2)])),
|
|
40500
40461
|
...Object.fromEntries(economy.map((p, i) => [`E${i + 1}`, at(p, i % 3 === 0 ? 6 : 4)]))
|
|
40501
40462
|
},
|
|
40502
|
-
{
|
|
40503
|
-
...Object.fromEntries(Object.entries(one).map(([k, v2]) => [k, shrink(v2)])),
|
|
40504
|
-
...Object.fromEntries(economy.map((p, i) => [`E${i + 1}`, at(p, i % 3 === 0 ? 6 : 4)]))
|
|
40505
|
-
},
|
|
40506
40463
|
{ L: [C3, C3, 13, 1] }
|
|
40507
40464
|
],
|
|
40508
40465
|
links: [
|
|
@@ -40561,8 +40518,7 @@ var livingOrganism = organism({
|
|
|
40561
40518
|
"core-e2",
|
|
40562
40519
|
"core-e3",
|
|
40563
40520
|
...uniqueEconomyLinks.map((l3) => l3[0])
|
|
40564
|
-
]
|
|
40565
|
-
[]
|
|
40521
|
+
]
|
|
40566
40522
|
],
|
|
40567
40523
|
flowing: [
|
|
40568
40524
|
[],
|
|
@@ -40576,8 +40532,7 @@ var livingOrganism = organism({
|
|
|
40576
40532
|
"core-e2",
|
|
40577
40533
|
"core-e3",
|
|
40578
40534
|
...uniqueEconomyLinks.filter((_2, i) => i % 2 === 0).map((l3) => l3[0])
|
|
40579
|
-
]
|
|
40580
|
-
[]
|
|
40535
|
+
]
|
|
40581
40536
|
],
|
|
40582
40537
|
labels: [
|
|
40583
40538
|
[],
|
|
@@ -41863,17 +41818,9 @@ function readingLine(viewportHeight, stripBottom) {
|
|
|
41863
41818
|
const beside = 0.45;
|
|
41864
41819
|
return stripBottom === null ? viewportHeight * beside : stripBottom + 1;
|
|
41865
41820
|
}
|
|
41866
|
-
function handoverProgress(nextTop, scrolled, viewportHeight, line) {
|
|
41867
|
-
if (nextTop > line) {
|
|
41868
|
-
return scrolled <= 0 ? 0 : scrolled / (scrolled + nextTop - line);
|
|
41869
|
-
}
|
|
41870
|
-
const span = viewportHeight - line;
|
|
41871
|
-
return span <= 0 ? 2 : 1 + Math.min(1, (line - nextTop) / span);
|
|
41872
|
-
}
|
|
41873
41821
|
var storyRuntimeScript = ASK_ROOM_SCRIPT + `(function () {
|
|
41874
41822
|
${currentChapter.toString()}
|
|
41875
41823
|
${readingLine.toString()}
|
|
41876
|
-
${handoverProgress.toString()}
|
|
41877
41824
|
function init() {
|
|
41878
41825
|
var story = document.querySelector(".story");
|
|
41879
41826
|
if (!story) return;
|
|
@@ -41926,7 +41873,6 @@ var storyRuntimeScript = ASK_ROOM_SCRIPT + `(function () {
|
|
|
41926
41873
|
var current = currentChapter(tops, line);
|
|
41927
41874
|
var stage = currentChapter(tops, line, stageCount);
|
|
41928
41875
|
if (figure) figure.dataset.stage = String(stage);
|
|
41929
|
-
if (tops.length > 1) story.style.setProperty("--handover", handoverProgress(tops[1], scrollY, innerHeight, line).toFixed(4));
|
|
41930
41876
|
chapters.forEach(function (chapter, i) { chapter.classList.toggle("is-current", i === current); });
|
|
41931
41877
|
// A chapter that lights the network keeps the live drawing in view while it is read.
|
|
41932
41878
|
story.classList.toggle("is-asked", !!(chapters[current] && chapters[current].hasAttribute("data-lights-network")));
|
|
@@ -55244,14 +55190,14 @@ function StoryPage({
|
|
|
55244
55190
|
}),
|
|
55245
55191
|
/* @__PURE__ */ jsx49(ReadingThread, {}),
|
|
55246
55192
|
/* @__PURE__ */ jsxs35("div", {
|
|
55247
|
-
className: "story",
|
|
55193
|
+
className: figure ? "story" : "story story--room",
|
|
55248
55194
|
...{ [ASK_ROOM_ATTRIBUTE]: "" },
|
|
55249
55195
|
children: [
|
|
55250
55196
|
/* @__PURE__ */ jsx49("div", {
|
|
55251
55197
|
className: "chapters",
|
|
55252
55198
|
children
|
|
55253
55199
|
}),
|
|
55254
|
-
/* @__PURE__ */ jsx49("figure", {
|
|
55200
|
+
figure && /* @__PURE__ */ jsx49("figure", {
|
|
55255
55201
|
className: `figure ${figure.className}`,
|
|
55256
55202
|
"data-stage": "0",
|
|
55257
55203
|
"data-stages": figure.organism.stageCount,
|
|
@@ -55270,7 +55216,8 @@ var BAR_LINKS = [
|
|
|
55270
55216
|
{ label: "Brain", href: "/brain", room: "brain" },
|
|
55271
55217
|
{ label: "Work", href: "/work", room: "work" },
|
|
55272
55218
|
{ label: "Foundation", href: "/foundation", room: "foundation" },
|
|
55273
|
-
{ label: "Writing", href: "/writing" }
|
|
55219
|
+
{ label: "Writing", href: "/writing" },
|
|
55220
|
+
{ label: "Ask", href: "/ask" }
|
|
55274
55221
|
];
|
|
55275
55222
|
var AUDIT = { label: "Book an audit", href: "/work#audit" };
|
|
55276
55223
|
function activeRoom(path) {
|
|
@@ -55422,7 +55369,8 @@ var STORY_FIGURES = {
|
|
|
55422
55369
|
"/": { className: "living-org", organism: livingOrganism },
|
|
55423
55370
|
"/brain": { className: "brain-org", organism: brainOrganism },
|
|
55424
55371
|
"/work": { className: "work-org", organism: workOrganism },
|
|
55425
|
-
"/foundation": { className: "foundation-org", organism: foundationOrganism }
|
|
55372
|
+
"/foundation": { className: "foundation-org", organism: foundationOrganism },
|
|
55373
|
+
"/ask": null
|
|
55426
55374
|
};
|
|
55427
55375
|
function RizomAiChrome({
|
|
55428
55376
|
path,
|
|
@@ -55440,7 +55388,7 @@ function RizomAiChrome({
|
|
|
55440
55388
|
path
|
|
55441
55389
|
}),
|
|
55442
55390
|
/* @__PURE__ */ jsx50("main", {
|
|
55443
|
-
children: figure ? /* @__PURE__ */ jsx50(StoryPage, {
|
|
55391
|
+
children: figure !== undefined ? /* @__PURE__ */ jsx50(StoryPage, {
|
|
55444
55392
|
figure,
|
|
55445
55393
|
children
|
|
55446
55394
|
}) : children
|
|
@@ -56705,76 +56653,39 @@ function NetworkLayer({
|
|
|
56705
56653
|
function Opening(data) {
|
|
56706
56654
|
const headingLead = data.headingLead ?? DEFAULT_COPY.headingLead;
|
|
56707
56655
|
const lede = data.lede ?? DEFAULT_COPY.lede;
|
|
56708
|
-
return /* @__PURE__ */ jsxs39(
|
|
56656
|
+
return /* @__PURE__ */ jsxs39("section", {
|
|
56657
|
+
id: "hero",
|
|
56658
|
+
className: "chapter chapter--opening",
|
|
56659
|
+
"data-title": "Top",
|
|
56709
56660
|
children: [
|
|
56710
|
-
/* @__PURE__ */ jsx56(
|
|
56711
|
-
|
|
56712
|
-
|
|
56661
|
+
data.kicker && /* @__PURE__ */ jsx56("p", {
|
|
56662
|
+
className: "eyebrow",
|
|
56663
|
+
children: data.kicker
|
|
56713
56664
|
}),
|
|
56714
|
-
|
|
56715
|
-
|
|
56716
|
-
|
|
56717
|
-
|
|
56665
|
+
/* @__PURE__ */ jsxs39("h1", {
|
|
56666
|
+
children: [
|
|
56667
|
+
headingLead,
|
|
56668
|
+
data.headingAccent && /* @__PURE__ */ jsxs39(Fragment21, {
|
|
56669
|
+
children: [
|
|
56670
|
+
" ",
|
|
56671
|
+
/* @__PURE__ */ jsx56("em", {
|
|
56672
|
+
children: data.headingAccent
|
|
56673
|
+
})
|
|
56674
|
+
]
|
|
56675
|
+
})
|
|
56676
|
+
]
|
|
56718
56677
|
}),
|
|
56719
|
-
/* @__PURE__ */ jsx56("
|
|
56720
|
-
|
|
56721
|
-
|
|
56722
|
-
|
|
56723
|
-
|
|
56724
|
-
|
|
56725
|
-
|
|
56726
|
-
|
|
56727
|
-
|
|
56728
|
-
|
|
56729
|
-
|
|
56730
|
-
}),
|
|
56731
|
-
/* @__PURE__ */ jsxs39("h1", {
|
|
56732
|
-
children: [
|
|
56733
|
-
headingLead,
|
|
56734
|
-
data.headingAccent && /* @__PURE__ */ jsxs39(Fragment21, {
|
|
56735
|
-
children: [
|
|
56736
|
-
" ",
|
|
56737
|
-
/* @__PURE__ */ jsx56("em", {
|
|
56738
|
-
children: data.headingAccent
|
|
56739
|
-
})
|
|
56740
|
-
]
|
|
56741
|
-
})
|
|
56742
|
-
]
|
|
56743
|
-
}),
|
|
56744
|
-
/* @__PURE__ */ jsx56("p", {
|
|
56745
|
-
className: "lede",
|
|
56746
|
-
children: lede
|
|
56747
|
-
}),
|
|
56748
|
-
data.askBox ? /* @__PURE__ */ jsxs39("div", {
|
|
56749
|
-
className: "ask",
|
|
56750
|
-
children: [
|
|
56751
|
-
/* @__PURE__ */ jsx56(AskBoxHost, {
|
|
56752
|
-
prefix: "opening",
|
|
56753
|
-
placeholder: data.prompt ?? undefined
|
|
56754
|
-
}),
|
|
56755
|
-
data.topics.length > 0 && /* @__PURE__ */ jsx56("ul", {
|
|
56756
|
-
className: "ask__topics",
|
|
56757
|
-
"aria-label": "Suggested questions",
|
|
56758
|
-
children: data.topics.map((topic) => /* @__PURE__ */ jsx56("li", {
|
|
56759
|
-
children: /* @__PURE__ */ jsx56("button", {
|
|
56760
|
-
type: "button",
|
|
56761
|
-
"data-atlas-fill": topic,
|
|
56762
|
-
children: topic
|
|
56763
|
-
})
|
|
56764
|
-
}, topic))
|
|
56765
|
-
}),
|
|
56766
|
-
/* @__PURE__ */ jsx56("script", {
|
|
56767
|
-
src: ASK_BOX_SCRIPT_PATH,
|
|
56768
|
-
defer: true
|
|
56769
|
-
})
|
|
56770
|
-
]
|
|
56771
|
-
}) : data.ctaHref && data.ctaLabel && /* @__PURE__ */ jsx56("a", {
|
|
56772
|
-
className: "opening__door",
|
|
56773
|
-
href: data.ctaHref,
|
|
56774
|
-
children: data.ctaLabel
|
|
56775
|
-
})
|
|
56776
|
-
]
|
|
56777
|
-
})
|
|
56678
|
+
/* @__PURE__ */ jsx56("p", {
|
|
56679
|
+
className: "lede",
|
|
56680
|
+
children: lede
|
|
56681
|
+
}),
|
|
56682
|
+
data.ctaHref && data.ctaLabel && /* @__PURE__ */ jsx56("a", {
|
|
56683
|
+
className: "opening__door",
|
|
56684
|
+
href: data.ctaHref,
|
|
56685
|
+
children: data.ctaLabel
|
|
56686
|
+
}),
|
|
56687
|
+
/* @__PURE__ */ jsx56(NetworkLayer, {
|
|
56688
|
+
...placeNetwork(data)
|
|
56778
56689
|
})
|
|
56779
56690
|
]
|
|
56780
56691
|
});
|
|
@@ -56793,7 +56704,7 @@ var openingCopyFormatter = new StructuredContentFormatter(proximityMapCopySchema
|
|
|
56793
56704
|
});
|
|
56794
56705
|
var openingTemplate = createTemplate({
|
|
56795
56706
|
name: "opening",
|
|
56796
|
-
description: "The homepage opening: the authored words over the live network, with the
|
|
56707
|
+
description: "The homepage opening: the authored words over the live network, with the door",
|
|
56797
56708
|
schema: openingSchema,
|
|
56798
56709
|
dataSourceId: "rizom:opening",
|
|
56799
56710
|
overlayFormatter: openingCopyFormatter,
|
|
@@ -56953,9 +56864,6 @@ function Asked(data) {
|
|
|
56953
56864
|
/* @__PURE__ */ jsx57("p", {
|
|
56954
56865
|
children: data.body ?? DEFAULT_COPY2.body
|
|
56955
56866
|
}),
|
|
56956
|
-
/* @__PURE__ */ jsx57(NetworkLayer, {
|
|
56957
|
-
...placeNetwork(data)
|
|
56958
|
-
}),
|
|
56959
56867
|
/* @__PURE__ */ jsx57("div", {
|
|
56960
56868
|
className: "asked__list",
|
|
56961
56869
|
children: faqs.map((faq) => /* @__PURE__ */ jsxs40("details", {
|
|
@@ -57000,6 +56908,103 @@ var askedTemplate = createTemplate({
|
|
|
57000
56908
|
layout: { component: Asked }
|
|
57001
56909
|
});
|
|
57002
56910
|
|
|
56911
|
+
// src/ask-room.tsx
|
|
56912
|
+
import { jsx as jsx58, jsxs as jsxs41, Fragment as Fragment25 } from "react/jsx-runtime";
|
|
56913
|
+
var askRoomCopySchema = exports_external.object({
|
|
56914
|
+
cap: exports_external.string().nullable().default(null),
|
|
56915
|
+
claim: exports_external.string().nullable().default(null),
|
|
56916
|
+
body: exports_external.string().nullable().default(null)
|
|
56917
|
+
});
|
|
56918
|
+
var DEFAULT_COPY3 = {
|
|
56919
|
+
cap: "Ask",
|
|
56920
|
+
claim: "Ask the network",
|
|
56921
|
+
body: "Put a question to Rizom. It answers from what the connected brains have published, and the brains it drew on light up."
|
|
56922
|
+
};
|
|
56923
|
+
var askRoomSchema = proximityMapDataSchema.extend({
|
|
56924
|
+
...askRoomCopySchema.shape,
|
|
56925
|
+
topics: exports_external.array(exports_external.string()).default([]),
|
|
56926
|
+
prompt: exports_external.string().nullable().default(null),
|
|
56927
|
+
askBox: exports_external.boolean().default(false)
|
|
56928
|
+
});
|
|
56929
|
+
function AskRoom(data) {
|
|
56930
|
+
return /* @__PURE__ */ jsxs41(Fragment25, {
|
|
56931
|
+
children: [
|
|
56932
|
+
/* @__PURE__ */ jsx58(NetworkLayer, {
|
|
56933
|
+
...placeNetwork(data),
|
|
56934
|
+
lendable: true
|
|
56935
|
+
}),
|
|
56936
|
+
/* @__PURE__ */ jsx58("svg", {
|
|
56937
|
+
className: "net-leads",
|
|
56938
|
+
...{ [ASK_LEADS_ATTRIBUTE]: "" },
|
|
56939
|
+
"aria-hidden": "true"
|
|
56940
|
+
}),
|
|
56941
|
+
/* @__PURE__ */ jsx58("section", {
|
|
56942
|
+
id: "ask",
|
|
56943
|
+
className: "chapter chapter--opening",
|
|
56944
|
+
"data-title": "Ask",
|
|
56945
|
+
children: /* @__PURE__ */ jsxs41("div", {
|
|
56946
|
+
className: "opening__words",
|
|
56947
|
+
...{ [ASK_COLUMN_ATTRIBUTE]: "" },
|
|
56948
|
+
children: [
|
|
56949
|
+
/* @__PURE__ */ jsx58("p", {
|
|
56950
|
+
className: "eyebrow",
|
|
56951
|
+
children: data.cap ?? DEFAULT_COPY3.cap
|
|
56952
|
+
}),
|
|
56953
|
+
/* @__PURE__ */ jsx58("h1", {
|
|
56954
|
+
children: data.claim ?? DEFAULT_COPY3.claim
|
|
56955
|
+
}),
|
|
56956
|
+
/* @__PURE__ */ jsx58("p", {
|
|
56957
|
+
className: "lede",
|
|
56958
|
+
children: data.body ?? DEFAULT_COPY3.body
|
|
56959
|
+
}),
|
|
56960
|
+
/* @__PURE__ */ jsxs41("div", {
|
|
56961
|
+
className: "ask",
|
|
56962
|
+
children: [
|
|
56963
|
+
/* @__PURE__ */ jsx58(AskBoxHost, {
|
|
56964
|
+
prefix: "opening",
|
|
56965
|
+
placeholder: data.prompt ?? undefined
|
|
56966
|
+
}),
|
|
56967
|
+
data.topics.length > 0 && /* @__PURE__ */ jsx58("ul", {
|
|
56968
|
+
className: "ask__topics",
|
|
56969
|
+
"aria-label": "Suggested questions",
|
|
56970
|
+
children: data.topics.map((topic) => /* @__PURE__ */ jsx58("li", {
|
|
56971
|
+
children: /* @__PURE__ */ jsx58("button", {
|
|
56972
|
+
type: "button",
|
|
56973
|
+
"data-atlas-fill": topic,
|
|
56974
|
+
children: topic
|
|
56975
|
+
})
|
|
56976
|
+
}, topic))
|
|
56977
|
+
}),
|
|
56978
|
+
/* @__PURE__ */ jsx58("script", {
|
|
56979
|
+
src: ASK_BOX_SCRIPT_PATH,
|
|
56980
|
+
defer: true
|
|
56981
|
+
})
|
|
56982
|
+
]
|
|
56983
|
+
})
|
|
56984
|
+
]
|
|
56985
|
+
})
|
|
56986
|
+
})
|
|
56987
|
+
]
|
|
56988
|
+
});
|
|
56989
|
+
}
|
|
56990
|
+
var askRoomCopyFormatter = new StructuredContentFormatter(askRoomCopySchema, {
|
|
56991
|
+
title: "Ask",
|
|
56992
|
+
mappings: [
|
|
56993
|
+
{ key: "cap", label: "Cap", type: "string" },
|
|
56994
|
+
{ key: "claim", label: "Claim", type: "string" },
|
|
56995
|
+
{ key: "body", label: "Body", type: "string" }
|
|
56996
|
+
]
|
|
56997
|
+
});
|
|
56998
|
+
var askRoomTemplate = createTemplate({
|
|
56999
|
+
name: "ask-room",
|
|
57000
|
+
description: "The Ask room: the guest box beside the live network, which an answer lights",
|
|
57001
|
+
schema: askRoomSchema,
|
|
57002
|
+
dataSourceId: "rizom:opening",
|
|
57003
|
+
overlayFormatter: askRoomCopyFormatter,
|
|
57004
|
+
requiredPermission: "public",
|
|
57005
|
+
layout: { component: AskRoom }
|
|
57006
|
+
});
|
|
57007
|
+
|
|
57003
57008
|
// src/asked-datasource.ts
|
|
57004
57009
|
var LIMIT = 12;
|
|
57005
57010
|
var MAP_SOURCE_ID2 = "agent-discovery:proximity-map";
|
|
@@ -57040,7 +57045,7 @@ function askedDataSource(shell) {
|
|
|
57040
57045
|
}
|
|
57041
57046
|
|
|
57042
57047
|
// src/writing.tsx
|
|
57043
|
-
import { jsx as
|
|
57048
|
+
import { jsx as jsx59, jsxs as jsxs43, Fragment as Fragment26 } from "react/jsx-runtime";
|
|
57044
57049
|
var linked = {
|
|
57045
57050
|
id: exports_external.string(),
|
|
57046
57051
|
entityType: exports_external.string(),
|
|
@@ -57103,19 +57108,19 @@ function pieces({ posts, decks }) {
|
|
|
57103
57108
|
].sort((a, b2) => b2.date.localeCompare(a.date));
|
|
57104
57109
|
}
|
|
57105
57110
|
function PieceBody({ piece }) {
|
|
57106
|
-
return /* @__PURE__ */
|
|
57111
|
+
return /* @__PURE__ */ jsxs43(Fragment26, {
|
|
57107
57112
|
children: [
|
|
57108
|
-
/* @__PURE__ */
|
|
57113
|
+
/* @__PURE__ */ jsxs43("small", {
|
|
57109
57114
|
children: [
|
|
57110
57115
|
LABEL[piece.kind],
|
|
57111
57116
|
" \xB7 ",
|
|
57112
57117
|
day.format(new Date(piece.date))
|
|
57113
57118
|
]
|
|
57114
57119
|
}),
|
|
57115
|
-
/* @__PURE__ */
|
|
57120
|
+
/* @__PURE__ */ jsx59("b", {
|
|
57116
57121
|
children: piece.title
|
|
57117
57122
|
}),
|
|
57118
|
-
piece.text && /* @__PURE__ */
|
|
57123
|
+
piece.text && /* @__PURE__ */ jsx59("span", {
|
|
57119
57124
|
children: piece.text
|
|
57120
57125
|
})
|
|
57121
57126
|
]
|
|
@@ -57123,38 +57128,38 @@ function PieceBody({ piece }) {
|
|
|
57123
57128
|
}
|
|
57124
57129
|
function WritingArchive(data) {
|
|
57125
57130
|
const thread = pieces(data);
|
|
57126
|
-
return /* @__PURE__ */
|
|
57131
|
+
return /* @__PURE__ */ jsxs43("section", {
|
|
57127
57132
|
id: "writing",
|
|
57128
57133
|
className: "archive",
|
|
57129
57134
|
children: [
|
|
57130
|
-
/* @__PURE__ */
|
|
57135
|
+
/* @__PURE__ */ jsx59("link", {
|
|
57131
57136
|
rel: "stylesheet",
|
|
57132
57137
|
href: "/styles/writing.css",
|
|
57133
57138
|
precedence: "page"
|
|
57134
57139
|
}),
|
|
57135
|
-
/* @__PURE__ */
|
|
57140
|
+
/* @__PURE__ */ jsxs43("header", {
|
|
57136
57141
|
className: "archive__head",
|
|
57137
57142
|
children: [
|
|
57138
|
-
/* @__PURE__ */
|
|
57143
|
+
/* @__PURE__ */ jsx59("p", {
|
|
57139
57144
|
className: "eyebrow",
|
|
57140
57145
|
children: "Writing"
|
|
57141
57146
|
}),
|
|
57142
|
-
/* @__PURE__ */
|
|
57147
|
+
/* @__PURE__ */ jsx59("h1", {
|
|
57143
57148
|
children: "Essays and presentations."
|
|
57144
57149
|
}),
|
|
57145
|
-
/* @__PURE__ */
|
|
57150
|
+
/* @__PURE__ */ jsx59("p", {
|
|
57146
57151
|
className: "lede",
|
|
57147
57152
|
children: "A working bibliography; new entries land roughly monthly."
|
|
57148
57153
|
}),
|
|
57149
|
-
/* @__PURE__ */
|
|
57154
|
+
/* @__PURE__ */ jsxs43("fieldset", {
|
|
57150
57155
|
className: "archive__filter",
|
|
57151
57156
|
children: [
|
|
57152
|
-
/* @__PURE__ */
|
|
57157
|
+
/* @__PURE__ */ jsx59("legend", {
|
|
57153
57158
|
children: "Show"
|
|
57154
57159
|
}),
|
|
57155
|
-
FILTERS.map((filter) => /* @__PURE__ */
|
|
57160
|
+
FILTERS.map((filter) => /* @__PURE__ */ jsxs43("label", {
|
|
57156
57161
|
children: [
|
|
57157
|
-
/* @__PURE__ */
|
|
57162
|
+
/* @__PURE__ */ jsx59("input", {
|
|
57158
57163
|
type: "radio",
|
|
57159
57164
|
name: "show",
|
|
57160
57165
|
value: filter.value,
|
|
@@ -57167,28 +57172,28 @@ function WritingArchive(data) {
|
|
|
57167
57172
|
})
|
|
57168
57173
|
]
|
|
57169
57174
|
}),
|
|
57170
|
-
thread.length === 0 ? /* @__PURE__ */
|
|
57175
|
+
thread.length === 0 ? /* @__PURE__ */ jsx59("p", {
|
|
57171
57176
|
className: "archive__empty",
|
|
57172
57177
|
children: "Nothing published yet."
|
|
57173
|
-
}) : /* @__PURE__ */
|
|
57178
|
+
}) : /* @__PURE__ */ jsx59("ol", {
|
|
57174
57179
|
className: "thread-list",
|
|
57175
|
-
children: thread.map((piece, i) => /* @__PURE__ */
|
|
57180
|
+
children: thread.map((piece, i) => /* @__PURE__ */ jsxs43("li", {
|
|
57176
57181
|
className: `piece piece--${piece.kind}`,
|
|
57177
57182
|
style: {
|
|
57178
57183
|
animationDelay: `${Math.round((0.4 + Math.min(i, 8) * 0.15) * 100) / 100}s`
|
|
57179
57184
|
},
|
|
57180
57185
|
children: [
|
|
57181
|
-
/* @__PURE__ */
|
|
57186
|
+
/* @__PURE__ */ jsx59("span", {
|
|
57182
57187
|
className: "piece__mark",
|
|
57183
57188
|
"aria-hidden": "true"
|
|
57184
57189
|
}),
|
|
57185
|
-
piece.url ? /* @__PURE__ */
|
|
57190
|
+
piece.url ? /* @__PURE__ */ jsx59("a", {
|
|
57186
57191
|
href: piece.url,
|
|
57187
|
-
children: /* @__PURE__ */
|
|
57192
|
+
children: /* @__PURE__ */ jsx59(PieceBody, {
|
|
57188
57193
|
piece
|
|
57189
57194
|
})
|
|
57190
|
-
}) : /* @__PURE__ */
|
|
57191
|
-
children: /* @__PURE__ */
|
|
57195
|
+
}) : /* @__PURE__ */ jsx59("div", {
|
|
57196
|
+
children: /* @__PURE__ */ jsx59(PieceBody, {
|
|
57192
57197
|
piece
|
|
57193
57198
|
})
|
|
57194
57199
|
})
|
|
@@ -57239,7 +57244,7 @@ function writingDataSource(shell) {
|
|
|
57239
57244
|
}
|
|
57240
57245
|
|
|
57241
57246
|
// src/work.tsx
|
|
57242
|
-
import { jsx as
|
|
57247
|
+
import { jsx as jsx60, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
57243
57248
|
var heroSchema2 = exports_external.object({
|
|
57244
57249
|
eyebrow: exports_external.string(),
|
|
57245
57250
|
headline: exports_external.string(),
|
|
@@ -57254,29 +57259,29 @@ function WorkHeroSection({
|
|
|
57254
57259
|
primaryCta,
|
|
57255
57260
|
secondaryCta
|
|
57256
57261
|
}) {
|
|
57257
|
-
return /* @__PURE__ */
|
|
57262
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57258
57263
|
id: "work-hero",
|
|
57259
57264
|
className: "chapter",
|
|
57260
57265
|
children: [
|
|
57261
|
-
/* @__PURE__ */
|
|
57266
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57262
57267
|
className: "eyebrow",
|
|
57263
57268
|
children: eyebrow
|
|
57264
57269
|
}),
|
|
57265
|
-
/* @__PURE__ */
|
|
57270
|
+
/* @__PURE__ */ jsx60("h1", {
|
|
57266
57271
|
children: emphasize(headline)
|
|
57267
57272
|
}),
|
|
57268
|
-
/* @__PURE__ */
|
|
57273
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57269
57274
|
className: "lede",
|
|
57270
57275
|
children: standfirst
|
|
57271
57276
|
}),
|
|
57272
|
-
/* @__PURE__ */
|
|
57277
|
+
/* @__PURE__ */ jsxs45("p", {
|
|
57273
57278
|
className: "doors-in",
|
|
57274
57279
|
children: [
|
|
57275
|
-
/* @__PURE__ */
|
|
57280
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57276
57281
|
href: primaryCta.href,
|
|
57277
57282
|
children: primaryCta.label
|
|
57278
57283
|
}),
|
|
57279
|
-
/* @__PURE__ */
|
|
57284
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57280
57285
|
href: secondaryCta.href,
|
|
57281
57286
|
children: secondaryCta.label
|
|
57282
57287
|
})
|
|
@@ -57295,18 +57300,18 @@ function WorkProblemSection({
|
|
|
57295
57300
|
headline,
|
|
57296
57301
|
intro
|
|
57297
57302
|
}) {
|
|
57298
|
-
return /* @__PURE__ */
|
|
57303
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57299
57304
|
id: "work-problem",
|
|
57300
57305
|
className: "chapter",
|
|
57301
57306
|
children: [
|
|
57302
|
-
/* @__PURE__ */
|
|
57307
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57303
57308
|
className: "eyebrow",
|
|
57304
57309
|
children: cap
|
|
57305
57310
|
}),
|
|
57306
|
-
/* @__PURE__ */
|
|
57311
|
+
/* @__PURE__ */ jsx60("h2", {
|
|
57307
57312
|
children: emphasize(headline)
|
|
57308
57313
|
}),
|
|
57309
|
-
/* @__PURE__ */
|
|
57314
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57310
57315
|
children: intro
|
|
57311
57316
|
})
|
|
57312
57317
|
]
|
|
@@ -57324,35 +57329,35 @@ function WorkAuditSection({
|
|
|
57324
57329
|
steps,
|
|
57325
57330
|
ctas
|
|
57326
57331
|
}) {
|
|
57327
|
-
return /* @__PURE__ */
|
|
57332
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57328
57333
|
id: "audit",
|
|
57329
57334
|
className: "chapter",
|
|
57330
57335
|
"data-title": "The Knowledge Audit",
|
|
57331
57336
|
children: [
|
|
57332
|
-
/* @__PURE__ */
|
|
57337
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57333
57338
|
className: "eyebrow",
|
|
57334
57339
|
children: cap
|
|
57335
57340
|
}),
|
|
57336
|
-
/* @__PURE__ */
|
|
57341
|
+
/* @__PURE__ */ jsx60("h2", {
|
|
57337
57342
|
children: emphasize(headline)
|
|
57338
57343
|
}),
|
|
57339
|
-
/* @__PURE__ */
|
|
57344
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57340
57345
|
children: intro
|
|
57341
57346
|
}),
|
|
57342
|
-
/* @__PURE__ */
|
|
57347
|
+
/* @__PURE__ */ jsx60("ol", {
|
|
57343
57348
|
className: "steps",
|
|
57344
|
-
children: steps.map((step) => /* @__PURE__ */
|
|
57349
|
+
children: steps.map((step) => /* @__PURE__ */ jsxs45("li", {
|
|
57345
57350
|
children: [
|
|
57346
|
-
/* @__PURE__ */
|
|
57351
|
+
/* @__PURE__ */ jsx60("b", {
|
|
57347
57352
|
children: step.lead
|
|
57348
57353
|
}),
|
|
57349
|
-
/* @__PURE__ */
|
|
57354
|
+
/* @__PURE__ */ jsx60("span", {
|
|
57350
57355
|
children: step.text
|
|
57351
57356
|
})
|
|
57352
57357
|
]
|
|
57353
57358
|
}, step.lead))
|
|
57354
57359
|
}),
|
|
57355
|
-
ctas.map((cta) => /* @__PURE__ */
|
|
57360
|
+
ctas.map((cta) => /* @__PURE__ */ jsx60("a", {
|
|
57356
57361
|
className: "cta",
|
|
57357
57362
|
href: cta.href,
|
|
57358
57363
|
children: cta.label
|
|
@@ -57368,24 +57373,24 @@ function WorkPersonasSection({
|
|
|
57368
57373
|
cap,
|
|
57369
57374
|
personas
|
|
57370
57375
|
}) {
|
|
57371
|
-
return /* @__PURE__ */
|
|
57376
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57372
57377
|
id: "personas",
|
|
57373
57378
|
className: "chapter",
|
|
57374
57379
|
"data-title": cap,
|
|
57375
57380
|
children: [
|
|
57376
|
-
/* @__PURE__ */
|
|
57381
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57377
57382
|
className: "eyebrow",
|
|
57378
57383
|
children: cap
|
|
57379
57384
|
}),
|
|
57380
|
-
/* @__PURE__ */
|
|
57385
|
+
/* @__PURE__ */ jsx60("div", {
|
|
57381
57386
|
className: "voices",
|
|
57382
|
-
children: personas.map((persona) => /* @__PURE__ */
|
|
57387
|
+
children: personas.map((persona) => /* @__PURE__ */ jsxs45("blockquote", {
|
|
57383
57388
|
children: [
|
|
57384
|
-
/* @__PURE__ */
|
|
57389
|
+
/* @__PURE__ */ jsx60("small", {
|
|
57385
57390
|
children: persona.role
|
|
57386
57391
|
}),
|
|
57387
57392
|
persona.quote,
|
|
57388
|
-
/* @__PURE__ */
|
|
57393
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57389
57394
|
children: persona.text
|
|
57390
57395
|
})
|
|
57391
57396
|
]
|
|
@@ -57402,21 +57407,21 @@ function WorkQuotesSection({
|
|
|
57402
57407
|
cap,
|
|
57403
57408
|
quotes
|
|
57404
57409
|
}) {
|
|
57405
|
-
return /* @__PURE__ */
|
|
57410
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57406
57411
|
id: "proof",
|
|
57407
57412
|
className: "chapter",
|
|
57408
57413
|
"data-title": cap,
|
|
57409
57414
|
children: [
|
|
57410
|
-
/* @__PURE__ */
|
|
57415
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57411
57416
|
className: "eyebrow",
|
|
57412
57417
|
children: cap
|
|
57413
57418
|
}),
|
|
57414
|
-
/* @__PURE__ */
|
|
57419
|
+
/* @__PURE__ */ jsx60("div", {
|
|
57415
57420
|
className: "voices",
|
|
57416
|
-
children: quotes.map((quote) => /* @__PURE__ */
|
|
57421
|
+
children: quotes.map((quote) => /* @__PURE__ */ jsxs45("blockquote", {
|
|
57417
57422
|
children: [
|
|
57418
57423
|
quote.text,
|
|
57419
|
-
/* @__PURE__ */
|
|
57424
|
+
/* @__PURE__ */ jsx60("cite", {
|
|
57420
57425
|
children: quote.by
|
|
57421
57426
|
})
|
|
57422
57427
|
]
|
|
@@ -57433,30 +57438,30 @@ function WorkRosterSection({
|
|
|
57433
57438
|
cap,
|
|
57434
57439
|
people
|
|
57435
57440
|
}) {
|
|
57436
|
-
return /* @__PURE__ */
|
|
57441
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57437
57442
|
id: "people",
|
|
57438
57443
|
className: "chapter",
|
|
57439
57444
|
children: [
|
|
57440
|
-
/* @__PURE__ */
|
|
57445
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57441
57446
|
className: "eyebrow",
|
|
57442
57447
|
children: cap
|
|
57443
57448
|
}),
|
|
57444
|
-
/* @__PURE__ */
|
|
57449
|
+
/* @__PURE__ */ jsx60("ul", {
|
|
57445
57450
|
className: "people",
|
|
57446
|
-
children: people.map((person) => /* @__PURE__ */
|
|
57451
|
+
children: people.map((person) => /* @__PURE__ */ jsxs45("li", {
|
|
57447
57452
|
children: [
|
|
57448
|
-
/* @__PURE__ */
|
|
57453
|
+
/* @__PURE__ */ jsx60("b", {
|
|
57449
57454
|
children: person.name
|
|
57450
57455
|
}),
|
|
57451
|
-
/* @__PURE__ */
|
|
57456
|
+
/* @__PURE__ */ jsx60("span", {
|
|
57452
57457
|
children: person.role
|
|
57453
57458
|
})
|
|
57454
57459
|
]
|
|
57455
57460
|
}, person.name))
|
|
57456
57461
|
}),
|
|
57457
|
-
/* @__PURE__ */
|
|
57462
|
+
/* @__PURE__ */ jsx60("p", {
|
|
57458
57463
|
className: "onward",
|
|
57459
|
-
children: /* @__PURE__ */
|
|
57464
|
+
children: /* @__PURE__ */ jsx60("a", {
|
|
57460
57465
|
href: "/foundation",
|
|
57461
57466
|
children: "The research arm, at the Foundation"
|
|
57462
57467
|
})
|
|
@@ -57474,22 +57479,22 @@ function WorkCloserSection({
|
|
|
57474
57479
|
primaryCta,
|
|
57475
57480
|
secondaryCta
|
|
57476
57481
|
}) {
|
|
57477
|
-
return /* @__PURE__ */
|
|
57482
|
+
return /* @__PURE__ */ jsxs45("section", {
|
|
57478
57483
|
id: "closer",
|
|
57479
57484
|
className: "chapter",
|
|
57480
57485
|
"data-title": "Your team type",
|
|
57481
57486
|
children: [
|
|
57482
|
-
/* @__PURE__ */
|
|
57487
|
+
/* @__PURE__ */ jsx60("h2", {
|
|
57483
57488
|
children: emphasize(quote)
|
|
57484
57489
|
}),
|
|
57485
|
-
/* @__PURE__ */
|
|
57490
|
+
/* @__PURE__ */ jsxs45("p", {
|
|
57486
57491
|
className: "doors-in",
|
|
57487
57492
|
children: [
|
|
57488
|
-
/* @__PURE__ */
|
|
57493
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57489
57494
|
href: primaryCta.href,
|
|
57490
57495
|
children: primaryCta.label
|
|
57491
57496
|
}),
|
|
57492
|
-
/* @__PURE__ */
|
|
57497
|
+
/* @__PURE__ */ jsx60("a", {
|
|
57493
57498
|
href: secondaryCta.href,
|
|
57494
57499
|
children: secondaryCta.label
|
|
57495
57500
|
})
|
|
@@ -57530,7 +57535,7 @@ var workSections = sectionGroup("work", {
|
|
|
57530
57535
|
});
|
|
57531
57536
|
|
|
57532
57537
|
// src/foundation.tsx
|
|
57533
|
-
import { jsx as
|
|
57538
|
+
import { jsx as jsx61, jsxs as jsxs46, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
57534
57539
|
var EMPHASIS_CLS = "italic font-[400] text-accent";
|
|
57535
57540
|
var heroSchema3 = exports_external.object({
|
|
57536
57541
|
volume: exports_external.string(),
|
|
@@ -57546,29 +57551,29 @@ function FoundationHeroSection({
|
|
|
57546
57551
|
primaryCta,
|
|
57547
57552
|
secondaryCta
|
|
57548
57553
|
}) {
|
|
57549
|
-
return /* @__PURE__ */
|
|
57554
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57550
57555
|
id: "foundation-hero",
|
|
57551
57556
|
className: "chapter",
|
|
57552
57557
|
children: [
|
|
57553
|
-
/* @__PURE__ */
|
|
57558
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57554
57559
|
className: "eyebrow",
|
|
57555
57560
|
children: "Foundation"
|
|
57556
57561
|
}),
|
|
57557
|
-
/* @__PURE__ */
|
|
57562
|
+
/* @__PURE__ */ jsx61("h1", {
|
|
57558
57563
|
children: renderHighlightedText(headline, EMPHASIS_CLS)
|
|
57559
57564
|
}),
|
|
57560
|
-
/* @__PURE__ */
|
|
57565
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57561
57566
|
className: "lede",
|
|
57562
57567
|
children: standfirst
|
|
57563
57568
|
}),
|
|
57564
|
-
/* @__PURE__ */
|
|
57569
|
+
/* @__PURE__ */ jsxs46("p", {
|
|
57565
57570
|
className: "doors-in",
|
|
57566
57571
|
children: [
|
|
57567
|
-
/* @__PURE__ */
|
|
57572
|
+
/* @__PURE__ */ jsx61("a", {
|
|
57568
57573
|
href: primaryCta.href,
|
|
57569
57574
|
children: primaryCta.label
|
|
57570
57575
|
}),
|
|
57571
|
-
/* @__PURE__ */
|
|
57576
|
+
/* @__PURE__ */ jsx61("a", {
|
|
57572
57577
|
href: secondaryCta.href,
|
|
57573
57578
|
children: secondaryCta.label
|
|
57574
57579
|
})
|
|
@@ -57592,24 +57597,24 @@ var indexSchema = exports_external.object({
|
|
|
57592
57597
|
items: exports_external.array(indexRowSchema)
|
|
57593
57598
|
});
|
|
57594
57599
|
function Entry({ row }) {
|
|
57595
|
-
const body = /* @__PURE__ */
|
|
57600
|
+
const body = /* @__PURE__ */ jsxs46(Fragment27, {
|
|
57596
57601
|
children: [
|
|
57597
|
-
/* @__PURE__ */
|
|
57602
|
+
/* @__PURE__ */ jsx61("small", {
|
|
57598
57603
|
children: row.kicker
|
|
57599
57604
|
}),
|
|
57600
|
-
/* @__PURE__ */
|
|
57605
|
+
/* @__PURE__ */ jsx61("b", {
|
|
57601
57606
|
children: row.title
|
|
57602
57607
|
}),
|
|
57603
|
-
/* @__PURE__ */
|
|
57608
|
+
/* @__PURE__ */ jsx61("span", {
|
|
57604
57609
|
children: [row.text, row.metaSub].filter(Boolean).join(" ")
|
|
57605
57610
|
})
|
|
57606
57611
|
]
|
|
57607
57612
|
});
|
|
57608
|
-
return /* @__PURE__ */
|
|
57609
|
-
children: row.href ? /* @__PURE__ */
|
|
57613
|
+
return /* @__PURE__ */ jsx61("li", {
|
|
57614
|
+
children: row.href ? /* @__PURE__ */ jsx61("a", {
|
|
57610
57615
|
href: row.href,
|
|
57611
57616
|
children: body
|
|
57612
|
-
}) : /* @__PURE__ */
|
|
57617
|
+
}) : /* @__PURE__ */ jsx61("div", {
|
|
57613
57618
|
children: body
|
|
57614
57619
|
})
|
|
57615
57620
|
});
|
|
@@ -57620,20 +57625,20 @@ function EntriesChapter({
|
|
|
57620
57625
|
title,
|
|
57621
57626
|
items
|
|
57622
57627
|
}) {
|
|
57623
|
-
return /* @__PURE__ */
|
|
57628
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57624
57629
|
id,
|
|
57625
57630
|
className: "chapter",
|
|
57626
57631
|
children: [
|
|
57627
|
-
/* @__PURE__ */
|
|
57632
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57628
57633
|
className: "eyebrow",
|
|
57629
57634
|
children: cap
|
|
57630
57635
|
}),
|
|
57631
|
-
/* @__PURE__ */
|
|
57636
|
+
/* @__PURE__ */ jsx61("h2", {
|
|
57632
57637
|
children: title
|
|
57633
57638
|
}),
|
|
57634
|
-
/* @__PURE__ */
|
|
57639
|
+
/* @__PURE__ */ jsx61("ul", {
|
|
57635
57640
|
className: "entries",
|
|
57636
|
-
children: items.map((row) => /* @__PURE__ */
|
|
57641
|
+
children: items.map((row) => /* @__PURE__ */ jsx61(Entry, {
|
|
57637
57642
|
row
|
|
57638
57643
|
}, row.title))
|
|
57639
57644
|
})
|
|
@@ -57644,7 +57649,7 @@ function FoundationResearchSection({
|
|
|
57644
57649
|
cap,
|
|
57645
57650
|
items
|
|
57646
57651
|
}) {
|
|
57647
|
-
return /* @__PURE__ */
|
|
57652
|
+
return /* @__PURE__ */ jsx61(EntriesChapter, {
|
|
57648
57653
|
id: "research",
|
|
57649
57654
|
cap,
|
|
57650
57655
|
title: "A working bibliography.",
|
|
@@ -57655,7 +57660,7 @@ function FoundationChaptersSection({
|
|
|
57655
57660
|
cap,
|
|
57656
57661
|
items
|
|
57657
57662
|
}) {
|
|
57658
|
-
return /* @__PURE__ */
|
|
57663
|
+
return /* @__PURE__ */ jsx61(EntriesChapter, {
|
|
57659
57664
|
id: "events",
|
|
57660
57665
|
cap,
|
|
57661
57666
|
title: "Twenty to forty people, city by city.",
|
|
@@ -57670,16 +57675,16 @@ function FoundationPullquoteSection({
|
|
|
57670
57675
|
quote,
|
|
57671
57676
|
attribution
|
|
57672
57677
|
}) {
|
|
57673
|
-
return /* @__PURE__ */
|
|
57678
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57674
57679
|
id: "pullquote",
|
|
57675
57680
|
className: "chapter",
|
|
57676
57681
|
"data-title": "The pattern",
|
|
57677
57682
|
children: [
|
|
57678
|
-
/* @__PURE__ */
|
|
57683
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57679
57684
|
className: "pull",
|
|
57680
57685
|
children: renderHighlightedText(quote, EMPHASIS_CLS)
|
|
57681
57686
|
}),
|
|
57682
|
-
/* @__PURE__ */
|
|
57687
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57683
57688
|
children: attribution
|
|
57684
57689
|
})
|
|
57685
57690
|
]
|
|
@@ -57698,32 +57703,32 @@ function FoundationSupportSection({
|
|
|
57698
57703
|
cap,
|
|
57699
57704
|
options: options3
|
|
57700
57705
|
}) {
|
|
57701
|
-
return /* @__PURE__ */
|
|
57706
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57702
57707
|
id: "support",
|
|
57703
57708
|
className: "chapter",
|
|
57704
57709
|
children: [
|
|
57705
|
-
/* @__PURE__ */
|
|
57710
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57706
57711
|
className: "eyebrow",
|
|
57707
57712
|
children: cap
|
|
57708
57713
|
}),
|
|
57709
|
-
/* @__PURE__ */
|
|
57714
|
+
/* @__PURE__ */ jsx61("h2", {
|
|
57710
57715
|
children: "Two ways the work gets funded."
|
|
57711
57716
|
}),
|
|
57712
|
-
/* @__PURE__ */
|
|
57717
|
+
/* @__PURE__ */ jsx61("dl", {
|
|
57713
57718
|
className: "parts",
|
|
57714
|
-
children: options3.map((option) => /* @__PURE__ */
|
|
57719
|
+
children: options3.map((option) => /* @__PURE__ */ jsxs46("div", {
|
|
57715
57720
|
children: [
|
|
57716
|
-
/* @__PURE__ */
|
|
57721
|
+
/* @__PURE__ */ jsxs46("dt", {
|
|
57717
57722
|
children: [
|
|
57718
57723
|
option.kicker,
|
|
57719
57724
|
" ",
|
|
57720
|
-
/* @__PURE__ */
|
|
57725
|
+
/* @__PURE__ */ jsx61("span", {
|
|
57721
57726
|
className: "status",
|
|
57722
57727
|
children: option.amount
|
|
57723
57728
|
})
|
|
57724
57729
|
]
|
|
57725
57730
|
}),
|
|
57726
|
-
/* @__PURE__ */
|
|
57731
|
+
/* @__PURE__ */ jsx61("dd", {
|
|
57727
57732
|
children: option.text
|
|
57728
57733
|
})
|
|
57729
57734
|
]
|
|
@@ -57740,18 +57745,18 @@ function FoundationFollowSection({
|
|
|
57740
57745
|
claim,
|
|
57741
57746
|
links
|
|
57742
57747
|
}) {
|
|
57743
|
-
return /* @__PURE__ */
|
|
57748
|
+
return /* @__PURE__ */ jsxs46("section", {
|
|
57744
57749
|
id: "follow",
|
|
57745
57750
|
className: "chapter",
|
|
57746
57751
|
"data-title": "Follow the research",
|
|
57747
57752
|
children: [
|
|
57748
|
-
/* @__PURE__ */
|
|
57753
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57749
57754
|
className: "pull",
|
|
57750
57755
|
children: renderHighlightedText(claim, "not-italic font-medium text-theme")
|
|
57751
57756
|
}),
|
|
57752
|
-
/* @__PURE__ */
|
|
57757
|
+
/* @__PURE__ */ jsx61("p", {
|
|
57753
57758
|
className: "follow",
|
|
57754
|
-
children: links.map((link2) => /* @__PURE__ */
|
|
57759
|
+
children: links.map((link2) => /* @__PURE__ */ jsx61("a", {
|
|
57755
57760
|
href: link2.href,
|
|
57756
57761
|
children: link2.label
|
|
57757
57762
|
}, link2.href + link2.label))
|
|
@@ -57801,7 +57806,6 @@ var aiRoutes = [
|
|
|
57801
57806
|
{ id: "turn", template: "living-memory:turn" },
|
|
57802
57807
|
{ id: "growth", template: "living-memory:growth" },
|
|
57803
57808
|
{ id: "arc", template: "living-memory:arc" },
|
|
57804
|
-
{ id: "asked", template: "rizom:asked", dataQuery: {} },
|
|
57805
57809
|
{ id: "doors", template: "living-memory:doors" }
|
|
57806
57810
|
]
|
|
57807
57811
|
},
|
|
@@ -57825,12 +57829,13 @@ var aiRoutes = [
|
|
|
57825
57829
|
{
|
|
57826
57830
|
id: "public-ask",
|
|
57827
57831
|
path: "/ask",
|
|
57828
|
-
title: "Ask
|
|
57832
|
+
title: "Ask the network",
|
|
57829
57833
|
description: "Ask a question of Rizom's public Brain knowledge",
|
|
57830
57834
|
layout: "default",
|
|
57831
57835
|
navigation: { show: false },
|
|
57832
57836
|
sections: [
|
|
57833
|
-
{ id: "
|
|
57837
|
+
{ id: "ask", template: "rizom:ask-room", dataQuery: {} },
|
|
57838
|
+
{ id: "asked", template: "rizom:asked", dataQuery: {} }
|
|
57834
57839
|
]
|
|
57835
57840
|
},
|
|
57836
57841
|
{
|
|
@@ -57877,48 +57882,6 @@ var aiRoutes = [
|
|
|
57877
57882
|
}
|
|
57878
57883
|
];
|
|
57879
57884
|
|
|
57880
|
-
// src/public-ask.tsx
|
|
57881
|
-
import { jsx as jsx61, jsxs as jsxs46, Fragment as Fragment27 } from "react/jsx-runtime";
|
|
57882
|
-
function PublicAsk() {
|
|
57883
|
-
return /* @__PURE__ */ jsxs46(Fragment27, {
|
|
57884
|
-
children: [
|
|
57885
|
-
/* @__PURE__ */ jsx61("link", {
|
|
57886
|
-
rel: "stylesheet",
|
|
57887
|
-
href: "/ask/assets/ask.css"
|
|
57888
|
-
}),
|
|
57889
|
-
/* @__PURE__ */ jsx61("link", {
|
|
57890
|
-
rel: "stylesheet",
|
|
57891
|
-
href: "/ask/assets/page.css"
|
|
57892
|
-
}),
|
|
57893
|
-
/* @__PURE__ */ jsxs46("div", {
|
|
57894
|
-
"data-web-chat-root": "",
|
|
57895
|
-
"data-guest-chat": "",
|
|
57896
|
-
"data-guest-name": "Rizom AI",
|
|
57897
|
-
"data-guest-label": "Rizom AI",
|
|
57898
|
-
"data-chat-api-path": "/api/chat/guest",
|
|
57899
|
-
children: [
|
|
57900
|
-
/* @__PURE__ */ jsx61("p", {
|
|
57901
|
-
children: "Connecting to public Ask\u2026"
|
|
57902
|
-
}),
|
|
57903
|
-
/* @__PURE__ */ jsx61("noscript", {
|
|
57904
|
-
children: "JavaScript is needed to ask a question. No question has been sent."
|
|
57905
|
-
})
|
|
57906
|
-
]
|
|
57907
|
-
}),
|
|
57908
|
-
/* @__PURE__ */ jsx61("script", {
|
|
57909
|
-
type: "module",
|
|
57910
|
-
src: "/ask/assets/ask.js"
|
|
57911
|
-
})
|
|
57912
|
-
]
|
|
57913
|
-
});
|
|
57914
|
-
}
|
|
57915
|
-
var publicAskSections = sectionGroup("public-ask", {
|
|
57916
|
-
conversation: defineSection(exports_external.object({}), PublicAsk, {
|
|
57917
|
-
title: "Public Ask",
|
|
57918
|
-
description: "The shared guest conversation inside the site's own layout"
|
|
57919
|
-
})
|
|
57920
|
-
});
|
|
57921
|
-
|
|
57922
57885
|
// src/site.ts
|
|
57923
57886
|
var rizomAiSite = createRizomSite({
|
|
57924
57887
|
packageName: "@rizom/site-rizom-ai",
|
|
@@ -57929,7 +57892,8 @@ var rizomAiSite = createRizomSite({
|
|
|
57929
57892
|
templates: {
|
|
57930
57893
|
opening: openingTemplate,
|
|
57931
57894
|
writing: writingTemplate,
|
|
57932
|
-
asked: askedTemplate
|
|
57895
|
+
asked: askedTemplate,
|
|
57896
|
+
"ask-room": askRoomTemplate
|
|
57933
57897
|
},
|
|
57934
57898
|
dataSourceFactories: [
|
|
57935
57899
|
openingDataSource,
|
|
@@ -57940,7 +57904,6 @@ var rizomAiSite = createRizomSite({
|
|
|
57940
57904
|
sections: [
|
|
57941
57905
|
livingMemorySections,
|
|
57942
57906
|
brainSections,
|
|
57943
|
-
publicAskSections,
|
|
57944
57907
|
workSections,
|
|
57945
57908
|
foundationSections
|
|
57946
57909
|
],
|
|
@@ -57980,4 +57943,4 @@ export {
|
|
|
57980
57943
|
workSections
|
|
57981
57944
|
};
|
|
57982
57945
|
|
|
57983
|
-
//# debugId=
|
|
57946
|
+
//# debugId=E05C3A61E545CF7C64756E2164756E21
|