@backgold/template-kit 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +12 -2
  3. package/dist/chunk-RJAVFRC6.js +67 -0
  4. package/dist/constants-BAIo_Q5U.d-lQbj1e1-.d.ts +48 -0
  5. package/dist/content-api-Cox1-wz5.d.ts +1096 -0
  6. package/dist/contract/content-api-examples.d.ts +72 -0
  7. package/dist/contract/content-api-examples.js +926 -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 +253 -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 +61 -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 +80 -0
  57. package/src/components/sections/About/index.astro +60 -0
  58. package/src/components/sections/About/left.astro +57 -0
  59. package/src/components/sections/About/letter.astro +111 -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 +126 -0
  102. package/src/components/sections/ContentPost/player.astro +254 -0
  103. package/src/components/sections/ContentPost/prose.astro +80 -0
  104. package/src/components/sections/ContentPost/theater.astro +329 -0
  105. package/src/components/sections/Countdown/index.astro +53 -0
  106. package/src/components/sections/Course/Bar.astro +46 -0
  107. package/src/components/sections/Course/CourseHead.astro +123 -0
  108. package/src/components/sections/Course/Crumbs.astro +44 -0
  109. package/src/components/sections/Course/Icon.astro +29 -0
  110. package/src/components/sections/Course/Ring.astro +62 -0
  111. package/src/components/sections/Course/Syllabus.astro +146 -0
  112. package/src/components/sections/Course/course.ts +146 -0
  113. package/src/components/sections/Course/index.astro +143 -0
  114. package/src/components/sections/Course/outline.astro +39 -0
  115. package/src/components/sections/Cta/banner.astro +64 -0
  116. package/src/components/sections/Cta/card.astro +88 -0
  117. package/src/components/sections/Cta/index.astro +31 -0
  118. package/src/components/sections/Cta/photo.astro +114 -0
  119. package/src/components/sections/Cta/strip.astro +91 -0
  120. package/src/components/sections/Donate/index.astro +136 -0
  121. package/src/components/sections/Donate/story.astro +7 -0
  122. package/src/components/sections/Event/card.astro +14 -0
  123. package/src/components/sections/Event/index.astro +14 -0
  124. package/src/components/sections/EventsList/AgendaMonths.astro +105 -0
  125. package/src/components/sections/EventsList/CalendarLine.astro +23 -0
  126. package/src/components/sections/EventsList/EventRows.astro +196 -0
  127. package/src/components/sections/EventsList/LiveCounts.astro +75 -0
  128. package/src/components/sections/EventsList/TypeTabs.astro +53 -0
  129. package/src/components/sections/EventsList/agenda.astro +55 -0
  130. package/src/components/sections/EventsList/calendar.astro +392 -0
  131. package/src/components/sections/EventsList/cards.astro +186 -0
  132. package/src/components/sections/EventsList/cohorts.astro +205 -0
  133. package/src/components/sections/EventsList/compact.astro +163 -0
  134. package/src/components/sections/EventsList/events.ts +168 -0
  135. package/src/components/sections/EventsList/index.astro +46 -0
  136. package/src/components/sections/EventsList/map.astro +436 -0
  137. package/src/components/sections/EventsList/shifts.astro +355 -0
  138. package/src/components/sections/EventsList/week.astro +361 -0
  139. package/src/components/sections/Faq/Contact.astro +63 -0
  140. package/src/components/sections/Faq/Questions.astro +98 -0
  141. package/src/components/sections/Faq/cards.astro +74 -0
  142. package/src/components/sections/Faq/faq.ts +101 -0
  143. package/src/components/sections/Faq/index.astro +49 -0
  144. package/src/components/sections/Faq/topics.astro +178 -0
  145. package/src/components/sections/Financials/Foot.astro +38 -0
  146. package/src/components/sections/Financials/Head.astro +47 -0
  147. package/src/components/sections/Financials/donut.astro +197 -0
  148. package/src/components/sections/Financials/financials.ts +52 -0
  149. package/src/components/sections/Financials/index.astro +148 -0
  150. package/src/components/sections/Financials/table.astro +157 -0
  151. package/src/components/sections/FormBlock/index.astro +33 -0
  152. package/src/components/sections/FormBlock/wide.astro +7 -0
  153. package/src/components/sections/Hero/cover.astro +176 -0
  154. package/src/components/sections/Hero/donate.astro +209 -0
  155. package/src/components/sections/Hero/field.astro +390 -0
  156. package/src/components/sections/Hero/index.astro +52 -0
  157. package/src/components/sections/Hero/overlap.astro +151 -0
  158. package/src/components/sections/Hero/rotating.astro +30 -0
  159. package/src/components/sections/Hero/split.astro +99 -0
  160. package/src/components/sections/Hero/statement.astro +55 -0
  161. package/src/components/sections/Hero/video.astro +399 -0
  162. package/src/components/sections/Issues/checklist.astro +204 -0
  163. package/src/components/sections/Issues/drawer.astro +237 -0
  164. package/src/components/sections/Issues/index.astro +115 -0
  165. package/src/components/sections/Issues/issues.ts +37 -0
  166. package/src/components/sections/Issues/numbered.astro +79 -0
  167. package/src/components/sections/Issues/rows.astro +137 -0
  168. package/src/components/sections/Issues/steps.astro +81 -0
  169. package/src/components/sections/Issues/tabs.astro +322 -0
  170. package/src/components/sections/Leaderboard/index.astro +29 -0
  171. package/src/components/sections/Lesson/Door.astro +121 -0
  172. package/src/components/sections/Lesson/LessonBody.astro +416 -0
  173. package/src/components/sections/Lesson/Rail.astro +182 -0
  174. package/src/components/sections/Lesson/Tracker.astro +137 -0
  175. package/src/components/sections/Lesson/index.astro +27 -0
  176. package/src/components/sections/Lesson/lesson.ts +233 -0
  177. package/src/components/sections/Lesson/reading.astro +21 -0
  178. package/src/components/sections/Map/CoverageLine.astro +19 -0
  179. package/src/components/sections/Map/RegionMap.astro +109 -0
  180. package/src/components/sections/Map/bar.astro +160 -0
  181. package/src/components/sections/Map/index.astro +192 -0
  182. package/src/components/sections/Map/map.astro +275 -0
  183. package/src/components/sections/MediaKit/BioCard.astro +108 -0
  184. package/src/components/sections/MediaKit/Downloads.astro +88 -0
  185. package/src/components/sections/MediaKit/index.astro +183 -0
  186. package/src/components/sections/MediaKit/kit.ts +140 -0
  187. package/src/components/sections/MediaKit/press.astro +189 -0
  188. package/src/components/sections/MediaKit/speaker.astro +205 -0
  189. package/src/components/sections/Membership/Benefits.astro +42 -0
  190. package/src/components/sections/Membership/Check.astro +12 -0
  191. package/src/components/sections/Membership/Price.astro +61 -0
  192. package/src/components/sections/Membership/compare.astro +312 -0
  193. package/src/components/sections/Membership/index.astro +281 -0
  194. package/src/components/sections/Membership/offers.ts +169 -0
  195. package/src/components/sections/Membership/tiers.astro +217 -0
  196. package/src/components/sections/MovementMap/index.astro +50 -0
  197. package/src/components/sections/MovementTicker/index.astro +43 -0
  198. package/src/components/sections/Pathways/Doors.astro +147 -0
  199. package/src/components/sections/Pathways/Head.astro +37 -0
  200. package/src/components/sections/Pathways/index.astro +27 -0
  201. package/src/components/sections/Pathways/pathways.ts +100 -0
  202. package/src/components/sections/Pathways/quiz.astro +286 -0
  203. package/src/components/sections/Pathways/tabs.astro +271 -0
  204. package/src/components/sections/PdfEmbed/card.astro +99 -0
  205. package/src/components/sections/PdfEmbed/index.astro +26 -0
  206. package/src/components/sections/PdfEmbed/medium.astro +7 -0
  207. package/src/components/sections/PdfEmbed/tall.astro +7 -0
  208. package/src/components/sections/Petition/coverage.astro +14 -0
  209. package/src/components/sections/Petition/image.astro +14 -0
  210. package/src/components/sections/Petition/index.astro +14 -0
  211. package/src/components/sections/Petition/map.astro +14 -0
  212. package/src/components/sections/PlatformPlanks/anchors.ts +66 -0
  213. package/src/components/sections/PlatformPlanks/columns.astro +171 -0
  214. package/src/components/sections/PlatformPlanks/index.astro +56 -0
  215. package/src/components/sections/PlatformPlanks/longread.astro +250 -0
  216. package/src/components/sections/PollBlock/index.astro +30 -0
  217. package/src/components/sections/Portfolio/featured.astro +343 -0
  218. package/src/components/sections/Portfolio/index.astro +571 -0
  219. package/src/components/sections/Portfolio/strip.astro +173 -0
  220. package/src/components/sections/Portfolio/work.ts +100 -0
  221. package/src/components/sections/Progress/MatchClock.astro +166 -0
  222. package/src/components/sections/Progress/compact.astro +150 -0
  223. package/src/components/sections/Progress/index.astro +32 -0
  224. package/src/components/sections/Progress/match.astro +126 -0
  225. package/src/components/sections/Progress/ring.astro +179 -0
  226. package/src/components/sections/QuickDonate/DonateCard.astro +149 -0
  227. package/src/components/sections/QuickDonate/Picker.astro +95 -0
  228. package/src/components/sections/QuickDonate/band.astro +164 -0
  229. package/src/components/sections/QuickDonate/bar.astro +208 -0
  230. package/src/components/sections/QuickDonate/donate.ts +126 -0
  231. package/src/components/sections/QuickDonate/hero.astro +143 -0
  232. package/src/components/sections/QuickDonate/index.astro +73 -0
  233. package/src/components/sections/QuickDonate/jar.astro +225 -0
  234. package/src/components/sections/QuickDonate/ladder.astro +248 -0
  235. package/src/components/sections/QuoteStrip/carousel.astro +340 -0
  236. package/src/components/sections/QuoteStrip/index.astro +58 -0
  237. package/src/components/sections/QuoteStrip/logos.astro +226 -0
  238. package/src/components/sections/QuoteStrip/quotes.ts +61 -0
  239. package/src/components/sections/QuoteStrip/single.astro +92 -0
  240. package/src/components/sections/QuoteStrip/ticker.astro +319 -0
  241. package/src/components/sections/QuoteStrip/wall.astro +113 -0
  242. package/src/components/sections/Resources/band.astro +93 -0
  243. package/src/components/sections/Resources/featured.astro +239 -0
  244. package/src/components/sections/Resources/index.astro +225 -0
  245. package/src/components/sections/Resources/resources.ts +92 -0
  246. package/src/components/sections/SampleBallot/Position.astro +39 -0
  247. package/src/components/sections/SampleBallot/ballot.ts +92 -0
  248. package/src/components/sections/SampleBallot/cards.astro +299 -0
  249. package/src/components/sections/SampleBallot/index.astro +326 -0
  250. package/src/components/sections/SampleBallot/measures.astro +172 -0
  251. package/src/components/sections/Scorecard/grades.astro +141 -0
  252. package/src/components/sections/Scorecard/index.astro +294 -0
  253. package/src/components/sections/Scorecard/promise.astro +167 -0
  254. package/src/components/sections/Scorecard/votes.ts +83 -0
  255. package/src/components/sections/SectionHead.astro +31 -0
  256. package/src/components/sections/Services/Button.astro +24 -0
  257. package/src/components/sections/Services/Check.astro +12 -0
  258. package/src/components/sections/Services/Includes.astro +42 -0
  259. package/src/components/sections/Services/compare.astro +328 -0
  260. package/src/components/sections/Services/index.astro +187 -0
  261. package/src/components/sections/Services/list.astro +181 -0
  262. package/src/components/sections/Services/services.ts +80 -0
  263. package/src/components/sections/ShareKit/Actions.astro +71 -0
  264. package/src/components/sections/ShareKit/Buttons.astro +62 -0
  265. package/src/components/sections/ShareKit/compact.astro +123 -0
  266. package/src/components/sections/ShareKit/index.astro +160 -0
  267. package/src/components/sections/ShareKit/share.ts +60 -0
  268. package/src/components/sections/ShareKit/strip.astro +173 -0
  269. package/src/components/sections/SignupCapture/band.astro +7 -0
  270. package/src/components/sections/SignupCapture/index.astro +103 -0
  271. package/src/components/sections/SignupCapture/inline.astro +7 -0
  272. package/src/components/sections/SocialFeed/index.astro +34 -0
  273. package/src/components/sections/StatCards/feature.astro +143 -0
  274. package/src/components/sections/StatCards/index.astro +51 -0
  275. package/src/components/sections/StatCards/ribbon.astro +113 -0
  276. package/src/components/sections/StatCards/wall.astro +177 -0
  277. package/src/components/sections/Store/featured.astro +14 -0
  278. package/src/components/sections/Store/index.astro +14 -0
  279. package/src/components/sections/Stories/Status.astro +42 -0
  280. package/src/components/sections/Stories/StoryCards.astro +171 -0
  281. package/src/components/sections/Stories/cards.astro +42 -0
  282. package/src/components/sections/Stories/index.astro +238 -0
  283. package/src/components/sections/Stories/stories.ts +97 -0
  284. package/src/components/sections/Stories/timeline.astro +135 -0
  285. package/src/components/sections/TeamGrid/board.astro +280 -0
  286. package/src/components/sections/TeamGrid/index.astro +71 -0
  287. package/src/components/sections/TeamGrid/list.astro +306 -0
  288. package/src/components/sections/TeamGrid/people.ts +178 -0
  289. package/src/components/sections/VideoEmbed/index.astro +52 -0
  290. package/src/components/sections/VideoEmbed/landscape.astro +7 -0
  291. package/src/components/sections/VideoEmbed/portrait.astro +7 -0
  292. package/src/components/sections/VideoEmbed/square.astro +7 -0
  293. package/src/components/sections/VoterTools/DaysLeft.astro +33 -0
  294. package/src/components/sections/VoterTools/Lookup.astro +43 -0
  295. package/src/components/sections/VoterTools/dates.astro +153 -0
  296. package/src/components/sections/VoterTools/index.astro +231 -0
  297. package/src/components/sections/VoterTools/polling.astro +144 -0
  298. package/src/components/sections/VoterTools/voter-tools.ts +71 -0
  299. package/src/components/sections/index.ts +373 -0
  300. package/src/components/sections/modules/Headed.astro +39 -0
  301. package/src/components/sections/modules/ModuleFrame.astro +181 -0
  302. package/src/components/store/CollectionPage.astro +40 -0
  303. package/src/components/store/ProductCard.astro +32 -0
  304. package/src/components/store/ProductGrid.astro +16 -0
  305. package/src/components/store/ProductPage.astro +146 -0
  306. package/src/components/store/StorePage.astro +137 -0
  307. package/src/components/store/StoreScript.astro +572 -0
  308. package/src/components/volunteer/ShiftLive.astro +90 -0
  309. package/src/components/volunteer/detail.astro +247 -0
  310. package/src/components/volunteer/list.astro +298 -0
  311. package/src/components/volunteer/props.ts +21 -0
  312. package/src/env.d.ts +22 -0
  313. package/src/index.d.ts +10 -0
  314. package/src/index.js +63 -0
  315. package/src/layouts/Site.astro +387 -0
  316. package/src/lib/academy.ts +146 -0
  317. package/src/lib/brand.ts +534 -0
  318. package/src/lib/chrome.ts +121 -0
  319. package/src/lib/donate-frame.ts +104 -0
  320. package/src/lib/entries.ts +190 -0
  321. package/src/lib/env.ts +34 -0
  322. package/src/lib/event-map-draw.ts +91 -0
  323. package/src/lib/events.ts +476 -0
  324. package/src/lib/fonts.ts +116 -0
  325. package/src/lib/footer.ts +24 -0
  326. package/src/lib/format.ts +160 -0
  327. package/src/lib/geo.ts +131 -0
  328. package/src/lib/live.ts +55 -0
  329. package/src/lib/menu.ts +48 -0
  330. package/src/lib/petition-text.ts +29 -0
  331. package/src/lib/reading.ts +17 -0
  332. package/src/lib/regions.ts +215 -0
  333. package/src/lib/section.ts +105 -0
  334. package/src/lib/shifts.ts +187 -0
  335. package/src/lib/store.ts +521 -0
  336. package/src/lib/stream-time.ts +20 -0
  337. package/src/lib/stream.ts +141 -0
  338. package/src/lib/visitor.ts +54 -0
  339. package/src/routes/catch-all.astro +435 -0
  340. package/src/routes/form.astro +30 -0
  341. package/src/routes/live.astro +49 -0
  342. package/src/routes/not-found.astro +18 -0
  343. package/src/routes/preview.astro +60 -0
  344. package/src/routes/setup.astro +62 -0
  345. package/src/routes/volunteer-shift.astro +61 -0
  346. package/src/styles/entries.css +784 -0
  347. package/src/styles/site.css +1910 -0
  348. package/src/styles/store.css +634 -0
  349. package/src/template.ts +182 -0
