@backgold/template-kit 0.0.0-stage → 0.1.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.
Files changed (340) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +12 -2
  3. package/dist/chunk-KOB36GSF.js +62 -0
  4. package/dist/constants-DvTNj4JI.d-Batjcj3Z.d.ts +38 -0
  5. package/dist/content-api-CYeY0vU8.d.ts +849 -0
  6. package/dist/contract/content-api-examples.d.ts +58 -0
  7. package/dist/contract/content-api-examples.js +783 -0
  8. package/dist/contract/content-api.d.ts +2 -0
  9. package/dist/contract/content-api.js +1 -0
  10. package/dist/contract/site-templates.d.ts +252 -0
  11. package/dist/contract/site-templates.js +185 -0
  12. package/package.json +70 -3
  13. package/src/components/EntryCard.astro +35 -0
  14. package/src/components/EventMap.astro +118 -0
  15. package/src/components/EventPage.astro +194 -0
  16. package/src/components/FieldValue.astro +41 -0
  17. package/src/components/LeadingHero.astro +21 -0
  18. package/src/components/NotFound.astro +20 -0
  19. package/src/components/PageSections.astro +47 -0
  20. package/src/components/Prose.astro +18 -0
  21. package/src/components/chrome/Brand.astro +54 -0
  22. package/src/components/chrome/ClosingCall.astro +94 -0
  23. package/src/components/chrome/DonateStrip.astro +61 -0
  24. package/src/components/chrome/FooterColumns.astro +32 -0
  25. package/src/components/chrome/FooterContact.astro +28 -0
  26. package/src/components/chrome/MenuList.astro +45 -0
  27. package/src/components/chrome/ModeToggle.astro +125 -0
  28. package/src/components/chrome/SignedInNotice.astro +53 -0
  29. package/src/components/chrome/SignupBand.astro +12 -0
  30. package/src/components/chrome/TakeoverBanner.astro +56 -0
  31. package/src/components/chrome/VisitorAccount.astro +82 -0
  32. package/src/components/entries/AuthorBox.astro +47 -0
  33. package/src/components/entries/EntryFields.astro +29 -0
  34. package/src/components/entries/EntryHeader.astro +77 -0
  35. package/src/components/entries/ListFrame.astro +126 -0
  36. package/src/components/entries/ListSearch.astro +24 -0
  37. package/src/components/entries/Share.astro +24 -0
  38. package/src/components/entries/course/classroom.astro +26 -0
  39. package/src/components/entries/course/lesson.astro +18 -0
  40. package/src/components/entries/course/section.ts +20 -0
  41. package/src/components/entries/course/syllabus.astro +15 -0
  42. package/src/components/entries/index.ts +77 -0
  43. package/src/components/entries/newsletter/issue.astro +41 -0
  44. package/src/components/entries/newsletter/list.astro +26 -0
  45. package/src/components/entries/podcast/episode.astro +42 -0
  46. package/src/components/entries/podcast/list.astro +36 -0
  47. package/src/components/entries/post/article.astro +31 -0
  48. package/src/components/entries/post/list.astro +85 -0
  49. package/src/components/entries/props.ts +61 -0
  50. package/src/components/entries/video/cards.astro +39 -0
  51. package/src/components/entries/video/grid.astro +15 -0
  52. package/src/components/entries/video/watch.astro +41 -0
  53. package/src/components/live/LivePage.astro +215 -0
  54. package/src/components/live/LocalTime.astro +29 -0
  55. package/src/components/sections/About/books.astro +188 -0
  56. package/src/components/sections/About/credentials.ts +90 -0
  57. package/src/components/sections/About/index.astro +57 -0
  58. package/src/components/sections/About/left.astro +54 -0
  59. package/src/components/sections/About/letter.astro +108 -0
  60. package/src/components/sections/About/portrait.astro +308 -0
  61. package/src/components/sections/Advocacy/compact.astro +14 -0
  62. package/src/components/sections/Advocacy/index.astro +14 -0
  63. package/src/components/sections/Band.astro +39 -0
  64. package/src/components/sections/Blog/feature.astro +176 -0
  65. package/src/components/sections/Blog/index.astro +37 -0
  66. package/src/components/sections/Blog/latest.ts +80 -0
  67. package/src/components/sections/Blog/list.astro +186 -0
  68. package/src/components/sections/Booking/index.astro +139 -0
  69. package/src/components/sections/Booking/list.astro +144 -0
  70. package/src/components/sections/Booking/types.ts +60 -0
  71. package/src/components/sections/Calendar/agenda.astro +14 -0
  72. package/src/components/sections/Calendar/index.astro +14 -0
  73. package/src/components/sections/CandidateRoster/ballot.astro +394 -0
  74. package/src/components/sections/CandidateRoster/candidates.ts +69 -0
  75. package/src/components/sections/CandidateRoster/compact.astro +115 -0
  76. package/src/components/sections/CandidateRoster/index.astro +57 -0
  77. package/src/components/sections/CaseStudies/beforeafter.astro +222 -0
  78. package/src/components/sections/CaseStudies/cases.ts +111 -0
  79. package/src/components/sections/CaseStudies/grid.astro +261 -0
  80. package/src/components/sections/CaseStudies/index.astro +333 -0
  81. package/src/components/sections/Classroom/CourseCard.astro +181 -0
  82. package/src/components/sections/Classroom/Courses.astro +88 -0
  83. package/src/components/sections/Classroom/classroom.ts +141 -0
  84. package/src/components/sections/Classroom/index.astro +20 -0
  85. package/src/components/sections/Classroom/list.astro +15 -0
  86. package/src/components/sections/Collection/compact.astro +7 -0
  87. package/src/components/sections/Collection/entries.ts +62 -0
  88. package/src/components/sections/Collection/feature.astro +180 -0
  89. package/src/components/sections/Collection/index.astro +46 -0
  90. package/src/components/sections/Collection/library.astro +271 -0
  91. package/src/components/sections/Collection/list.astro +7 -0
  92. package/src/components/sections/Collection/outline.astro +134 -0
  93. package/src/components/sections/Collection/shelves.astro +191 -0
  94. package/src/components/sections/Comparison/Unlisted.astro +6 -0
  95. package/src/components/sections/Comparison/cards.astro +171 -0
  96. package/src/components/sections/Comparison/index.astro +191 -0
  97. package/src/components/sections/Comparison/sides.ts +98 -0
  98. package/src/components/sections/Comparison/spectrum.astro +261 -0
  99. package/src/components/sections/ContentPost/banner.astro +152 -0
  100. package/src/components/sections/ContentPost/index.astro +35 -0
  101. package/src/components/sections/ContentPost/lesson.ts +119 -0
  102. package/src/components/sections/ContentPost/player.astro +254 -0
  103. package/src/components/sections/ContentPost/theater.astro +329 -0
  104. package/src/components/sections/Countdown/index.astro +53 -0
  105. package/src/components/sections/Course/Bar.astro +46 -0
  106. package/src/components/sections/Course/CourseHead.astro +123 -0
  107. package/src/components/sections/Course/Crumbs.astro +44 -0
  108. package/src/components/sections/Course/Icon.astro +29 -0
  109. package/src/components/sections/Course/Ring.astro +62 -0
  110. package/src/components/sections/Course/Syllabus.astro +146 -0
  111. package/src/components/sections/Course/course.ts +146 -0
  112. package/src/components/sections/Course/index.astro +143 -0
  113. package/src/components/sections/Course/outline.astro +39 -0
  114. package/src/components/sections/Cta/banner.astro +64 -0
  115. package/src/components/sections/Cta/card.astro +88 -0
  116. package/src/components/sections/Cta/index.astro +31 -0
  117. package/src/components/sections/Cta/photo.astro +114 -0
  118. package/src/components/sections/Cta/strip.astro +91 -0
  119. package/src/components/sections/Donate/index.astro +136 -0
  120. package/src/components/sections/Donate/story.astro +7 -0
  121. package/src/components/sections/Event/card.astro +14 -0
  122. package/src/components/sections/Event/index.astro +14 -0
  123. package/src/components/sections/EventsList/AgendaMonths.astro +105 -0
  124. package/src/components/sections/EventsList/CalendarLine.astro +23 -0
  125. package/src/components/sections/EventsList/EventRows.astro +196 -0
  126. package/src/components/sections/EventsList/LiveCounts.astro +75 -0
  127. package/src/components/sections/EventsList/TypeTabs.astro +53 -0
  128. package/src/components/sections/EventsList/agenda.astro +55 -0
  129. package/src/components/sections/EventsList/calendar.astro +392 -0
  130. package/src/components/sections/EventsList/cards.astro +186 -0
  131. package/src/components/sections/EventsList/cohorts.astro +205 -0
  132. package/src/components/sections/EventsList/compact.astro +163 -0
  133. package/src/components/sections/EventsList/events.ts +168 -0
  134. package/src/components/sections/EventsList/index.astro +46 -0
  135. package/src/components/sections/EventsList/map.astro +436 -0
  136. package/src/components/sections/EventsList/shifts.astro +355 -0
  137. package/src/components/sections/EventsList/week.astro +361 -0
  138. package/src/components/sections/Faq/Contact.astro +63 -0
  139. package/src/components/sections/Faq/Questions.astro +98 -0
  140. package/src/components/sections/Faq/cards.astro +74 -0
  141. package/src/components/sections/Faq/faq.ts +101 -0
  142. package/src/components/sections/Faq/index.astro +49 -0
  143. package/src/components/sections/Faq/topics.astro +178 -0
  144. package/src/components/sections/Financials/Foot.astro +38 -0
  145. package/src/components/sections/Financials/Head.astro +47 -0
  146. package/src/components/sections/Financials/donut.astro +197 -0
  147. package/src/components/sections/Financials/financials.ts +52 -0
  148. package/src/components/sections/Financials/index.astro +148 -0
  149. package/src/components/sections/Financials/table.astro +157 -0
  150. package/src/components/sections/FormBlock/index.astro +33 -0
  151. package/src/components/sections/FormBlock/wide.astro +7 -0
  152. package/src/components/sections/Hero/cover.astro +170 -0
  153. package/src/components/sections/Hero/donate.astro +209 -0
  154. package/src/components/sections/Hero/field.astro +390 -0
  155. package/src/components/sections/Hero/index.astro +52 -0
  156. package/src/components/sections/Hero/overlap.astro +151 -0
  157. package/src/components/sections/Hero/rotating.astro +30 -0
  158. package/src/components/sections/Hero/split.astro +96 -0
  159. package/src/components/sections/Hero/statement.astro +55 -0
  160. package/src/components/sections/Hero/video.astro +399 -0
  161. package/src/components/sections/Issues/checklist.astro +204 -0
  162. package/src/components/sections/Issues/drawer.astro +237 -0
  163. package/src/components/sections/Issues/index.astro +115 -0
  164. package/src/components/sections/Issues/issues.ts +37 -0
  165. package/src/components/sections/Issues/numbered.astro +79 -0
  166. package/src/components/sections/Issues/rows.astro +137 -0
  167. package/src/components/sections/Issues/steps.astro +81 -0
  168. package/src/components/sections/Issues/tabs.astro +322 -0
  169. package/src/components/sections/Leaderboard/index.astro +29 -0
  170. package/src/components/sections/Lesson/Door.astro +121 -0
  171. package/src/components/sections/Lesson/LessonBody.astro +416 -0
  172. package/src/components/sections/Lesson/Rail.astro +182 -0
  173. package/src/components/sections/Lesson/Tracker.astro +137 -0
  174. package/src/components/sections/Lesson/index.astro +27 -0
  175. package/src/components/sections/Lesson/lesson.ts +233 -0
  176. package/src/components/sections/Lesson/reading.astro +21 -0
  177. package/src/components/sections/Map/CoverageLine.astro +19 -0
  178. package/src/components/sections/Map/RegionMap.astro +109 -0
  179. package/src/components/sections/Map/bar.astro +160 -0
  180. package/src/components/sections/Map/index.astro +192 -0
  181. package/src/components/sections/Map/map.astro +275 -0
  182. package/src/components/sections/MediaKit/BioCard.astro +108 -0
  183. package/src/components/sections/MediaKit/Downloads.astro +88 -0
  184. package/src/components/sections/MediaKit/index.astro +183 -0
  185. package/src/components/sections/MediaKit/kit.ts +140 -0
  186. package/src/components/sections/MediaKit/press.astro +189 -0
  187. package/src/components/sections/MediaKit/speaker.astro +205 -0
  188. package/src/components/sections/Membership/Benefits.astro +42 -0
  189. package/src/components/sections/Membership/Check.astro +12 -0
  190. package/src/components/sections/Membership/Price.astro +61 -0
  191. package/src/components/sections/Membership/compare.astro +312 -0
  192. package/src/components/sections/Membership/index.astro +281 -0
  193. package/src/components/sections/Membership/offers.ts +169 -0
  194. package/src/components/sections/Membership/tiers.astro +217 -0
  195. package/src/components/sections/MovementMap/index.astro +50 -0
  196. package/src/components/sections/MovementTicker/index.astro +43 -0
  197. package/src/components/sections/Pathways/Doors.astro +147 -0
  198. package/src/components/sections/Pathways/Head.astro +37 -0
  199. package/src/components/sections/Pathways/index.astro +27 -0
  200. package/src/components/sections/Pathways/pathways.ts +100 -0
  201. package/src/components/sections/Pathways/quiz.astro +286 -0
  202. package/src/components/sections/Pathways/tabs.astro +271 -0
  203. package/src/components/sections/PdfEmbed/card.astro +99 -0
  204. package/src/components/sections/PdfEmbed/index.astro +26 -0
  205. package/src/components/sections/PdfEmbed/medium.astro +7 -0
  206. package/src/components/sections/PdfEmbed/tall.astro +7 -0
  207. package/src/components/sections/Petition/coverage.astro +14 -0
  208. package/src/components/sections/Petition/image.astro +14 -0
  209. package/src/components/sections/Petition/index.astro +14 -0
  210. package/src/components/sections/Petition/map.astro +14 -0
  211. package/src/components/sections/PlatformPlanks/anchors.ts +66 -0
  212. package/src/components/sections/PlatformPlanks/columns.astro +171 -0
  213. package/src/components/sections/PlatformPlanks/index.astro +56 -0
  214. package/src/components/sections/PlatformPlanks/longread.astro +250 -0
  215. package/src/components/sections/PollBlock/index.astro +30 -0
  216. package/src/components/sections/Portfolio/featured.astro +343 -0
  217. package/src/components/sections/Portfolio/index.astro +571 -0
  218. package/src/components/sections/Portfolio/strip.astro +173 -0
  219. package/src/components/sections/Portfolio/work.ts +100 -0
  220. package/src/components/sections/Progress/MatchClock.astro +166 -0
  221. package/src/components/sections/Progress/compact.astro +150 -0
  222. package/src/components/sections/Progress/index.astro +32 -0
  223. package/src/components/sections/Progress/match.astro +126 -0
  224. package/src/components/sections/Progress/ring.astro +179 -0
  225. package/src/components/sections/QuickDonate/DonateCard.astro +149 -0
  226. package/src/components/sections/QuickDonate/Picker.astro +95 -0
  227. package/src/components/sections/QuickDonate/band.astro +164 -0
  228. package/src/components/sections/QuickDonate/bar.astro +208 -0
  229. package/src/components/sections/QuickDonate/donate.ts +126 -0
  230. package/src/components/sections/QuickDonate/hero.astro +143 -0
  231. package/src/components/sections/QuickDonate/index.astro +73 -0
  232. package/src/components/sections/QuickDonate/jar.astro +225 -0
  233. package/src/components/sections/QuickDonate/ladder.astro +248 -0
  234. package/src/components/sections/QuoteStrip/carousel.astro +340 -0
  235. package/src/components/sections/QuoteStrip/index.astro +58 -0
  236. package/src/components/sections/QuoteStrip/logos.astro +226 -0
  237. package/src/components/sections/QuoteStrip/quotes.ts +61 -0
  238. package/src/components/sections/QuoteStrip/single.astro +92 -0
  239. package/src/components/sections/QuoteStrip/ticker.astro +319 -0
  240. package/src/components/sections/QuoteStrip/wall.astro +113 -0
  241. package/src/components/sections/Resources/band.astro +93 -0
  242. package/src/components/sections/Resources/featured.astro +239 -0
  243. package/src/components/sections/Resources/index.astro +225 -0
  244. package/src/components/sections/Resources/resources.ts +92 -0
  245. package/src/components/sections/SampleBallot/Position.astro +39 -0
  246. package/src/components/sections/SampleBallot/ballot.ts +92 -0
  247. package/src/components/sections/SampleBallot/cards.astro +299 -0
  248. package/src/components/sections/SampleBallot/index.astro +326 -0
  249. package/src/components/sections/SampleBallot/measures.astro +172 -0
  250. package/src/components/sections/Scorecard/grades.astro +141 -0
  251. package/src/components/sections/Scorecard/index.astro +294 -0
  252. package/src/components/sections/Scorecard/promise.astro +167 -0
  253. package/src/components/sections/Scorecard/votes.ts +83 -0
  254. package/src/components/sections/SectionHead.astro +31 -0
  255. package/src/components/sections/Services/Button.astro +24 -0
  256. package/src/components/sections/Services/Check.astro +12 -0
  257. package/src/components/sections/Services/Includes.astro +42 -0
  258. package/src/components/sections/Services/compare.astro +328 -0
  259. package/src/components/sections/Services/index.astro +187 -0
  260. package/src/components/sections/Services/list.astro +181 -0
  261. package/src/components/sections/Services/services.ts +80 -0
  262. package/src/components/sections/ShareKit/Actions.astro +71 -0
  263. package/src/components/sections/ShareKit/Buttons.astro +62 -0
  264. package/src/components/sections/ShareKit/compact.astro +123 -0
  265. package/src/components/sections/ShareKit/index.astro +160 -0
  266. package/src/components/sections/ShareKit/share.ts +60 -0
  267. package/src/components/sections/ShareKit/strip.astro +173 -0
  268. package/src/components/sections/SignupCapture/band.astro +7 -0
  269. package/src/components/sections/SignupCapture/index.astro +103 -0
  270. package/src/components/sections/SignupCapture/inline.astro +7 -0
  271. package/src/components/sections/SocialFeed/index.astro +34 -0
  272. package/src/components/sections/StatCards/feature.astro +143 -0
  273. package/src/components/sections/StatCards/index.astro +51 -0
  274. package/src/components/sections/StatCards/ribbon.astro +113 -0
  275. package/src/components/sections/StatCards/wall.astro +177 -0
  276. package/src/components/sections/Store/featured.astro +14 -0
  277. package/src/components/sections/Store/index.astro +14 -0
  278. package/src/components/sections/Stories/Status.astro +42 -0
  279. package/src/components/sections/Stories/StoryCards.astro +171 -0
  280. package/src/components/sections/Stories/cards.astro +42 -0
  281. package/src/components/sections/Stories/index.astro +238 -0
  282. package/src/components/sections/Stories/stories.ts +97 -0
  283. package/src/components/sections/Stories/timeline.astro +135 -0
  284. package/src/components/sections/TeamGrid/board.astro +280 -0
  285. package/src/components/sections/TeamGrid/index.astro +71 -0
  286. package/src/components/sections/TeamGrid/list.astro +306 -0
  287. package/src/components/sections/TeamGrid/people.ts +178 -0
  288. package/src/components/sections/VideoEmbed/index.astro +52 -0
  289. package/src/components/sections/VideoEmbed/landscape.astro +7 -0
  290. package/src/components/sections/VideoEmbed/portrait.astro +7 -0
  291. package/src/components/sections/VideoEmbed/square.astro +7 -0
  292. package/src/components/sections/VoterTools/DaysLeft.astro +33 -0
  293. package/src/components/sections/VoterTools/dates.astro +149 -0
  294. package/src/components/sections/VoterTools/index.astro +228 -0
  295. package/src/components/sections/VoterTools/polling.astro +141 -0
  296. package/src/components/sections/VoterTools/voter-tools.ts +70 -0
  297. package/src/components/sections/index.ts +370 -0
  298. package/src/components/sections/modules/Headed.astro +39 -0
  299. package/src/components/sections/modules/ModuleFrame.astro +179 -0
  300. package/src/components/volunteer/ShiftLive.astro +90 -0
  301. package/src/components/volunteer/detail.astro +247 -0
  302. package/src/components/volunteer/list.astro +298 -0
  303. package/src/components/volunteer/props.ts +21 -0
  304. package/src/env.d.ts +22 -0
  305. package/src/index.d.ts +10 -0
  306. package/src/index.js +64 -0
  307. package/src/layouts/Site.astro +371 -0
  308. package/src/lib/academy.ts +146 -0
  309. package/src/lib/brand.ts +534 -0
  310. package/src/lib/chrome.ts +119 -0
  311. package/src/lib/donate-frame.ts +64 -0
  312. package/src/lib/entries.ts +190 -0
  313. package/src/lib/env.ts +34 -0
  314. package/src/lib/event-map-draw.ts +91 -0
  315. package/src/lib/events.ts +476 -0
  316. package/src/lib/fonts.ts +116 -0
  317. package/src/lib/footer.ts +24 -0
  318. package/src/lib/format.ts +160 -0
  319. package/src/lib/geo.ts +131 -0
  320. package/src/lib/live.ts +54 -0
  321. package/src/lib/menu.ts +48 -0
  322. package/src/lib/petition-text.ts +29 -0
  323. package/src/lib/reading.ts +17 -0
  324. package/src/lib/regions.ts +215 -0
  325. package/src/lib/section.ts +94 -0
  326. package/src/lib/shifts.ts +186 -0
  327. package/src/lib/stream-time.ts +20 -0
  328. package/src/lib/stream.ts +141 -0
  329. package/src/lib/visitor.ts +54 -0
  330. package/src/routes/catch-all.astro +286 -0
  331. package/src/routes/form.astro +30 -0
  332. package/src/routes/live.astro +49 -0
  333. package/src/routes/not-found.astro +18 -0
  334. package/src/routes/preview.astro +60 -0
  335. package/src/routes/setup.astro +62 -0
  336. package/src/routes/volunteer-shift.astro +61 -0
  337. package/src/routes/volunteer.astro +37 -0
  338. package/src/styles/entries.css +784 -0
  339. package/src/styles/site.css +1839 -0
  340. package/src/template.ts +182 -0
