@abraca/junis 2.86.0 → 2.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +4 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +82 -8
- package/dist/runtime/assets/css/jun.css +2 -2
- package/dist/runtime/components/JunDocSurface.d.vue.ts +20 -2
- package/dist/runtime/components/JunDocSurface.vue +30 -2
- package/dist/runtime/components/JunDocSurface.vue.d.ts +20 -2
- package/dist/runtime/components/JunHead.vue +16 -4
- package/dist/runtime/components/JunNavDock.d.vue.ts +15 -0
- package/dist/runtime/components/JunNavDock.vue +94 -0
- package/dist/runtime/components/JunNavDock.vue.d.ts +15 -0
- package/dist/runtime/components/JunNavMenu.client.d.vue.ts +15 -0
- package/dist/runtime/components/JunNavMenu.client.vue +478 -0
- package/dist/runtime/components/JunNavMenu.client.vue.d.ts +15 -0
- package/dist/runtime/components/JunNavPreview.d.vue.ts +17 -0
- package/dist/runtime/components/JunNavPreview.vue +169 -0
- package/dist/runtime/components/JunNavPreview.vue.d.ts +17 -0
- package/dist/runtime/components/JunNavigation.d.vue.ts +4 -11
- package/dist/runtime/components/JunNavigation.vue +813 -138
- package/dist/runtime/components/JunNavigation.vue.d.ts +4 -11
- package/dist/runtime/components/JunNoteLinks.vue +1 -1
- package/dist/runtime/components/JunPageHero.vue +3 -3
- package/dist/runtime/components/JunSectionBar.d.vue.ts +41 -0
- package/dist/runtime/components/JunSectionBar.vue +144 -0
- package/dist/runtime/components/JunSectionBar.vue.d.ts +41 -0
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +486 -6
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +48 -0
- package/dist/runtime/components/renderers/JunGlobeRenderer.vue +43 -26
- package/dist/runtime/composables/useJunCreatePage.js +7 -1
- package/dist/runtime/composables/useJunDocPage.d.ts +28 -0
- package/dist/runtime/composables/useJunDocPage.js +111 -20
- package/dist/runtime/composables/useJunGarden.d.ts +1 -1
- package/dist/runtime/composables/useJunGarden.js +3 -2
- package/dist/runtime/composables/useJunGestures.d.ts +53 -0
- package/dist/runtime/composables/useJunGestures.js +89 -0
- package/dist/runtime/composables/useJunMenuState.d.ts +4 -0
- package/dist/runtime/composables/useJunMenuState.js +5 -0
- package/dist/runtime/composables/useJunNavItems.d.ts +50 -0
- package/dist/runtime/composables/useJunNavItems.js +188 -0
- package/dist/runtime/composables/useJunNavSettings.d.ts +58 -1
- package/dist/runtime/composables/useJunNavSettings.js +110 -8
- package/dist/runtime/composables/useJunOptions.d.ts +1 -0
- package/dist/runtime/composables/useJunSiblings.d.ts +30 -0
- package/dist/runtime/composables/useJunSiblings.js +38 -0
- package/dist/runtime/composables/useJunSiteConfig.d.ts +51 -3
- package/dist/runtime/composables/useJunTheme.js +4 -1
- package/dist/runtime/composables/useJunViewingAccent.js +10 -0
- package/dist/runtime/layouts/jun.vue +21 -1
- package/dist/runtime/pages/doc.vue +41 -35
- package/dist/runtime/pages/index.vue +63 -35
- package/dist/runtime/plugins/jun-doc-tree.d.ts +2 -0
- package/dist/runtime/plugins/jun-doc-tree.js +26 -0
- package/dist/runtime/server/api/health.get.d.ts +15 -0
- package/dist/runtime/server/api/health.get.js +7 -2
- package/dist/runtime/server/api/links.get.js +27 -3
- package/dist/runtime/server/api/resolve/[...slug].get.d.ts +20 -0
- package/dist/runtime/server/api/resolve/[...slug].get.js +33 -2
- package/dist/runtime/server/api/search.get.d.ts +1 -1
- package/dist/runtime/server/api/search.get.js +42 -39
- package/dist/runtime/server/api/tree.get.d.ts +9 -0
- package/dist/runtime/server/api/tree.get.js +25 -0
- package/dist/runtime/server/janitor/junJanitorActor.d.ts +13 -0
- package/dist/runtime/server/janitor/junJanitorActor.js +36 -5
- package/dist/runtime/server/janitor/junJanitorChores.d.ts +14 -7
- package/dist/runtime/server/janitor/junJanitorChores.js +21 -3
- package/dist/runtime/server/janitor/junJanitorMachine.js +36 -4
- package/dist/runtime/server/janitor/junJanitorPerform.d.ts +15 -1
- package/dist/runtime/server/janitor/junJanitorPerform.js +13 -5
- package/dist/runtime/server/janitor/junJanitorYText.d.ts +40 -3
- package/dist/runtime/server/janitor/junJanitorYText.js +60 -14
- package/dist/runtime/server/plugins/jun-janitor.js +132 -81
- package/dist/runtime/server/routes/jun-card.png.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-card.png.get.js +40 -0
- package/dist/runtime/server/utils/junCard.d.ts +39 -0
- package/dist/runtime/server/utils/junCard.js +159 -0
- package/dist/runtime/server/utils/junIcon.d.ts +27 -2
- package/dist/runtime/server/utils/junIcon.js +5 -5
- package/dist/runtime/server/utils/junJanitorStatus.d.ts +59 -0
- package/dist/runtime/server/utils/junJanitorStatus.js +27 -0
- package/dist/runtime/types.d.ts +225 -0
- package/dist/runtime/utils/junAdopt.d.ts +43 -0
- package/dist/runtime/utils/junAdopt.js +7 -0
- package/dist/runtime/utils/junGesture.d.ts +84 -0
- package/dist/runtime/utils/junGesture.js +40 -0
- package/dist/runtime/utils/junLetters.d.ts +86 -0
- package/dist/runtime/utils/junLetters.js +173 -0
- package/dist/runtime/utils/junNavValue.d.ts +56 -0
- package/dist/runtime/utils/junNavValue.js +36 -0
- package/dist/runtime/utils/junSearchRank.d.ts +79 -0
- package/dist/runtime/utils/junSearchRank.js +73 -0
- package/dist/runtime/utils/junSocial.d.ts +59 -0
- package/dist/runtime/utils/junSocial.js +56 -0
- package/dist/runtime/utils/junViewSpecs.d.ts +38 -0
- package/dist/runtime/utils/junViewSpecs.js +92 -1
- package/package.json +10 -8
- /package/dist/runtime/components/{JunSectionPresence.client.d.vue.ts → JunSectionPresence.d.vue.ts} +0 -0
- /package/dist/runtime/components/{JunSectionPresence.client.vue → JunSectionPresence.vue} +0 -0
- /package/dist/runtime/components/{JunSectionPresence.client.vue.d.ts → JunSectionPresence.vue.d.ts} +0 -0
package/dist/module.d.mts
CHANGED
|
@@ -154,8 +154,10 @@ interface ModuleOptions {
|
|
|
154
154
|
*/
|
|
155
155
|
apiBase?: string;
|
|
156
156
|
/**
|
|
157
|
-
* Contribute the
|
|
158
|
-
*
|
|
157
|
+
* Contribute the `@nuxt/fonts` families the `themeFont` presets need —
|
|
158
|
+
* Outfit, Instrument Serif, Newsreader, Space Grotesk and JetBrains Mono for
|
|
159
|
+
* the single-face presets, plus Playfair Display, Source Serif 4, Fraunces,
|
|
160
|
+
* Inter and the two IBM Plex faces for the pairings.
|
|
159
161
|
* They are lazy — a face only downloads while its preset class applies.
|
|
160
162
|
*/
|
|
161
163
|
fonts?: boolean;
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { existsSync } from 'node:fs';
|
|
1
|
+
import { existsSync, readFileSync } from 'node:fs';
|
|
2
2
|
import { defineNuxtModule, createResolver, hasNuxtModule, installModule, addImportsDir, addComponentsDir, addPluginTemplate, addPlugin, addLayout, extendPages, addServerImportsDir, addServerHandler, addServerPlugin } from '@nuxt/kit';
|
|
3
3
|
import { defu } from 'defu';
|
|
4
4
|
import { JUN_RUNTIME_BACKDROPS } from '../dist/runtime/types.js';
|
|
@@ -592,7 +592,37 @@ const DEFAULT_NAVIGATION = {
|
|
|
592
592
|
// visitor and the page they are on — which is a disclosure a site should opt
|
|
593
593
|
// into rather than inherit. The campfire is where a real user center lives.
|
|
594
594
|
travellers: false,
|
|
595
|
-
travellersList: false
|
|
595
|
+
travellersList: false,
|
|
596
|
+
// The section bar is OFF: it is a new row of chrome on every nested page, and
|
|
597
|
+
// a site that upgrades must look exactly as it did until somebody picks it.
|
|
598
|
+
section: "off",
|
|
599
|
+
counts: "off",
|
|
600
|
+
// ── Mobile ────────────────────────────────────────────────────────────────
|
|
601
|
+
// `track` is the navbar phones have always had: the same scrolling row of
|
|
602
|
+
// items, narrower. Every other mode is an opt-in, so an upgrade changes
|
|
603
|
+
// nothing until an owner picks one.
|
|
604
|
+
mobileMode: "track",
|
|
605
|
+
mobilePlacement: "inherit",
|
|
606
|
+
breakpoint: "sm",
|
|
607
|
+
menuIcon: "menu",
|
|
608
|
+
menuSide: "right",
|
|
609
|
+
mobileItemMode: "inherit",
|
|
610
|
+
menuChildren: false,
|
|
611
|
+
menuExtras: true,
|
|
612
|
+
desktopMenu: false,
|
|
613
|
+
// ── Track layout ──────────────────────────────────────────────────────────
|
|
614
|
+
// All five describe what this track already did; they exist so it can now do
|
|
615
|
+
// something else.
|
|
616
|
+
overflow: "scroll",
|
|
617
|
+
children: "none",
|
|
618
|
+
align: "center",
|
|
619
|
+
width: "contained",
|
|
620
|
+
separators: false,
|
|
621
|
+
scrollArrows: true,
|
|
622
|
+
edgeFade: false,
|
|
623
|
+
snap: true,
|
|
624
|
+
// The `1024px` that was hard-coded in `JunNavigation`'s rail fallback.
|
|
625
|
+
railBreakpoint: "lg"
|
|
596
626
|
};
|
|
597
627
|
const DEFAULT_CAMPFIRE = {
|
|
598
628
|
title: "User Center",
|
|
@@ -631,7 +661,16 @@ const FONT_FAMILIES = [
|
|
|
631
661
|
{ name: "Instrument Serif", provider: "google", fallbacks: ["Georgia", "serif"], weights: [400], styles: ["normal", "italic"], display: "swap" },
|
|
632
662
|
{ name: "Newsreader", provider: "google", fallbacks: ["Georgia", "serif"], weights: [400, 500, 600], styles: ["normal", "italic"], display: "swap" },
|
|
633
663
|
{ name: "Space Grotesk", provider: "google", fallbacks: ["system-ui", "sans-serif"], weights: [300, 400, 500, 600, 700], styles: ["normal"], display: "swap" },
|
|
634
|
-
{ name: "JetBrains Mono", provider: "google", fallbacks: ["ui-monospace", "monospace"], weights: [400, 500, 600], styles: ["normal"], display: "swap" }
|
|
664
|
+
{ name: "JetBrains Mono", provider: "google", fallbacks: ["ui-monospace", "monospace"], weights: [400, 500, 600], styles: ["normal"], display: "swap" },
|
|
665
|
+
// The three PAIRINGS. Two faces each — a body face and a display face — and
|
|
666
|
+
// the same lazy contract: a family is downloaded only while its preset class
|
|
667
|
+
// is on <html>, so a site pays for the one it wears and nothing else.
|
|
668
|
+
{ name: "Playfair Display", provider: "google", fallbacks: ["Georgia", "serif"], weights: [400, 500, 600, 700], styles: ["normal", "italic"], display: "swap" },
|
|
669
|
+
{ name: "Source Serif 4", provider: "google", fallbacks: ["Georgia", "serif"], weights: [300, 400, 600], styles: ["normal", "italic"], display: "swap" },
|
|
670
|
+
{ name: "Fraunces", provider: "google", fallbacks: ["Georgia", "serif"], weights: [400, 500, 600, 700], styles: ["normal", "italic"], display: "swap" },
|
|
671
|
+
{ name: "Inter", provider: "google", fallbacks: ["system-ui", "sans-serif"], weights: [300, 400, 500, 600, 700], styles: ["normal"], display: "swap" },
|
|
672
|
+
{ name: "IBM Plex Sans", provider: "google", fallbacks: ["system-ui", "sans-serif"], weights: [300, 400, 500, 600], styles: ["normal"], display: "swap" },
|
|
673
|
+
{ name: "IBM Plex Mono", provider: "google", fallbacks: ["ui-monospace", "monospace"], weights: [400, 500, 600], styles: ["normal"], display: "swap" }
|
|
635
674
|
];
|
|
636
675
|
function nuxtOptionsRecord(nuxt) {
|
|
637
676
|
return nuxt.options;
|
|
@@ -647,6 +686,13 @@ function siblingOptions(nuxt, key) {
|
|
|
647
686
|
all[key] = created;
|
|
648
687
|
return created;
|
|
649
688
|
}
|
|
689
|
+
function moduleVersion(resolver) {
|
|
690
|
+
try {
|
|
691
|
+
return JSON.parse(readFileSync(resolver.resolve("../package.json"), "utf8")).version ?? "0.0.0";
|
|
692
|
+
} catch {
|
|
693
|
+
return "0.0.0";
|
|
694
|
+
}
|
|
695
|
+
}
|
|
650
696
|
function resolveJanitor(options, featureOn) {
|
|
651
697
|
const name = options?.name ?? "janitor";
|
|
652
698
|
return {
|
|
@@ -709,6 +755,9 @@ const module$1 = defineNuxtModule({
|
|
|
709
755
|
openEditing: false,
|
|
710
756
|
search: true,
|
|
711
757
|
feeds: true,
|
|
758
|
+
socialCards: true,
|
|
759
|
+
gestures: true,
|
|
760
|
+
lockZoom: false,
|
|
712
761
|
sitemap: true,
|
|
713
762
|
rpc: true,
|
|
714
763
|
docCache: true,
|
|
@@ -849,12 +898,18 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
849
898
|
return map;
|
|
850
899
|
}
|
|
851
900
|
const runtime = {
|
|
901
|
+
version: moduleVersion(resolver),
|
|
902
|
+
// Evaluated when the module's `setup()` runs — which is `nuxt build` for
|
|
903
|
+
// an image, and process start in dev. Both are the answer to "how old is
|
|
904
|
+
// the code answering this request".
|
|
905
|
+
builtAt: Date.now(),
|
|
852
906
|
brand: {
|
|
853
907
|
name: options.brand?.name ?? "Jun!s",
|
|
854
908
|
tagline: options.brand?.tagline ?? "",
|
|
855
909
|
// A site with no explicit SEO description describes itself with its
|
|
856
910
|
// tagline rather than with its own title, which is what a page with
|
|
857
911
|
// no prose otherwise ends up doing.
|
|
912
|
+
lang: options.brand?.lang ?? "en",
|
|
858
913
|
seoDescription: options.brand?.seoDescription ?? options.brand?.tagline ?? "",
|
|
859
914
|
avatar: options.brand?.avatar ?? "",
|
|
860
915
|
// The sun. It is the one mark that carries a colour, and that colour
|
|
@@ -1008,8 +1063,21 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
1008
1063
|
ignore: runtime.features.backdrop === "shader" ? [] : ["**/JunShaderBackdrop.client.vue"]
|
|
1009
1064
|
});
|
|
1010
1065
|
addPluginTemplate({
|
|
1011
|
-
|
|
1012
|
-
|
|
1066
|
+
// BOTH sides. This was `jun-page-types.client.mjs` + `mode: 'client'`,
|
|
1067
|
+
// which was consistent with renderers being client-only — and it was the
|
|
1068
|
+
// last thing keeping them that way. `ADocRenderer` resolves a document's
|
|
1069
|
+
// renderer through this registry, so on the server NO page type existed:
|
|
1070
|
+
// every structured page fell back to the default editor and server-
|
|
1071
|
+
// rendered a loading skeleton. A poll, a cinema, a library and the front
|
|
1072
|
+
// page all shipped a breadcrumb and three pulsing grey bars.
|
|
1073
|
+
//
|
|
1074
|
+
// The extension matters as much as the option: Nuxt reads `.client.mjs`
|
|
1075
|
+
// as client-only whatever `mode` says.
|
|
1076
|
+
//
|
|
1077
|
+
// The renderers stay LAZY, which is what the note below is about — an
|
|
1078
|
+
// async component is imported when it is first rendered, so the server
|
|
1079
|
+
// pulls in exactly the one page type it is rendering and never the rest.
|
|
1080
|
+
filename: "jun-page-types.mjs",
|
|
1013
1081
|
getContents: () => {
|
|
1014
1082
|
const imports = enabled.map(
|
|
1015
1083
|
(e) => `const ${e.key}Renderer = defineAsyncComponent(() => import(${JSON.stringify(
|
|
@@ -1075,6 +1143,7 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
1075
1143
|
mode: "client"
|
|
1076
1144
|
});
|
|
1077
1145
|
addPlugin({ src: resolver.resolve("./runtime/plugins/jun-site-config") });
|
|
1146
|
+
addPlugin({ src: resolver.resolve("./runtime/plugins/jun-doc-tree") });
|
|
1078
1147
|
if (options.layoutName !== false) {
|
|
1079
1148
|
addLayout(
|
|
1080
1149
|
{ src: resolver.resolve("./runtime/layouts/jun.vue") },
|
|
@@ -1105,8 +1174,10 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
1105
1174
|
const base = runtime.apiBase;
|
|
1106
1175
|
addServerImportsDir(resolver.resolve("./runtime/server/utils"));
|
|
1107
1176
|
addServerHandler({ route: `${base}/nav`, handler: resolver.resolve("./runtime/server/api/nav.get") });
|
|
1177
|
+
addServerHandler({ route: `${base}/tree`, handler: resolver.resolve("./runtime/server/api/tree.get") });
|
|
1108
1178
|
addServerHandler({ route: `${base}/site-config`, handler: resolver.resolve("./runtime/server/api/site-config.get") });
|
|
1109
1179
|
addServerHandler({ route: `${base}/resolve/**`, handler: resolver.resolve("./runtime/server/api/resolve/[...slug].get") });
|
|
1180
|
+
addServerHandler({ route: `${base}/resolve`, handler: resolver.resolve("./runtime/server/api/resolve/[...slug].get") });
|
|
1110
1181
|
if (enabled.some((e) => e.key === "stats")) {
|
|
1111
1182
|
addServerHandler({ route: `${base}/stats`, handler: resolver.resolve("./runtime/server/api/stats.get") });
|
|
1112
1183
|
}
|
|
@@ -1126,6 +1197,9 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
1126
1197
|
if (runtime.features.sitemap) {
|
|
1127
1198
|
addServerHandler({ route: "/sitemap.xml", handler: resolver.resolve("./runtime/server/routes/sitemap.xml.get") });
|
|
1128
1199
|
}
|
|
1200
|
+
if (runtime.features.socialCards) {
|
|
1201
|
+
addServerHandler({ route: "/jun-card.png", handler: resolver.resolve("./runtime/server/routes/jun-card.png.get") });
|
|
1202
|
+
}
|
|
1129
1203
|
if (options.pwa !== false) {
|
|
1130
1204
|
const iconPng = resolver.resolve("./runtime/server/routes/jun-icon.png.get");
|
|
1131
1205
|
addServerHandler({ route: "/jun-icon.png", handler: iconPng });
|
|
@@ -1155,15 +1229,15 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
1155
1229
|
}
|
|
1156
1230
|
});
|
|
1157
1231
|
}
|
|
1158
|
-
if (runtime.features.rpc) {
|
|
1159
|
-
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-rpc"));
|
|
1160
|
-
}
|
|
1161
1232
|
if (runtime.features.bootstrap && options.seed?.enabled !== false) {
|
|
1162
1233
|
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-bootstrap"));
|
|
1163
1234
|
}
|
|
1164
1235
|
if (runtime.features.janitor && options.janitor?.enabled !== false) {
|
|
1165
1236
|
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-janitor"));
|
|
1166
1237
|
}
|
|
1238
|
+
if (runtime.features.rpc) {
|
|
1239
|
+
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-rpc"));
|
|
1240
|
+
}
|
|
1167
1241
|
nuxt.options.nitro.externals = defu(nuxt.options.nitro.externals, {
|
|
1168
1242
|
inline: ["happy-dom"]
|
|
1169
1243
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@source "../../components/**/*.vue";@source "../../pages/**/*.vue";@source "../../layouts/**/*.vue";html.jun-font-serif{--font-sans:"Newsreader","Georgia",serif;font-family:Newsreader,Georgia,serif}html.jun-font-grotesk{--font-sans:"Space Grotesk",system-ui,sans-serif;font-family:Space Grotesk,system-ui,sans-serif}html.jun-font-mono{--font-sans:"JetBrains Mono",ui-monospace,monospace;font-family:JetBrains Mono,ui-monospace,monospace}@theme{--font-sans:"Outfit",system-ui,sans-serif;--font-serif:"Instrument Serif","Georgia",serif;--color-neutral-50:#fafaf9;--color-neutral-100:#f5f5f4;--color-neutral-200:#e7e5e4;--color-neutral-300:#d6d3d1;--color-neutral-400:#a8a29e;--color-neutral-500:#78716c;--color-neutral-600:#57534e;--color-neutral-700:#44403c;--color-neutral-800:#292524;--color-neutral-900:#1c1917;--color-neutral-950:#0c0a09}@layer components{.jun-blur{@apply bg-neutral-50/40 text-neutral-950 backdrop-blur-sm
|
|
1
|
+
@source "../../components/**/*.vue";@source "../../pages/**/*.vue";@source "../../layouts/**/*.vue";html.jun-font-serif{--font-sans:"Newsreader","Georgia",serif;font-family:Newsreader,Georgia,serif}html.jun-font-grotesk{--font-sans:"Space Grotesk",system-ui,sans-serif;font-family:Space Grotesk,system-ui,sans-serif}html.jun-font-mono{--font-sans:"JetBrains Mono",ui-monospace,monospace;font-family:JetBrains Mono,ui-monospace,monospace}html.jun-font-editorial{--font-sans:"Source Serif 4",Georgia,serif;--font-serif:"Playfair Display",Georgia,serif;font-family:"Source Serif 4",Georgia,serif}html.jun-font-humanist{--font-sans:"Inter",system-ui,sans-serif;--font-serif:"Fraunces",Georgia,serif;font-family:Inter,system-ui,sans-serif}html.jun-font-technical{--font-sans:"IBM Plex Sans",system-ui,sans-serif;--font-serif:"IBM Plex Mono",ui-monospace,monospace;font-family:IBM Plex Sans,system-ui,sans-serif}@theme{--font-sans:"Outfit",system-ui,sans-serif;--font-serif:"Instrument Serif","Georgia",serif;--color-neutral-50:#fafaf9;--color-neutral-100:#f5f5f4;--color-neutral-200:#e7e5e4;--color-neutral-300:#d6d3d1;--color-neutral-400:#a8a29e;--color-neutral-500:#78716c;--color-neutral-600:#57534e;--color-neutral-700:#44403c;--color-neutral-800:#292524;--color-neutral-900:#1c1917;--color-neutral-950:#0c0a09}@layer components{.jun-blur{@apply bg-neutral-50/40 text-neutral-950 backdrop-blur-sm
|
|
2
2
|
dark:bg-neutral-900/70 dark:text-neutral-100/90}.jun-blur-inverted{@apply bg-gradient-to-t from-neutral-50 via-neutral-50/40 to-neutral-50/10
|
|
3
3
|
text-neutral-100/90 backdrop-blur-sm
|
|
4
4
|
dark:from-neutral-950/10 dark:to-neutral-950/20 dark:via-transparent
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
dark:from-neutral-900/65 dark:to-neutral-900/45
|
|
11
11
|
border border-white/10 dark:border-white/5
|
|
12
12
|
ring-1 ring-black/5 dark:ring-white/10
|
|
13
|
-
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-bottom:env(safe-area-inset-bottom,0);padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:calc(7rem + env(safe-area-inset-bottom, 0px))}body,html{color-scheme:light dark;overscroll-behavior:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}@media (display-mode:standalone){.jun-bar,.jun-nav,.jun-studio-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root:not(.dark) body:before{background:var(--color-neutral-900);content:"";height:env(safe-area-inset-top,0);inset:0 0 auto;pointer-events:none;position:fixed;z-index:40}}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100dvh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-canvas:var(--color-neutral-100);--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-canvas:var(--color-neutral-950);--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}body,html{background-color:var(--jun-canvas)}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}:root{--jun-density:1}.jun-collection-intro .ProseMirror,.jun-entry-body .ProseMirror,.jun-item-body .ProseMirror,.jun-project-body .ProseMirror,.jun-thread-body .ProseMirror,.prose{line-height:calc(var(--jun-density)*1.65)}.jun-collection-intro .ProseMirror>*+*,.jun-entry-body .ProseMirror>*+*,.jun-item-body .ProseMirror>*+*,.jun-project-body .ProseMirror>*+*,.prose>*+*{margin-top:calc(.9em*var(--jun-density))}:root[data-jun-motion=reduced] *,:root[data-jun-motion=reduced] :after,:root[data-jun-motion=reduced] :before{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transform:none!important;transition-duration:.12s!important}:root[data-jun-motion=none] *,:root[data-jun-motion=none] :after,:root[data-jun-motion=none] :before{animation:none!important;scroll-behavior:auto!important;transform:none!important;transition:none!important}html[data-jun-chrome~=no-backdrop] .jun-blob-backdrop,html[data-jun-chrome~=no-backdrop] .jun-fallback-bg,html[data-jun-chrome~=no-backdrop] .jun-pattern-backdrop,html[data-jun-chrome~=no-backdrop] .jun-shader-backdrop,html[data-jun-chrome~=no-footer] .jun-footer,html[data-jun-chrome~=no-nav] .jun-nav-root{display:none}
|
|
13
|
+
shadow-lg shadow-black/10}}@layer base{.jun-flow-page{padding-bottom:env(safe-area-inset-bottom,0);padding-top:6rem}html[data-jun-nav=bottom] .jun-flow-page,html[data-jun-nav=rail-left] .jun-flow-page,html[data-jun-nav=rail-right] .jun-flow-page{padding-top:2rem}html[data-jun-nav=rail-left] .jun-flow-page{padding-left:var(--jun-nav-rail-w,0)}html[data-jun-nav=rail-right] .jun-flow-page{padding-right:var(--jun-nav-rail-w,0)}html[data-jun-nav=bottom] .jun-flow-page{padding-bottom:calc(7rem + env(safe-area-inset-bottom, 0px))}html[data-jun-dock=on] .jun-flow-page{padding-bottom:max(calc(var(--jun-nav-dock-h, 0px) + 1.5rem),var(--jun-safe-b,env(safe-area-inset-bottom,0px)))}body,html,html[data-jun-nav-menu=open]{overscroll-behavior:none}body,html{color-scheme:light dark;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}@media (display-mode:standalone){.jun-bar,.jun-nav,.jun-studio-bar{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root:not(.dark) body:before{background:var(--color-neutral-900);content:"";height:env(safe-area-inset-top,0);inset:0 0 auto;pointer-events:none;position:fixed;z-index:40}}html{overflow-y:scroll;scrollbar-gutter:stable}:root[style*="--scrollbar-width"] body,body[data-scroll-locked]{margin-right:0!important;padding-right:0!important}html.jun-viewport-bound,html.jun-viewport-bound body{height:100dvh;overflow:hidden}::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--ui-border);border:2px solid transparent;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background-color:var(--ui-border-accented)}::-webkit-scrollbar-corner{background:transparent}*{scrollbar-color:var(--ui-border) transparent;scrollbar-width:thin}.jun-scrollbar-hide::-webkit-scrollbar{display:none}.jun-scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.ProseMirror[contenteditable=false] .meta-field-chip,.ProseMirror[contenteditable=false] [data-type=document-meta],.aeditor-breadcrumb{display:none!important}html[data-jun-player] body{padding-bottom:calc(4rem + env(safe-area-inset-bottom, 0px))}html[data-jun-player][data-jun-nav=bottom] body{padding-bottom:0}.jun-player{bottom:calc(1rem + env(safe-area-inset-bottom, 0px));left:50%;max-width:min(22rem,calc(100vw - 10rem));translate:-50% 0;width:-moz-max-content;width:max-content}html[data-jun-nav=bottom] .jun-player{bottom:auto;max-width:min(22rem,calc(100vw - 2rem));top:calc(1rem + env(safe-area-inset-top, 0px))}.jun-player-sheet{bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px) + var(--jun-player-h, 0px));left:50%;translate:-50% 0;width:min(22rem,calc(100vw - 10rem))}html[data-jun-nav=bottom] .jun-player-sheet{bottom:auto;top:calc(1.5rem + env(safe-area-inset-top, 0px) + var(--jun-player-h, 0px));width:min(22rem,calc(100vw - 2rem))}}:root{--ui-primary:#000;--ui-container:70rem;--jun-canvas:var(--color-neutral-100);--jun-nav-h:3rem;--jun-nav-offset:calc(var(--jun-nav-h) + env(safe-area-inset-top, 0px));--jun-chrome-top:0px;--jun-chrome-bottom:0px;--jun-chrome-left-top:0px;--jun-chrome-left-bottom:0px;--jun-chrome-right-top:0px;--jun-chrome-right-bottom:0px;--jun-sun-from:#24242a;--jun-sun-to:#0f0f12;--jun-sun-core:#fff;--jun-sun-glow:#18181b;--jun-ember:#f59e0b;--jun-ember-glow:#fbbf24}.dark{--ui-primary:#fff;--jun-canvas:var(--color-neutral-950);--jun-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}body,html{background-color:var(--jun-canvas)}.jun-nav-track{overscroll-behavior-x:contain;touch-action:pan-x pan-y}.jun-nav-track[data-jun-axis=vertical]{overscroll-behavior-y:contain;touch-action:pan-y}.jun-nav-armed,.jun-nav-panel{-webkit-touch-callout:none}.jun-nav-armed{box-shadow:0 10px 24px -8px rgba(0,0,0,.35);scale:1.12;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-nav-track[data-jun-sep=on] [data-nav-id]{position:relative}.jun-nav-track[data-jun-sep=on] [data-nav-id]+[data-nav-id]:before{background:currentColor;bottom:25%;content:"";left:calc(var(--jun-nav-gap, 1.5rem)/-2);opacity:.18;position:absolute;top:25%;width:1px}.jun-nav-track[data-jun-axis=vertical][data-jun-sep=on] [data-nav-id]+[data-nav-id]:before{bottom:auto;height:1px;left:25%;right:25%;top:calc(var(--jun-nav-gap, .25rem)/-2);width:auto}.jun-nav-track[data-jun-fade=both]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 2rem,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,transparent,#000 2rem,#000 calc(100% - 2rem),transparent)}.jun-nav-track[data-jun-fade=start]{-webkit-mask-image:linear-gradient(90deg,transparent,#000 2rem);mask-image:linear-gradient(90deg,transparent,#000 2rem)}.jun-nav-track[data-jun-fade=end]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 2rem),transparent)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=both]{-webkit-mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(180deg,transparent,#000 1.5rem,#000 calc(100% - 1.5rem),transparent)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=start]{-webkit-mask-image:linear-gradient(180deg,transparent,#000 1.5rem);mask-image:linear-gradient(180deg,transparent,#000 1.5rem)}.jun-nav-track[data-jun-axis=vertical][data-jun-fade=end]{-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 1.5rem),transparent)}.jun-nav-children{background-color:color-mix(in srgb,var(--color-neutral-100) 92%,transparent)}:root.dark .jun-nav-children{background-color:color-mix(in srgb,var(--color-neutral-900) 92%,transparent)}.jun-nav-presence-dot{animation:jun-nav-dot-breathe 5s ease-in-out infinite}@keyframes jun-nav-dot-breathe{0%,to{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.25)}}@media (prefers-reduced-motion:reduce){.jun-nav-presence-dot{animation:none}}.jun-nav-menu{background-color:color-mix(in srgb,var(--color-neutral-100) 92%,transparent)}:root.dark .jun-nav-menu{background-color:color-mix(in srgb,var(--color-neutral-900) 92%,transparent)}.jun-nav-menu-grab{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-nav-dock{padding-bottom:var(--jun-safe-b,env(safe-area-inset-bottom,0));-webkit-touch-callout:none;background-color:color-mix(in srgb,var(--color-neutral-100) 88%,transparent)}:root.dark .jun-nav-dock{background-color:color-mix(in srgb,var(--color-neutral-900) 88%,transparent)}.jun-nav-docked{border-left-color:transparent;border-radius:0;border-right-color:transparent;border-top-color:transparent;height:var(--jun-nav-offset);max-width:none;padding-top:env(safe-area-inset-top,0)}.jun-panel-page{top:var(--jun-nav-offset)}.a-map-toolbar-bar,.graph-toolbar-bar{backdrop-filter:blur(8px)!important;background:linear-gradient(180deg,#fff,hsla(0,0%,100%,.4))!important;border:1px solid hsla(0,0%,100%,.1)!important;border-radius:9999px!important;bottom:calc(1.5rem + env(safe-area-inset-bottom, 0px))!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.12),0 8px 10px -6px rgba(0,0,0,.1),0 0 0 1px rgba(0,0,0,.05)!important;gap:4px!important;padding:4px 10px!important}.dark .a-map-toolbar-bar,.dark .graph-toolbar-bar{background:linear-gradient(180deg,#18181b,rgba(24,24,27,.7))!important;border-color:rgba(0,0,0,.05)!important;box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.3),0 0 0 1px hsla(0,0%,100%,.1)!important}.a-map-toolbar-bar .toolbar-divider,.graph-toolbar-bar .toolbar-divider{background:rgba(0,0,0,.12)!important}.dark .a-map-toolbar-bar .toolbar-divider,.dark .graph-toolbar-bar .toolbar-divider{background:hsla(0,0%,100%,.15)!important}.graph-minimap{top:6rem!important}.jun-fade-enter-active,.jun-fade-leave-active{transition:opacity .22s ease}.jun-fade-enter-from,.jun-fade-leave-to{opacity:0}html[data-jun-restore] .jun-fade-enter-active,html[data-jun-restore] .jun-fade-leave-active{transition:none}.aa-presence-blobs__blob{filter:none;-webkit-mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 0,rgba(0,0,0,.62) 42%,rgba(0,0,0,.22) 68%,transparent 100%);opacity:.3}:root:not(.dark) .aa-presence-blobs__blob{opacity:.2}:root:not(.dark) .jun-presence-blobs{mix-blend-mode:multiply}:root:not(.dark) .jun-presence-blobs__blob{opacity:.24}:root:not(.dark) .jun-presence-blobs__blob:not(.is-anchored){opacity:.15}.jun-logo{transition:transform .4s cubic-bezier(.22,1,.36,1),filter .4s ease,opacity .5s ease}.jun-logo-dot,.jun-sun-core{transform-box:fill-box;transform-origin:center;transition:transform .4s cubic-bezier(.22,1,.36,1)}.jun-logo-dot:nth-of-type(2){transition-delay:.04s}.jun-logo-dot:nth-of-type(3){transition-delay:.08s}.jun-sun-halo{transform-box:fill-box;transform-origin:center;transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo):not(.jun-logo--sun){transform:scale(1.04)}:is(.jun-logo:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo) .jun-logo-dot{transform:scale(1.18)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-halo{opacity:.8;transform:scale(1.14)}:is(.jun-logo--sun:hover,:is(a,button,summary,.jun-logo-lockup):hover .jun-logo--sun) .jun-sun-core{transform:scale(1.1)}:is(.jun-logo:active,:is(a,button,summary):active .jun-logo):not(.jun-logo--sun){transform:scale(.96)}:is(.jun-logo--sun:active,:is(a,button,summary):active .jun-logo--sun) .jun-sun-core{transform:scale(.9)}.jun-logo-bang:empty{display:none}.jun-logo-bang{display:inline-block;font-weight:700;padding-inline:.02em;transition:transform .4s cubic-bezier(.22,1,.36,1)}:is(a,button,summary,.jun-logo-lockup):hover .jun-logo-bang{transform:translateY(-.06em)}.jun-logo-lockup.is-sun .jun-logo-bang{color:var(--jun-sun-glow)}@media (prefers-reduced-motion:reduce){.jun-logo,.jun-logo-bang,.jun-logo-dot,.jun-sun-core,.jun-sun-halo{transition:none}}html.doc-dragging .ProseMirror{border-radius:8px;outline:2px dashed rgba(0,0,0,.18);outline-offset:8px;transition:outline-color .2s ease}html.dark.doc-dragging .ProseMirror,html.doc-dragging.dark .ProseMirror{outline-color:hsla(0,0%,100%,.22)}html.doc-dragging [data-doc-drop-zone]{border-radius:10px;outline:2px dashed rgba(0,0,0,.14);outline-offset:4px}html.dark.doc-dragging [data-doc-drop-zone],html.doc-dragging.dark [data-doc-drop-zone]{outline-color:hsla(0,0%,100%,.18)}html.theme-switching,html.theme-switching *{transition:background-color .45s ease,color .45s ease,border-color .45s ease,fill .45s ease,stroke .45s ease!important}@media (prefers-reduced-motion:reduce){.jun-fade-enter-active,.jun-fade-leave-active{transition:none}html.theme-switching,html.theme-switching *{transition:none!important}}html.jun-surface-soft *,html.jun-surface-soft :after,html.jun-surface-soft :before,html.jun-surface-solid *,html.jun-surface-solid :after,html.jun-surface-solid :before{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}html.jun-surface-soft .jun-blur,html.jun-surface-soft .jun-blur-gradient,html.jun-surface-soft .jun-blur-inverted,html.jun-surface-soft .jun-campfire-banner,html.jun-surface-soft .jun-campfire-panel,html.jun-surface-soft .jun-campfire-pill,html.jun-surface-soft .jun-chrome{backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important}html.jun-surface-solid .jun-blur,html.jun-surface-solid .jun-blur-gradient,html.jun-surface-solid .jun-card,html.jun-surface-solid .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur,html.jun-surface-solid.dark .jun-blur-gradient,html.jun-surface-solid.dark .jun-card,html.jun-surface-solid.dark .jun-chrome:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-bar.is-on{background-color:var(--color-neutral-900)!important;background-image:none!important}html.jun-surface-solid.dark .jun-bar.is-on{background-color:var(--color-neutral-100)!important}html.jun-surface-solid .jun-campfire-banner,html.jun-surface-solid .jun-campfire-panel,html.jun-surface-solid .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-50) 97%,transparent)!important}html.jun-surface-solid.dark .jun-campfire-banner,html.jun-surface-solid.dark .jun-campfire-panel,html.jun-surface-solid.dark .jun-campfire-pill{background:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)!important}html.jun-surface-solid .jun-blur-inverted{background-color:rgba(250,250,252,.92)!important;background-image:none!important}html.jun-surface-solid.dark .jun-blur-inverted{background-color:rgba(14,15,17,.92)!important}.jun-palette-panel{display:flex;flex-direction:column;left:var(--jun-palette-left,50vw);max-height:var(--jun-palette-max-h,min(60vh,34rem));max-width:none;overflow:hidden;position:fixed;top:var(--jun-palette-top,5.5rem);transform-origin:var(--jun-palette-origin,top center);translate:var(--jun-palette-tx,-50%) var(--jun-palette-ty,0);width:var(--jun-palette-w,min(42rem,calc(100vw - 2rem)))}.jun-palette-panel[data-state=open]{animation:jun-palette-in .26s cubic-bezier(.22,1,.36,1) both}.jun-palette-panel[data-state=closed]{animation:jun-palette-out .13s ease-in both}@keyframes jun-palette-in{0%{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.97)}to{opacity:1;transform:none}}@keyframes jun-palette-out{0%{opacity:1;transform:none}to{opacity:0;transform:var(--jun-palette-from,translateY(-8px)) scale(.98)}}.jun-palette-cursor{border-radius:.375rem;left:.5rem;pointer-events:none;position:absolute;right:.5rem;top:0;transition:transform .26s cubic-bezier(.22,1,.36,1),height .26s cubic-bezier(.22,1,.36,1),opacity .16s ease}.jun-palette-cursor.is-placing{transition:none}.jun-settings-panel{display:flex;flex-direction:column;height:min(46rem,calc(100vh - 4rem));left:50vw;max-height:none;max-width:none;overflow:hidden;position:fixed;top:50vh;transform-origin:center;translate:-50% -50%;width:min(56rem,calc(100vw - 2rem))}.jun-settings-panel[data-state=open]{animation:jun-settings-in .26s cubic-bezier(.22,1,.36,1) both}.jun-settings-panel[data-state=closed]{animation:jun-settings-out .13s ease-in both}@keyframes jun-settings-in{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}@keyframes jun-settings-out{0%{opacity:1;transform:none}to{opacity:0;transform:scale(.98)}}@media (max-width:767px){.jun-settings-panel{border-radius:.75rem;height:calc(100dvh - 2rem);width:calc(100vw - 1rem)}}.jun-settings-marker{transition:top .22s cubic-bezier(.22,1,.36,1),height .22s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-settings-panel[data-state=closed],.jun-settings-panel[data-state=open]{animation-duration:1ms}.jun-settings-marker{transition:none}}.jun-palette-stagger>*{animation:jun-palette-row-in .32s cubic-bezier(.22,1,.36,1) both}@keyframes jun-palette-row-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.jun-pal-move{transition:transform .28s cubic-bezier(.22,1,.36,1)}.jun-pal-enter-active{transition:opacity .2s ease,transform .2s cubic-bezier(.22,1,.36,1)}.jun-pal-leave-active{left:0;position:absolute;right:0;transition:opacity .12s ease,transform .12s ease}.jun-pal-enter-from,.jun-pal-leave-to{opacity:0;transform:translateY(-4px)}.jun-palette-snippet mark{background:transparent;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}@media (prefers-reduced-motion:reduce){.jun-palette-panel[data-state=closed],.jun-palette-panel[data-state=open],.jun-palette-stagger>*{animation:none}.jun-pal-enter-active,.jun-pal-leave-active,.jun-pal-move,.jun-palette-cursor{transition:none}}html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:translateY(-1.5rem)}@media (prefers-reduced-motion:reduce){html[data-jun-nav=bottom] .jun-player-enter-from,html[data-jun-nav=bottom] .jun-player-leave-to{transform:none}}.jun-bar{--jun-bar-stack:0px;--jun-bar-inset:0px;position:fixed;transition:top .45s cubic-bezier(.22,1,.36,1),right .45s cubic-bezier(.22,1,.36,1),bottom .45s cubic-bezier(.22,1,.36,1),left .45s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;z-index:60}.jun-bar-pill{align-items:center;display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none}.jun-bar[data-jun-corner=top-left]{left:calc(var(--jun-chrome-left-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=bottom-left]{left:calc(var(--jun-chrome-left-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-left, 1rem) + env(safe-area-inset-left, 0px))}.jun-bar[data-jun-corner=top-right]{right:calc(var(--jun-chrome-right-top, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner=bottom-right]{right:calc(var(--jun-chrome-right-bottom, 0px) + var(--jun-bar-inset) + var(--jun-chrome-x-right, 1rem) + env(safe-area-inset-right, 0px))}.jun-bar[data-jun-corner^=bottom]{bottom:calc(var(--jun-chrome-bottom, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-bottom, 1rem) + env(safe-area-inset-bottom, 0px))}.jun-bar[data-jun-corner^=top]{top:calc(var(--jun-chrome-top, 0px) + var(--jun-bar-stack) + var(--jun-chrome-y-top, 1rem) + env(safe-area-inset-top, 0px))}.jun-bar-pill,.jun-bar-trigger{border-radius:var(--jun-chrome-radius,9999px);transition:border-radius .5s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar-pill,.jun-bar-trigger{transition:none}}.jun-hearth-embers{height:1px;pointer-events:none;width:1px;z-index:61}.jun-ember-ink{color:var(--jun-ember)}.jun-bar.is-opaque{backdrop-filter:none;-webkit-backdrop-filter:none}.jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-50) 97%,transparent);background-image:none}:root.dark .jun-bar.is-opaque:not(.is-on){background-color:color-mix(in srgb,var(--color-neutral-900) 97%,transparent)}.jun-bar-trigger{touch-action:none;-webkit-touch-callout:none}.jun-bar.is-pressing{box-shadow:0 12px 32px -8px rgba(0,0,0,.28)}.jun-bar.is-on{background-color:var(--color-neutral-900);background-image:none;border-color:transparent;color:var(--color-neutral-50)}:root.dark .jun-bar.is-on{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-studio-bar{min-height:2.375rem;min-width:4rem}.jun-bar-knob{background-color:var(--color-neutral-900);bottom:1px;box-shadow:0 1px 3px rgba(0,0,0,.2);color:var(--color-neutral-50);left:1px;position:absolute;top:1px;transition:left .42s cubic-bezier(.22,1,.36,1),translate .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,color .3s ease,box-shadow .3s ease;translate:0 0;width:2.25rem}:root.dark .jun-bar-knob{background-color:var(--color-neutral-100);color:var(--color-neutral-900)}.jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-50);box-shadow:0 1px 4px rgba(0,0,0,.3);color:var(--color-neutral-900);left:calc(100% - 1px);translate:-100% 0}:root.dark .jun-bar.is-on .jun-bar-knob{background-color:var(--color-neutral-900);color:var(--color-neutral-100)}.jun-bar-row{padding:0;transition:padding .42s cubic-bezier(.22,1,.36,1)}.jun-bar.is-expanded .jun-bar-row{padding-left:2.5rem;padding-right:.5rem}.jun-bar.is-expanded.is-on .jun-bar-row{padding-left:.625rem;padding-right:2.625rem}.jun-bar-sep{background:currentColor;flex:none;height:1rem;margin-inline:.125rem;opacity:.18;width:1px}.jun-bar-title{border-bottom:1px solid color-mix(in srgb,currentColor 22%,transparent);color:inherit}.jun-bar-title::-moz-placeholder{color:currentColor;opacity:.45}.jun-bar-title::placeholder{color:currentColor;opacity:.45}.jun-bar-title:focus{border-bottom-color:color-mix(in srgb,currentColor 55%,transparent)}.jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-50)}.jun-bar.is-on .jun-bar-health,:root.dark .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-900)}:root.dark .jun-bar.is-on .jun-bar-health{box-shadow:0 0 0 2px var(--color-neutral-100)}.jun-bar .jun-bar-trigger:hover,.jun-bar [data-jun-action]:hover{background-color:color-mix(in srgb,currentColor 10%,transparent)}[data-jun-action].is-hot{background-color:color-mix(in srgb,currentColor 18%,transparent);transform:scale(1.06)}[data-jun-action]{transition:background-color .15s ease,transform .15s cubic-bezier(.22,1,.36,1)}@media (prefers-reduced-motion:reduce){.jun-bar,.jun-bar-knob,.jun-bar-row,[data-jun-action]{transition:none}[data-jun-action].is-hot{transform:none}}:root{--jun-density:1}.jun-collection-intro .ProseMirror,.jun-entry-body .ProseMirror,.jun-item-body .ProseMirror,.jun-project-body .ProseMirror,.jun-thread-body .ProseMirror,.prose{line-height:calc(var(--jun-density)*1.65)}.jun-collection-intro .ProseMirror>*+*,.jun-entry-body .ProseMirror>*+*,.jun-item-body .ProseMirror>*+*,.jun-project-body .ProseMirror>*+*,.prose>*+*{margin-top:calc(.9em*var(--jun-density))}:root[data-jun-motion=reduced] *,:root[data-jun-motion=reduced] :after,:root[data-jun-motion=reduced] :before{animation-duration:1ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transform:none!important;transition-duration:.12s!important}:root[data-jun-motion=none] *,:root[data-jun-motion=none] :after,:root[data-jun-motion=none] :before{animation:none!important;scroll-behavior:auto!important;transform:none!important;transition:none!important}html[data-jun-chrome~=no-backdrop] .jun-blob-backdrop,html[data-jun-chrome~=no-backdrop] .jun-fallback-bg,html[data-jun-chrome~=no-backdrop] .jun-pattern-backdrop,html[data-jun-chrome~=no-backdrop] .jun-shader-backdrop,html[data-jun-chrome~=no-footer] .jun-footer,html[data-jun-chrome~=no-nav] .jun-nav-root{display:none}html[data-jun-hero=minimal] .jun-page-hero{align-items:baseline;margin-bottom:1.5rem}html[data-jun-hero=minimal] .jun-hero-title{font-size:1.25rem;font-weight:600;letter-spacing:-.01em;line-height:1.3}html[data-jun-hero=minimal] .jun-hero-subtitle{font-size:.875rem;letter-spacing:.02em;margin-top:.25rem}html[data-jun-hero=banner] .jun-page-hero{background:linear-gradient(135deg,color-mix(in srgb,var(--ui-primary) 14%,transparent),color-mix(in srgb,var(--ui-primary) 4%,transparent) 60%,transparent);border-radius:1rem;margin-inline:-1rem;padding:1.75rem 1rem 1.5rem;position:relative}@media (min-width:640px){html[data-jun-hero=banner] .jun-page-hero{margin-inline:-1.5rem;padding:2.25rem 1.5rem 2rem}}html[data-jun-hero=banner] .jun-hero-subtitle{opacity:.85}@media (min-width:1024px){html[data-jun-hero=split] .jun-hero-lines{align-items:end;display:grid;gap:2rem;grid-template-columns:minmax(0,3fr) minmax(0,2fr)}html[data-jun-hero=split] .jun-hero-subtitle{margin-top:0;padding-bottom:.35rem;text-align:right}}.jun-skip-link{background:var(--jun-canvas,#fff);border-radius:.6rem;box-shadow:0 2px 18px -4px rgba(0,0,0,.35);color:var(--ui-text-highlighted,inherit);font-size:.875rem;font-weight:500;left:-9999px;outline:2px solid currentColor;padding:.6rem 1rem;position:absolute;top:0;z-index:100}.jun-skip-link:focus{left:.75rem;top:calc(.75rem + env(safe-area-inset-top, 0px))}#jun-main:focus{outline:none}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { JunLayoutBucket } from '../composables/useJunDocPage.js';
|
|
2
|
+
import type { JunSectionItem } from './JunSectionBar.vue.js';
|
|
3
|
+
interface JunSectionPayload {
|
|
4
|
+
parentId: string;
|
|
5
|
+
parentTitle: string;
|
|
6
|
+
parentSlug: string | null;
|
|
7
|
+
items: JunSectionItem[];
|
|
8
|
+
}
|
|
2
9
|
type __VLS_Props = {
|
|
3
10
|
docId: string;
|
|
4
11
|
bucket: JunLayoutBucket;
|
|
@@ -16,12 +23,23 @@ type __VLS_Props = {
|
|
|
16
23
|
html?: string;
|
|
17
24
|
/** Show the breadcrumb trail. Off on the index, which has no parent chain. */
|
|
18
25
|
breadcrumbs?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The SSR payload's section — the pages beside this one. Rendered by
|
|
28
|
+
* `<JunSectionBar>` until the live tree can answer for itself.
|
|
29
|
+
*/
|
|
30
|
+
section?: JunSectionPayload | null;
|
|
31
|
+
/** The SSR ancestor trail — which item in the section bar is the way here. */
|
|
32
|
+
trail?: {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
slug: string | null;
|
|
36
|
+
}[];
|
|
19
37
|
};
|
|
20
|
-
declare var
|
|
38
|
+
declare var __VLS_42: {
|
|
21
39
|
feed: boolean;
|
|
22
40
|
};
|
|
23
41
|
type __VLS_Slots = {} & {
|
|
24
|
-
footer?: (props: typeof
|
|
42
|
+
footer?: (props: typeof __VLS_42) => any;
|
|
25
43
|
};
|
|
26
44
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
45
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
-
import {
|
|
2
|
+
import { computed, ref } from "vue";
|
|
3
|
+
import { useJunLayoutPolicy, useNuxtData } from "#imports";
|
|
4
|
+
import { useJunGestures } from "../composables/useJunGestures";
|
|
3
5
|
const props = defineProps({
|
|
4
6
|
docId: { type: String, required: true },
|
|
5
7
|
bucket: { type: String, required: true },
|
|
@@ -8,9 +10,22 @@ const props = defineProps({
|
|
|
8
10
|
editable: { type: Boolean, required: true },
|
|
9
11
|
entry: { type: [Object, null], required: false },
|
|
10
12
|
html: { type: String, required: false },
|
|
11
|
-
breadcrumbs: { type: Boolean, required: false }
|
|
13
|
+
breadcrumbs: { type: Boolean, required: false },
|
|
14
|
+
section: { type: [Object, null], required: false },
|
|
15
|
+
trail: { type: Array, required: false }
|
|
12
16
|
});
|
|
13
17
|
const { isFeedType } = useJunLayoutPolicy();
|
|
18
|
+
const flowEl = ref(null);
|
|
19
|
+
const { data: ssrConfig } = useNuxtData("jun-site-config");
|
|
20
|
+
const { swipeOffset, isSwiping } = useJunGestures(flowEl, {
|
|
21
|
+
bucket: () => props.bucket,
|
|
22
|
+
docId: computed(() => props.docId),
|
|
23
|
+
config: computed(() => ssrConfig.value ?? {})
|
|
24
|
+
});
|
|
25
|
+
const swipeStyle = computed(() => swipeOffset.value.x === 0 && !isSwiping.value ? void 0 : {
|
|
26
|
+
transform: `translate3d(${swipeOffset.value.x}px, 0, 0)`,
|
|
27
|
+
transition: isSwiping.value ? "none" : "transform 220ms cubic-bezier(0.22, 1, 0.36, 1)"
|
|
28
|
+
});
|
|
14
29
|
</script>
|
|
15
30
|
|
|
16
31
|
<template>
|
|
@@ -28,6 +43,7 @@ const { isFeedType } = useJunLayoutPolicy();
|
|
|
28
43
|
:key="props.renderKey"
|
|
29
44
|
:doc-id="props.docId"
|
|
30
45
|
:entry="props.entry"
|
|
46
|
+
:ssr-html="props.html"
|
|
31
47
|
:editable="props.editable"
|
|
32
48
|
editor-class="w-full h-full"
|
|
33
49
|
renderer-class="w-full h-full"
|
|
@@ -60,6 +76,7 @@ const { isFeedType } = useJunLayoutPolicy();
|
|
|
60
76
|
:key="props.renderKey"
|
|
61
77
|
:doc-id="props.docId"
|
|
62
78
|
:entry="props.entry"
|
|
79
|
+
:ssr-html="props.html"
|
|
63
80
|
:editable="props.editable"
|
|
64
81
|
editor-class="w-full h-full"
|
|
65
82
|
renderer-class="w-full h-full"
|
|
@@ -82,17 +99,28 @@ const { isFeedType } = useJunLayoutPolicy();
|
|
|
82
99
|
travel over the navbar rather than being clipped by it. -->
|
|
83
100
|
<div
|
|
84
101
|
v-else
|
|
102
|
+
ref="flowEl"
|
|
85
103
|
class="jun-flow-page flex min-h-screen flex-col"
|
|
104
|
+
:style="swipeStyle"
|
|
86
105
|
>
|
|
87
106
|
<JunBreadcrumbs
|
|
88
107
|
v-if="breadcrumbs"
|
|
89
108
|
:doc-id="props.docId"
|
|
90
109
|
/>
|
|
91
110
|
<div :class="['mx-auto flex w-full flex-1 flex-col', props.flowMaxW]">
|
|
111
|
+
<!-- The section this page is in. Renders nothing unless a site asked for
|
|
112
|
+
it AND there is more than one page in the section. -->
|
|
113
|
+
<JunSectionBar
|
|
114
|
+
:doc-id="props.docId"
|
|
115
|
+
:ssr-trail="props.trail"
|
|
116
|
+
:ssr-section="props.section"
|
|
117
|
+
:column="props.flowMaxW ? '' : 'mx-auto w-full max-w-3xl px-4 sm:px-6'"
|
|
118
|
+
/>
|
|
92
119
|
<ADocRenderer
|
|
93
120
|
:key="props.renderKey"
|
|
94
121
|
:doc-id="props.docId"
|
|
95
122
|
:entry="props.entry"
|
|
123
|
+
:ssr-html="props.html"
|
|
96
124
|
:editable="props.editable"
|
|
97
125
|
editor-class="w-full rounded-md"
|
|
98
126
|
renderer-class="w-full flex-1"
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { JunLayoutBucket } from '../composables/useJunDocPage.js';
|
|
2
|
+
import type { JunSectionItem } from './JunSectionBar.vue.js';
|
|
3
|
+
interface JunSectionPayload {
|
|
4
|
+
parentId: string;
|
|
5
|
+
parentTitle: string;
|
|
6
|
+
parentSlug: string | null;
|
|
7
|
+
items: JunSectionItem[];
|
|
8
|
+
}
|
|
2
9
|
type __VLS_Props = {
|
|
3
10
|
docId: string;
|
|
4
11
|
bucket: JunLayoutBucket;
|
|
@@ -16,12 +23,23 @@ type __VLS_Props = {
|
|
|
16
23
|
html?: string;
|
|
17
24
|
/** Show the breadcrumb trail. Off on the index, which has no parent chain. */
|
|
18
25
|
breadcrumbs?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* The SSR payload's section — the pages beside this one. Rendered by
|
|
28
|
+
* `<JunSectionBar>` until the live tree can answer for itself.
|
|
29
|
+
*/
|
|
30
|
+
section?: JunSectionPayload | null;
|
|
31
|
+
/** The SSR ancestor trail — which item in the section bar is the way here. */
|
|
32
|
+
trail?: {
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
slug: string | null;
|
|
36
|
+
}[];
|
|
19
37
|
};
|
|
20
|
-
declare var
|
|
38
|
+
declare var __VLS_42: {
|
|
21
39
|
feed: boolean;
|
|
22
40
|
};
|
|
23
41
|
type __VLS_Slots = {} & {
|
|
24
|
-
footer?: (props: typeof
|
|
42
|
+
footer?: (props: typeof __VLS_42) => any;
|
|
25
43
|
};
|
|
26
44
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
45
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -13,6 +13,7 @@ const title = computed(() => str("seoTitle") ?? brand.name);
|
|
|
13
13
|
const description = computed(() => str("seoDescription") ?? brand.tagline);
|
|
14
14
|
const author = computed(() => str("authorName") ?? brand.name);
|
|
15
15
|
const ogImage = computed(() => str("seoOgImage"));
|
|
16
|
+
const lang = computed(() => str("seoLang") ?? brand.lang ?? "en");
|
|
16
17
|
const feedsEnabled = computed(() => features.feeds && junConfigOn(site.value.feedsEnabled));
|
|
17
18
|
const titleTemplate = computed(() => {
|
|
18
19
|
const tpl = str("seoTitleTemplate");
|
|
@@ -32,14 +33,25 @@ const identityJsonLd = computed(() => {
|
|
|
32
33
|
});
|
|
33
34
|
useHead(() => ({
|
|
34
35
|
titleTemplate: titleTemplate.value,
|
|
35
|
-
htmlAttrs: { lang:
|
|
36
|
+
htmlAttrs: { lang: lang.value },
|
|
36
37
|
meta: [
|
|
37
38
|
{ charset: "utf-8" },
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
/*
|
|
40
|
+
* The viewport, and ZOOM.
|
|
41
|
+
*
|
|
42
|
+
* This used to end `maximum-scale=1, user-scalable=no` unconditionally.
|
|
43
|
+
* The reasoning was real but partial: the LOCKED page types own their own
|
|
44
|
+
* scroll and their fixed layers drift when the visual viewport scales — a
|
|
45
|
+
* page of prose does neither. Blocking pinch zoom site-wide is WCAG 1.4.4,
|
|
46
|
+
* and iOS has ignored the flag since iOS 10, so the cost fell entirely on
|
|
47
|
+
* Android and desktop readers who wanted bigger text while the benefit was
|
|
48
|
+
* collected on the one platform that was not listening.
|
|
49
|
+
*
|
|
50
|
+
* `features.lockZoom` brings it back for a site that wants it. Off.
|
|
51
|
+
*/
|
|
40
52
|
{
|
|
41
53
|
name: "viewport",
|
|
42
|
-
content: "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
|
|
54
|
+
content: features.lockZoom ? "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover" : "width=device-width, initial-scale=1, viewport-fit=cover"
|
|
43
55
|
},
|
|
44
56
|
{ name: "description", content: description.value },
|
|
45
57
|
{ name: "author", content: author.value },
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type JunNavigationItem } from '../composables/useJunNavItems.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: JunNavigationItem[];
|
|
4
|
+
/** How many real tabs fit before the overflow one. Four plus `⋯` on a phone. */
|
|
5
|
+
max?: number;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
more: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onMore?: (() => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
max: number;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, onMounted, ref } from "vue";
|
|
3
|
+
import { useJunNavItems } from "../composables/useJunNavItems";
|
|
4
|
+
import { useJunNavSettings } from "../composables/useJunNavSettings";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
items: { type: Array, required: true },
|
|
7
|
+
max: { type: Number, required: false, default: 4 }
|
|
8
|
+
});
|
|
9
|
+
const emit = defineEmits(["more"]);
|
|
10
|
+
const nav = useJunNavSettings();
|
|
11
|
+
const items = computed(() => props.items);
|
|
12
|
+
const { iconFor, navLabelFor, redirectTargetFor, isExternalTarget, presenceFor, freshFor } = useJunNavItems(items);
|
|
13
|
+
const mounted = ref(false);
|
|
14
|
+
onMounted(() => {
|
|
15
|
+
mounted.value = true;
|
|
16
|
+
});
|
|
17
|
+
const overflowing = computed(() => props.items.length > props.max);
|
|
18
|
+
const tabs = computed(() => {
|
|
19
|
+
if (!overflowing.value) return props.items;
|
|
20
|
+
const room = props.max - 1;
|
|
21
|
+
const head = props.items.slice(0, room);
|
|
22
|
+
const active = props.items.find((i) => i.current);
|
|
23
|
+
if (active && !head.some((i) => (i.id ?? i.href) === (active.id ?? active.href))) {
|
|
24
|
+
head[room - 1] = active;
|
|
25
|
+
}
|
|
26
|
+
return head;
|
|
27
|
+
});
|
|
28
|
+
const showLabel = computed(() => nav.menuItemMode.value !== "icon");
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
<template>
|
|
32
|
+
<nav
|
|
33
|
+
class="jun-nav-dock jun-blur fixed inset-x-0 bottom-0 z-40 flex items-stretch justify-around border-t border-black/5 dark:border-white/10"
|
|
34
|
+
aria-label="Pages"
|
|
35
|
+
>
|
|
36
|
+
<NuxtLink
|
|
37
|
+
v-for="item in tabs"
|
|
38
|
+
:key="item.id || item.href"
|
|
39
|
+
:to="redirectTargetFor(item) ?? item.href"
|
|
40
|
+
:target="isExternalTarget(redirectTargetFor(item)) ? '_blank' : void 0"
|
|
41
|
+
:rel="isExternalTarget(redirectTargetFor(item)) ? 'noopener noreferrer' : void 0"
|
|
42
|
+
class="relative flex min-w-0 flex-1 flex-col items-center justify-center gap-0.5 px-1 py-2 text-black/55 transition-colors dark:text-white/55"
|
|
43
|
+
:class="item.current ? 'text-black dark:text-white' : ''"
|
|
44
|
+
>
|
|
45
|
+
<span class="relative flex-none">
|
|
46
|
+
<UIcon
|
|
47
|
+
:name="iconFor(item)"
|
|
48
|
+
class="size-5 flex-none"
|
|
49
|
+
:class="item.current ? 'scale-110' : ''"
|
|
50
|
+
/>
|
|
51
|
+
<!-- Somebody is on this page, or anywhere under it. Colour rides on
|
|
52
|
+
presence only — it is the one thing in this chrome that is not
|
|
53
|
+
monochrome. -->
|
|
54
|
+
<span
|
|
55
|
+
v-if="mounted && presenceFor(item.id).length"
|
|
56
|
+
class="jun-nav-presence-dot absolute -right-1 -top-0.5 size-1.5 rounded-full"
|
|
57
|
+
:style="{ background: presenceFor(item.id)[0].color }"
|
|
58
|
+
:title="`${presenceFor(item.id).length} ${presenceFor(item.id).length === 1 ? 'traveller' : 'travellers'} here`"
|
|
59
|
+
/>
|
|
60
|
+
<!-- Changed since this visitor last looked. Hollow, so presence keeps
|
|
61
|
+
the only colour. -->
|
|
62
|
+
<span
|
|
63
|
+
v-else-if="mounted && freshFor(item)"
|
|
64
|
+
class="absolute -right-1 -top-0.5 size-1.5 rounded-full opacity-50 ring-1 ring-inset ring-current"
|
|
65
|
+
title="Updated since your last visit"
|
|
66
|
+
aria-hidden="true"
|
|
67
|
+
/>
|
|
68
|
+
</span>
|
|
69
|
+
<span
|
|
70
|
+
v-if="showLabel"
|
|
71
|
+
class="w-full truncate text-center text-[10px] leading-none tracking-normal"
|
|
72
|
+
>{{ navLabelFor(item) }}</span>
|
|
73
|
+
</NuxtLink>
|
|
74
|
+
|
|
75
|
+
<button
|
|
76
|
+
v-if="overflowing"
|
|
77
|
+
type="button"
|
|
78
|
+
class="flex min-w-0 flex-1 flex-col items-center justify-center gap-0.5 px-1 py-2 text-black/55 transition-colors dark:text-white/55"
|
|
79
|
+
aria-label="More pages"
|
|
80
|
+
aria-haspopup="dialog"
|
|
81
|
+
aria-controls="jun-nav-menu-panel"
|
|
82
|
+
@click="emit('more')"
|
|
83
|
+
>
|
|
84
|
+
<UIcon
|
|
85
|
+
name="i-lucide-more-horizontal"
|
|
86
|
+
class="size-5 flex-none"
|
|
87
|
+
/>
|
|
88
|
+
<span
|
|
89
|
+
v-if="showLabel"
|
|
90
|
+
class="w-full truncate text-center text-[10px] leading-none tracking-normal"
|
|
91
|
+
>More</span>
|
|
92
|
+
</button>
|
|
93
|
+
</nav>
|
|
94
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type JunNavigationItem } from '../composables/useJunNavItems.js';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: JunNavigationItem[];
|
|
4
|
+
/** How many real tabs fit before the overflow one. Four plus `⋯` on a phone. */
|
|
5
|
+
max?: number;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
more: () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onMore?: (() => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
max: number;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|