@@ -0,0 +1,926 @@
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
+ { url: "https://pinevalleyliberty.org/store", kind: "store", updated_at: "2026-10-28T15:10:00.000Z" },
528
+ { url: "https://pinevalleyliberty.org/store/departments/apparel", kind: "department", updated_at: "2026-10-28T15:10:00.000Z" },
529
+ { url: "https://pinevalleyliberty.org/store/pine-valley-tee", kind: "product", updated_at: "2026-10-28T15:10:00.000Z" },
530
+ { url: "https://pinevalleyliberty.org/collections/fall-drop", kind: "collection", updated_at: "2026-10-28T15:12:00.000Z" }
531
+ ]
532
+ };
533
+ var eventsExample = {
534
+ events: [
535
+ {
536
+ id: "evt_2k9",
537
+ title: "Town hall",
538
+ starts_at: "2026-10-09T00:00:00.000Z",
539
+ ends_at: null,
540
+ timezone: "America/Chicago",
541
+ location: "Pine Valley Library",
542
+ is_virtual: false,
543
+ type: "blank",
544
+ registration_closed: false,
545
+ url: "https://pine-valley.backgold.com/events/town-hall",
546
+ sells_tickets: false,
547
+ tickets_url: null,
548
+ lat: null,
549
+ lng: null
550
+ },
551
+ {
552
+ id: "evt_4m1",
553
+ title: "Liberty dinner",
554
+ starts_at: "2026-10-17T23:30:00.000Z",
555
+ ends_at: "2026-10-18T02:00:00.000Z",
556
+ timezone: "America/Chicago",
557
+ location: "Pine Valley Grange",
558
+ is_virtual: false,
559
+ type: "fundraiser",
560
+ registration_closed: false,
561
+ url: "https://pine-valley.backgold.com/events/liberty-dinner",
562
+ sells_tickets: true,
563
+ tickets_url: "https://pine-valley.backgold.com/events/liberty-dinner",
564
+ lat: 32.7767,
565
+ lng: -96.797
566
+ }
567
+ ],
568
+ types: [
569
+ { key: "fundraiser", label: "Fundraiser", upcoming: 1 },
570
+ { key: "blank", label: "Event", upcoming: 3 }
571
+ ],
572
+ next_cursor: "MjAyNi0xMC0xN1QyMzozMDowMC4wMDBafGV2dF80bTE"
573
+ };
574
+ var eventExample = {
575
+ event: {
576
+ ...eventsExample.events[1],
577
+ slug: "liberty-dinner",
578
+ description: "<p>Dinner with every candidate on the county ballot, and a few short speeches. <strong>Bring a neighbor.</strong></p>",
579
+ venue: "Pine Valley Grange",
580
+ address: "14 Rail Street, Pine Valley, TX 75001",
581
+ image_url: "https://api.backgold.com/lp-assets/org_pv/dinner.jpg",
582
+ directions_url: "https://www.google.com/maps/dir/?api=1&destination=32.7767%2C-96.797",
583
+ embed: { iframe: "https://secure.backgold.com/embed/e/pine-valley/liberty-dinner", script: "https://secure.backgold.com/embed.js" }
584
+ },
585
+ areas: areasExample
586
+ };
587
+ var eventsLiveExample = {
588
+ events: [
589
+ { id: "evt_2k9", going: 41, seats_left: null },
590
+ { id: "evt_4m1", going: 88, seats_left: 12 }
591
+ ]
592
+ };
593
+ var teeSummary = {
594
+ id: "prd_7h2",
595
+ slug: "pine-valley-tee",
596
+ name: "Pine Valley tee",
597
+ short_description: "Heavyweight cotton, printed in the county.",
598
+ url: "https://pinevalleyliberty.org/store/pine-valley-tee",
599
+ buy_url: "https://secure.backgold.com/s/pine-valley/pine-valley-tee",
600
+ photos: [{ url: "https://api.backgold.com/api/store-pages/pine-valley/photos/prd_7h2/pho_1" }],
601
+ price_from_cents: 2500,
602
+ price_to_cents: 2500,
603
+ availability: "in_stock",
604
+ department: [
605
+ { taxonomy: "department", slug: "apparel", label: "Apparel", category_page: true },
606
+ { taxonomy: "department", slug: "tees", label: "Tees", category_page: true }
607
+ ],
608
+ tags: [{ taxonomy: "tag", slug: "new", label: "New" }],
609
+ collections: [{ slug: "fall-drop", title: "Fall drop" }],
610
+ offering_kind: null,
611
+ ships: true,
612
+ counts_as_contribution: true,
613
+ updated_at: "2026-10-28T15:10:00.000Z"
614
+ };
615
+ var yardSignSummary = {
616
+ id: "prd_9c4",
617
+ slug: "yard-sign",
618
+ name: "Yard sign",
619
+ short_description: "Two-sided, with the stake.",
620
+ url: "https://pinevalleyliberty.org/store/yard-sign",
621
+ buy_url: "https://secure.backgold.com/s/pine-valley/yard-sign",
622
+ photos: [{ url: "https://api.backgold.com/api/store-pages/pine-valley/photos/prd_9c4/pho_1" }],
623
+ price_from_cents: 1e3,
624
+ price_to_cents: 1e3,
625
+ availability: "low",
626
+ department: [{ taxonomy: "department", slug: "signs", label: "Signs", category_page: true }],
627
+ tags: [],
628
+ collections: [{ slug: "fall-drop", title: "Fall drop" }],
629
+ offering_kind: null,
630
+ ships: true,
631
+ counts_as_contribution: false,
632
+ updated_at: "2026-10-20T09:00:00.000Z"
633
+ };
634
+ var fallDrop = {
635
+ id: "col_3f1",
636
+ slug: "fall-drop",
637
+ title: "Fall drop",
638
+ intro: "What the county chapters are wearing this fall.",
639
+ url: "https://pinevalleyliberty.org/collections/fall-drop",
640
+ cover: { url: "https://api.backgold.com/lp-assets/org_pv/fall-drop.jpg" },
641
+ count: 2,
642
+ updated_at: "2026-10-28T15:12:00.000Z"
643
+ };
644
+ var productsExample = {
645
+ products: [teeSummary],
646
+ departments: [
647
+ { id: "trm_a1", slug: "apparel", label: "Apparel", parent_id: null, position: 0, count: 2 },
648
+ { id: "trm_a2", slug: "tees", label: "Tees", parent_id: "trm_a1", position: 0, count: 2 },
649
+ { id: "trm_s1", slug: "signs", label: "Signs", parent_id: null, position: 1, count: 1 }
650
+ ],
651
+ collections: [fallDrop],
652
+ facets: [
653
+ { key: "fabric", label: "Fabric", kind: "short_text", values: [{ value: "100% cotton", count: 1 }] },
654
+ {
655
+ key: "fit",
656
+ label: "Fit",
657
+ kind: "choice",
658
+ values: [
659
+ { value: "Fitted", count: 1 },
660
+ { value: "Unisex", count: 1 }
661
+ ]
662
+ }
663
+ ],
664
+ next_cursor: null
665
+ };
666
+ var productExample = {
667
+ product: {
668
+ ...teeSummary,
669
+ description_html: "<p>Printed by a union shop in Pine Valley. Wear it to the county fair.</p>",
670
+ manufacturer: { name: "Valley Union Print Co." },
671
+ ship_to: "buyer",
672
+ items: [
673
+ { id: "itm_1", name: "S", sku: "PV-TEE-S", upc: null, price_cents: 2500, compare_at_cents: null, availability: "in_stock" },
674
+ { id: "itm_2", name: "M", sku: "PV-TEE-M", upc: null, price_cents: 2500, compare_at_cents: null, availability: "in_stock" },
675
+ { id: "itm_3", name: "L", sku: "PV-TEE-L", upc: null, price_cents: 2500, compare_at_cents: null, availability: "low" }
676
+ ],
677
+ attributes: [
678
+ { key: "fabric", label: "Fabric", kind: "short_text", value: "100% cotton" },
679
+ { key: "fit", label: "Fit", kind: "choice", value: "Unisex" }
680
+ ],
681
+ seo: {
682
+ title: "Pine Valley tee",
683
+ description: "Heavyweight cotton, printed in the county.",
684
+ image_url: "https://api.backgold.com/api/store-pages/pine-valley/photos/prd_7h2/pho_1"
685
+ },
686
+ structured_data: {
687
+ "@context": "https://schema.org",
688
+ "@type": "Product",
689
+ name: "Pine Valley tee",
690
+ description: "Heavyweight cotton, printed in the county.",
691
+ image: ["https://api.backgold.com/api/store-pages/pine-valley/photos/prd_7h2/pho_1"],
692
+ sku: "PV-TEE-S",
693
+ offers: [
694
+ { "@type": "Offer", sku: "PV-TEE-S", price: "25.00", priceCurrency: "USD", availability: "https://schema.org/InStock", url: "https://pinevalleyliberty.org/store/pine-valley-tee" },
695
+ { "@type": "Offer", sku: "PV-TEE-M", price: "25.00", priceCurrency: "USD", availability: "https://schema.org/InStock", url: "https://pinevalleyliberty.org/store/pine-valley-tee" },
696
+ { "@type": "Offer", sku: "PV-TEE-L", price: "25.00", priceCurrency: "USD", availability: "https://schema.org/LimitedAvailability", url: "https://pinevalleyliberty.org/store/pine-valley-tee" }
697
+ ]
698
+ },
699
+ related: [yardSignSummary]
700
+ },
701
+ areas: areasExample
702
+ };
703
+ var productsLiveExample = {
704
+ products: [
705
+ {
706
+ id: "prd_7h2",
707
+ items: [
708
+ { id: "itm_1", price_cents: 2500, compare_at_cents: null, availability: "in_stock" },
709
+ { id: "itm_2", price_cents: 2500, compare_at_cents: null, availability: "in_stock" },
710
+ { id: "itm_3", price_cents: 2500, compare_at_cents: null, availability: "out" }
711
+ ],
712
+ questions: [
713
+ { label: "Chapter name to stitch", type: "text", required: false, options: null, placeholder: "Pine Valley", help: null, body: null, allow_other: false, scope: "unit" }
714
+ ]
715
+ }
716
+ ]
717
+ };
718
+ var collectionsExample = { collections: [fallDrop], next_cursor: null };
719
+ var collectionExample = {
720
+ collection: {
721
+ ...fallDrop,
722
+ body: { markdown: "Two things every chapter asked for, in time for the fair season." },
723
+ products: [teeSummary, yardSignSummary]
724
+ },
725
+ areas: areasExample
726
+ };
727
+ var shiftsExample = {
728
+ shifts: [
729
+ {
730
+ id: "shf_7q2",
731
+ slug: "town-hall-greeters",
732
+ title: "Town hall greeters",
733
+ starts_at: "2026-10-08T23:00:00.000Z",
734
+ ends_at: "2026-10-09T01:30:00.000Z",
735
+ timezone: "America/Chicago",
736
+ location: "Pine Valley Library",
737
+ notes: "Meet at the front desk. Name tags are on us.",
738
+ capacity: 8,
739
+ signed_up: 5,
740
+ waitlisted: 0,
741
+ state: "open",
742
+ subject: { kind: "event", slug: "town-hall" },
743
+ signup_url: "https://pinevalleyliberty.org/volunteer/town-hall-greeters",
744
+ signup_embed: { iframe: "https://api.backgold.com/embed/shift/pine-valley/town-hall-greeters", script: "https://secure.backgold.com/embed.js" }
745
+ },
746
+ {
747
+ id: "shf_9d4",
748
+ slug: "saturday-sign-crew",
749
+ title: "Saturday sign crew",
750
+ starts_at: "2026-10-10T14:00:00.000Z",
751
+ ends_at: "2026-10-10T17:00:00.000Z",
752
+ timezone: "America/Chicago",
753
+ location: "14 Rail Street, Pine Valley",
754
+ notes: null,
755
+ capacity: 6,
756
+ signed_up: 6,
757
+ waitlisted: 0,
758
+ state: "full",
759
+ subject: { kind: "standalone", slug: null },
760
+ signup_url: "https://pinevalleyliberty.org/volunteer/saturday-sign-crew",
761
+ signup_embed: { iframe: "https://api.backgold.com/embed/shift/pine-valley/saturday-sign-crew", script: "https://secure.backgold.com/embed.js" }
762
+ }
763
+ ],
764
+ next_cursor: null
765
+ };
766
+ var shiftsLiveExample = {
767
+ shifts: [
768
+ { id: "shf_7q2", signed_up: 6, waitlisted: 0, state: "open" },
769
+ { id: "shf_9d4", signed_up: 6, waitlisted: 2, state: "waitlist" }
770
+ ]
771
+ };
772
+ var liveExample = {
773
+ live: {
774
+ status: "live",
775
+ video_id: "pV7c4Lh2TmQ",
776
+ url: "https://www.youtube.com/watch?v=pV7c4Lh2TmQ",
777
+ embed_url: "https://www.youtube.com/embed/pV7c4Lh2TmQ",
778
+ title: "Town hall, live from the Grange",
779
+ thumbnail_url: "https://i.ytimg.com/vi/pV7c4Lh2TmQ/maxresdefault_live.jpg",
780
+ scheduled_start_at: null,
781
+ started_at: "2026-10-08T23:02:00.000Z",
782
+ channel_title: "Pine Valley for Liberty"
783
+ }
784
+ };
785
+ var course = {
786
+ id: "ci_c01",
787
+ slug: "foundations",
788
+ title: "Foundational Leadership",
789
+ summary: "Short lessons on leading a local chapter.",
790
+ url: "/courses/foundations",
791
+ hero: { url: "https://api.backgold.com/api/content-pages/pine-valley/hero/ci_c01?v=1" },
792
+ publish_at: "2026-10-01T12:00:00.000Z",
793
+ updated_at: "2026-10-02T09:00:00.000Z",
794
+ access: "signed_in",
795
+ locked: false,
796
+ lock: null,
797
+ lesson_count: 3,
798
+ total_seconds: 1010,
799
+ progress: { completed: 1, total: 3, openable: 2, seconds_left: 290, next_lesson_slug: "decide-what-you-want" },
800
+ body: { markdown: "Three lessons, about seventeen minutes in all." },
801
+ lessons: [
802
+ {
803
+ id: "ci_l01",
804
+ slug: "start-here",
805
+ title: "Start here",
806
+ summary: null,
807
+ url: "/courses/foundations/start-here",
808
+ hero: null,
809
+ duration_seconds: 240,
810
+ position: 0,
811
+ access: "signed_in",
812
+ locked: false,
813
+ lock: null,
814
+ completed: true,
815
+ completed_at: "2026-10-14T18:20:00.000Z",
816
+ position_seconds: 240
817
+ },
818
+ {
819
+ id: "ci_l02",
820
+ slug: "decide-what-you-want",
821
+ title: "Decide what you want",
822
+ summary: "One thing you want to be true in a year.",
823
+ url: "/courses/foundations/decide-what-you-want",
824
+ hero: null,
825
+ duration_seconds: 290,
826
+ position: 1,
827
+ access: "signed_in",
828
+ locked: false,
829
+ lock: null,
830
+ completed: false,
831
+ completed_at: null,
832
+ position_seconds: 72
833
+ },
834
+ {
835
+ id: "ci_l03",
836
+ slug: "run-the-meeting",
837
+ title: "Run the meeting",
838
+ summary: null,
839
+ url: "/courses/foundations/run-the-meeting",
840
+ hero: null,
841
+ duration_seconds: 480,
842
+ position: 2,
843
+ access: "members",
844
+ locked: true,
845
+ lock: { reason: "members", tag_label: null, org_name: "Pine Valley for Liberty" },
846
+ completed: false,
847
+ completed_at: null,
848
+ position_seconds: null
849
+ }
850
+ ]
851
+ };
852
+ var { body: _courseBody, lessons: _courseLessons, ...courseSummary } = course;
853
+ var coursesExample = { courses: [courseSummary], next_cursor: null, areas: areasExample };
854
+ var courseExample = { course, areas: areasExample };
855
+ var lessonExample = {
856
+ lesson: {
857
+ id: "ci_l02",
858
+ slug: "decide-what-you-want",
859
+ type: "video",
860
+ title: "Decide what you want",
861
+ summary: "One thing you want to be true in a year.",
862
+ url: "/videos/decide-what-you-want",
863
+ hero: null,
864
+ media_url: "https://api.backgold.com/api/media-files/med_9f2",
865
+ publish_at: "2026-10-01T12:00:00.000Z",
866
+ updated_at: "2026-10-01T12:00:00.000Z",
867
+ terms: [],
868
+ authors: [],
869
+ access: "signed_in",
870
+ locked: false,
871
+ lock: null,
872
+ duration_seconds: 290,
873
+ 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" },
874
+ body: { markdown: "Three questions before the next lesson." },
875
+ fields: {}
876
+ },
877
+ course,
878
+ previous: { slug: "start-here", title: "Start here", url: "/courses/foundations/start-here" },
879
+ next: { slug: "run-the-meeting", title: "Run the meeting", url: "/courses/foundations/run-the-meeting" },
880
+ areas: areasExample
881
+ };
882
+ var lessonProgressExample = {
883
+ progress: { completed: true, completed_at: "2026-10-18T15:04:00.000Z", position_seconds: 290 },
884
+ course: { completed: 2, total: 3, openable: 2, seconds_left: 0, next_lesson_slug: null }
885
+ };
886
+ var visitorExample = { visitor: { first_name: "Dana", email: "dana.m@example.com", member: false } };
887
+ var visitorExchangeExample = {
888
+ token: "YWNjdF8xLnNlc3NfMS5zaXRlX3B2LjE3NjA4MDA0MDA.3f9a\u2026",
889
+ expires_at: "2026-10-18T16:00:00.000Z",
890
+ visitor: { first_name: "Dana", email: "dana.m@example.com", member: false }
891
+ };
892
+ var CONTENT_API_EXAMPLES = {
893
+ SiteResponse: siteExample,
894
+ MenuResponse: menuExample,
895
+ PagesResponse: pagesExample,
896
+ PageResponse: pageExample,
897
+ SectionsResponse: sectionsExample,
898
+ TypesResponse: typesExample,
899
+ EntriesResponse: entriesExample,
900
+ EntryResponse: entryExample,
901
+ TermsResponse: termsExample,
902
+ AuthorsResponse: authorsExample,
903
+ AuthorResponse: authorExample,
904
+ RedirectsResponse: redirectsExample,
905
+ SitemapResponse: sitemapExample,
906
+ AreasResponse: areasResponseExample,
907
+ EventsResponse: eventsExample,
908
+ EventResponse: eventExample,
909
+ EventsLiveResponse: eventsLiveExample,
910
+ ShiftsResponse: shiftsExample,
911
+ ShiftsLiveResponse: shiftsLiveExample,
912
+ LiveResponse: liveExample,
913
+ CoursesResponse: coursesExample,
914
+ CourseResponse: courseExample,
915
+ LessonResponse: lessonExample,
916
+ LessonProgressResponse: lessonProgressExample,
917
+ VisitorResponse: visitorExample,
918
+ VisitorExchangeResponse: visitorExchangeExample,
919
+ ProductsResponse: productsExample,
920
+ ProductResponse: productExample,
921
+ ProductsLiveResponse: productsLiveExample,
922
+ CollectionsResponse: collectionsExample,
923
+ CollectionResponse: collectionExample
924
+ };
925
+
926
+ export { CONTENT_API_EXAMPLES, areasExample, areasResponseExample, authorExample, authorsExample, collectionExample, collectionsExample, courseExample, coursesExample, entriesExample, entryExample, eventExample, eventsExample, eventsLiveExample, legalExample, lessonExample, lessonProgressExample, liveExample, menuExample, pageExample, pagesExample, productExample, productsExample, productsLiveExample, redirectsExample, sectionsExample, shiftsExample, shiftsLiveExample, siteExample, sitemapExample, termsExample, typesExample, visitorExample, visitorExchangeExample };