@@ -0,0 +1,783 @@
1
+ // ../../vendor/backgold-contract/content-api-examples.js
2
+ var areasExample = {
3
+ top_banner: [
4
+ {
5
+ key: "levy-vote-countdown",
6
+ label: "Levy vote countdown",
7
+ from: null,
8
+ until: "2026-11-04T05:59:00.000Z",
9
+ sections: [
10
+ {
11
+ id: "TakeoverBanner-1",
12
+ type: "TakeoverBanner",
13
+ band: "plain",
14
+ bleed: "full",
15
+ variant: null,
16
+ copy: { headline: "Vote no on the levy Nov 3", pitch: "Polls open at 7. Find yours in a minute." },
17
+ media: {},
18
+ links: [],
19
+ options: {}
20
+ }
21
+ ]
22
+ }
23
+ ],
24
+ sidebar: [],
25
+ above_footer: [
26
+ {
27
+ key: "join-the-newsletter",
28
+ label: "Join the newsletter",
29
+ from: "2026-10-20T05:00:00.000Z",
30
+ until: null,
31
+ sections: [
32
+ {
33
+ id: "SignupCapture-1",
34
+ type: "SignupCapture",
35
+ band: "panel",
36
+ bleed: "full",
37
+ variant: null,
38
+ copy: {
39
+ kicker: "The weekly letter",
40
+ heading: "Get the weekly update",
41
+ lede: "What happened this week, what is next, and where to show up."
42
+ },
43
+ media: {},
44
+ links: [],
45
+ options: {},
46
+ embed: {
47
+ iframe: "https://api.backgold.com/embed/signup/section/3f9c2e7a1b5d4c8e9a0f6b2d7e1c4a85/SignupCapture-1",
48
+ script: "https://secure.backgold.com/embed.js"
49
+ }
50
+ }
51
+ ]
52
+ }
53
+ ]
54
+ };
55
+ var legalExample = {
56
+ disclaimer: "Paid for by Pine Valley for Liberty. Not authorized by any candidate or candidate\u2019s committee.",
57
+ required: true
58
+ };
59
+ var siteExample = {
60
+ site: {
61
+ id: "cd_8f2a",
62
+ name: "Pine Valley for Liberty",
63
+ domain: "pinevalleyliberty.org",
64
+ mode: "headless",
65
+ favicon_url: "https://api.backgold.com/api/media-files/med_logo",
66
+ meta_domain_verification: "x7k2q9w4m1p8z3r6t5v0n2b8c4d6f1",
67
+ pack: "liberty-blue",
68
+ style: '{"width":"full"}',
69
+ theme: {
70
+ id: "thm_3c9e",
71
+ name: "Pine Valley Navy",
72
+ heading_transform: "uppercase",
73
+ heading_weight: 700,
74
+ radius_px: 4,
75
+ light: {
76
+ colors: { primary: "#1b3a5c", secondary: "#0f2238", accent: "#c8102e", bg: null, backdrop: null },
77
+ tokens: {
78
+ bg: "#EEF1F6",
79
+ surface: "#FFFFFF",
80
+ surface_2: "#F4F7FB",
81
+ ink: "#111827",
82
+ muted: "#55607A",
83
+ faint: "#929CB2",
84
+ line: "#E4E8F0",
85
+ line_strong: "#D2D8E6",
86
+ accent_1: "#1b3a5c",
87
+ accent_2: "#17314e",
88
+ accent_text: "#c8102e",
89
+ accent_ink: "#ffffff",
90
+ accent_soft: "#1b3a5c1f",
91
+ accent_line: "#1b3a5c55",
92
+ hero_1: "#0f2238",
93
+ hero_2: "#0a1624",
94
+ map_open: "#D9DFEA",
95
+ map_open_h: "#C5CEDE",
96
+ map_stroke: "#FFFFFF"
97
+ }
98
+ },
99
+ dark: {
100
+ colors: { primary: "#6d9ccc", secondary: "#0f2238", accent: "#c8102e", bg: "#16181d", backdrop: "#101216" },
101
+ tokens: {
102
+ bg: "#101216",
103
+ surface: "#16181d",
104
+ surface_2: "#1d1f24",
105
+ ink: "#FFFFFF",
106
+ muted: "#9d9ea0",
107
+ faint: "#7f8083",
108
+ line: "#2d2f34",
109
+ line_strong: "#68696c",
110
+ accent_1: "#6d9ccc",
111
+ accent_2: "#8ab0d6",
112
+ accent_text: "#d9586d",
113
+ accent_ink: "#0e0e0f",
114
+ accent_soft: "#6d9ccc26",
115
+ accent_line: "#6d9ccc55",
116
+ hero_1: "#0f2238",
117
+ hero_2: "#0a1624",
118
+ map_open: "#323438",
119
+ map_open_h: "#45464a",
120
+ map_stroke: "#16181d"
121
+ }
122
+ },
123
+ fonts: {
124
+ heading: {
125
+ family: "Roboto Slab",
126
+ stack: `"Roboto Slab",Georgia,'Times New Roman',Times,serif`,
127
+ source: "fontsource",
128
+ files: [
129
+ { weight: 400, url: "https://api.backgold.com/lp-runtime/5d1c0a7e9b3f42c6a8e17d90b2f4c3a65e8d1b7f0a2c9e4d6b3f8a1c7e5d2b90.woff2" },
130
+ { weight: 700, url: "https://api.backgold.com/lp-runtime/a4e2f8c1d7b3096e5f2a8c4d1b7e3f90c6a2d8e4f1b7c3a9e5d2f8b4c1a7e3d6.woff2" }
131
+ ]
132
+ },
133
+ body: {
134
+ family: "Inter",
135
+ stack: '"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif',
136
+ source: "builtin",
137
+ files: [
138
+ { weight: 400, url: "https://api.backgold.com/lp-runtime/8909904ab6c872eb994093482a88a28eca2cd95912d7b6fecd72103b0dc07edc.woff2" },
139
+ { weight: 500, url: "https://api.backgold.com/lp-runtime/f3779f1efccc4bdcdf9c0a02ab95bf6bd092ed09c48c08cedc725889edd1d19f.woff2" },
140
+ { weight: 600, url: "https://api.backgold.com/lp-runtime/f9a06e79cd3a2a20951c0f0e28f66dd0e6d3fda73911d640a2125c8fcb78f21a.woff2" },
141
+ { weight: 700, url: "https://api.backgold.com/lp-runtime/6f56409fd3d64bb85f7d070bce20749db2d66b6d63cec586cc22d1c761be2491.woff2" },
142
+ { weight: 800, url: "https://api.backgold.com/lp-runtime/a7d0a50f15d389cad679238466bdb5fc9787aa0715719064ce25abaff042820d.woff2" }
143
+ ]
144
+ }
145
+ },
146
+ css_url: "https://api.backgold.com/api/content/v1/site/theme.css"
147
+ },
148
+ brand: { logo_url: "https://api.backgold.com/api/media-files/med_logo", primary_color: "#1b3a5c", secondary_color: "#f4efe6", accent_color: "#c8102e", palette_id: null },
149
+ social: [{ platform: "facebook", url: "https://facebook.com/pinevalleyliberty" }],
150
+ seo: { title: "Pine Valley for Liberty", description: "Lower taxes, open books, school choice." },
151
+ chrome: {
152
+ header: { layout: "bar" },
153
+ footer: {
154
+ layout: "columns",
155
+ blurb: "A party for people who would rather be left alone.",
156
+ address: "PO Box 112\nPine Valley, CA 91962",
157
+ phone: "(619) 555-0142",
158
+ legal_links: [{ label: "Privacy policy", url: "https://pinevalleyliberty.org/privacy" }],
159
+ copyright: null,
160
+ closing: null
161
+ }
162
+ }
163
+ },
164
+ areas: [
165
+ { key: "top_banner", name: "Top banner" },
166
+ { key: "sidebar", name: "Sidebar" },
167
+ { key: "above_footer", name: "Above the footer" }
168
+ ],
169
+ legal: legalExample,
170
+ version: 184,
171
+ org_name: "Pine Valley for Liberty"
172
+ };
173
+ var menuExample = {
174
+ menu: { key: "primary" },
175
+ items: [
176
+ { id: "nav_1", label: "Issues", kind: "page", target: { kind: "page", page_id: "lp_issues", slug: "issues" }, url: "/issues", external: false, header_button: false, shows_on: { rule: "only_pages", pages: [{ id: "lp_issues", url: "/issues" }] }, children: [] },
177
+ {
178
+ id: "nav_2",
179
+ label: "Get involved",
180
+ kind: "group",
181
+ target: { kind: "group" },
182
+ url: null,
183
+ external: false,
184
+ header_button: false,
185
+ shows_on: { rule: "every_page" },
186
+ children: [
187
+ { id: "nav_3", label: "Volunteer", kind: "section", target: { kind: "section", page_id: "lp_home", slug: "home", anchor: "volunteer" }, url: "/#volunteer", external: false, header_button: false, shows_on: { rule: "except_pages", pages: [{ id: "lp_home", url: "/" }] }, children: [] },
188
+ { id: "nav_4", label: "Our chapter", kind: "external", target: { kind: "external", url: "https://chapter.example.org" }, url: "https://chapter.example.org", external: true, header_button: false, shows_on: { rule: "every_page" }, children: [] }
189
+ ]
190
+ },
191
+ { id: "nav_donate", label: "Donate", kind: "donate", target: { kind: "donate" }, url: "https://pine-valley.backgold.com/donate", external: false, header_button: true, shows_on: { rule: "donation_pages" }, children: [] }
192
+ ]
193
+ };
194
+ var pagesExample = {
195
+ pages: [
196
+ { id: "lp_home", slug: "home", title: "Home", url: "/", is_home: true, published_at: "2026-09-30T14:00:00.000Z", updated_at: "2026-10-01T09:12:00.000Z", takes_donations: true }
197
+ ]
198
+ };
199
+ var pageExample = {
200
+ page: {
201
+ id: "lp_home",
202
+ slug: "home",
203
+ title: "Home",
204
+ url: "/",
205
+ is_home: true,
206
+ published_at: "2026-09-30T14:00:00.000Z",
207
+ takes_donations: true,
208
+ meta: { title: "Pine Valley for Liberty", description: "Freeze the levy.", image_url: null }
209
+ },
210
+ sections: [
211
+ {
212
+ id: "Hero-1",
213
+ type: "Hero",
214
+ band: "contrast",
215
+ bleed: "full",
216
+ variant: "split",
217
+ copy: {
218
+ headline: "Keep more of what you earn.",
219
+ subheadline: "Freeze the levy and post every check online.",
220
+ ctaText: "Get involved"
221
+ },
222
+ media: { imageUrl: { url: "https://api.backgold.com/api/lp-assets/a1/hero.webp" } },
223
+ links: [{ label: "Get involved", target: { kind: "page", slug: "get-involved" }, url: "/get-involved" }],
224
+ options: { photoTint: "brand" }
225
+ },
226
+ {
227
+ id: "Donate-1",
228
+ type: "Donate",
229
+ band: "panel",
230
+ bleed: "full",
231
+ variant: null,
232
+ copy: { heading: "Fund the fight for lower taxes" },
233
+ media: {},
234
+ links: [],
235
+ options: {},
236
+ embed: { iframe: "https://secure.backgold.com/embed/d/df_general", script: "https://secure.backgold.com/embed.js" }
237
+ },
238
+ {
239
+ id: "Petition-1",
240
+ type: "Petition",
241
+ band: "plain",
242
+ bleed: "full",
243
+ variant: "none",
244
+ copy: { heading: "Freeze the levy" },
245
+ media: {},
246
+ links: [],
247
+ options: {},
248
+ data: {
249
+ source: "petition",
250
+ items: [],
251
+ petition: {
252
+ slug: "freeze-the-levy",
253
+ title: "Freeze the levy",
254
+ text_html: '<p>We, the undersigned residents of Pine Valley, ask the county board to hold the property levy at this year\u2019s rate.</p><p>Read the budget: <a href="https://pinevalley.example.gov/budget" target="_blank" rel="noopener noreferrer">https://pinevalley.example.gov/budget</a></p>',
255
+ addressed_to: "The Pine Valley County Board",
256
+ signature_count: 1284,
257
+ goal: 2e3
258
+ }
259
+ },
260
+ embed: {
261
+ iframe: "https://secure.backgold.com/embed/p/pine-valley/freeze-the-levy",
262
+ script: "https://secure.backgold.com/embed.js"
263
+ }
264
+ },
265
+ {
266
+ id: "Map-1",
267
+ type: "Map",
268
+ band: "plain",
269
+ bleed: "full",
270
+ variant: null,
271
+ copy: { heading: "Where we are organized", litLabel: "Chartered", darkLabel: "Not yet" },
272
+ media: { geoUrl: { url: "https://api.backgold.com/lp-runtime/3f9a1c.json" } },
273
+ links: [],
274
+ options: { geoId: "tx-counties", regionTotal: 254, regionNoun: "county" },
275
+ data: {
276
+ source: "regions",
277
+ items: [
278
+ { region: "Travis", status: "lit", url: "https://travis.example.org", is_new: true },
279
+ { region: "Hays", status: "dark", url: null, is_new: false }
280
+ ]
281
+ }
282
+ },
283
+ {
284
+ id: "CandidateRoster-1",
285
+ type: "CandidateRoster",
286
+ band: "plain",
287
+ bleed: "full",
288
+ variant: null,
289
+ copy: { heading: "Our candidates" },
290
+ media: {},
291
+ links: [],
292
+ options: { showFilters: true },
293
+ data: {
294
+ source: "candidates",
295
+ items: [
296
+ {
297
+ name: "Pat Lee",
298
+ office: "State House",
299
+ level: "State",
300
+ region: "District 31, TX",
301
+ issues: ["Property taxes", "School choice"],
302
+ status: "On the ballot",
303
+ donate_url: "https://patlee.example.org/donate",
304
+ web_url: "https://patlee.example.org",
305
+ image_url: "https://api.backgold.com/api/media-files/med_pat"
306
+ }
307
+ ]
308
+ }
309
+ },
310
+ {
311
+ id: "TeamGrid-1",
312
+ type: "TeamGrid",
313
+ band: "plain",
314
+ bleed: "full",
315
+ variant: null,
316
+ copy: { heading: "Leadership", interestButtonText: "Ask about running" },
317
+ media: {},
318
+ links: [{ label: "Ask about running", target: { kind: "page", slug: "run" }, url: "/run" }],
319
+ options: { showOpenRoles: true },
320
+ data: {
321
+ source: "team",
322
+ items: [
323
+ {
324
+ group: "roster",
325
+ body: "Pine Valley Liberty Party",
326
+ body_key: "pb_9f2",
327
+ seat: "Chair",
328
+ name: "Rowan Achterberg",
329
+ since: "2023-04-15",
330
+ term_ends: "2027-04-10",
331
+ is_officer: true,
332
+ photo_url: "https://api.backgold.com/api/media-files/med_rowan",
333
+ bio: "Runs a hardware store in Osgood and has chaired the party since the 2023 convention.",
334
+ link: "https://rowan.example.org",
335
+ url: "https://pinevalleyliberty.org"
336
+ },
337
+ {
338
+ group: "roster",
339
+ body: "Pine Valley Liberty Party",
340
+ body_key: "pb_9f2",
341
+ seat: "At-large",
342
+ name: null,
343
+ since: null,
344
+ term_ends: null,
345
+ is_officer: false,
346
+ photo_url: null,
347
+ bio: null,
348
+ link: null,
349
+ url: "https://pinevalleyliberty.org"
350
+ },
351
+ {
352
+ group: "roster",
353
+ body: "Staff",
354
+ body_key: "staff",
355
+ seat: "Field director",
356
+ name: "Sam Ortiz",
357
+ since: null,
358
+ term_ends: null,
359
+ is_officer: false,
360
+ photo_url: null,
361
+ bio: null,
362
+ link: null,
363
+ url: null
364
+ }
365
+ ]
366
+ }
367
+ }
368
+ ],
369
+ areas: areasExample,
370
+ legal: legalExample
371
+ };
372
+ var sectionsExample = {
373
+ section: { key: "town-halls", label: "Town halls", kind: "custom", role: null },
374
+ sections: [
375
+ {
376
+ id: "Hero-1",
377
+ type: "Hero",
378
+ band: "contrast",
379
+ bleed: "full",
380
+ variant: "centered",
381
+ copy: { kicker: "Town halls", headline: "Ask us anything.", ctaText: "", secondaryText: "Send a question" },
382
+ media: {},
383
+ links: [{ label: "Send a question", target: { kind: "page", slug: "contact" }, url: "/contact" }],
384
+ options: {},
385
+ section_ref: { key: "town-halls", label: "Town halls" }
386
+ },
387
+ {
388
+ id: "EventsList-1",
389
+ type: "EventsList",
390
+ band: "plain",
391
+ bleed: "full",
392
+ variant: "agenda",
393
+ copy: { kicker: "In person", heading: "Come to a meeting", allLabel: "All events" },
394
+ media: {},
395
+ links: [
396
+ {
397
+ label: "All events",
398
+ target: { kind: "surface", surface: "events", path: "/events" },
399
+ url: "https://pine-valley.backgold.com/events"
400
+ }
401
+ ],
402
+ options: { max: 3, actions: "buttons" },
403
+ data: {
404
+ source: "events",
405
+ items: [
406
+ {
407
+ id: "evt_2k9",
408
+ title: "Town hall",
409
+ starts_at: "2026-10-09T00:00:00.000Z",
410
+ ends_at: null,
411
+ timezone: "America/Chicago",
412
+ location: "Pine Valley Library",
413
+ is_virtual: false,
414
+ type: "blank",
415
+ registration_closed: false,
416
+ url: "https://pine-valley.backgold.com/events/town-hall",
417
+ sells_tickets: false,
418
+ tickets_url: null,
419
+ lat: null,
420
+ lng: null
421
+ }
422
+ ]
423
+ },
424
+ section_ref: { key: "town-halls", label: "Town halls" }
425
+ },
426
+ {
427
+ id: "About-1",
428
+ type: "About",
429
+ band: "plain",
430
+ bleed: "full",
431
+ variant: "left",
432
+ copy: {
433
+ heading: "Your host",
434
+ role: "Pat Lee, candidate for State House",
435
+ signature: "Pat Lee",
436
+ body: "Pat has lived in Pine Valley for twenty years."
437
+ },
438
+ media: { photoUrl: { url: "https://api.backgold.com/api/media-files/med_pat" } },
439
+ links: [],
440
+ options: { photoStyle: "photo" },
441
+ section_ref: { key: "town-halls", label: "Town halls" }
442
+ },
443
+ {
444
+ id: "Cta-1",
445
+ type: "Cta",
446
+ band: "contrast",
447
+ bleed: "contained",
448
+ variant: "banner",
449
+ copy: { eyebrow: "Can\u2019t make it?", heading: "Send us your question", donateButtonText: "", volunteerButtonText: "Ask a question" },
450
+ media: { photoUrl: { url: "https://api.backgold.com/api/lp-assets/a1/town-hall.webp" } },
451
+ links: [{ label: "Ask a question", target: { kind: "page", slug: "contact" }, url: "/contact" }],
452
+ options: {},
453
+ section_ref: { key: "town-halls", label: "Town halls" }
454
+ }
455
+ ]
456
+ };
457
+ var typesExample = {
458
+ types: [
459
+ {
460
+ key: "endorsement",
461
+ singular_label: "Endorsement",
462
+ plural_label: "Endorsements",
463
+ routable: true,
464
+ url_base: "endorsements",
465
+ built_in: false,
466
+ index: null,
467
+ fields: [
468
+ { key: "quote", label: "Quote", kind: "long_text", required: true },
469
+ { key: "tier", label: "Tier", kind: "choice", required: false, choices: ["Gold", "Silver"] }
470
+ ]
471
+ }
472
+ ]
473
+ };
474
+ var entry = {
475
+ id: "ci_7d1",
476
+ slug: "levy-explained",
477
+ type: "post",
478
+ title: "The levy, explained",
479
+ summary: "Where the money goes.",
480
+ url: "/blog/levy-explained",
481
+ hero: { url: "https://api.backgold.com/api/content-pages/pine-valley/hero/ci_7d1?v=1" },
482
+ media_url: null,
483
+ publish_at: "2026-09-29T12:00:00.000Z",
484
+ updated_at: "2026-09-29T12:05:00.000Z",
485
+ terms: [{ taxonomy: "tag", slug: "taxes", label: "Taxes" }],
486
+ authors: [{ slug: "dana-k", display_name: "Dana K.", avatar_url: null, link_url: null, role: "Written by" }],
487
+ access: "public",
488
+ locked: false,
489
+ lock: null,
490
+ duration_seconds: null,
491
+ renditions: null,
492
+ body: { markdown: "## Where it goes\n\nEvery dollar\u2026" },
493
+ fields: { endorser: { kind: "entry", label: "Mayor Jones", slug: "mayor-jones" }, give_here: { kind: "form", label: "General fund", url: "https://pine-valley.backgold.com/donate/give" } }
494
+ };
495
+ var { body: _body, fields: _fields, ...entrySummary } = entry;
496
+ var entriesExample = {
497
+ entries: [entrySummary],
498
+ next_cursor: "MjAyNi0wOS0yOVQxMjowMDowMC4wMDBafGNpXzdkMQ",
499
+ areas: areasExample
500
+ };
501
+ var entryExample = { entry, areas: areasExample };
502
+ var areasResponseExample = { areas: areasExample };
503
+ var termsExample = {
504
+ taxonomy: { key: "tag", label: "Tags", hierarchical: false },
505
+ terms: [{ id: "term_1", slug: "taxes", label: "Taxes", parent_id: null, position: 0 }]
506
+ };
507
+ var author = {
508
+ slug: "dana-k",
509
+ display_name: "Dana K.",
510
+ bio: "Treasurer.",
511
+ avatar_url: null,
512
+ link_url: "https://example.org/dana"
513
+ };
514
+ var authorsExample = { authors: [author] };
515
+ var authorExample = { author };
516
+ var redirectsExample = {
517
+ redirects: [
518
+ { source: "/old-issues", destination: "/issues", status_code: 301 },
519
+ { source: "/2022-slate", destination: null, status_code: 410 }
520
+ ]
521
+ };
522
+ var sitemapExample = {
523
+ urls: [
524
+ { url: "https://pinevalleyliberty.org/", kind: "page", updated_at: "2026-10-01T09:12:00.000Z" },
525
+ { url: "https://pinevalleyliberty.org/blog", kind: "type_index", updated_at: "2026-09-29T12:05:00.000Z" },
526
+ { url: "https://pinevalleyliberty.org/blog/levy-explained", kind: "entry", updated_at: "2026-09-29T12:05:00.000Z" }
527
+ ]
528
+ };
529
+ var eventsExample = {
530
+ events: [
531
+ {
532
+ id: "evt_2k9",
533
+ title: "Town hall",
534
+ starts_at: "2026-10-09T00:00:00.000Z",
535
+ ends_at: null,
536
+ timezone: "America/Chicago",
537
+ location: "Pine Valley Library",
538
+ is_virtual: false,
539
+ type: "blank",
540
+ registration_closed: false,
541
+ url: "https://pine-valley.backgold.com/events/town-hall",
542
+ sells_tickets: false,
543
+ tickets_url: null,
544
+ lat: null,
545
+ lng: null
546
+ },
547
+ {
548
+ id: "evt_4m1",
549
+ title: "Liberty dinner",
550
+ starts_at: "2026-10-17T23:30:00.000Z",
551
+ ends_at: "2026-10-18T02:00:00.000Z",
552
+ timezone: "America/Chicago",
553
+ location: "Pine Valley Grange",
554
+ is_virtual: false,
555
+ type: "fundraiser",
556
+ registration_closed: false,
557
+ url: "https://pine-valley.backgold.com/events/liberty-dinner",
558
+ sells_tickets: true,
559
+ tickets_url: "https://pine-valley.backgold.com/events/liberty-dinner",
560
+ lat: 32.7767,
561
+ lng: -96.797
562
+ }
563
+ ],
564
+ types: [
565
+ { key: "fundraiser", label: "Fundraiser", upcoming: 1 },
566
+ { key: "blank", label: "Event", upcoming: 3 }
567
+ ],
568
+ next_cursor: "MjAyNi0xMC0xN1QyMzozMDowMC4wMDBafGV2dF80bTE"
569
+ };
570
+ var eventExample = {
571
+ event: {
572
+ ...eventsExample.events[1],
573
+ slug: "liberty-dinner",
574
+ description: "<p>Dinner with every candidate on the county ballot, and a few short speeches. <strong>Bring a neighbor.</strong></p>",
575
+ venue: "Pine Valley Grange",
576
+ address: "14 Rail Street, Pine Valley, TX 75001",
577
+ image_url: "https://api.backgold.com/lp-assets/org_pv/dinner.jpg",
578
+ directions_url: "https://www.google.com/maps/dir/?api=1&destination=32.7767%2C-96.797",
579
+ embed: { iframe: "https://secure.backgold.com/embed/e/pine-valley/liberty-dinner", script: "https://secure.backgold.com/embed.js" }
580
+ },
581
+ areas: areasExample
582
+ };
583
+ var eventsLiveExample = {
584
+ events: [
585
+ { id: "evt_2k9", going: 41, seats_left: null },
586
+ { id: "evt_4m1", going: 88, seats_left: 12 }
587
+ ]
588
+ };
589
+ var shiftsExample = {
590
+ shifts: [
591
+ {
592
+ id: "shf_7q2",
593
+ slug: "town-hall-greeters",
594
+ title: "Town hall greeters",
595
+ starts_at: "2026-10-08T23:00:00.000Z",
596
+ ends_at: "2026-10-09T01:30:00.000Z",
597
+ timezone: "America/Chicago",
598
+ location: "Pine Valley Library",
599
+ notes: "Meet at the front desk. Name tags are on us.",
600
+ capacity: 8,
601
+ signed_up: 5,
602
+ waitlisted: 0,
603
+ state: "open",
604
+ subject: { kind: "event", slug: "town-hall" },
605
+ signup_url: "https://pinevalleyliberty.org/volunteer/town-hall-greeters",
606
+ signup_embed: { iframe: "https://api.backgold.com/embed/shift/pine-valley/town-hall-greeters", script: "https://secure.backgold.com/embed.js" }
607
+ },
608
+ {
609
+ id: "shf_9d4",
610
+ slug: "saturday-sign-crew",
611
+ title: "Saturday sign crew",
612
+ starts_at: "2026-10-10T14:00:00.000Z",
613
+ ends_at: "2026-10-10T17:00:00.000Z",
614
+ timezone: "America/Chicago",
615
+ location: "14 Rail Street, Pine Valley",
616
+ notes: null,
617
+ capacity: 6,
618
+ signed_up: 6,
619
+ waitlisted: 0,
620
+ state: "full",
621
+ subject: { kind: "standalone", slug: null },
622
+ signup_url: "https://pinevalleyliberty.org/volunteer/saturday-sign-crew",
623
+ signup_embed: { iframe: "https://api.backgold.com/embed/shift/pine-valley/saturday-sign-crew", script: "https://secure.backgold.com/embed.js" }
624
+ }
625
+ ],
626
+ next_cursor: null
627
+ };
628
+ var shiftsLiveExample = {
629
+ shifts: [
630
+ { id: "shf_7q2", signed_up: 6, waitlisted: 0, state: "open" },
631
+ { id: "shf_9d4", signed_up: 6, waitlisted: 2, state: "waitlist" }
632
+ ]
633
+ };
634
+ var liveExample = {
635
+ live: {
636
+ status: "live",
637
+ video_id: "pV7c4Lh2TmQ",
638
+ url: "https://www.youtube.com/watch?v=pV7c4Lh2TmQ",
639
+ embed_url: "https://www.youtube.com/embed/pV7c4Lh2TmQ",
640
+ title: "Town hall, live from the Grange",
641
+ thumbnail_url: "https://i.ytimg.com/vi/pV7c4Lh2TmQ/maxresdefault_live.jpg",
642
+ scheduled_start_at: null,
643
+ started_at: "2026-10-08T23:02:00.000Z",
644
+ channel_title: "Pine Valley for Liberty"
645
+ }
646
+ };
647
+ var course = {
648
+ id: "ci_c01",
649
+ slug: "foundations",
650
+ title: "Foundational Leadership",
651
+ summary: "Short lessons on leading a local chapter.",
652
+ url: "/courses/foundations",
653
+ hero: { url: "https://api.backgold.com/api/content-pages/pine-valley/hero/ci_c01?v=1" },
654
+ publish_at: "2026-10-01T12:00:00.000Z",
655
+ updated_at: "2026-10-02T09:00:00.000Z",
656
+ access: "signed_in",
657
+ locked: false,
658
+ lock: null,
659
+ lesson_count: 3,
660
+ total_seconds: 1010,
661
+ progress: { completed: 1, total: 3, openable: 2, seconds_left: 290, next_lesson_slug: "decide-what-you-want" },
662
+ body: { markdown: "Three lessons, about seventeen minutes in all." },
663
+ lessons: [
664
+ {
665
+ id: "ci_l01",
666
+ slug: "start-here",
667
+ title: "Start here",
668
+ summary: null,
669
+ url: "/courses/foundations/start-here",
670
+ hero: null,
671
+ duration_seconds: 240,
672
+ position: 0,
673
+ access: "signed_in",
674
+ locked: false,
675
+ lock: null,
676
+ completed: true,
677
+ completed_at: "2026-10-14T18:20:00.000Z",
678
+ position_seconds: 240
679
+ },
680
+ {
681
+ id: "ci_l02",
682
+ slug: "decide-what-you-want",
683
+ title: "Decide what you want",
684
+ summary: "One thing you want to be true in a year.",
685
+ url: "/courses/foundations/decide-what-you-want",
686
+ hero: null,
687
+ duration_seconds: 290,
688
+ position: 1,
689
+ access: "signed_in",
690
+ locked: false,
691
+ lock: null,
692
+ completed: false,
693
+ completed_at: null,
694
+ position_seconds: 72
695
+ },
696
+ {
697
+ id: "ci_l03",
698
+ slug: "run-the-meeting",
699
+ title: "Run the meeting",
700
+ summary: null,
701
+ url: "/courses/foundations/run-the-meeting",
702
+ hero: null,
703
+ duration_seconds: 480,
704
+ position: 2,
705
+ access: "members",
706
+ locked: true,
707
+ lock: { reason: "members", tag_label: null, org_name: "Pine Valley for Liberty" },
708
+ completed: false,
709
+ completed_at: null,
710
+ position_seconds: null
711
+ }
712
+ ]
713
+ };
714
+ var { body: _courseBody, lessons: _courseLessons, ...courseSummary } = course;
715
+ var coursesExample = { courses: [courseSummary], next_cursor: null, areas: areasExample };
716
+ var courseExample = { course, areas: areasExample };
717
+ var lessonExample = {
718
+ lesson: {
719
+ id: "ci_l02",
720
+ slug: "decide-what-you-want",
721
+ type: "video",
722
+ title: "Decide what you want",
723
+ summary: "One thing you want to be true in a year.",
724
+ url: "/videos/decide-what-you-want",
725
+ hero: null,
726
+ media_url: "https://api.backgold.com/api/media-files/med_9f2",
727
+ publish_at: "2026-10-01T12:00:00.000Z",
728
+ updated_at: "2026-10-01T12:00:00.000Z",
729
+ terms: [],
730
+ authors: [],
731
+ access: "signed_in",
732
+ locked: false,
733
+ lock: null,
734
+ duration_seconds: 290,
735
+ renditions: { "720": "https://api.backgold.com/api/media-files/med_9f2?size=720", "1080": "https://api.backgold.com/api/media-files/med_9f2?size=1080" },
736
+ body: { markdown: "Three questions before the next lesson." },
737
+ fields: {}
738
+ },
739
+ course,
740
+ previous: { slug: "start-here", title: "Start here", url: "/courses/foundations/start-here" },
741
+ next: { slug: "run-the-meeting", title: "Run the meeting", url: "/courses/foundations/run-the-meeting" },
742
+ areas: areasExample
743
+ };
744
+ var lessonProgressExample = {
745
+ progress: { completed: true, completed_at: "2026-10-18T15:04:00.000Z", position_seconds: 290 },
746
+ course: { completed: 2, total: 3, openable: 2, seconds_left: 0, next_lesson_slug: null }
747
+ };
748
+ var visitorExample = { visitor: { first_name: "Dana", email: "dana.m@example.com", member: false } };
749
+ var visitorExchangeExample = {
750
+ token: "YWNjdF8xLnNlc3NfMS5zaXRlX3B2LjE3NjA4MDA0MDA.3f9a\u2026",
751
+ expires_at: "2026-10-18T16:00:00.000Z",
752
+ visitor: { first_name: "Dana", email: "dana.m@example.com", member: false }
753
+ };
754
+ var CONTENT_API_EXAMPLES = {
755
+ SiteResponse: siteExample,
756
+ MenuResponse: menuExample,
757
+ PagesResponse: pagesExample,
758
+ PageResponse: pageExample,
759
+ SectionsResponse: sectionsExample,
760
+ TypesResponse: typesExample,
761
+ EntriesResponse: entriesExample,
762
+ EntryResponse: entryExample,
763
+ TermsResponse: termsExample,
764
+ AuthorsResponse: authorsExample,
765
+ AuthorResponse: authorExample,
766
+ RedirectsResponse: redirectsExample,
767
+ SitemapResponse: sitemapExample,
768
+ AreasResponse: areasResponseExample,
769
+ EventsResponse: eventsExample,
770
+ EventResponse: eventExample,
771
+ EventsLiveResponse: eventsLiveExample,
772
+ ShiftsResponse: shiftsExample,
773
+ ShiftsLiveResponse: shiftsLiveExample,
774
+ LiveResponse: liveExample,
775
+ CoursesResponse: coursesExample,
776
+ CourseResponse: courseExample,
777
+ LessonResponse: lessonExample,
778
+ LessonProgressResponse: lessonProgressExample,
779
+ VisitorResponse: visitorExample,
780
+ VisitorExchangeResponse: visitorExchangeExample
781
+ };
782
+
783
+ export { CONTENT_API_EXAMPLES, areasExample, areasResponseExample, authorExample, authorsExample, courseExample, coursesExample, entriesExample, entryExample, eventExample, eventsExample, eventsLiveExample, legalExample, lessonExample, lessonProgressExample, liveExample, menuExample, pageExample, pagesExample, redirectsExample, sectionsExample, shiftsExample, shiftsLiveExample, siteExample, sitemapExample, termsExample, typesExample, visitorExample, visitorExchangeExample };