@abraca/junis 2.84.0 → 2.86.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 +17 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +270 -22
- package/dist/runtime/assets/css/jun.css +1 -1
- package/dist/runtime/components/JunBlobBackdrop.client.vue +1 -1
- package/dist/runtime/components/JunCampfirePresence.client.vue +75 -10
- package/dist/runtime/components/JunCollectionIntro.d.vue.ts +11 -0
- package/dist/runtime/components/JunCollectionIntro.vue +45 -0
- package/dist/runtime/components/JunCollectionIntro.vue.d.ts +11 -0
- package/dist/runtime/components/JunConfigRow.d.vue.ts +43 -0
- package/dist/runtime/components/JunConfigRow.vue +34 -0
- package/dist/runtime/components/JunConfigRow.vue.d.ts +43 -0
- package/dist/runtime/components/JunFooter.vue +1 -1
- package/dist/runtime/components/JunHead.vue +37 -5
- package/dist/runtime/components/JunHorizontalTimeline.d.vue.ts +30 -0
- package/dist/runtime/components/JunHorizontalTimeline.vue.d.ts +30 -0
- package/dist/runtime/components/JunLinksRow.d.vue.ts +16 -1
- package/dist/runtime/components/JunLinksRow.vue +17 -7
- package/dist/runtime/components/JunLinksRow.vue.d.ts +16 -1
- package/dist/runtime/components/JunLogo.vue +10 -45
- package/dist/runtime/components/JunMedia.client.d.vue.ts +1 -1
- package/dist/runtime/components/JunMedia.client.vue.d.ts +1 -1
- package/dist/runtime/components/JunNavigation.vue +21 -4
- package/dist/runtime/components/JunNoteLinks.d.vue.ts +6 -0
- package/dist/runtime/components/JunNoteLinks.vue +57 -0
- package/dist/runtime/components/JunNoteLinks.vue.d.ts +6 -0
- package/dist/runtime/components/JunPageHero.d.vue.ts +8 -2
- package/dist/runtime/components/JunPageHero.vue +15 -3
- package/dist/runtime/components/JunPageHero.vue.d.ts +8 -2
- package/dist/runtime/components/JunPatternBackdrop.client.vue +1 -1
- package/dist/runtime/components/JunReaders.d.vue.ts +11 -0
- package/dist/runtime/components/JunReaders.vue +99 -0
- package/dist/runtime/components/JunReaders.vue.d.ts +11 -0
- package/dist/runtime/components/JunSearch.client.vue +2 -2
- package/dist/runtime/components/JunSectionPresence.client.d.vue.ts +17 -0
- package/dist/runtime/components/JunSectionPresence.client.vue +99 -0
- package/dist/runtime/components/JunSectionPresence.client.vue.d.ts +17 -0
- package/dist/runtime/components/JunShaderBackdrop.client.vue +1 -1
- package/dist/runtime/components/JunThreadComposer.d.vue.ts +37 -0
- package/dist/runtime/components/JunThreadComposer.vue +54 -0
- package/dist/runtime/components/JunThreadComposer.vue.d.ts +37 -0
- package/dist/runtime/components/JunTravellersChip.vue +35 -5
- package/dist/runtime/components/JunVideoEmbed.client.d.vue.ts +1 -1
- package/dist/runtime/components/JunVideoEmbed.client.vue.d.ts +1 -1
- package/dist/runtime/components/JunViewControl.d.vue.ts +29 -0
- package/dist/runtime/components/JunViewControl.vue +340 -0
- package/dist/runtime/components/JunViewControl.vue.d.ts +29 -0
- package/dist/runtime/components/JunViewControls.d.vue.ts +27 -0
- package/dist/runtime/components/JunViewControls.vue +94 -0
- package/dist/runtime/components/JunViewControls.vue.d.ts +27 -0
- package/dist/runtime/components/renderers/JunAppsRenderer.vue +45 -4
- package/dist/runtime/components/renderers/JunCinemaRenderer.vue +42 -4
- package/dist/runtime/components/renderers/JunConfigRenderer.vue +362 -239
- package/dist/runtime/components/renderers/JunCourseRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunCourseRenderer.vue +229 -0
- package/dist/runtime/components/renderers/JunCourseRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunCvRenderer.vue +44 -6
- package/dist/runtime/components/renderers/JunDeckRenderer.d.vue.ts +9 -0
- package/dist/runtime/components/renderers/JunDeckRenderer.vue +370 -0
- package/dist/runtime/components/renderers/JunDeckRenderer.vue.d.ts +9 -0
- package/dist/runtime/components/renderers/JunEntryRenderer.vue +157 -31
- package/dist/runtime/components/renderers/JunFestivalRenderer.vue +42 -5
- package/dist/runtime/components/renderers/JunGardenRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunGardenRenderer.vue +280 -0
- package/dist/runtime/components/renderers/JunGardenRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunGuestbookRenderer.vue +96 -14
- package/dist/runtime/components/renderers/JunHomeRenderer.vue +31 -132
- package/dist/runtime/components/renderers/JunItemRenderer.d.vue.ts +10 -0
- package/dist/runtime/components/renderers/JunItemRenderer.vue +398 -0
- package/dist/runtime/components/renderers/JunItemRenderer.vue.d.ts +10 -0
- package/dist/runtime/components/renderers/JunJournalRenderer.vue +141 -11
- package/dist/runtime/components/renderers/JunLibraryRenderer.vue +295 -12
- package/dist/runtime/components/renderers/JunLinksRenderer.vue +33 -1
- package/dist/runtime/components/renderers/JunLiveRenderer.vue +38 -2
- package/dist/runtime/components/renderers/JunMosaicRenderer.vue +3 -2
- package/dist/runtime/components/renderers/JunMovieRenderer.vue +32 -5
- package/dist/runtime/components/renderers/JunNowRenderer.vue +40 -7
- package/dist/runtime/components/renderers/JunPollRenderer.d.vue.ts +9 -0
- package/dist/runtime/components/renderers/JunPollRenderer.vue +231 -0
- package/dist/runtime/components/renderers/JunPollRenderer.vue.d.ts +9 -0
- package/dist/runtime/components/renderers/JunProjectRenderer.vue +74 -18
- package/dist/runtime/components/renderers/JunServicesRenderer.vue +40 -2
- package/dist/runtime/components/renderers/JunStatsRenderer.vue +37 -50
- package/dist/runtime/components/renderers/JunThreadRenderer.d.vue.ts +9 -0
- package/dist/runtime/components/renderers/JunThreadRenderer.vue +304 -0
- package/dist/runtime/components/renderers/JunThreadRenderer.vue.d.ts +9 -0
- package/dist/runtime/components/renderers/JunTrackRenderer.vue +32 -4
- package/dist/runtime/components/renderers/JunUsesRenderer.vue +57 -13
- package/dist/runtime/components/renderers/JunWallRenderer.vue +60 -5
- package/dist/runtime/composables/useJunDeck.d.ts +66 -0
- package/dist/runtime/composables/useJunDeck.js +61 -0
- package/dist/runtime/composables/useJunDocPage.d.ts +14 -11
- package/dist/runtime/composables/useJunDocPage.js +67 -3
- package/dist/runtime/composables/useJunFollow.d.ts +65 -9
- package/dist/runtime/composables/useJunFollow.js +237 -20
- package/dist/runtime/composables/useJunGarden.d.ts +67 -0
- package/dist/runtime/composables/useJunGarden.js +92 -0
- package/dist/runtime/composables/useJunOptions.d.ts +1 -0
- package/dist/runtime/composables/useJunPresence.d.ts +26 -0
- package/dist/runtime/composables/useJunPresence.js +9 -2
- package/dist/runtime/composables/useJunSections.d.ts +73 -0
- package/dist/runtime/composables/useJunSections.js +117 -0
- package/dist/runtime/composables/useJunSettings.d.ts +1 -1
- package/dist/runtime/composables/useJunSettings.js +5 -1
- package/dist/runtime/composables/useJunSiteConfig.d.ts +37 -0
- package/dist/runtime/composables/useJunTheme.js +49 -50
- package/dist/runtime/composables/useJunViewOptions.d.ts +85 -0
- package/dist/runtime/composables/useJunViewOptions.js +63 -0
- package/dist/runtime/pages/doc.vue +14 -8
- package/dist/runtime/plugins/jun-sw.client.d.ts +2 -0
- package/dist/runtime/plugins/jun-sw.client.js +36 -0
- package/dist/runtime/server/api/health.get.d.ts +19 -0
- package/dist/runtime/server/api/health.get.js +40 -0
- package/dist/runtime/server/api/links.get.d.ts +19 -0
- package/dist/runtime/server/api/links.get.js +37 -0
- package/dist/runtime/server/api/resolve/[...slug].get.d.ts +9 -0
- package/dist/runtime/server/api/resolve/[...slug].get.js +5 -0
- package/dist/runtime/server/api/stats.get.js +2 -1
- package/dist/runtime/server/janitor/junJanitorChores.js +8 -0
- package/dist/runtime/server/plugins/jun-bootstrap.js +103 -15
- package/dist/runtime/server/plugins/jun-doc-cache.js +42 -4
- package/dist/runtime/server/plugins/jun-janitor.js +9 -1
- package/dist/runtime/server/plugins/jun-rpc.js +293 -0
- package/dist/runtime/server/plugins/jun-watchdog.d.ts +2 -0
- package/dist/runtime/server/plugins/jun-watchdog.js +54 -0
- package/dist/runtime/server/routes/jun-icon.png.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-icon.png.get.js +25 -0
- package/dist/runtime/server/routes/jun-icon.svg.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-icon.svg.get.js +9 -0
- package/dist/runtime/server/routes/jun-splash.png.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-splash.png.get.js +37 -0
- package/dist/runtime/server/routes/jun-sw.js.get.d.ts +2 -0
- package/dist/runtime/server/routes/jun-sw.js.get.js +126 -0
- package/dist/runtime/server/routes/manifest.webmanifest.get.d.ts +24 -0
- package/dist/runtime/server/routes/manifest.webmanifest.get.js +51 -0
- package/dist/runtime/server/routes/sitemap.xml.get.js +2 -0
- package/dist/runtime/server/utils/junBoot.d.ts +1 -0
- package/dist/runtime/server/utils/junBoot.js +4 -0
- package/dist/runtime/server/utils/junBrand.d.ts +4 -0
- package/dist/runtime/server/utils/junBrand.js +9 -0
- package/dist/runtime/server/utils/junCache.d.ts +17 -0
- package/dist/runtime/server/utils/junCache.js +5 -0
- package/dist/runtime/server/utils/junIcon.d.ts +44 -0
- package/dist/runtime/server/utils/junIcon.js +374 -0
- package/dist/runtime/server/utils/junSeedGate.d.ts +68 -0
- package/dist/runtime/server/utils/junSeedGate.js +41 -0
- package/dist/runtime/types.d.ts +82 -3
- package/dist/runtime/utils/junCourse.d.ts +106 -0
- package/dist/runtime/utils/junCourse.js +65 -0
- package/dist/runtime/utils/junGarden.d.ts +193 -0
- package/dist/runtime/utils/junGarden.js +233 -0
- package/dist/runtime/utils/junIdentity.d.ts +121 -0
- package/dist/runtime/utils/junIdentity.js +115 -0
- package/dist/runtime/utils/junMark.d.ts +254 -0
- package/dist/runtime/utils/junMark.js +169 -0
- package/dist/runtime/utils/junMetaSchemas.js +8 -1
- package/dist/runtime/utils/junModeration.d.ts +67 -0
- package/dist/runtime/utils/junModeration.js +20 -0
- package/dist/runtime/utils/junMotion.d.ts +26 -0
- package/dist/runtime/utils/junMotion.js +31 -0
- package/dist/runtime/utils/junPeople.d.ts +43 -0
- package/dist/runtime/utils/junPeople.js +9 -0
- package/dist/runtime/utils/junPoll.d.ts +79 -0
- package/dist/runtime/utils/junPoll.js +82 -0
- package/dist/runtime/utils/junReadiness.d.ts +131 -0
- package/dist/runtime/utils/junReadiness.js +69 -0
- package/dist/runtime/utils/junSections.d.ts +115 -0
- package/dist/runtime/utils/junSections.js +45 -0
- package/dist/runtime/utils/junSlides.d.ts +66 -0
- package/dist/runtime/utils/junSlides.js +47 -0
- package/dist/runtime/utils/junThread.d.ts +81 -0
- package/dist/runtime/utils/junThread.js +75 -0
- package/dist/runtime/utils/junViewSpecs.d.ts +671 -0
- package/dist/runtime/utils/junViewSpecs.js +534 -0
- package/dist/runtime/utils/junViewValues.d.ts +125 -0
- package/dist/runtime/utils/junViewValues.js +104 -0
- package/dist/types.d.mts +1 -1
- package/package.json +5 -1
package/dist/module.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
import { JunBrand, JunPageTypesOption, JunFeatures, JunContextMenuOptions, JunNavigationOptions, JunCampfireOptions, JunBackdropKind, JunLayoutPolicy, JunSiteConfigDefaults, JunSeedOptions, JunJanitorOptions, JunGuestNames, JunEmbedOptions, JunMosaicOptions, JunServicesOptions, JunPaletteSet } from '../dist/runtime/types.js';
|
|
3
|
-
export { JunBackdropKind, JunBrand, JunCampfireOptions, JunCampfirePillMode, JunCampfirePlacement, JunCampfireRosterStyle, JunCampfireSize, JunCampfireTab, JunContextMenuOptions, JunEmbedOptions, JunFeatures, JunGuestNames, JunJanitorBaselineMode, JunJanitorIdentity, JunJanitorIdentityMode, JunJanitorMode, JunJanitorOptions, JunJsonLdSpec, JunLayoutPolicy, JunMosaicOptions, JunNavActiveStyle, JunNavItemMode, JunNavPlacement, JunNavShape, JunNavSize, JunNavigationOptions, JunPageTypeKey, JunPageTypeOverride, JunPageTypesOption, JunPalette, JunPaletteSet, JunRuntimeOptions, JunSeedNode, JunSeedOptions, JunServicesOptions, JunSiteConfigDefaults } from '../dist/runtime/types.js';
|
|
2
|
+
import { JunBrand, JunPageTypesOption, JunFeatures, JunContextMenuOptions, JunNavigationOptions, JunCampfireOptions, JunBackdropKind, JunLayoutPolicy, JunSiteConfigDefaults, JunSeedOptions, JunJanitorOptions, JunGuestNames, JunRendererDefaults, JunEmbedOptions, JunMosaicOptions, JunServicesOptions, JunPaletteSet } from '../dist/runtime/types.js';
|
|
3
|
+
export { JunBackdropKind, JunBrand, JunCampfireOptions, JunCampfirePillMode, JunCampfirePlacement, JunCampfireRosterStyle, JunCampfireSize, JunCampfireTab, JunContextMenuOptions, JunEmbedOptions, JunFeatures, JunGuestNames, JunJanitorBaselineMode, JunJanitorIdentity, JunJanitorIdentityMode, JunJanitorMode, JunJanitorOptions, JunJsonLdSpec, JunLayoutPolicy, JunMosaicOptions, JunNavActiveStyle, JunNavItemMode, JunNavPlacement, JunNavShape, JunNavSize, JunNavigationOptions, JunPageTypeKey, JunPageTypeOverride, JunPageTypesOption, JunPalette, JunPaletteSet, JunRendererDefaults, JunRuntimeOptions, JunSeedNode, JunSeedOptions, JunServicesOptions, JunSiteConfigDefaults } from '../dist/runtime/types.js';
|
|
4
4
|
|
|
5
5
|
interface ModuleOptions {
|
|
6
6
|
/** Site identity. The only thing most sites need to set. */
|
|
@@ -103,6 +103,21 @@ interface ModuleOptions {
|
|
|
103
103
|
mapboxToken?: string;
|
|
104
104
|
/** Extra meta keys that must never auto-materialise as an editor chip. */
|
|
105
105
|
metaExcludeKeys?: string[];
|
|
106
|
+
/**
|
|
107
|
+
* The site's HOUSE STYLE for its renderers — how each page type lays out
|
|
108
|
+
* before any owner touches it.
|
|
109
|
+
*
|
|
110
|
+
* Keyed by page-type key, then by the option keys that type's renderer
|
|
111
|
+
* declares (`{ library: { variant: 'grid', covers: true } }`). An owner still
|
|
112
|
+
* overrides any of it per document, and a document that stores nothing follows
|
|
113
|
+
* whatever is set here — so changing a default later reaches every page that
|
|
114
|
+
* never disagreed with it.
|
|
115
|
+
*
|
|
116
|
+
* Unknown keys and out-of-range values are IGNORED rather than rendered: a
|
|
117
|
+
* variant a renderer does not have falls back to its default, because a
|
|
118
|
+
* mistyped setting must not be able to blank a page.
|
|
119
|
+
*/
|
|
120
|
+
renderers?: JunRendererDefaults;
|
|
106
121
|
/**
|
|
107
122
|
* How the site treats media it does not host — the video facade's poster
|
|
108
123
|
* policy. `features.thirdPartyEmbeds` is the on/off switch; this is the
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -33,13 +33,121 @@ const PAGE_TYPES = {
|
|
|
33
33
|
label: "Links",
|
|
34
34
|
icon: "i-lucide-link",
|
|
35
35
|
renderer: "JunLinksRenderer",
|
|
36
|
+
default: true,
|
|
37
|
+
// A row WITH a url opens outward and its page is rarely visited by a
|
|
38
|
+
// human — but it is in the sitemap either way, so it is a page a crawler
|
|
39
|
+
// reads. "Rarely visited" was the reasoning that left it blank.
|
|
40
|
+
itemChildren: {
|
|
41
|
+
label: "Link",
|
|
42
|
+
icon: "i-lucide-link"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
thread: {
|
|
46
|
+
label: "Conversation",
|
|
47
|
+
icon: "i-lucide-messages-square",
|
|
48
|
+
renderer: "JunThreadRenderer",
|
|
49
|
+
default: true,
|
|
50
|
+
jsonLd: {
|
|
51
|
+
"@context": "https://schema.org",
|
|
52
|
+
"@type": "DiscussionForumPosting",
|
|
53
|
+
"headline": { from: "title" },
|
|
54
|
+
"description": { from: "description" },
|
|
55
|
+
"datePublished": { from: "meta.date", format: "iso-date" },
|
|
56
|
+
"author": { "@type": "Person", "name": { from: "authorName" } }
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
course: {
|
|
60
|
+
label: "Course",
|
|
61
|
+
icon: "i-lucide-graduation-cap",
|
|
62
|
+
renderer: "JunCourseRenderer",
|
|
63
|
+
default: true,
|
|
64
|
+
// Steps ARE pages: each one renders through the shared item page unless it
|
|
65
|
+
// carries a type of its own. Nothing about a step is special except its
|
|
66
|
+
// position, which is the tree's `order`.
|
|
67
|
+
itemChildren: {
|
|
68
|
+
label: "Step",
|
|
69
|
+
icon: "i-lucide-list-ordered",
|
|
70
|
+
jsonLd: {
|
|
71
|
+
"@context": "https://schema.org",
|
|
72
|
+
"@type": "LearningResource",
|
|
73
|
+
"name": { from: "title" },
|
|
74
|
+
"description": { from: "description" }
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
// NOT `feedItems`: a course is revised, not published in instalments, and
|
|
78
|
+
// syndicating every step edit is what makes a documentation feed unreadable.
|
|
79
|
+
jsonLd: {
|
|
80
|
+
"@context": "https://schema.org",
|
|
81
|
+
"@type": "Course",
|
|
82
|
+
"name": { from: "title" },
|
|
83
|
+
"description": { from: "description" },
|
|
84
|
+
"provider": { "@type": "Person", "name": { from: "authorName" } }
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
garden: {
|
|
88
|
+
label: "Garden",
|
|
89
|
+
icon: "i-lucide-sprout",
|
|
90
|
+
renderer: "JunGardenRenderer",
|
|
91
|
+
default: true,
|
|
92
|
+
// A garden's notes ARE pages, so an unclaimed child renders as an item — the
|
|
93
|
+
// same choice the library and the cinema make. A note with its own type
|
|
94
|
+
// (usually `jun-entry`, which has the prose settings) keeps its own renderer.
|
|
95
|
+
itemChildren: {
|
|
96
|
+
label: "Note",
|
|
97
|
+
icon: "i-lucide-notebook-pen",
|
|
98
|
+
jsonLd: {
|
|
99
|
+
"@context": "https://schema.org",
|
|
100
|
+
"@type": "Article",
|
|
101
|
+
"headline": { from: "title" },
|
|
102
|
+
"description": { from: "description" },
|
|
103
|
+
"author": { "@type": "Person", "name": { from: "authorName" } }
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
// A collection of writing, which is what a garden is. NOT `feedItems`: notes
|
|
107
|
+
// are revised rather than published, and syndicating a note every time
|
|
108
|
+
// somebody tends it is what makes a wiki's feed unreadable.
|
|
109
|
+
jsonLd: {
|
|
110
|
+
"@context": "https://schema.org",
|
|
111
|
+
"@type": "CollectionPage",
|
|
112
|
+
"name": { from: "title" },
|
|
113
|
+
"description": { from: "description" }
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
poll: {
|
|
117
|
+
label: "Poll",
|
|
118
|
+
icon: "i-lucide-chart-no-axes-column",
|
|
119
|
+
renderer: "JunPollRenderer",
|
|
36
120
|
default: true
|
|
121
|
+
// No `itemChildren`: a poll's choices are meta on the poll itself, not child
|
|
122
|
+
// documents. A choice is a word, and giving each one a page — with a slug, a
|
|
123
|
+
// feed entry and a sitemap line — would be a lot of site for the word "Yes".
|
|
124
|
+
},
|
|
125
|
+
deck: {
|
|
126
|
+
label: "Deck",
|
|
127
|
+
icon: "i-lucide-presentation",
|
|
128
|
+
renderer: "JunDeckRenderer",
|
|
129
|
+
default: true,
|
|
130
|
+
// A talk is a document with headings, so the structured data is the same
|
|
131
|
+
// shape an entry's is — a written thing with a date and an author. Nothing
|
|
132
|
+
// about presenting it changes what it IS.
|
|
133
|
+
jsonLd: {
|
|
134
|
+
"@context": "https://schema.org",
|
|
135
|
+
"@type": "PresentationDigitalDocument",
|
|
136
|
+
"name": { from: "title" },
|
|
137
|
+
"description": { from: "description" },
|
|
138
|
+
"datePublished": { from: "meta.date", format: "iso-date" },
|
|
139
|
+
"author": { "@type": "Person", "name": { from: "authorName" } }
|
|
140
|
+
}
|
|
37
141
|
},
|
|
38
142
|
cv: {
|
|
39
143
|
label: "Journey",
|
|
40
144
|
icon: "i-lucide-milestone",
|
|
41
145
|
renderer: "JunCvRenderer",
|
|
42
146
|
default: true,
|
|
147
|
+
itemChildren: {
|
|
148
|
+
label: "Station",
|
|
149
|
+
icon: "i-lucide-milestone"
|
|
150
|
+
},
|
|
43
151
|
jsonLd: {
|
|
44
152
|
"@context": "https://schema.org",
|
|
45
153
|
"@type": "ProfilePage",
|
|
@@ -101,19 +209,54 @@ const PAGE_TYPES = {
|
|
|
101
209
|
label: "Uses",
|
|
102
210
|
icon: "i-lucide-wrench",
|
|
103
211
|
renderer: "JunUsesRenderer",
|
|
104
|
-
default: true
|
|
212
|
+
default: true,
|
|
213
|
+
itemChildren: {
|
|
214
|
+
label: "Tool",
|
|
215
|
+
icon: "i-lucide-wrench",
|
|
216
|
+
jsonLd: {
|
|
217
|
+
"@context": "https://schema.org",
|
|
218
|
+
"@type": "Product",
|
|
219
|
+
"name": { from: "title" },
|
|
220
|
+
"description": { from: "description" },
|
|
221
|
+
"category": { from: "meta.category" },
|
|
222
|
+
"url": { from: "meta.url" }
|
|
223
|
+
}
|
|
224
|
+
}
|
|
105
225
|
},
|
|
106
226
|
library: {
|
|
107
227
|
label: "Library",
|
|
108
228
|
icon: "i-lucide-library",
|
|
109
229
|
renderer: "JunLibraryRenderer",
|
|
110
|
-
default: true
|
|
230
|
+
default: true,
|
|
231
|
+
itemChildren: {
|
|
232
|
+
label: "Book",
|
|
233
|
+
icon: "i-lucide-book",
|
|
234
|
+
jsonLd: {
|
|
235
|
+
"@context": "https://schema.org",
|
|
236
|
+
"@type": "Book",
|
|
237
|
+
"name": { from: "title" },
|
|
238
|
+
"description": { from: "description" },
|
|
239
|
+
"author": { "@type": "Person", "name": { from: "meta.author" } },
|
|
240
|
+
"url": { from: "meta.url" }
|
|
241
|
+
}
|
|
242
|
+
}
|
|
111
243
|
},
|
|
112
244
|
wall: {
|
|
113
245
|
label: "Wall",
|
|
114
246
|
icon: "i-lucide-images",
|
|
115
247
|
renderer: "JunWallRenderer",
|
|
116
|
-
default: true
|
|
248
|
+
default: true,
|
|
249
|
+
itemChildren: {
|
|
250
|
+
label: "Photograph",
|
|
251
|
+
icon: "i-lucide-image",
|
|
252
|
+
jsonLd: {
|
|
253
|
+
"@context": "https://schema.org",
|
|
254
|
+
"@type": "Photograph",
|
|
255
|
+
"name": { from: "title" },
|
|
256
|
+
"description": { from: "description" },
|
|
257
|
+
"dateCreated": { from: "meta.dateTaken", format: "iso-date" }
|
|
258
|
+
}
|
|
259
|
+
}
|
|
117
260
|
},
|
|
118
261
|
redirect: {
|
|
119
262
|
label: "Redirect",
|
|
@@ -188,7 +331,15 @@ const PAGE_TYPES = {
|
|
|
188
331
|
label: "Signals",
|
|
189
332
|
icon: "i-lucide-radar",
|
|
190
333
|
renderer: "JunServicesRenderer",
|
|
191
|
-
default: true
|
|
334
|
+
default: true,
|
|
335
|
+
// The card's live figures are not repeated on the item page: they are
|
|
336
|
+
// fetched per render and belong to the card. What the page adds is the
|
|
337
|
+
// document — which provider, which reference, and whatever the owner has
|
|
338
|
+
// written about why this thing is being watched.
|
|
339
|
+
itemChildren: {
|
|
340
|
+
label: "Signal",
|
|
341
|
+
icon: "i-lucide-radar"
|
|
342
|
+
}
|
|
192
343
|
},
|
|
193
344
|
mosaic: {
|
|
194
345
|
label: "Mosaic",
|
|
@@ -204,9 +355,20 @@ const PAGE_TYPES = {
|
|
|
204
355
|
// never referenced, so mapbox-gl never enters the bundle graph and no site
|
|
205
356
|
// pays for a dependency it did not ask for. It is also the module's only
|
|
206
357
|
// page type that needs an external service token.
|
|
207
|
-
default: false
|
|
358
|
+
default: false,
|
|
359
|
+
itemChildren: {
|
|
360
|
+
label: "Waypoint",
|
|
361
|
+
icon: "i-lucide-map-pin",
|
|
362
|
+
jsonLd: {
|
|
363
|
+
"@context": "https://schema.org",
|
|
364
|
+
"@type": "Place",
|
|
365
|
+
"name": { from: "title" },
|
|
366
|
+
"description": { from: "description" }
|
|
367
|
+
}
|
|
368
|
+
}
|
|
208
369
|
}
|
|
209
370
|
};
|
|
371
|
+
const ITEM_TYPE_ID = "jun-item";
|
|
210
372
|
const BUILTIN_META_EXCLUDE_KEYS = [
|
|
211
373
|
"draft",
|
|
212
374
|
"bodyIsMirror",
|
|
@@ -261,7 +423,22 @@ const BUILTIN_META_EXCLUDE_KEYS = [
|
|
|
261
423
|
"paneWidget",
|
|
262
424
|
"paneSpan",
|
|
263
425
|
"paneRect",
|
|
264
|
-
"paneInteractive"
|
|
426
|
+
"paneInteractive",
|
|
427
|
+
// A renderer's DISPLAY settings — which variant, how dense, which fields
|
|
428
|
+
// (`useJunViewOptions`). One namespaced object rather than a key per option,
|
|
429
|
+
// which is also why this is one entry here instead of a growing list. Edited
|
|
430
|
+
// through `<JunViewControls>`; a chip for it would stringify the object.
|
|
431
|
+
"junView",
|
|
432
|
+
// A note's stated maturity (`seedling` / `budding` / `evergreen`), picked from
|
|
433
|
+
// a select on the page. Excluded for the same reason as `mosaicLayout`: it has
|
|
434
|
+
// a fixed vocabulary, and a chip for it is a free-text field where "evergreeen"
|
|
435
|
+
// reads as no answer at all.
|
|
436
|
+
"maturity",
|
|
437
|
+
// Who has got how far through a course — an object keyed by IDENTITY, written
|
|
438
|
+
// only by the RPC runner. Same class of hazard as `pollVotes`: a chip would
|
|
439
|
+
// stringify every learner's progress onto the page, and it is not owner content
|
|
440
|
+
// in the first place.
|
|
441
|
+
"courseProgress"
|
|
265
442
|
];
|
|
266
443
|
const DEFAULT_SERVICE_ADAPTERS = [
|
|
267
444
|
"github-repo",
|
|
@@ -574,7 +751,8 @@ const module$1 = defineNuxtModule({
|
|
|
574
751
|
autoInstall: true,
|
|
575
752
|
embeds: { remoteThumbnails: false },
|
|
576
753
|
mosaic: { maxPanes: 24, maxDepth: 1 },
|
|
577
|
-
services: { adapters: DEFAULT_SERVICE_ADAPTERS, ttl: 600 }
|
|
754
|
+
services: { adapters: DEFAULT_SERVICE_ADAPTERS, ttl: 600 },
|
|
755
|
+
renderers: {}
|
|
578
756
|
},
|
|
579
757
|
async setup(options, nuxt) {
|
|
580
758
|
const resolver = createResolver(import.meta.url);
|
|
@@ -632,18 +810,24 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
632
810
|
immersive: options.layout?.immersive ?? ["graph", "map", ...present("globe")],
|
|
633
811
|
panel: options.layout?.panel ?? DEFAULT_PANEL_TYPES,
|
|
634
812
|
feed: options.layout?.feed ?? present("home", "apps", "journal", "live", "wall", "cinema", "festival", "services", "mosaic"),
|
|
635
|
-
selfPadded: options.layout?.selfPadded ??
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
813
|
+
selfPadded: options.layout?.selfPadded ?? [
|
|
814
|
+
...present(
|
|
815
|
+
"entry",
|
|
816
|
+
"now",
|
|
817
|
+
"app",
|
|
818
|
+
"uses",
|
|
819
|
+
"library",
|
|
820
|
+
"redirect",
|
|
821
|
+
"guestbook",
|
|
822
|
+
"stats",
|
|
823
|
+
"movie",
|
|
824
|
+
"track"
|
|
825
|
+
),
|
|
826
|
+
// The item page owns its own column and padding, like every other
|
|
827
|
+
// detail type. Not `present()`-gated: it is registered
|
|
828
|
+
// unconditionally, so it cannot drop out with a disabled key.
|
|
829
|
+
ITEM_TYPE_ID
|
|
830
|
+
],
|
|
647
831
|
readingWidth: options.layout?.readingWidth ?? { prose: "max-w-3xl", default: "max-w-6xl" }
|
|
648
832
|
};
|
|
649
833
|
function defaultPaletteMap() {
|
|
@@ -679,6 +863,10 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
679
863
|
logoMark: options.brand?.logoMark ?? "sun",
|
|
680
864
|
logoVariant: options.brand?.logoVariant ?? "mark",
|
|
681
865
|
themeColor: options.brand?.themeColor ?? "#0e0f11",
|
|
866
|
+
// The app-icon tile. Defaults to the theme colour so a site gets one
|
|
867
|
+
// consistent chrome colour across its status bar, its splash and its
|
|
868
|
+
// home-screen square without configuring three things.
|
|
869
|
+
iconBackground: options.brand?.iconBackground ?? options.brand?.themeColor ?? "#0e0f11",
|
|
682
870
|
schemaType: options.brand?.schemaType ?? "Person"
|
|
683
871
|
},
|
|
684
872
|
features: {
|
|
@@ -704,16 +892,30 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
704
892
|
jsonLd: Object.fromEntries(
|
|
705
893
|
enabled.filter((e) => e.def.jsonLd).map((e) => [e.type, e.def.jsonLd])
|
|
706
894
|
),
|
|
895
|
+
// Keyed by the PARENT's registered type id, so a site that remaps
|
|
896
|
+
// `library` to a legacy id keeps its book pages — the same reason
|
|
897
|
+
// `typeIds` exists. Disabled types drop out with everything else.
|
|
898
|
+
itemParents: Object.fromEntries(
|
|
899
|
+
enabled.filter((e) => e.def.itemChildren).map((e) => [e.type, { ...e.def.itemChildren }])
|
|
900
|
+
),
|
|
901
|
+
itemType: ITEM_TYPE_ID,
|
|
707
902
|
metaExcludeKeys: [...BUILTIN_META_EXCLUDE_KEYS, ...options.metaExcludeKeys ?? []],
|
|
708
903
|
palettes: options.palettes ?? DEFAULT_PALETTES,
|
|
709
904
|
paletteMap: options.paletteMap ?? defaultPaletteMap(),
|
|
710
905
|
apiBase: options.apiBase ?? "/api/_jun",
|
|
906
|
+
// Read by the service-worker plugin, which has no access to module
|
|
907
|
+
// options — a site that opted out must not get a worker registered on it.
|
|
908
|
+
pwa: options.pwa !== false,
|
|
711
909
|
mapboxToken: options.mapboxToken ?? "",
|
|
712
910
|
embeds: { remoteThumbnails: options.embeds?.remoteThumbnails ?? false },
|
|
713
911
|
mosaic: {
|
|
714
912
|
maxPanes: options.mosaic?.maxPanes ?? 24,
|
|
715
913
|
maxDepth: options.mosaic?.maxDepth ?? 1
|
|
716
914
|
},
|
|
915
|
+
// The site's house style for its renderers. Not merged with anything —
|
|
916
|
+
// there is no module-level default block, because each renderer declares
|
|
917
|
+
// its own defaults beside the layout they drive (`useJunViewOptions`).
|
|
918
|
+
renderers: options.renderers ?? {},
|
|
717
919
|
services: {
|
|
718
920
|
// Replacement, not a merge: a site listing two adapters means two, and
|
|
719
921
|
// `defu` would hand it those two plus all seven of ours.
|
|
@@ -823,6 +1025,18 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
823
1025
|
` metaSchema: junMetaSchema(${JSON.stringify(e.key)}),`,
|
|
824
1026
|
` },`
|
|
825
1027
|
].join("\n"));
|
|
1028
|
+
const itemEntry = [
|
|
1029
|
+
` ${JSON.stringify(ITEM_TYPE_ID)}: {`,
|
|
1030
|
+
` label: ${JSON.stringify("Item")},`,
|
|
1031
|
+
` icon: ${JSON.stringify("i-lucide-file-text")},`,
|
|
1032
|
+
` component: itemRenderer,`,
|
|
1033
|
+
` hasEditor: false,`,
|
|
1034
|
+
// No schema of its own on purpose: an item's chips come from its
|
|
1035
|
+
// PARENT, which `AEditor` already resolves by walking up the tree
|
|
1036
|
+
// from `parentId`. Declaring one here would shadow the collection's.
|
|
1037
|
+
` metaSchema: undefined,`,
|
|
1038
|
+
` },`
|
|
1039
|
+
].join("\n");
|
|
826
1040
|
return [
|
|
827
1041
|
"// AUTO-GENERATED by @abraca/junis \u2014 page-type registration.",
|
|
828
1042
|
"// Renderers are lazy: each drags in a heavy dep graph transitively",
|
|
@@ -834,6 +1048,9 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
834
1048
|
`import { junMetaSchema } from ${JSON.stringify(resolver.resolve("./runtime/utils/junMetaSchemas"))}`,
|
|
835
1049
|
"",
|
|
836
1050
|
...imports,
|
|
1051
|
+
`const itemRenderer = defineAsyncComponent(() => import(${JSON.stringify(
|
|
1052
|
+
resolver.resolve("./runtime/components/renderers/JunItemRenderer.vue")
|
|
1053
|
+
)}))`,
|
|
837
1054
|
"",
|
|
838
1055
|
"export default defineNuxtPlugin((nuxtApp) => {",
|
|
839
1056
|
" const jun = useRuntimeConfig().public.jun",
|
|
@@ -844,6 +1061,7 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
844
1061
|
" metaExcludeKeys: jun.metaExcludeKeys,",
|
|
845
1062
|
" pageTypes: {",
|
|
846
1063
|
...entries,
|
|
1064
|
+
itemEntry,
|
|
847
1065
|
" },",
|
|
848
1066
|
" })",
|
|
849
1067
|
" })",
|
|
@@ -892,6 +1110,9 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
892
1110
|
if (enabled.some((e) => e.key === "stats")) {
|
|
893
1111
|
addServerHandler({ route: `${base}/stats`, handler: resolver.resolve("./runtime/server/api/stats.get") });
|
|
894
1112
|
}
|
|
1113
|
+
if (enabled.some((e) => e.key === "garden")) {
|
|
1114
|
+
addServerHandler({ route: `${base}/links`, handler: resolver.resolve("./runtime/server/api/links.get") });
|
|
1115
|
+
}
|
|
895
1116
|
if (enabled.some((e) => e.key === "services")) {
|
|
896
1117
|
addServerHandler({ route: `${base}/service`, handler: resolver.resolve("./runtime/server/api/service.get") });
|
|
897
1118
|
}
|
|
@@ -905,6 +1126,25 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
905
1126
|
if (runtime.features.sitemap) {
|
|
906
1127
|
addServerHandler({ route: "/sitemap.xml", handler: resolver.resolve("./runtime/server/routes/sitemap.xml.get") });
|
|
907
1128
|
}
|
|
1129
|
+
if (options.pwa !== false) {
|
|
1130
|
+
const iconPng = resolver.resolve("./runtime/server/routes/jun-icon.png.get");
|
|
1131
|
+
addServerHandler({ route: "/jun-icon.png", handler: iconPng });
|
|
1132
|
+
addServerHandler({ route: "/jun-icon.svg", handler: resolver.resolve("./runtime/server/routes/jun-icon.svg.get") });
|
|
1133
|
+
addServerHandler({ route: "/jun-splash.png", handler: resolver.resolve("./runtime/server/routes/jun-splash.png.get") });
|
|
1134
|
+
addServerHandler({ route: "/apple-touch-icon.png", handler: iconPng });
|
|
1135
|
+
addServerHandler({ route: "/apple-touch-icon-precomposed.png", handler: iconPng });
|
|
1136
|
+
addServerHandler({ route: "/favicon.ico", handler: resolver.resolve("./runtime/server/routes/jun-icon.svg.get") });
|
|
1137
|
+
if (!hasNuxtModule("@vite-pwa/nuxt")) {
|
|
1138
|
+
addServerHandler({
|
|
1139
|
+
route: "/manifest.webmanifest",
|
|
1140
|
+
handler: resolver.resolve("./runtime/server/routes/manifest.webmanifest.get")
|
|
1141
|
+
});
|
|
1142
|
+
addServerHandler({ route: "/jun-sw.js", handler: resolver.resolve("./runtime/server/routes/jun-sw.js.get") });
|
|
1143
|
+
addPlugin(resolver.resolve("./runtime/plugins/jun-sw.client"));
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
addServerHandler({ route: `${base}/health`, handler: resolver.resolve("./runtime/server/api/health.get") });
|
|
1147
|
+
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-watchdog"));
|
|
908
1148
|
if (runtime.features.docCache) {
|
|
909
1149
|
addServerPlugin(resolver.resolve("./runtime/server/plugins/jun-doc-cache"));
|
|
910
1150
|
nuxt.options.nitro.experimental = defu(nuxt.options.nitro.experimental, { tasks: true });
|
|
@@ -941,9 +1181,17 @@ Switch them off with \`jun.pageTypes: { ${missing.map((e) => `${e.key}: false`).
|
|
|
941
1181
|
display: "standalone",
|
|
942
1182
|
background_color: runtime.brand.themeColor,
|
|
943
1183
|
theme_color: runtime.brand.themeColor,
|
|
944
|
-
//
|
|
945
|
-
//
|
|
946
|
-
|
|
1184
|
+
// The module's own icon routes, unless the site named its own files.
|
|
1185
|
+
// These used to be omitted entirely ("pointing the manifest at files
|
|
1186
|
+
// a site does not have produces a broken install prompt rather than
|
|
1187
|
+
// none") — which was correct while icons meant committed PNGs. They
|
|
1188
|
+
// are RENDERED from the site's mark now, so there is always something
|
|
1189
|
+
// real behind these URLs.
|
|
1190
|
+
icons: options.brand?.icons?.length ? options.brand.icons : [
|
|
1191
|
+
{ src: "/jun-icon.png?size=192", sizes: "192x192", type: "image/png", purpose: "any" },
|
|
1192
|
+
{ src: "/jun-icon.png?size=512", sizes: "512x512", type: "image/png", purpose: "any" },
|
|
1193
|
+
{ src: "/jun-icon.png?size=512&maskable=1", sizes: "512x512", type: "image/png", purpose: "maskable" }
|
|
1194
|
+
]
|
|
947
1195
|
},
|
|
948
1196
|
workbox: {
|
|
949
1197
|
globPatterns: ["**/*.{js,css,html,ico,png,svg,webmanifest,woff2}"],
|
|
@@ -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-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:7rem}body,html{color-scheme:light dark;overscroll-behavior-y:none;scroll-behavior:smooth}body{-webkit-tap-highlight-color:transparent;padding-top:env(safe-area-inset-top);touch-action:manipulation}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:100vh;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-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-sun-from:#fafafa;--jun-sun-to:#e4e4e7;--jun-sun-core:#101013;--jun-sun-glow:#f4f4f5}.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}}
|
|
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}
|
|
@@ -116,5 +116,5 @@ onBeforeUnmount(() => {
|
|
|
116
116
|
</template>
|
|
117
117
|
|
|
118
118
|
<style scoped>
|
|
119
|
-
.jun-blob-backdrop{background
|
|
119
|
+
.jun-blob-backdrop{background:var(--jun-canvas);min-height:100lvh;--jun-blob-core:18%;--jun-blob-mid:11%}:root.dark .jun-blob-backdrop{--jun-blob-core:34%;--jun-blob-mid:21%}.blob-parallax{inset:-3%;opacity:var(--jun-blob-opacity,1);position:absolute;transform:translate3d(var(--px,0),var(--py,0),0);transition:opacity .6s ease;will-change:transform}.is-quiet .blob-parallax{opacity:0}.blob-field{inset:0;position:absolute;transform-origin:50% 50%}.blob-field.is-nav{animation:nav-breath 1.2s cubic-bezier(.22,1,.36,1)}.blob{border-radius:50%;mix-blend-mode:multiply;position:absolute;transform:translateZ(0);transition:top 1.2s cubic-bezier(.22,1,.36,1),left 1.2s cubic-bezier(.22,1,.36,1),width 1.2s cubic-bezier(.22,1,.36,1),height 1.2s cubic-bezier(.22,1,.36,1);will-change:transform}:root.dark .blob{mix-blend-mode:screen}.blob--1{animation:blob-drift-a 34s ease-in-out infinite}.blob--2{animation:blob-drift-b 41s ease-in-out infinite}.blob--3{animation:blob-drift-c 47s ease-in-out infinite}.is-paused .blob,.is-paused .blob-field{animation-play-state:paused}@keyframes nav-breath{0%{transform:scale(1.03)}60%{transform:scale(.995)}to{transform:scale(1)}}@keyframes blob-drift-a{0%,to{transform:translate(0) scale(1)}33%{transform:translate(7vw,6vh) scale(1.1)}66%{transform:translate(-5vw,9vh) scale(.94)}}@keyframes blob-drift-b{0%,to{transform:translate(0) scale(1)}33%{transform:translate(-8vw,-5vh) scale(.9)}66%{transform:translate(6vw,7vh) scale(1.12)}}@keyframes blob-drift-c{0%,to{transform:translate(0) scale(1.04)}50%{transform:translate(9vw,-7vh) scale(.92)}}@media (prefers-reduced-motion:reduce){.blob,.blob-field{animation:none!important}.blob{transition:none!important}.blob-parallax{transform:none!important}}
|
|
120
120
|
</style>
|