efficient-web-builder 0.9.0 → 1.0.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 (1049) hide show
  1. package/CHANGELOG.md +20 -338
  2. package/README.md +107 -261
  3. package/dist/components/AddBlockRow.d.ts +7 -0
  4. package/dist/components/AddBlockRow.js +1 -0
  5. package/dist/components/AddChildRow.d.ts +6 -0
  6. package/dist/components/AddChildRow.js +1 -0
  7. package/dist/components/AddSidePanel.d.ts +39 -0
  8. package/dist/components/AddSidePanel.js +1 -0
  9. package/dist/components/AnimatedStat.d.ts +6 -0
  10. package/dist/components/AnimatedStat.js +1 -0
  11. package/dist/components/ApplyCornersToSiblings.d.ts +9 -0
  12. package/dist/components/ApplyCornersToSiblings.js +1 -0
  13. package/dist/components/Banner.d.ts +12 -0
  14. package/dist/components/Banner.js +1 -0
  15. package/dist/components/BlockFrame.d.ts +15 -0
  16. package/dist/components/BlockFrame.js +1 -0
  17. package/dist/components/BlockGapField.d.ts +5 -0
  18. package/dist/components/BlockGapField.js +1 -0
  19. package/dist/components/BlogPostSource.d.ts +14 -0
  20. package/dist/components/BlogPostSource.js +1 -0
  21. package/dist/components/BoxSurfaceContext.d.ts +7 -0
  22. package/dist/components/BoxSurfaceContext.js +1 -0
  23. package/dist/components/BoxTabs.d.ts +6 -0
  24. package/dist/components/BoxTabs.js +1 -0
  25. package/dist/components/Breadcrumb.d.ts +10 -0
  26. package/dist/components/Breadcrumb.js +1 -0
  27. package/dist/components/Btn.d.ts +22 -0
  28. package/dist/components/Btn.js +1 -0
  29. package/dist/components/ButtonBlock.d.ts +13 -0
  30. package/dist/components/ButtonBlock.js +1 -0
  31. package/dist/components/CardShadowField.d.ts +6 -0
  32. package/dist/components/CardShadowField.js +1 -0
  33. package/dist/components/Cards.d.ts +15 -0
  34. package/dist/components/Cards.js +1 -0
  35. package/dist/components/CategoryBar.d.ts +16 -0
  36. package/dist/components/CategoryBar.js +1 -0
  37. package/dist/components/ChartSection.d.ts +16 -0
  38. package/dist/components/ChartSection.js +1 -0
  39. package/dist/components/ChatSettingsPanel.d.ts +1 -0
  40. package/dist/components/ChatSettingsPanel.js +1 -0
  41. package/dist/components/ClearColoursDialog.d.ts +5 -0
  42. package/dist/components/ClearColoursDialog.js +1 -0
  43. package/dist/components/ContactLocations.d.ts +17 -0
  44. package/dist/components/ContactLocations.js +73 -0
  45. package/dist/components/CornersField.d.ts +7 -0
  46. package/dist/components/CornersField.js +1 -0
  47. package/dist/components/CountUpText.d.ts +3 -0
  48. package/dist/components/CountUpText.js +1 -0
  49. package/dist/components/Divider.d.ts +9 -0
  50. package/dist/components/Divider.js +1 -0
  51. package/dist/components/DocBody.d.ts +13 -0
  52. package/dist/components/DocBody.js +7 -0
  53. package/dist/components/DocMasthead.d.ts +13 -0
  54. package/dist/components/DocMasthead.js +1 -0
  55. package/dist/components/DocMetaCards.d.ts +10 -0
  56. package/dist/components/DocMetaCards.js +1 -0
  57. package/dist/components/DocTabs.d.ts +12 -0
  58. package/dist/components/DocTabs.js +1 -0
  59. package/dist/components/DuplicateToPageMenu.d.ts +12 -0
  60. package/dist/components/DuplicateToPageMenu.js +1 -0
  61. package/dist/components/EditorialSectionHead.d.ts +11 -0
  62. package/dist/components/EditorialSectionHead.js +1 -0
  63. package/dist/components/Eyebrow.d.ts +9 -0
  64. package/dist/components/Eyebrow.js +1 -0
  65. package/dist/components/FAQ.d.ts +20 -0
  66. package/dist/components/FAQ.js +1 -0
  67. package/dist/components/FeaturedCover.d.ts +13 -0
  68. package/dist/components/FeaturedCover.js +1 -0
  69. package/dist/components/FieldGlyph.d.ts +12 -0
  70. package/dist/components/FieldGlyph.js +1 -0
  71. package/dist/components/Flex.d.ts +32 -0
  72. package/dist/components/Flex.js +1 -0
  73. package/dist/components/Footprint.d.ts +16 -0
  74. package/dist/components/Footprint.js +27 -0
  75. package/dist/components/Grid.d.ts +11 -0
  76. package/dist/components/Grid.js +1 -0
  77. package/dist/components/Heading.d.ts +11 -0
  78. package/dist/components/Heading.js +1 -0
  79. package/dist/components/HeadingAudit.d.ts +1 -0
  80. package/dist/components/HeadingAudit.js +1 -0
  81. package/dist/components/HeroArrows.d.ts +8 -0
  82. package/dist/components/HeroArrows.js +1 -0
  83. package/dist/components/HeroGroup.d.ts +20 -0
  84. package/dist/components/HeroGroup.js +1 -0
  85. package/dist/components/HeroHeldFrame.d.ts +8 -0
  86. package/dist/components/HeroHeldFrame.js +1 -0
  87. package/dist/components/HeroImageField.d.ts +6 -0
  88. package/dist/components/HeroImageField.js +1 -0
  89. package/dist/components/HeroPoster.d.ts +10 -0
  90. package/dist/components/HeroPoster.js +1 -0
  91. package/dist/components/HeroSection.d.ts +39 -0
  92. package/dist/components/HeroSection.js +11 -0
  93. package/dist/components/HeroSingle.d.ts +17 -0
  94. package/dist/components/HeroSingle.js +1 -0
  95. package/dist/components/HeroSlide.d.ts +30 -0
  96. package/dist/components/HeroSlide.js +1 -0
  97. package/dist/components/HoverEffectField.d.ts +6 -0
  98. package/dist/components/HoverEffectField.js +1 -0
  99. package/dist/components/ImageBlock.d.ts +18 -0
  100. package/dist/components/ImageBlock.js +1 -0
  101. package/dist/components/ImageFocusRow.d.ts +7 -0
  102. package/dist/components/ImageFocusRow.js +1 -0
  103. package/dist/components/IntegrationsSection.d.ts +14 -0
  104. package/dist/components/IntegrationsSection.js +1 -0
  105. package/dist/components/IntroBleed.d.ts +32 -0
  106. package/dist/components/IntroBleed.js +1 -0
  107. package/dist/components/KeyFeatures.d.ts +14 -0
  108. package/dist/components/KeyFeatures.js +1 -0
  109. package/dist/components/LocationGroupHeader.d.ts +5 -0
  110. package/dist/components/LocationGroupHeader.js +1 -0
  111. package/dist/components/LocationsGroupedField.d.ts +5 -0
  112. package/dist/components/LocationsGroupedField.js +1 -0
  113. package/dist/components/LocationsTreeContext.d.ts +2 -0
  114. package/dist/components/LocationsTreeContext.js +1 -0
  115. package/dist/components/Logo.d.ts +27 -0
  116. package/dist/components/Logo.js +1 -0
  117. package/dist/components/LogoBlock.d.ts +8 -0
  118. package/dist/components/LogoBlock.js +1 -0
  119. package/dist/components/Logos.d.ts +15 -0
  120. package/dist/components/Logos.js +1 -0
  121. package/dist/components/LongRead.d.ts +20 -0
  122. package/dist/components/LongRead.js +1 -0
  123. package/dist/components/Manifesto.d.ts +14 -0
  124. package/dist/components/Manifesto.js +1 -0
  125. package/dist/components/Masthead.d.ts +16 -0
  126. package/dist/components/Masthead.js +1 -0
  127. package/dist/components/MediaSidePanel.d.ts +6 -0
  128. package/dist/components/MediaSidePanel.js +1 -0
  129. package/dist/components/MediaUploadField.d.ts +9 -0
  130. package/dist/components/MediaUploadField.js +1 -0
  131. package/dist/components/MockupSection.d.ts +59 -0
  132. package/dist/components/MockupSection.js +1 -0
  133. package/dist/components/MultiSelectField.d.ts +16 -0
  134. package/dist/components/MultiSelectField.js +1 -0
  135. package/dist/components/NodeContextMenu.d.ts +96 -0
  136. package/dist/components/NodeContextMenu.js +1 -0
  137. package/dist/components/OrderSummary.d.ts +17 -0
  138. package/dist/components/OrderSummary.js +1 -0
  139. package/dist/components/PageEditGuardNotices.d.ts +1 -0
  140. package/dist/components/PageEditGuardNotices.js +1 -0
  141. package/dist/components/PagesPanel.d.ts +8 -0
  142. package/dist/components/PagesPanel.js +1 -0
  143. package/dist/components/PanelToggleIcon.d.ts +3 -0
  144. package/dist/components/PanelToggleIcon.js +1 -0
  145. package/dist/components/ParagraphsA.d.ts +15 -0
  146. package/dist/components/ParagraphsA.js +1 -0
  147. package/dist/components/PartGlyphs.d.ts +7 -0
  148. package/dist/components/PartGlyphs.js +1 -0
  149. package/dist/components/PartInkControl.d.ts +7 -0
  150. package/dist/components/PartInkControl.js +1 -0
  151. package/dist/components/PartResetDot.d.ts +5 -0
  152. package/dist/components/PartResetDot.js +1 -0
  153. package/dist/components/PartSettingsPanel.d.ts +63 -0
  154. package/dist/components/PartSettingsPanel.js +1 -0
  155. package/dist/components/PartStyledText.d.ts +5 -0
  156. package/dist/components/PartStyledText.js +1 -0
  157. package/dist/components/PartTextBox.d.ts +20 -0
  158. package/dist/components/PartTextBox.js +1 -0
  159. package/dist/components/PaymentBadges.d.ts +14 -0
  160. package/dist/components/PaymentBadges.js +1 -0
  161. package/dist/components/PhoneMenuTools.d.ts +12 -0
  162. package/dist/components/PhoneMenuTools.js +1 -0
  163. package/dist/components/PhotographyField.d.ts +6 -0
  164. package/dist/components/PhotographyField.js +1 -0
  165. package/dist/components/Placeholder.d.ts +18 -0
  166. package/dist/components/Placeholder.js +1 -0
  167. package/dist/components/PostCard.d.ts +37 -0
  168. package/dist/components/PostCard.js +1 -0
  169. package/dist/components/PreviewChatContext.d.ts +23 -0
  170. package/dist/components/PreviewChatContext.js +1 -0
  171. package/dist/components/PreviewDeviceContext.d.ts +4 -0
  172. package/dist/components/PreviewDeviceContext.js +1 -0
  173. package/dist/components/PreviewFocusContext.d.ts +15 -0
  174. package/dist/components/PreviewFocusContext.js +1 -0
  175. package/dist/components/PreviewFooterContext.d.ts +17 -0
  176. package/dist/components/PreviewFooterContext.js +1 -0
  177. package/dist/components/PreviewHeaderContext.d.ts +97 -0
  178. package/dist/components/PreviewHeaderContext.js +1 -0
  179. package/dist/components/PreviewLocationPartContext.d.ts +10 -0
  180. package/dist/components/PreviewLocationPartContext.js +1 -0
  181. package/dist/components/PreviewPartAnchors.d.ts +16 -0
  182. package/dist/components/PreviewPartAnchors.js +1 -0
  183. package/dist/components/PreviewPartStyleContext.d.ts +21 -0
  184. package/dist/components/PreviewPartStyleContext.js +1 -0
  185. package/dist/components/PreviewPartsContext.d.ts +3 -0
  186. package/dist/components/PreviewPartsContext.js +1 -0
  187. package/dist/components/PreviewSocialContext.d.ts +30 -0
  188. package/dist/components/PreviewSocialContext.js +1 -0
  189. package/dist/components/PreviewSurfaceContext.d.ts +10 -0
  190. package/dist/components/PreviewSurfaceContext.js +1 -0
  191. package/dist/components/PreviewThemeFrame.d.ts +6 -0
  192. package/dist/components/PreviewThemeFrame.js +11 -0
  193. package/dist/components/PreviewTickerContext.d.ts +4 -0
  194. package/dist/components/PreviewTickerContext.js +1 -0
  195. package/dist/components/ProcessSteps.d.ts +32 -0
  196. package/dist/components/ProcessSteps.js +1 -0
  197. package/dist/components/Prose.d.ts +9 -0
  198. package/dist/components/Prose.js +1 -0
  199. package/dist/components/PublishedFooterContext.d.ts +11 -0
  200. package/dist/components/PublishedFooterContext.js +1 -0
  201. package/dist/components/PublishedPartStylesContext.d.ts +15 -0
  202. package/dist/components/PublishedPartStylesContext.js +1 -0
  203. package/dist/components/RMark.d.ts +6 -0
  204. package/dist/components/RMark.js +1 -0
  205. package/dist/components/Reel.d.ts +15 -0
  206. package/dist/components/Reel.js +1 -0
  207. package/dist/components/RuleLine.d.ts +1 -0
  208. package/dist/components/RuleLine.js +1 -0
  209. package/dist/components/SearchSelectField.d.ts +20 -0
  210. package/dist/components/SearchSelectField.js +1 -0
  211. package/dist/components/SectionAnimation.d.ts +7 -0
  212. package/dist/components/SectionAnimation.js +1 -0
  213. package/dist/components/SectionEditor.d.ts +66 -0
  214. package/dist/components/SectionEditor.js +1 -0
  215. package/dist/components/SectionEditorShell.d.ts +1 -0
  216. package/dist/components/SectionEditorShell.js +1 -0
  217. package/dist/components/SectionEyebrow.d.ts +10 -0
  218. package/dist/components/SectionEyebrow.js +1 -0
  219. package/dist/components/SectionHeader.d.ts +29 -0
  220. package/dist/components/SectionHeader.js +1 -0
  221. package/dist/components/SectionIcon.d.ts +5 -0
  222. package/dist/components/SectionIcon.js +1 -0
  223. package/dist/components/SectionTextEntries.d.ts +5 -0
  224. package/dist/components/SectionTextEntries.js +1 -0
  225. package/dist/components/SectionTextPartBridge.d.ts +6 -0
  226. package/dist/components/SectionTextPartBridge.js +1 -0
  227. package/dist/components/SectionThemePicker.d.ts +23 -0
  228. package/dist/components/SectionThemePicker.js +1 -0
  229. package/dist/components/SectionThumbnail.d.ts +3 -0
  230. package/dist/components/SectionThumbnail.js +1 -0
  231. package/dist/components/Series.d.ts +19 -0
  232. package/dist/components/Series.js +1 -0
  233. package/dist/components/ShadowColourField.d.ts +5 -0
  234. package/dist/components/ShadowColourField.js +1 -0
  235. package/dist/components/SidePanelHead.d.ts +23 -0
  236. package/dist/components/SidePanelHead.js +1 -0
  237. package/dist/components/SideSpaceField.d.ts +8 -0
  238. package/dist/components/SideSpaceField.js +1 -0
  239. package/dist/components/SiteEditorProvider.d.ts +10 -0
  240. package/dist/components/SiteEditorProvider.js +1 -0
  241. package/dist/components/SiteFields.d.ts +6 -0
  242. package/dist/components/SiteFields.js +1 -0
  243. package/dist/components/SiteGutterFrame.d.ts +9 -0
  244. package/dist/components/SiteGutterFrame.js +1 -0
  245. package/dist/components/SiteLogoContext.d.ts +25 -0
  246. package/dist/components/SiteLogoContext.js +1 -0
  247. package/dist/components/SitePhotographyContext.d.ts +8 -0
  248. package/dist/components/SitePhotographyContext.js +1 -0
  249. package/dist/components/SiteStyleUnset.d.ts +1 -0
  250. package/dist/components/SiteStyleUnset.js +1 -0
  251. package/dist/components/SiteWidthField.d.ts +8 -0
  252. package/dist/components/SiteWidthField.js +1 -0
  253. package/dist/components/SlotChildActionsContext.d.ts +13 -0
  254. package/dist/components/SlotChildActionsContext.js +1 -0
  255. package/dist/components/SlotChildRows.d.ts +16 -0
  256. package/dist/components/SlotChildRows.js +1 -0
  257. package/dist/components/SocialLinksPanel.d.ts +3 -0
  258. package/dist/components/SocialLinksPanel.js +1 -0
  259. package/dist/components/SourceStatus.d.ts +14 -0
  260. package/dist/components/SourceStatus.js +1 -0
  261. package/dist/components/Spacer.d.ts +6 -0
  262. package/dist/components/Spacer.js +1 -0
  263. package/dist/components/SpecStrip.d.ts +10 -0
  264. package/dist/components/SpecStrip.js +1 -0
  265. package/dist/components/Split.d.ts +33 -0
  266. package/dist/components/Split.js +1 -0
  267. package/dist/components/StandaloneSectionEditor.d.ts +18 -0
  268. package/dist/components/StandaloneSectionEditor.js +1 -0
  269. package/dist/components/Stats.d.ts +14 -0
  270. package/dist/components/Stats.js +1 -0
  271. package/dist/components/StatsParagraph.d.ts +21 -0
  272. package/dist/components/StatsParagraph.js +1 -0
  273. package/dist/components/StorefrontDocumentContext.d.ts +67 -0
  274. package/dist/components/StorefrontDocumentContext.js +1 -0
  275. package/dist/components/StorefrontEditor.d.ts +18 -0
  276. package/dist/components/StorefrontEditor.js +1 -0
  277. package/dist/components/StorefrontEditorChrome.d.ts +1 -0
  278. package/dist/components/StorefrontEditorChrome.js +1 -0
  279. package/dist/components/StorefrontLinkField.d.ts +10 -0
  280. package/dist/components/StorefrontLinkField.js +1 -0
  281. package/dist/components/StylesPanel.d.ts +11 -0
  282. package/dist/components/StylesPanel.js +1 -0
  283. package/dist/components/SwitchToBoxFooter.d.ts +1 -0
  284. package/dist/components/SwitchToBoxFooter.js +1 -0
  285. package/dist/components/TemplateGlyph.d.ts +6 -0
  286. package/dist/components/TemplateGlyph.js +1 -0
  287. package/dist/components/Testimonials.d.ts +16 -0
  288. package/dist/components/Testimonials.js +1 -0
  289. package/dist/components/Text.d.ts +11 -0
  290. package/dist/components/Text.js +1 -0
  291. package/dist/components/TextStyleRow.d.ts +13 -0
  292. package/dist/components/TextStyleRow.js +1 -0
  293. package/dist/components/TextStylesField.d.ts +17 -0
  294. package/dist/components/TextStylesField.js +1 -0
  295. package/dist/components/ThemeCard.d.ts +40 -0
  296. package/dist/components/ThemeCard.js +1 -0
  297. package/dist/components/ThemeColourField.d.ts +5 -0
  298. package/dist/components/ThemeColourField.js +1 -0
  299. package/dist/components/ThemeField.d.ts +8 -0
  300. package/dist/components/ThemeField.js +1 -0
  301. package/dist/components/Ticker.d.ts +18 -0
  302. package/dist/components/Ticker.js +1 -0
  303. package/dist/components/TickerSection.d.ts +18 -0
  304. package/dist/components/TickerSection.js +1 -0
  305. package/dist/components/TickerSettingsPanel.d.ts +3 -0
  306. package/dist/components/TickerSettingsPanel.js +1 -0
  307. package/dist/components/Timeline.d.ts +24 -0
  308. package/dist/components/Timeline.js +1 -0
  309. package/dist/components/TimelineTrack.d.ts +22 -0
  310. package/dist/components/TimelineTrack.js +1 -0
  311. package/dist/components/TitleWithButtons.d.ts +14 -0
  312. package/dist/components/TitleWithButtons.js +1 -0
  313. package/dist/components/UiIcon.d.ts +10 -0
  314. package/dist/components/UiIcon.js +1 -0
  315. package/dist/components/WebsiteSettingsPanel.d.ts +46 -0
  316. package/dist/components/WebsiteSettingsPanel.js +1 -0
  317. package/dist/components/WidthFollowField.d.ts +10 -0
  318. package/dist/components/WidthFollowField.js +1 -0
  319. package/dist/components/cartGlyph.d.ts +1 -0
  320. package/dist/components/cartGlyph.js +1 -0
  321. package/dist/components/floating-editor/tokens.d.ts +27 -0
  322. package/dist/components/floating-editor/tokens.js +1 -0
  323. package/dist/components/goldPhrases.d.ts +7 -0
  324. package/dist/components/goldPhrases.js +2 -0
  325. package/dist/components/integrationIcons.d.ts +2 -0
  326. package/dist/components/integrationIcons.js +1 -0
  327. package/dist/components/panel-widths.d.ts +12 -0
  328. package/dist/components/panel-widths.js +1 -0
  329. package/dist/components/preview-devices.d.ts +3 -0
  330. package/dist/components/preview-devices.js +1 -0
  331. package/dist/components/socialIcons.d.ts +8 -0
  332. package/dist/components/socialIcons.js +1 -0
  333. package/dist/components/storefront-editor.css +5731 -0
  334. package/dist/components/useCountUp.d.ts +10 -0
  335. package/dist/components/useCountUp.js +1 -0
  336. package/dist/components/usePartBridge.d.ts +9 -0
  337. package/dist/components/usePartBridge.js +1 -0
  338. package/dist/components/usePreviewHref.d.ts +5 -0
  339. package/dist/components/usePreviewHref.js +1 -0
  340. package/dist/components/useReducedMotion.d.ts +4 -0
  341. package/dist/components/useReducedMotion.js +1 -0
  342. package/dist/components/useSnapshotSource.d.ts +17 -0
  343. package/dist/components/useSnapshotSource.js +1 -0
  344. package/dist/components/useSocialSettings.d.ts +14 -0
  345. package/dist/components/useSocialSettings.js +1 -0
  346. package/dist/components/useStorefrontBlogPosts.d.ts +2 -0
  347. package/dist/components/useStorefrontBlogPosts.js +1 -0
  348. package/dist/lib/content/authored-props.d.ts +4 -0
  349. package/dist/lib/content/authored-props.js +1 -0
  350. package/dist/lib/content/box-background.d.ts +31 -0
  351. package/dist/lib/content/box-background.js +1 -0
  352. package/dist/lib/content/box-layout.d.ts +78 -0
  353. package/dist/lib/content/box-layout.js +1 -0
  354. package/dist/lib/content/button-arrow.d.ts +2 -0
  355. package/dist/lib/content/button-arrow.js +1 -0
  356. package/dist/lib/content/card-corners.d.ts +12 -0
  357. package/dist/lib/content/card-corners.js +1 -0
  358. package/dist/lib/content/card-image-background.d.ts +11 -0
  359. package/dist/lib/content/card-image-background.js +1 -0
  360. package/dist/lib/content/card-image-shape.d.ts +5 -0
  361. package/dist/lib/content/card-image-shape.js +1 -0
  362. package/dist/lib/content/cart-drawer.d.ts +20 -0
  363. package/dist/lib/content/cart-drawer.js +1 -0
  364. package/dist/lib/content/contact.d.ts +79 -0
  365. package/dist/lib/content/contact.js +3 -0
  366. package/dist/lib/content/container-direction.d.ts +14 -0
  367. package/dist/lib/content/container-direction.js +1 -0
  368. package/dist/lib/content/container-gap.d.ts +31 -0
  369. package/dist/lib/content/container-gap.js +1 -0
  370. package/dist/lib/content/footer.d.ts +30 -0
  371. package/dist/lib/content/footer.js +1 -0
  372. package/dist/lib/content/footprint.d.ts +22 -0
  373. package/dist/lib/content/footprint.js +1 -0
  374. package/dist/lib/content/gallery-card-layout.d.ts +7 -0
  375. package/dist/lib/content/gallery-card-layout.js +1 -0
  376. package/dist/lib/content/gallery-layout.d.ts +154 -0
  377. package/dist/lib/content/gallery-layout.js +1 -0
  378. package/dist/lib/content/grid-span.d.ts +15 -0
  379. package/dist/lib/content/grid-span.js +1 -0
  380. package/dist/lib/content/image-corners.d.ts +7 -0
  381. package/dist/lib/content/image-corners.js +1 -0
  382. package/dist/lib/content/image-fit.d.ts +11 -0
  383. package/dist/lib/content/image-fit.js +1 -0
  384. package/dist/lib/content/image-treatment.d.ts +20 -0
  385. package/dist/lib/content/image-treatment.js +1 -0
  386. package/dist/lib/content/image-width.d.ts +9 -0
  387. package/dist/lib/content/image-width.js +1 -0
  388. package/dist/lib/content/page-background.d.ts +4 -0
  389. package/dist/lib/content/page-background.js +1 -0
  390. package/dist/lib/content/page-width.d.ts +63 -0
  391. package/dist/lib/content/page-width.js +1 -0
  392. package/dist/lib/content/product-page.d.ts +11 -0
  393. package/dist/lib/content/product-page.js +1 -0
  394. package/dist/lib/content/section-animation.d.ts +13 -0
  395. package/dist/lib/content/section-animation.js +1 -0
  396. package/dist/lib/content/section-background.d.ts +7 -0
  397. package/dist/lib/content/section-background.js +1 -0
  398. package/dist/lib/content/section-corners.d.ts +16 -0
  399. package/dist/lib/content/section-corners.js +1 -0
  400. package/dist/lib/content/section-height.d.ts +9 -0
  401. package/dist/lib/content/section-height.js +1 -0
  402. package/dist/lib/content/section-min-height.d.ts +60 -0
  403. package/dist/lib/content/section-min-height.js +1 -0
  404. package/dist/lib/content/section-padding.d.ts +33 -0
  405. package/dist/lib/content/section-padding.js +1 -0
  406. package/dist/lib/content/section-surface.d.ts +13 -0
  407. package/dist/lib/content/section-surface.js +1 -0
  408. package/dist/lib/content/section-type-size.d.ts +7 -0
  409. package/dist/lib/content/section-type-size.js +1 -0
  410. package/dist/lib/content/section-width.d.ts +19 -0
  411. package/dist/lib/content/section-width.js +1 -0
  412. package/dist/lib/content/site-gutter.d.ts +2 -0
  413. package/dist/lib/content/site-gutter.js +1 -0
  414. package/dist/lib/content/site-name.d.ts +2 -0
  415. package/dist/lib/content/site-name.js +1 -0
  416. package/dist/lib/content/social-links.d.ts +12 -0
  417. package/dist/lib/content/social-links.js +1 -0
  418. package/dist/lib/content/subscribe.d.ts +76 -0
  419. package/dist/lib/content/subscribe.js +2 -0
  420. package/dist/lib/content/view-tiers.d.ts +6 -0
  421. package/dist/lib/content/view-tiers.js +1 -0
  422. package/dist/lib/editor/preview-href.d.ts +6 -0
  423. package/dist/lib/editor/preview-href.js +1 -0
  424. package/dist/lib/editor-admin-bridge.d.ts +29 -0
  425. package/dist/lib/editor-admin-bridge.js +1 -0
  426. package/dist/lib/editor-auth.d.ts +3 -0
  427. package/dist/lib/editor-auth.js +1 -0
  428. package/dist/lib/editor-block-metadata.d.ts +6 -0
  429. package/dist/lib/editor-block-metadata.js +1 -0
  430. package/dist/lib/editor-blocks.d.ts +20 -0
  431. package/dist/lib/editor-blocks.js +1 -0
  432. package/dist/lib/editor-canvas-styles.d.ts +12 -0
  433. package/dist/lib/editor-canvas-styles.js +1 -0
  434. package/dist/lib/editor-chrome.d.ts +52 -0
  435. package/dist/lib/editor-chrome.js +1 -0
  436. package/dist/lib/editor-document-adapter.d.ts +55 -0
  437. package/dist/lib/editor-document-adapter.js +1 -0
  438. package/dist/lib/editor-document-hooks.d.ts +15 -0
  439. package/dist/lib/editor-document-hooks.js +0 -0
  440. package/dist/lib/editor-events.d.ts +8 -0
  441. package/dist/lib/editor-events.js +1 -0
  442. package/dist/lib/editor-failure.d.ts +4 -0
  443. package/dist/lib/editor-failure.js +1 -0
  444. package/dist/lib/editor-form-window.d.ts +21 -0
  445. package/dist/lib/editor-form-window.js +1 -0
  446. package/dist/lib/editor-host-inbound.d.ts +1 -0
  447. package/dist/lib/editor-host-inbound.js +1 -0
  448. package/dist/lib/editor-host.d.ts +135 -0
  449. package/dist/lib/editor-host.js +1 -0
  450. package/dist/lib/editor-key-scope.d.ts +3 -0
  451. package/dist/lib/editor-key-scope.js +1 -0
  452. package/dist/lib/editor-load-error.d.ts +4 -0
  453. package/dist/lib/editor-load-error.js +1 -0
  454. package/dist/lib/editor-media-panel.d.ts +23 -0
  455. package/dist/lib/editor-media-panel.js +1 -0
  456. package/dist/lib/editor-media-picker.d.ts +12 -0
  457. package/dist/lib/editor-media-picker.js +1 -0
  458. package/dist/lib/editor-page-lock.d.ts +1 -0
  459. package/dist/lib/editor-page-lock.js +1 -0
  460. package/dist/lib/editor-page-rows.d.ts +16 -0
  461. package/dist/lib/editor-page-rows.js +1 -0
  462. package/dist/lib/editor-section-templates.d.ts +2 -0
  463. package/dist/lib/editor-section-templates.js +1 -0
  464. package/dist/lib/editor-session-context.d.ts +7 -0
  465. package/dist/lib/editor-session-context.js +1 -0
  466. package/dist/lib/editor-session-loader.d.ts +4 -0
  467. package/dist/lib/editor-session-loader.js +1 -0
  468. package/dist/lib/editor-session.d.ts +45 -0
  469. package/dist/lib/editor-session.js +1 -0
  470. package/dist/lib/editor-site-slug.d.ts +2 -0
  471. package/dist/lib/editor-site-slug.js +1 -0
  472. package/dist/lib/editor-site.d.ts +3 -0
  473. package/dist/lib/editor-site.js +1 -0
  474. package/dist/lib/editor-theme.d.ts +1 -0
  475. package/dist/lib/editor-theme.js +1 -0
  476. package/dist/lib/fit-words.d.ts +3 -0
  477. package/dist/lib/fit-words.js +220 -0
  478. package/dist/lib/fonts.d.ts +32 -0
  479. package/dist/lib/fonts.js +1 -0
  480. package/dist/lib/geocode.d.ts +6 -0
  481. package/dist/lib/geocode.js +1 -0
  482. package/dist/lib/hero-arrows.d.ts +23 -0
  483. package/dist/lib/hero-arrows.js +1 -0
  484. package/dist/lib/hero-group-placement.d.ts +46 -0
  485. package/dist/lib/hero-group-placement.js +1 -0
  486. package/dist/lib/hero-overlay-anchor.d.ts +6 -0
  487. package/dist/lib/hero-overlay-anchor.js +1 -0
  488. package/dist/lib/hero-phone-stack.d.ts +27 -0
  489. package/dist/lib/hero-phone-stack.js +1 -0
  490. package/dist/lib/hero-swipe.d.ts +16 -0
  491. package/dist/lib/hero-swipe.js +1 -0
  492. package/dist/lib/hero-texture.d.ts +4 -0
  493. package/dist/lib/hero-texture.js +1 -0
  494. package/dist/lib/hero-video-control.d.ts +13 -0
  495. package/dist/lib/hero-video-control.js +1 -0
  496. package/dist/lib/image-focus.d.ts +16 -0
  497. package/dist/lib/image-focus.js +1 -0
  498. package/dist/lib/links/page-link-rules.d.ts +22 -0
  499. package/dist/lib/links/page-link-rules.js +1 -0
  500. package/dist/lib/locations-grid.d.ts +10 -0
  501. package/dist/lib/locations-grid.js +1 -0
  502. package/dist/lib/logo/analyze-logo-client.d.ts +3 -0
  503. package/dist/lib/logo/analyze-logo-client.js +1 -0
  504. package/dist/lib/logo/reverse-svg.d.ts +9 -0
  505. package/dist/lib/logo/reverse-svg.js +1 -0
  506. package/dist/lib/map-styles.d.ts +30 -0
  507. package/dist/lib/map-styles.js +1 -0
  508. package/dist/lib/maps-config.d.ts +16 -0
  509. package/dist/lib/maps-config.js +1 -0
  510. package/dist/lib/maps-loader.d.ts +3 -0
  511. package/dist/lib/maps-loader.js +1 -0
  512. package/dist/lib/markup.d.ts +38 -0
  513. package/dist/lib/markup.js +2 -0
  514. package/dist/lib/media.d.ts +10 -0
  515. package/dist/lib/media.js +1 -0
  516. package/dist/lib/parse-option.d.ts +3 -0
  517. package/dist/lib/parse-option.js +1 -0
  518. package/dist/lib/popup/text-kinds.d.ts +11 -0
  519. package/dist/lib/popup/text-kinds.js +1 -0
  520. package/dist/lib/preview-header-settings.d.ts +39 -0
  521. package/dist/lib/preview-header-settings.js +0 -0
  522. package/dist/lib/puck/ColourControl.d.ts +8 -0
  523. package/dist/lib/puck/ColourControl.js +1 -0
  524. package/dist/lib/puck/MarkupToolbar.d.ts +13 -0
  525. package/dist/lib/puck/MarkupToolbar.js +1 -0
  526. package/dist/lib/puck/add-palette.d.ts +20 -0
  527. package/dist/lib/puck/add-palette.js +1 -0
  528. package/dist/lib/puck/add-target.d.ts +10 -0
  529. package/dist/lib/puck/add-target.js +1 -0
  530. package/dist/lib/puck/apply-card-corners.d.ts +21 -0
  531. package/dist/lib/puck/apply-card-corners.js +1 -0
  532. package/dist/lib/puck/block-offer.d.ts +10 -0
  533. package/dist/lib/puck/block-offer.js +1 -0
  534. package/dist/lib/puck/block-types-in.d.ts +1 -0
  535. package/dist/lib/puck/block-types-in.js +1 -0
  536. package/dist/lib/puck/blocks/block-types.d.ts +12 -0
  537. package/dist/lib/puck/blocks/block-types.js +1 -0
  538. package/dist/lib/puck/blocks/general/Banner/fields.d.ts +2 -0
  539. package/dist/lib/puck/blocks/general/Banner/fields.js +1 -0
  540. package/dist/lib/puck/blocks/general/Banner/render.d.ts +2 -0
  541. package/dist/lib/puck/blocks/general/Banner/render.js +1 -0
  542. package/dist/lib/puck/blocks/general/Breadcrumb/fields.d.ts +2 -0
  543. package/dist/lib/puck/blocks/general/Breadcrumb/fields.js +1 -0
  544. package/dist/lib/puck/blocks/general/Breadcrumb/render.d.ts +5 -0
  545. package/dist/lib/puck/blocks/general/Breadcrumb/render.js +1 -0
  546. package/dist/lib/puck/blocks/general/ButtonBlock/fields.d.ts +2 -0
  547. package/dist/lib/puck/blocks/general/ButtonBlock/fields.js +1 -0
  548. package/dist/lib/puck/blocks/general/ButtonBlock/render.d.ts +2 -0
  549. package/dist/lib/puck/blocks/general/ButtonBlock/render.js +1 -0
  550. package/dist/lib/puck/blocks/general/Cards/fields.d.ts +2 -0
  551. package/dist/lib/puck/blocks/general/Cards/fields.js +1 -0
  552. package/dist/lib/puck/blocks/general/Cards/render.d.ts +6 -0
  553. package/dist/lib/puck/blocks/general/Cards/render.js +1 -0
  554. package/dist/lib/puck/blocks/general/CategoryBar/fields.d.ts +2 -0
  555. package/dist/lib/puck/blocks/general/CategoryBar/fields.js +1 -0
  556. package/dist/lib/puck/blocks/general/CategoryBar/render.d.ts +2 -0
  557. package/dist/lib/puck/blocks/general/CategoryBar/render.js +1 -0
  558. package/dist/lib/puck/blocks/general/Chart/fields.d.ts +2 -0
  559. package/dist/lib/puck/blocks/general/Chart/fields.js +1 -0
  560. package/dist/lib/puck/blocks/general/Chart/render.d.ts +6 -0
  561. package/dist/lib/puck/blocks/general/Chart/render.js +2 -0
  562. package/dist/lib/puck/blocks/general/ContactLocations/fields.d.ts +2 -0
  563. package/dist/lib/puck/blocks/general/ContactLocations/fields.js +1 -0
  564. package/dist/lib/puck/blocks/general/ContactLocations/render.d.ts +2 -0
  565. package/dist/lib/puck/blocks/general/ContactLocations/render.js +1 -0
  566. package/dist/lib/puck/blocks/general/CustomHTML/fields.d.ts +2 -0
  567. package/dist/lib/puck/blocks/general/CustomHTML/fields.js +1 -0
  568. package/dist/lib/puck/blocks/general/CustomHTML/render.d.ts +2 -0
  569. package/dist/lib/puck/blocks/general/CustomHTML/render.js +3 -0
  570. package/dist/lib/puck/blocks/general/Divider/fields.d.ts +2 -0
  571. package/dist/lib/puck/blocks/general/Divider/fields.js +1 -0
  572. package/dist/lib/puck/blocks/general/Divider/render.d.ts +2 -0
  573. package/dist/lib/puck/blocks/general/Divider/render.js +1 -0
  574. package/dist/lib/puck/blocks/general/DocBody/fields.d.ts +2 -0
  575. package/dist/lib/puck/blocks/general/DocBody/fields.js +1 -0
  576. package/dist/lib/puck/blocks/general/DocBody/render.d.ts +5 -0
  577. package/dist/lib/puck/blocks/general/DocBody/render.js +1 -0
  578. package/dist/lib/puck/blocks/general/DocMasthead/fields.d.ts +2 -0
  579. package/dist/lib/puck/blocks/general/DocMasthead/fields.js +1 -0
  580. package/dist/lib/puck/blocks/general/DocMasthead/render.d.ts +7 -0
  581. package/dist/lib/puck/blocks/general/DocMasthead/render.js +1 -0
  582. package/dist/lib/puck/blocks/general/DocMetaCards/fields.d.ts +2 -0
  583. package/dist/lib/puck/blocks/general/DocMetaCards/fields.js +1 -0
  584. package/dist/lib/puck/blocks/general/DocMetaCards/render.d.ts +4 -0
  585. package/dist/lib/puck/blocks/general/DocMetaCards/render.js +1 -0
  586. package/dist/lib/puck/blocks/general/DocTabs/fields.d.ts +2 -0
  587. package/dist/lib/puck/blocks/general/DocTabs/fields.js +1 -0
  588. package/dist/lib/puck/blocks/general/DocTabs/render.d.ts +6 -0
  589. package/dist/lib/puck/blocks/general/DocTabs/render.js +1 -0
  590. package/dist/lib/puck/blocks/general/Eyebrow/fields.d.ts +2 -0
  591. package/dist/lib/puck/blocks/general/Eyebrow/fields.js +1 -0
  592. package/dist/lib/puck/blocks/general/Eyebrow/render.d.ts +2 -0
  593. package/dist/lib/puck/blocks/general/Eyebrow/render.js +1 -0
  594. package/dist/lib/puck/blocks/general/FAQ/fields.d.ts +2 -0
  595. package/dist/lib/puck/blocks/general/FAQ/fields.js +1 -0
  596. package/dist/lib/puck/blocks/general/FAQ/render.d.ts +7 -0
  597. package/dist/lib/puck/blocks/general/FAQ/render.js +1 -0
  598. package/dist/lib/puck/blocks/general/FeaturedCover/fields.d.ts +2 -0
  599. package/dist/lib/puck/blocks/general/FeaturedCover/fields.js +1 -0
  600. package/dist/lib/puck/blocks/general/FeaturedCover/render.d.ts +13 -0
  601. package/dist/lib/puck/blocks/general/FeaturedCover/render.js +1 -0
  602. package/dist/lib/puck/blocks/general/Flex/fields.d.ts +2 -0
  603. package/dist/lib/puck/blocks/general/Flex/fields.js +1 -0
  604. package/dist/lib/puck/blocks/general/Flex/render.d.ts +7 -0
  605. package/dist/lib/puck/blocks/general/Flex/render.js +1 -0
  606. package/dist/lib/puck/blocks/general/Footprint/fields.d.ts +2 -0
  607. package/dist/lib/puck/blocks/general/Footprint/fields.js +1 -0
  608. package/dist/lib/puck/blocks/general/Footprint/render.d.ts +7 -0
  609. package/dist/lib/puck/blocks/general/Footprint/render.js +2 -0
  610. package/dist/lib/puck/blocks/general/Grid/fields.d.ts +2 -0
  611. package/dist/lib/puck/blocks/general/Grid/fields.js +1 -0
  612. package/dist/lib/puck/blocks/general/Grid/render.d.ts +7 -0
  613. package/dist/lib/puck/blocks/general/Grid/render.js +1 -0
  614. package/dist/lib/puck/blocks/general/Heading/fields.d.ts +2 -0
  615. package/dist/lib/puck/blocks/general/Heading/fields.js +1 -0
  616. package/dist/lib/puck/blocks/general/Heading/render.d.ts +2 -0
  617. package/dist/lib/puck/blocks/general/Heading/render.js +1 -0
  618. package/dist/lib/puck/blocks/general/Hero/fields.d.ts +2 -0
  619. package/dist/lib/puck/blocks/general/Hero/fields.js +1 -0
  620. package/dist/lib/puck/blocks/general/Hero/render.d.ts +7 -0
  621. package/dist/lib/puck/blocks/general/Hero/render.js +1 -0
  622. package/dist/lib/puck/blocks/general/HeroGroup/fields.d.ts +2 -0
  623. package/dist/lib/puck/blocks/general/HeroGroup/fields.js +1 -0
  624. package/dist/lib/puck/blocks/general/HeroGroup/render.d.ts +8 -0
  625. package/dist/lib/puck/blocks/general/HeroGroup/render.js +1 -0
  626. package/dist/lib/puck/blocks/general/HeroSingle/fields.d.ts +2 -0
  627. package/dist/lib/puck/blocks/general/HeroSingle/fields.js +1 -0
  628. package/dist/lib/puck/blocks/general/HeroSingle/render.d.ts +8 -0
  629. package/dist/lib/puck/blocks/general/HeroSingle/render.js +1 -0
  630. package/dist/lib/puck/blocks/general/HeroSlide/fields.d.ts +2 -0
  631. package/dist/lib/puck/blocks/general/HeroSlide/fields.js +1 -0
  632. package/dist/lib/puck/blocks/general/HeroSlide/render.d.ts +8 -0
  633. package/dist/lib/puck/blocks/general/HeroSlide/render.js +1 -0
  634. package/dist/lib/puck/blocks/general/ImageBlock/fields.d.ts +2 -0
  635. package/dist/lib/puck/blocks/general/ImageBlock/fields.js +1 -0
  636. package/dist/lib/puck/blocks/general/ImageBlock/render.d.ts +2 -0
  637. package/dist/lib/puck/blocks/general/ImageBlock/render.js +1 -0
  638. package/dist/lib/puck/blocks/general/Integrations/fields.d.ts +2 -0
  639. package/dist/lib/puck/blocks/general/Integrations/fields.js +2 -0
  640. package/dist/lib/puck/blocks/general/Integrations/render.d.ts +2 -0
  641. package/dist/lib/puck/blocks/general/Integrations/render.js +2 -0
  642. package/dist/lib/puck/blocks/general/IntroBleed/fields.d.ts +2 -0
  643. package/dist/lib/puck/blocks/general/IntroBleed/fields.js +1 -0
  644. package/dist/lib/puck/blocks/general/IntroBleed/render.d.ts +7 -0
  645. package/dist/lib/puck/blocks/general/IntroBleed/render.js +2 -0
  646. package/dist/lib/puck/blocks/general/KeyFeatures/fields.d.ts +2 -0
  647. package/dist/lib/puck/blocks/general/KeyFeatures/fields.js +1 -0
  648. package/dist/lib/puck/blocks/general/KeyFeatures/render.d.ts +6 -0
  649. package/dist/lib/puck/blocks/general/KeyFeatures/render.js +1 -0
  650. package/dist/lib/puck/blocks/general/LogoBlock/fields.d.ts +2 -0
  651. package/dist/lib/puck/blocks/general/LogoBlock/fields.js +1 -0
  652. package/dist/lib/puck/blocks/general/LogoBlock/render.d.ts +2 -0
  653. package/dist/lib/puck/blocks/general/LogoBlock/render.js +1 -0
  654. package/dist/lib/puck/blocks/general/Logos/fields.d.ts +2 -0
  655. package/dist/lib/puck/blocks/general/Logos/fields.js +1 -0
  656. package/dist/lib/puck/blocks/general/Logos/render.d.ts +2 -0
  657. package/dist/lib/puck/blocks/general/Logos/render.js +1 -0
  658. package/dist/lib/puck/blocks/general/LongRead/fields.d.ts +2 -0
  659. package/dist/lib/puck/blocks/general/LongRead/fields.js +1 -0
  660. package/dist/lib/puck/blocks/general/LongRead/render.d.ts +19 -0
  661. package/dist/lib/puck/blocks/general/LongRead/render.js +1 -0
  662. package/dist/lib/puck/blocks/general/Manifesto/fields.d.ts +2 -0
  663. package/dist/lib/puck/blocks/general/Manifesto/fields.js +2 -0
  664. package/dist/lib/puck/blocks/general/Manifesto/render.d.ts +2 -0
  665. package/dist/lib/puck/blocks/general/Manifesto/render.js +1 -0
  666. package/dist/lib/puck/blocks/general/Masthead/fields.d.ts +2 -0
  667. package/dist/lib/puck/blocks/general/Masthead/fields.js +1 -0
  668. package/dist/lib/puck/blocks/general/Masthead/render.d.ts +8 -0
  669. package/dist/lib/puck/blocks/general/Masthead/render.js +1 -0
  670. package/dist/lib/puck/blocks/general/Mockup/fields.d.ts +2 -0
  671. package/dist/lib/puck/blocks/general/Mockup/fields.js +2 -0
  672. package/dist/lib/puck/blocks/general/Mockup/render.d.ts +2 -0
  673. package/dist/lib/puck/blocks/general/Mockup/render.js +2 -0
  674. package/dist/lib/puck/blocks/general/OrderSummary/fields.d.ts +2 -0
  675. package/dist/lib/puck/blocks/general/OrderSummary/fields.js +1 -0
  676. package/dist/lib/puck/blocks/general/OrderSummary/render.d.ts +6 -0
  677. package/dist/lib/puck/blocks/general/OrderSummary/render.js +1 -0
  678. package/dist/lib/puck/blocks/general/ParagraphsA/fields.d.ts +2 -0
  679. package/dist/lib/puck/blocks/general/ParagraphsA/fields.js +1 -0
  680. package/dist/lib/puck/blocks/general/ParagraphsA/render.d.ts +9 -0
  681. package/dist/lib/puck/blocks/general/ParagraphsA/render.js +1 -0
  682. package/dist/lib/puck/blocks/general/PaymentBadges/fields.d.ts +2 -0
  683. package/dist/lib/puck/blocks/general/PaymentBadges/fields.js +1 -0
  684. package/dist/lib/puck/blocks/general/PaymentBadges/render.d.ts +5 -0
  685. package/dist/lib/puck/blocks/general/PaymentBadges/render.js +1 -0
  686. package/dist/lib/puck/blocks/general/PostCard/fields.d.ts +2 -0
  687. package/dist/lib/puck/blocks/general/PostCard/fields.js +1 -0
  688. package/dist/lib/puck/blocks/general/PostCard/render.d.ts +9 -0
  689. package/dist/lib/puck/blocks/general/PostCard/render.js +1 -0
  690. package/dist/lib/puck/blocks/general/ProcessSteps/fields.d.ts +2 -0
  691. package/dist/lib/puck/blocks/general/ProcessSteps/fields.js +1 -0
  692. package/dist/lib/puck/blocks/general/ProcessSteps/render.d.ts +13 -0
  693. package/dist/lib/puck/blocks/general/ProcessSteps/render.js +1 -0
  694. package/dist/lib/puck/blocks/general/Prose/fields.d.ts +2 -0
  695. package/dist/lib/puck/blocks/general/Prose/fields.js +1 -0
  696. package/dist/lib/puck/blocks/general/Prose/render.d.ts +7 -0
  697. package/dist/lib/puck/blocks/general/Prose/render.js +1 -0
  698. package/dist/lib/puck/blocks/general/SectionHeader/fields.d.ts +2 -0
  699. package/dist/lib/puck/blocks/general/SectionHeader/fields.js +1 -0
  700. package/dist/lib/puck/blocks/general/SectionHeader/render.d.ts +2 -0
  701. package/dist/lib/puck/blocks/general/SectionHeader/render.js +1 -0
  702. package/dist/lib/puck/blocks/general/Series/fields.d.ts +2 -0
  703. package/dist/lib/puck/blocks/general/Series/fields.js +1 -0
  704. package/dist/lib/puck/blocks/general/Series/render.d.ts +8 -0
  705. package/dist/lib/puck/blocks/general/Series/render.js +1 -0
  706. package/dist/lib/puck/blocks/general/Spacer/fields.d.ts +2 -0
  707. package/dist/lib/puck/blocks/general/Spacer/fields.js +1 -0
  708. package/dist/lib/puck/blocks/general/Spacer/render.d.ts +2 -0
  709. package/dist/lib/puck/blocks/general/Spacer/render.js +1 -0
  710. package/dist/lib/puck/blocks/general/SpecStrip/fields.d.ts +2 -0
  711. package/dist/lib/puck/blocks/general/SpecStrip/fields.js +1 -0
  712. package/dist/lib/puck/blocks/general/SpecStrip/render.d.ts +2 -0
  713. package/dist/lib/puck/blocks/general/SpecStrip/render.js +1 -0
  714. package/dist/lib/puck/blocks/general/Split/fields.d.ts +2 -0
  715. package/dist/lib/puck/blocks/general/Split/fields.js +1 -0
  716. package/dist/lib/puck/blocks/general/Split/render.d.ts +10 -0
  717. package/dist/lib/puck/blocks/general/Split/render.js +2 -0
  718. package/dist/lib/puck/blocks/general/Stats/fields.d.ts +2 -0
  719. package/dist/lib/puck/blocks/general/Stats/fields.js +1 -0
  720. package/dist/lib/puck/blocks/general/Stats/render.d.ts +2 -0
  721. package/dist/lib/puck/blocks/general/Stats/render.js +1 -0
  722. package/dist/lib/puck/blocks/general/StatsParagraph/fields.d.ts +2 -0
  723. package/dist/lib/puck/blocks/general/StatsParagraph/fields.js +1 -0
  724. package/dist/lib/puck/blocks/general/StatsParagraph/render.d.ts +7 -0
  725. package/dist/lib/puck/blocks/general/StatsParagraph/render.js +1 -0
  726. package/dist/lib/puck/blocks/general/Testimonials/fields.d.ts +2 -0
  727. package/dist/lib/puck/blocks/general/Testimonials/fields.js +1 -0
  728. package/dist/lib/puck/blocks/general/Testimonials/render.d.ts +6 -0
  729. package/dist/lib/puck/blocks/general/Testimonials/render.js +1 -0
  730. package/dist/lib/puck/blocks/general/Text/fields.d.ts +2 -0
  731. package/dist/lib/puck/blocks/general/Text/fields.js +1 -0
  732. package/dist/lib/puck/blocks/general/Text/render.d.ts +2 -0
  733. package/dist/lib/puck/blocks/general/Text/render.js +1 -0
  734. package/dist/lib/puck/blocks/general/Ticker/fields.d.ts +2 -0
  735. package/dist/lib/puck/blocks/general/Ticker/fields.js +1 -0
  736. package/dist/lib/puck/blocks/general/Ticker/render.d.ts +5 -0
  737. package/dist/lib/puck/blocks/general/Ticker/render.js +1 -0
  738. package/dist/lib/puck/blocks/general/Timeline/fields.d.ts +2 -0
  739. package/dist/lib/puck/blocks/general/Timeline/fields.js +1 -0
  740. package/dist/lib/puck/blocks/general/Timeline/render.d.ts +10 -0
  741. package/dist/lib/puck/blocks/general/Timeline/render.js +2 -0
  742. package/dist/lib/puck/blocks/general/TimelineTrack/fields.d.ts +2 -0
  743. package/dist/lib/puck/blocks/general/TimelineTrack/fields.js +1 -0
  744. package/dist/lib/puck/blocks/general/TimelineTrack/render.d.ts +8 -0
  745. package/dist/lib/puck/blocks/general/TimelineTrack/render.js +1 -0
  746. package/dist/lib/puck/blocks/general/TitleWithButtons/fields.d.ts +2 -0
  747. package/dist/lib/puck/blocks/general/TitleWithButtons/fields.js +1 -0
  748. package/dist/lib/puck/blocks/general/TitleWithButtons/render.d.ts +5 -0
  749. package/dist/lib/puck/blocks/general/TitleWithButtons/render.js +2 -0
  750. package/dist/lib/puck/blocks/general/index.d.ts +2 -0
  751. package/dist/lib/puck/blocks/general/index.js +1 -0
  752. package/dist/lib/puck/blocks/general/renders.d.ts +57 -0
  753. package/dist/lib/puck/blocks/general/renders.js +1 -0
  754. package/dist/lib/puck/blocks/general/section-bg-built-in.d.ts +6 -0
  755. package/dist/lib/puck/blocks/general/section-bg-built-in.js +1 -0
  756. package/dist/lib/puck/blocks/placeholders.d.ts +25 -0
  757. package/dist/lib/puck/blocks/placeholders.js +1 -0
  758. package/dist/lib/puck/blocks/scaffold.d.ts +22 -0
  759. package/dist/lib/puck/blocks/scaffold.js +1 -0
  760. package/dist/lib/puck/blocks/shared-fields.d.ts +14 -0
  761. package/dist/lib/puck/blocks/shared-fields.js +1 -0
  762. package/dist/lib/puck/booking-preview.d.ts +3 -0
  763. package/dist/lib/puck/booking-preview.js +1 -0
  764. package/dist/lib/puck/box-footer.d.ts +9 -0
  765. package/dist/lib/puck/box-footer.js +1 -0
  766. package/dist/lib/puck/build-config.d.ts +3 -0
  767. package/dist/lib/puck/build-config.js +1 -0
  768. package/dist/lib/puck/cap-hero-groups.d.ts +1 -0
  769. package/dist/lib/puck/cap-hero-groups.js +1 -0
  770. package/dist/lib/puck/container-blocks.d.ts +10 -0
  771. package/dist/lib/puck/container-blocks.js +1 -0
  772. package/dist/lib/puck/content-tree.d.ts +43 -0
  773. package/dist/lib/puck/content-tree.js +1 -0
  774. package/dist/lib/puck/controls.d.ts +346 -0
  775. package/dist/lib/puck/controls.js +1 -0
  776. package/dist/lib/puck/device-fields.d.ts +24 -0
  777. package/dist/lib/puck/device-fields.js +1 -0
  778. package/dist/lib/puck/editor-page-context.d.ts +6 -0
  779. package/dist/lib/puck/editor-page-context.js +1 -0
  780. package/dist/lib/puck/enclosing-section.d.ts +1 -0
  781. package/dist/lib/puck/enclosing-section.js +1 -0
  782. package/dist/lib/puck/field-groups.d.ts +23 -0
  783. package/dist/lib/puck/field-groups.js +1 -0
  784. package/dist/lib/puck/field-markers.d.ts +16 -0
  785. package/dist/lib/puck/field-markers.js +1 -0
  786. package/dist/lib/puck/field-noun.d.ts +3 -0
  787. package/dist/lib/puck/field-noun.js +1 -0
  788. package/dist/lib/puck/footer-blocks.d.ts +19 -0
  789. package/dist/lib/puck/footer-blocks.js +1 -0
  790. package/dist/lib/puck/footer-return.d.ts +3 -0
  791. package/dist/lib/puck/footer-return.js +1 -0
  792. package/dist/lib/puck/general-registry.d.ts +4 -0
  793. package/dist/lib/puck/general-registry.js +1 -0
  794. package/dist/lib/puck/geocode-resolve.d.ts +14 -0
  795. package/dist/lib/puck/geocode-resolve.js +1 -0
  796. package/dist/lib/puck/header-clearance.d.ts +49 -0
  797. package/dist/lib/puck/header-clearance.js +1 -0
  798. package/dist/lib/puck/header-ink.d.ts +16 -0
  799. package/dist/lib/puck/header-ink.js +1 -0
  800. package/dist/lib/puck/heading-outline.d.ts +7 -0
  801. package/dist/lib/puck/heading-outline.js +1 -0
  802. package/dist/lib/puck/hidable.d.ts +9 -0
  803. package/dist/lib/puck/hidable.js +1 -0
  804. package/dist/lib/puck/home-page.d.ts +1 -0
  805. package/dist/lib/puck/home-page.js +1 -0
  806. package/dist/lib/puck/left-view.d.ts +5 -0
  807. package/dist/lib/puck/left-view.js +1 -0
  808. package/dist/lib/puck/locations-focus.d.ts +22 -0
  809. package/dist/lib/puck/locations-focus.js +1 -0
  810. package/dist/lib/puck/locations-tree.d.ts +23 -0
  811. package/dist/lib/puck/locations-tree.js +2 -0
  812. package/dist/lib/puck/locked-blocks.d.ts +2 -0
  813. package/dist/lib/puck/locked-blocks.js +1 -0
  814. package/dist/lib/puck/media-manifest.json +138 -0
  815. package/dist/lib/puck/migrate-legacy.d.ts +2 -0
  816. package/dist/lib/puck/migrate-legacy.js +1 -0
  817. package/dist/lib/puck/mockup-variant-fields.d.ts +10 -0
  818. package/dist/lib/puck/mockup-variant-fields.js +1 -0
  819. package/dist/lib/puck/neutralization-contracts.d.ts +43 -0
  820. package/dist/lib/puck/neutralization-contracts.js +1 -0
  821. package/dist/lib/puck/one-h1.d.ts +3 -0
  822. package/dist/lib/puck/one-h1.js +1 -0
  823. package/dist/lib/puck/overlay-portal.d.ts +2 -0
  824. package/dist/lib/puck/overlay-portal.js +1 -0
  825. package/dist/lib/puck/overrides.d.ts +2 -0
  826. package/dist/lib/puck/overrides.js +1 -0
  827. package/dist/lib/puck/page-render.d.ts +5 -0
  828. package/dist/lib/puck/page-render.js +1 -0
  829. package/dist/lib/puck/page-root-fields.d.ts +29 -0
  830. package/dist/lib/puck/page-root-fields.js +1 -0
  831. package/dist/lib/puck/page-root.d.ts +55 -0
  832. package/dist/lib/puck/page-root.js +1 -0
  833. package/dist/lib/puck/panel-drop-empty-headings.d.ts +3 -0
  834. package/dist/lib/puck/panel-drop-empty-headings.js +1 -0
  835. package/dist/lib/puck/panel-fields.d.ts +12 -0
  836. package/dist/lib/puck/panel-fields.js +1 -0
  837. package/dist/lib/puck/panel-heading-scope.d.ts +8 -0
  838. package/dist/lib/puck/panel-heading-scope.js +1 -0
  839. package/dist/lib/puck/panel-no-control-mark.d.ts +7 -0
  840. package/dist/lib/puck/panel-no-control-mark.js +1 -0
  841. package/dist/lib/puck/part-anchors.d.ts +23 -0
  842. package/dist/lib/puck/part-anchors.js +1 -0
  843. package/dist/lib/puck/part-inks.d.ts +9 -0
  844. package/dist/lib/puck/part-inks.js +1 -0
  845. package/dist/lib/puck/part-key.d.ts +9 -0
  846. package/dist/lib/puck/part-key.js +1 -0
  847. package/dist/lib/puck/part-row-field.d.ts +2 -0
  848. package/dist/lib/puck/part-row-field.js +1 -0
  849. package/dist/lib/puck/part-rows.d.ts +15 -0
  850. package/dist/lib/puck/part-rows.js +1 -0
  851. package/dist/lib/puck/part-styles.d.ts +133 -0
  852. package/dist/lib/puck/part-styles.js +2 -0
  853. package/dist/lib/puck/part-text.d.ts +12 -0
  854. package/dist/lib/puck/part-text.js +1 -0
  855. package/dist/lib/puck/part-typing.d.ts +11 -0
  856. package/dist/lib/puck/part-typing.js +1 -0
  857. package/dist/lib/puck/passes/catalogue-labels.d.ts +2 -0
  858. package/dist/lib/puck/passes/catalogue-labels.js +1 -0
  859. package/dist/lib/puck/passes/cell-width.d.ts +2 -0
  860. package/dist/lib/puck/passes/cell-width.js +1 -0
  861. package/dist/lib/puck/passes/clickable-parts.d.ts +2 -0
  862. package/dist/lib/puck/passes/clickable-parts.js +1 -0
  863. package/dist/lib/puck/passes/corners.d.ts +3 -0
  864. package/dist/lib/puck/passes/corners.js +1 -0
  865. package/dist/lib/puck/passes/document-position.d.ts +16 -0
  866. package/dist/lib/puck/passes/document-position.js +1 -0
  867. package/dist/lib/puck/passes/empty-headings.d.ts +2 -0
  868. package/dist/lib/puck/passes/empty-headings.js +1 -0
  869. package/dist/lib/puck/passes/hidden-nodes.d.ts +2 -0
  870. package/dist/lib/puck/passes/hidden-nodes.js +1 -0
  871. package/dist/lib/puck/passes/index.d.ts +5 -0
  872. package/dist/lib/puck/passes/index.js +1 -0
  873. package/dist/lib/puck/passes/inspector.d.ts +2 -0
  874. package/dist/lib/puck/passes/inspector.js +1 -0
  875. package/dist/lib/puck/passes/registry-context.d.ts +2 -0
  876. package/dist/lib/puck/passes/registry-context.js +1 -0
  877. package/dist/lib/puck/passes/section-anchor.d.ts +2 -0
  878. package/dist/lib/puck/passes/section-anchor.js +1 -0
  879. package/dist/lib/puck/passes/section-animation.d.ts +2 -0
  880. package/dist/lib/puck/passes/section-animation.js +1 -0
  881. package/dist/lib/puck/passes/section-height.d.ts +2 -0
  882. package/dist/lib/puck/passes/section-height.js +1 -0
  883. package/dist/lib/puck/passes/section-padding.d.ts +8 -0
  884. package/dist/lib/puck/passes/section-padding.js +1 -0
  885. package/dist/lib/puck/passes/section-theme.d.ts +3 -0
  886. package/dist/lib/puck/passes/section-theme.js +1 -0
  887. package/dist/lib/puck/passes/section-width.d.ts +10 -0
  888. package/dist/lib/puck/passes/section-width.js +1 -0
  889. package/dist/lib/puck/passes/settings-groups.d.ts +3 -0
  890. package/dist/lib/puck/passes/settings-groups.js +1 -0
  891. package/dist/lib/puck/passes/slot-rules.d.ts +4 -0
  892. package/dist/lib/puck/passes/slot-rules.js +1 -0
  893. package/dist/lib/puck/passes/types.d.ts +51 -0
  894. package/dist/lib/puck/passes/types.js +0 -0
  895. package/dist/lib/puck/phone-override.d.ts +4 -0
  896. package/dist/lib/puck/phone-override.js +1 -0
  897. package/dist/lib/puck/pinned-seed-gate.d.ts +17 -0
  898. package/dist/lib/puck/pinned-seed-gate.js +1 -0
  899. package/dist/lib/puck/preview-click.d.ts +2 -0
  900. package/dist/lib/puck/preview-click.js +1 -0
  901. package/dist/lib/puck/preview-dom.d.ts +6 -0
  902. package/dist/lib/puck/preview-dom.js +1 -0
  903. package/dist/lib/puck/preview-selection-context.d.ts +19 -0
  904. package/dist/lib/puck/preview-selection-context.js +1 -0
  905. package/dist/lib/puck/registry.d.ts +3 -0
  906. package/dist/lib/puck/registry.js +1 -0
  907. package/dist/lib/puck/renamed-props.d.ts +2 -0
  908. package/dist/lib/puck/renamed-props.js +1 -0
  909. package/dist/lib/puck/sanitize.d.ts +1 -0
  910. package/dist/lib/puck/sanitize.js +1 -0
  911. package/dist/lib/puck/section-catalog.d.ts +36 -0
  912. package/dist/lib/puck/section-catalog.js +1 -0
  913. package/dist/lib/puck/section-descriptions.d.ts +1 -0
  914. package/dist/lib/puck/section-descriptions.js +1 -0
  915. package/dist/lib/puck/section-doc.d.ts +5 -0
  916. package/dist/lib/puck/section-doc.js +1 -0
  917. package/dist/lib/puck/section-groups.d.ts +21 -0
  918. package/dist/lib/puck/section-groups.js +1 -0
  919. package/dist/lib/puck/section-text-suppress.d.ts +9 -0
  920. package/dist/lib/puck/section-text-suppress.js +1 -0
  921. package/dist/lib/puck/site-gap-fields.d.ts +2 -0
  922. package/dist/lib/puck/site-gap-fields.js +1 -0
  923. package/dist/lib/puck/slider-typing.d.ts +9 -0
  924. package/dist/lib/puck/slider-typing.js +1 -0
  925. package/dist/lib/puck/slot-child-name.d.ts +8 -0
  926. package/dist/lib/puck/slot-child-name.js +1 -0
  927. package/dist/lib/puck/slot-heal.d.ts +2 -0
  928. package/dist/lib/puck/slot-heal.js +1 -0
  929. package/dist/lib/puck/slot-specs.d.ts +20 -0
  930. package/dist/lib/puck/slot-specs.js +1 -0
  931. package/dist/lib/puck/snapshot-contracts.d.ts +4 -0
  932. package/dist/lib/puck/snapshot-contracts.js +1 -0
  933. package/dist/lib/puck/source-bound-parts.d.ts +12 -0
  934. package/dist/lib/puck/source-bound-parts.js +1 -0
  935. package/dist/lib/puck/style-clipboard.d.ts +19 -0
  936. package/dist/lib/puck/style-clipboard.js +1 -0
  937. package/dist/lib/puck/templateFields.d.ts +2 -0
  938. package/dist/lib/puck/templateFields.js +1 -0
  939. package/dist/lib/puck/text-control-kinds.d.ts +13 -0
  940. package/dist/lib/puck/text-control-kinds.js +1 -0
  941. package/dist/lib/puck/text-parts.d.ts +33 -0
  942. package/dist/lib/puck/text-parts.js +1 -0
  943. package/dist/lib/puck/theme-swatches.d.ts +3 -0
  944. package/dist/lib/puck/theme-swatches.js +1 -0
  945. package/dist/lib/puck/tree-reveal.d.ts +11 -0
  946. package/dist/lib/puck/tree-reveal.js +1 -0
  947. package/dist/lib/puck/use-section-ops.d.ts +25 -0
  948. package/dist/lib/puck/use-section-ops.js +1 -0
  949. package/dist/lib/reel.d.ts +33 -0
  950. package/dist/lib/reel.js +1 -0
  951. package/dist/lib/safe-storage.d.ts +10 -0
  952. package/dist/lib/safe-storage.js +1 -0
  953. package/dist/lib/save-as-template-action.d.ts +29 -0
  954. package/dist/lib/save-as-template-action.js +1 -0
  955. package/dist/lib/section-template-types.d.ts +21 -0
  956. package/dist/lib/section-template-types.js +0 -0
  957. package/dist/lib/sections/card-cover-index.d.ts +7 -0
  958. package/dist/lib/sections/card-cover-index.js +1 -0
  959. package/dist/lib/sections/collection-card-text-regions.d.ts +4 -0
  960. package/dist/lib/sections/collection-card-text-regions.js +1 -0
  961. package/dist/lib/sections/divider-style.d.ts +12 -0
  962. package/dist/lib/sections/divider-style.js +1 -0
  963. package/dist/lib/sections/faq-text-regions.d.ts +4 -0
  964. package/dist/lib/sections/faq-text-regions.js +1 -0
  965. package/dist/lib/sections/hero-overlay.d.ts +10 -0
  966. package/dist/lib/sections/hero-overlay.js +1 -0
  967. package/dist/lib/sections/intro-bleed-layout.d.ts +15 -0
  968. package/dist/lib/sections/intro-bleed-layout.js +1 -0
  969. package/dist/lib/sections/product-card-style.d.ts +18 -0
  970. package/dist/lib/sections/product-card-style.js +1 -0
  971. package/dist/lib/sections/section-eyebrow-look.d.ts +11 -0
  972. package/dist/lib/sections/section-eyebrow-look.js +1 -0
  973. package/dist/lib/sections/section-head-placement.d.ts +31 -0
  974. package/dist/lib/sections/section-head-placement.js +1 -0
  975. package/dist/lib/sections/section-head-style.d.ts +16 -0
  976. package/dist/lib/sections/section-head-style.js +1 -0
  977. package/dist/lib/sections/section-number-style.d.ts +10 -0
  978. package/dist/lib/sections/section-number-style.js +1 -0
  979. package/dist/lib/sections/section-presets.d.ts +9 -0
  980. package/dist/lib/sections/section-presets.js +1 -0
  981. package/dist/lib/sections/section-text-kinds.d.ts +8 -0
  982. package/dist/lib/sections/section-text-kinds.js +1 -0
  983. package/dist/lib/sections/section-text-regions.d.ts +3 -0
  984. package/dist/lib/sections/section-text-regions.js +1 -0
  985. package/dist/lib/sections/spec-table-regions.d.ts +11 -0
  986. package/dist/lib/sections/spec-table-regions.js +1 -0
  987. package/dist/lib/sections/text-regions.d.ts +21 -0
  988. package/dist/lib/sections/text-regions.js +1 -0
  989. package/dist/lib/sections/ticker-join.d.ts +9 -0
  990. package/dist/lib/sections/ticker-join.js +1 -0
  991. package/dist/lib/sections/ticker-scroll.d.ts +11 -0
  992. package/dist/lib/sections/ticker-scroll.js +1 -0
  993. package/dist/lib/sections/ticker-style.d.ts +17 -0
  994. package/dist/lib/sections/ticker-style.js +1 -0
  995. package/dist/lib/site-runtime.d.ts +28 -0
  996. package/dist/lib/site-runtime.js +1 -0
  997. package/dist/lib/site-theme-row.d.ts +52 -0
  998. package/dist/lib/site-theme-row.js +0 -0
  999. package/dist/lib/slugify.d.ts +1 -0
  1000. package/dist/lib/slugify.js +1 -0
  1001. package/dist/lib/theme-dom.d.ts +14 -0
  1002. package/dist/lib/theme-dom.js +1 -0
  1003. package/dist/lib/theme-row-persist.d.ts +34 -0
  1004. package/dist/lib/theme-row-persist.js +1 -0
  1005. package/dist/lib/theme-save-message.d.ts +6 -0
  1006. package/dist/lib/theme-save-message.js +1 -0
  1007. package/dist/lib/theme.d.ts +177 -0
  1008. package/dist/lib/theme.js +18 -0
  1009. package/dist/lib/use-host-products.d.ts +2 -0
  1010. package/dist/lib/use-host-products.js +1 -0
  1011. package/dist/lib/web-backend.d.ts +193 -0
  1012. package/dist/lib/web-backend.js +1 -0
  1013. package/dist/lib/web-runtime.d.ts +7 -0
  1014. package/dist/lib/web-runtime.js +1 -0
  1015. package/dist/lib/word-styles.d.ts +54 -0
  1016. package/dist/lib/word-styles.js +1 -0
  1017. package/package.json +40 -36
  1018. package/dist/chunks/EditorPreviewCheckout-YVSO4HE3.js +0 -4
  1019. package/dist/chunks/PreviewFooter-34YJU76X.js +0 -1
  1020. package/dist/chunks/SectionEditorShell-CVWJ6DSU.js +0 -1
  1021. package/dist/chunks/SiteEditorProvider-ECGZVKLG.js +0 -1
  1022. package/dist/chunks/StorefrontEditorChrome-YKEMJT3Z.js +0 -1
  1023. package/dist/chunks/chunk-2XX3N727.js +0 -153
  1024. package/dist/chunks/chunk-2XX3N727.js.LEGAL.txt +0 -4
  1025. package/dist/chunks/chunk-6CP4D6VJ.js +0 -1
  1026. package/dist/chunks/chunk-7QXLVNFD.js +0 -1
  1027. package/dist/chunks/chunk-EKKAVQJX.js +0 -1
  1028. package/dist/chunks/chunk-FU5UZ4UY.js +0 -1
  1029. package/dist/chunks/chunk-HVOO2GNE.js +0 -1
  1030. package/dist/chunks/chunk-J5WPJJCW.js +0 -2
  1031. package/dist/chunks/chunk-MEIUD5LJ.js +0 -1
  1032. package/dist/chunks/chunk-N3IM4XBG.js +0 -1
  1033. package/dist/chunks/chunk-RRHBLOH4.js +0 -1
  1034. package/dist/chunks/chunk-TUB4O4RZ.js +0 -15
  1035. package/dist/chunks/chunk-TUB4O4RZ.js.LEGAL.txt +0 -27
  1036. package/dist/chunks/chunk-UM3P3PXW.js +0 -230
  1037. package/dist/chunks/chunk-XQGZKQII.js +0 -1
  1038. package/dist/chunks/chunk-Y6SLVHK3.js +0 -1
  1039. package/dist/chunks/fitment-data-6NXSKODX.js +0 -1
  1040. package/dist/chunks/gallery-builds-data-SWA6XKFF.js +0 -1
  1041. package/dist/chunks/headers-3CAQXQEY.js +0 -1
  1042. package/dist/chunks/render-client-VMLB4BTY.js +0 -1
  1043. package/dist/contract.d.ts +0 -48
  1044. package/dist/contract.js +0 -1
  1045. package/dist/editor.css +0 -1
  1046. package/dist/index.d.ts +0 -721
  1047. package/dist/index.js +0 -11050
  1048. package/dist/links.d.ts +0 -86
  1049. package/dist/links.js +0 -1
@@ -1,15 +0,0 @@
1
- import{b as zo}from"./chunk-HVOO2GNE.js";import{$ as so,A as ga,B as Tt,E as Ts,F as no,G as lo,H as qo,I as Ko,J as ws,Ka as io,M as ba,Na as vs,O as Ps,P as Sa,Pa as Ls,R as Fs,S as Es,a as gs,aa as wo,c as bs,ca as fo,da as ar,e as Cs,f as tr,g as Ia,k as ks,l as Rt,n as rr,u as ha,z as Rs}from"./chunk-FU5UZ4UY.js";import{b as ma,d as ke,g as xs,h as Is,i as se,j as xa,k as hs,p as Ss,q as kt,s as ys,w as ya}from"./chunk-6CP4D6VJ.js";var As=["general","commerce","service"],Xo=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero Slideshow",set:"general"},{type:"HeroSingle",label:"Hero",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"BrandStrip",label:"Brand Strip",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"Gallery",label:"Tabbed Gallery",set:"commerce"},{type:"GalleryB",label:"Customer Photo Grid",set:"commerce"},{type:"SpecStrip",label:"Spec Strip",set:"general"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"},{type:"TyreFitment",label:"Tyre Fitment Form",set:"commerce"},{type:"EuTyreLabel",label:"EU Tyre Label",set:"commerce"},{type:"RelatedProducts",label:"Related Products",set:"commerce"},{type:"BundleOffer",label:"Bundle Products",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"DeliveryOptions",label:"Delivery Options",set:"commerce"},{type:"PaymentBadges",label:"Payment Methods",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Cards",label:"Cards",set:"general"},{type:"KeyFeatures",label:"Key Features",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"StatsParagraph",label:"Stats with Text",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Testimonials",label:"Testimonials",set:"general"},{type:"Reviews",label:"Reviews",set:"service"},{type:"Logos",label:"Logos",set:"general"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Banner",label:"Banner",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"Masthead",label:"Issue Header",set:"general"},{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"Series",label:"Recurring Columns",set:"general"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"},{type:"CategoryBar",label:"Category Bar",set:"general"},{type:"DocTabs",label:"Document Tabs",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocMasthead",label:"Document Header",set:"general"},{type:"DocBody",label:"Document Text",set:"general"},{type:"DocMetaCards",label:"Document Detail Cards",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"ContactLocations",label:"Contact / Locations",set:"general"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Spacer",label:"Spacer",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]}];function fR(){return Object.fromEntries(Xo.map(e=>[e.key,{title:e.title,components:e.sections.map(o=>o.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}var gp={Grid:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A \u2014 shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or a shape (Big left, Big right, Bigger left, Bigger right) and its own `Columns on phone`. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` \u2014 256 documents): 2 Grid nodes, and they are ONE Grid counted twice \u2014 the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 \u2014 equal thirds \u2014 and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n\u26A0\uFE0F THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned \u2014 hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. \u26D4 So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says \u2014 Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS \u2014 the owner redoes live sections himself.\n\n\u26A0\uFE0F AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/puck/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot \u2014 a Box included \u2014 refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` \xA73 pins it.',CompatibleTyres:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings \u2014 it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 \u2014 it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n\u26A0\uFE0F THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call \u2014 nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n \u2022 settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT \u2014 the map holds only TimelineTrack and Footprint, both AUTHORED lists\n \u2022 read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n \u2022 panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n \u2022 head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero \u2014 neither can style them \u2014 and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/puck/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS \u2014 the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n\u26A0\uFE0F AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.',SubscribeBlogs:"card 66396 \u2014 folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},iR=["Grid"],dR=Array.from(new Set([...Xo.flatMap(e=>e.sections.map(o=>o.type)),...Object.keys(gp)])),cR=Object.fromEntries(Xo.flatMap(e=>e.sections.map(o=>[o.type,o.label]))),bp={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",ButtonBlock:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",MenuBlock:"service",EmailFormBlock:"service",SocialLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},nr={...bp,...Object.fromEntries(Xo.flatMap(e=>e.sections.map(o=>[o.type,o.set])))};function Os(e){return Object.prototype.hasOwnProperty.call(nr,e)?nr[e]:void 0}function Ca(e){return Object.keys(nr).filter(o=>nr[o]===e).sort()}var uR=Ca("general"),pR=Ca("commerce"),mR=Ca("service"),Sp="Flex",co="Box",xR=`${co}es`;function yp(e){return e==="section"?"Blank section":co}function IR(e,o,t){return e===Sp?yp(o):t}var Yo="content",j="Flex",Cp="Text & media",kp="Layout & structure",Rp=[{type:"Eyebrow",label:"Eyebrow"},{type:"Heading",label:"Heading"},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"ButtonBlock",label:"Button"},{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats"},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"}].map(e=>({...e,group:Cp})),Tp=(Xo.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:kp})),Bs=[...Rp,...Tp],ka=[{type:"Eyebrow",label:"Eyebrow"},{type:"Heading",label:"Heading"},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"ButtonBlock",label:"Button"},{type:"HeroGroup",label:co}],bR=ka.map(e=>e.type),wp=1,Pp=ka.filter(e=>e.type!=="HeroGroup");function Fp(e){return e<wp?ka:Pp}var Ep={Flex:{slot:Yo,choices:()=>Bs},Grid:{slot:Yo,choices:()=>Bs},HeroGroup:{slot:Yo,choices:Fp}};function Ds(e,o=0){let t=Ep[e];return t?{slot:t.slot,choices:t.choices(o)}:null}function re(e,o,t,r={}){return{type:e,props:{...o(e),id:t(e),...r}}}var vp={Manifesto:(e,o)=>({type:j,props:{...e(j),id:o(j),direction:"row",share:"equal",sectionHeightMode:"screen",name:"Brand Text",content:[re(j,e,o,{direction:"column",justify:"center",blockSpacing:"gap",name:"Text",sectionPaddingTop:100,sectionPaddingBottom:100,sectionPaddingLeft:40,sectionPaddingRight:40,content:[re("Eyebrow",e,o,{eyebrowLook:"plain"}),re("Heading",e,o),re("Text",e,o),re("Stats",e,o)]}),re(j,e,o,{direction:"column",name:"Picture",content:[]})]}}),Split:(e,o)=>({type:j,props:{...e(j),id:o(j),direction:"row",share:"equal",sectionHeightMode:"screen",sectionHeightValue:70,name:"Image & Text Split",content:[re(j,e,o,{direction:"column",justify:"center",blockSpacing:"gap",name:"Text",sectionPaddingTop:100,sectionPaddingBottom:100,sectionPaddingLeft:60,sectionPaddingRight:60,content:[re("Eyebrow",e,o,{eyebrowLook:"plain"}),re("Heading",e,o),re("Text",e,o),re("ButtonBlock",e,o)]}),re(j,e,o,{direction:"column",name:"Image",content:[re("ImageBlock",e,o)]})]}}),Subscribe:(e,o)=>({type:j,props:{...e(j),id:o(j),direction:"column",name:"Subscribe",content:[re("Heading",e,o),re("Text",e,o),re("Form",e,o)]}})};function _s(e){return vp[e]??null}var ve=["top-left","top-center","top-right","left","center","right","bottom-left","bottom-center","bottom-right"],lr="bottom-left";var wt={"top-left":"Top left","top-center":"Top center","top-right":"Top right",left:"Left",center:"Center",right:"Right","bottom-left":"Bottom left","bottom-center":"Bottom center","bottom-right":"Bottom right"};function Lp(e){let o=ve.indexOf(uo(e));return{band:Math.floor(o/3),column:["start","center","end"][o%3]}}function Ap(e){return 1+Lp(e).band*6}function kR(e){return Ap(e)+1}function uo(e){return ve.includes(e)?e:lr}function RR(e){let o=typeof e=="number"&&Number.isFinite(e)?e:0;return Math.max(-40,Math.min(40,Math.round(o)))}function TR(e,o=60){let t=typeof e=="number"&&Number.isFinite(e)?e:o;return Math.max(30,Math.min(100,Math.round(t)))}function Ra(e,o){let t=uo(o);return e.filter(r=>uo(r?.props?.placement)===t).length}function Ns(e){return`${wt[uo(e)]} already holds 4 boxes. Move one somewhere else first.`}function Ta(e,o){let t=e.filter(r=>r?.props?.id!==o);return ve.map(r=>{let a=Ra(t,r)>=4,n=wt[r];return a?{value:r,label:n,disabled:!0,title:Ns(r)}:{value:r,label:n}})}function sr(e,o){let t=o===void 0?lr:uo(o?.props?.placement);return Ra(e,t)>=4?Ns(t):null}var Ms="HeroGroup";function wR(e){let o=new Map,t=!1,r=e.filter(a=>{let n=uo(a?.props?.placement),l=(o.get(n)??0)+1;return o.set(n,l),l<=4?!0:(t=!0,!1)});return t?r:e}function Op(e){return ve.map(o=>{let t=Ra(e,o);return{anchor:o,total:t,hidden:t-4}}).filter(o=>o.hidden>0)}function wa(e){let o=Op(e);return o.length===0?null:o.map(({anchor:t,total:r,hidden:a})=>{let n=wt[t],l=a===1?"1 is not shown":`${a} are not shown`;return`${n} holds ${r} boxes. The published page draws the first 4, so ${l}. ${a===1?"Move it":"Move them"} somewhere else.`}).join(" ")}function PR(e,o){let t=o;if(t?.type!==Ms)return null;let r=t.props?.id===void 0?"":String(t.props.id);return r?sr(Pa(e,r),t):null}function Pa(e,o){let t=Hs(e,o);return t&&t.ownerType===Dp?t.siblings:[]}function FR(e,o){let t=Hs(e,o);return t?t.ancestorTypes.filter(r=>r===Ms).length:Bp}var Bp=1,Dp="HeroSlide";function Hs(e,o){let t=a=>Array.isArray(a)&&a.length>0&&a.every(n=>!!n&&typeof n=="object"&&typeof n.type=="string"),r=(a,n,l)=>{if(n>12||!a||typeof a!="object")return null;if(t(a)){if(a.some(s=>s?.props?.id===o))return{siblings:a,ownerType:l.at(-1)??null,ancestorTypes:l};for(let s of a){let f=s.type,d=r(s,n+1,[...l,String(f)]);if(d)return d}return null}for(let s of Object.values(a)){let f=r(s,n+1,l);if(f)return f}return null};return r(e,0,[])}function Gs(e,o){let t=e.components?.[o]?.fields??{};return Object.keys(t).filter(r=>t[r]?.type==="slot")}function _p(e,o){return Gs(e,o.type).flatMap(t=>(Array.isArray(o.props[t])?o.props[t]:[]).map((a,n)=>({child:a,zone:`${o.props.id}:${t}`,index:n})))}function Us(e,o,t){let r=(a,n,l,s)=>{if(!a||typeof a!="object"||!a.props)return null;if(a.props.id===t)return{item:a,zone:n,index:l};if(s>=12)return null;for(let{child:f,zone:d,index:p}of _p(e,a)){let u=r(f,d,p,s+1);if(u)return u}return null};for(let a=0;a<o.length;a+=1){let n=r(o[a],Fa,a,0);if(n)return n}return null}var Np=6;function vR(e,o,t){return t<Np&&Gs(e,o).length>0}var Po=e=>`${e}-${crypto.randomUUID()}`,po="Header",Pt="Footer",Fa="root:default-zone",Ws=[po,Pt];function Mp(e){let o=new Set,t=[];return e.forEach((r,a)=>{let n=r?.type;n===void 0||!Ws.includes(n)||(o.has(n)?t.push(a):o.add(n))}),t}function LR(e){return Mp(e).map(o=>e[o]?.props?.id).filter(o=>typeof o=="string")}function AR(e,o){let t=(r,a)=>r.some(n=>n?.type===a);return Ws.filter(r=>!t(e,r)&&!t(o,r))}import{createContext as dm,useContext as cm}from"react";import{useEffect as va,useRef as Qp,useState as ir}from"react";import{createContext as Hp,lazy as Gp,Suspense as Up,useContext as Wp}from"react";import{jsx as fr}from"react/jsx-runtime";var Vp={Link:bs,Image:gs},$p=Hp(Vp);function Vs(){return Wp($p)}function NR(e){let{Link:o}=Vs();return fr(o,{...e})}function $s(e){let{Image:o}=Vs();return fr(o,{...e})}function MR(e){let o=Gp(e);return function(r){return fr(Up,{fallback:null,children:fr(o,{...r})})}}import{useEffect as qp,useRef as qs,useState as Kp}from"react";import{Fragment as jp,jsx as Ks,jsxs as Zp}from"react/jsx-runtime";var zp="#t=0.001",Xp=2;function Yp(e,o){if(e.readyState<Xp||!e.videoWidth||!e.videoHeight)return!1;let t=o.getContext("2d");return t?(o.width=e.videoWidth,o.height=e.videoHeight,t.drawImage(e,0,0,o.width,o.height),!0):!1}function Ea({src:e,objectPosition:o="50% 50%",onError:t}){let r=qs(null),a=qs(null),[n,l]=Kp(!1);return qp(()=>{let s=r.current,f=a.current;if(n||!s||!f)return;let d=()=>{Yp(s,f)&&l(!0)};return d(),s.addEventListener("loadeddata",d),s.addEventListener("seeked",d),()=>{s.removeEventListener("loadeddata",d),s.removeEventListener("seeked",d)}},[n]),Zp(jp,{children:[Ks("canvas",{ref:a,"aria-hidden":!0,className:"absolute inset-0 z-[3] h-full w-full object-cover",style:{objectPosition:o,visibility:n?"visible":"hidden"}}),!n&&Ks("video",{ref:r,src:`${e}${zp}`,muted:!0,playsInline:!0,preload:"auto",className:"hidden",onError:t})]})}import{jsx as jo,jsxs as zs}from"react/jsx-runtime";var Jp=.5;function La({videoSrc:e,posterSrc:o,showVideo:t=!0,playbackRate:r=Jp,objectPosition:a="50% 50%",quiet:n=!1}){let l=o||"",s=e||"",[f,d]=ir(!1),[p,u]=ir(!1),[c,x]=ir(!1),[I,g]=ir(!1),b=Qp(null);va(()=>{d(!1),u(!1),x(!1)},[e,o]),va(()=>{if(typeof window>"u")return;let w=()=>{let k=window;k.requestIdleCallback?k.requestIdleCallback(()=>g(!0),{timeout:2e3}):setTimeout(()=>g(!0),800)};if(document.readyState==="complete"){w();return}return window.addEventListener("load",w,{once:!0}),()=>window.removeEventListener("load",w)},[]),va(()=>{let w=b.current;if(!w)return;let k=()=>{w.playbackRate=r};return k(),w.addEventListener("loadedmetadata",k),()=>w.removeEventListener("loadedmetadata",k)},[e,r]);let R=Ss(l);return zs("div",{className:"absolute inset-0 z-[1]",children:[jo("div",{className:"absolute inset-0",style:{background:"var(--surface)"}}),l&&(R?jo("img",{src:l,alt:"",className:"absolute inset-0 z-[2] h-full w-full object-cover",style:{display:f?"none":"block",objectPosition:a},onError:()=>d(!0)},l):jo($s,{src:l,alt:"",fill:!0,priority:!0,sizes:"100vw",className:"z-[2] object-cover",style:{display:f?"none":"block",objectPosition:a},onError:()=>d(!0)},l)),t&&!n&&s&&I&&!p&&zs("video",{ref:b,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"absolute inset-0 z-[3] h-full w-full object-cover",style:{objectPosition:a},onError:()=>u(!0),children:[ys(s)&&jo("source",{src:s.replace(/\.mp4$/,".av1.mp4"),type:'video/mp4; codecs="av01.0.08M.10"'}),jo("source",{src:s,type:"video/mp4"})]},s),t&&n&&s&&I&&!c&&(!l||f)&&jo(Ea,{src:s,objectPosition:a,onError:()=>x(!0)},s)]})}var Xs=["top","middle","bottom"],Ys=["left","center","right"],js="bottom",Zs="left",em={top:"Top",middle:"Middle",bottom:"Bottom"},om={left:"Left",center:"Center",right:"Right"};var jR="Up and down",ZR="Sideways",tm={top:"flex-start",middle:"center",bottom:"flex-end"},rm={left:"flex-start",center:"center",right:"flex-end"},am="--sf-hero-phone-y",nm="--sf-hero-phone-x";function lm(e){return Xs.includes(e)?e:js}function sm(e){return Ys.includes(e)?e:Zs}function Qs(e,o){let t=lm(e),r=sm(o),a={};return t!==js&&(a[am]=tm[t]),r!==Zs&&(a[nm]=rm[r]),a}function QR(){return Xs.map(e=>({label:em[e],value:e}))}function JR(){return Ys.map(e=>({label:om[e],value:e}))}var fm="#0A0A0A",im=[[0,".5"],[30,".1"],[60,".1"],[100,".85"]];function Js(e){let o=e.trim().replace(/^#/,""),t=o.length===3?o.split("").map(a=>a+a).join(""):o;if(!/^[0-9a-fA-F]{6}$/.test(t))return null;let r=Number.parseInt(t,16);return`${r>>16&255},${r>>8&255},${r&255}`}function ef(e){return e==null?!0:e!==!1}function of(e){let o=(e?Js(e):null)??Js(fm);return`linear-gradient(180deg, ${im.map(([r,a])=>`rgba(${o},${a}) ${r}%`).join(", ")})`}import{jsx as Ft,jsxs as pm}from"react/jsx-runtime";var Aa=dm({});function um({name:e,process:o,mediaType:t="video",mediaSrc:r,videoSpeed:a,poster:n,objectPosition:l,tintColor:s="#000000",tintOpacity:f=0,groups:d,editing:p=!1,themeClassName:u,themeStyle:c}){let{alignment:x="left",textureOpacity:I,textureOn:g,textureColor:b,quietVideo:R,phoneUpDown:w,phoneSideways:k}=cm(Aa),_=t==="video",V=_?kt(r):void 0,pe=_?kt(n):kt(r)??kt(n),L=typeof a=="number"?a/100:1;return pm("section",{className:u?`relative h-full w-full overflow-hidden ${u}`:"relative h-full w-full overflow-hidden",style:c,"data-slide-name":e??"","data-slide-process":o??"","data-slide-media":V?"video":"still",children:[Ft(La,{videoSrc:V,posterSrc:pe,showVideo:_,playbackRate:L,objectPosition:l,quiet:R}),f>0&&Ft("div",{className:"absolute inset-0 z-[2]",style:{background:s,opacity:Math.min(Math.max(f,0),100)/100}}),ef(g)&&Ft("div",{className:"absolute inset-0 z-[2]",style:{background:of(b),...I!==void 0?{opacity:I/100}:null}}),Ft("div",{className:["sf-hero-group-layer absolute inset-0 z-[3] mx-auto max-w-[min(var(--sf-page-cap,var(--sf-site-width,1600px)),var(--sf-site-width,1600px))] px-[var(--sf-site-gutter,40px)] pt-[140px] pb-14",p?"sf-hero-group-layer-edit":""].filter(Boolean).join(" "),style:{color:"var(--overlay-fg)",...Qs(w,k)},children:d&&Ft(d,{className:"sf-hero-group-zone",minEmptyHeight:160})})]})}var tf=Array.from({length:3},(e,o)=>({name:`Slide ${o+1}`,process:"Category",mediaType:"image",mediaVideo:"",poster:""}));var mm="ImageBlock",xm=3,dr=(e,o,t={})=>({type:e,props:{...o?.(e)??{},id:Po(e),...t}}),Im=e=>({...e?.(j)??{},direction:"column",[Yo]:[dr(mm,e),dr(j,e,{direction:"column",[Yo]:[dr("Heading",e),dr("Text",e)]})]}),mo={Hero:{slot:"slides",childType:"HeroSlide",addLabel:"Add slide",slider:!0,seeds:()=>tf.map(e=>({...e}))},HeroSlide:{slot:"groups",childType:"HeroGroup",addLabel:`Add ${co.toLowerCase()}`,seeds:()=>[],addBlocked:sr,notice:wa},HeroSingle:{slot:"boxes",childType:"HeroGroup",addLabel:`Add ${co.toLowerCase()}`,seeds:()=>[],addBlocked:sr,notice:wa},ProcessSteps:{slot:"boxes",childType:j,addLabel:`Add ${co.toLowerCase()}`,seeds:e=>Array.from({length:xm},()=>Im(e)),skipSeed:e=>Array.isArray(e.steps)&&e.steps.length>0}};function mT(e){for(let[o,t]of Object.entries(e)){if(o in mo&&mo[o]!==t)throw new Error(`lib/puck/slot-specs: "${o}" already has a slot spec`);mo[o]=t}}function xT(e,o){let t=mo[e];return t?{slot:t.slot,children:t.seeds(o).map(r=>({type:t.childType,props:{id:Po(t.childType),...r}}))}:null}var hm={general:!0,commerce:!0,service:!0};function Oa(e){let o=e?.sets;return o?Object.fromEntries(As.map(t=>[t,o.includes(t)])):hm}function Et(e=se()){return Oa(e.blocks)}var Fo=e=>typeof e=="object"&&e!==null&&!Array.isArray(e);function Ba(e){return Fo(e)&&typeof e.type=="string"&&e.type!==""&&Fo(e.props)}function rf(e,o,t){if(Array.isArray(e))for(let r of e)Ba(r)?Da(r,o,t):Fo(r)&&typeof r.type=="string"&&r.type!==""&&o.add(r.type)}function cr(e,o,t){if(Array.isArray(e)){if(t.has(e))return;t.add(e);for(let r of e)Ba(r)?Da(r,o,t):cr(r,o,t);return}if(!(!Fo(e)||t.has(e))){t.add(e);for(let r of Object.values(e))cr(r,o,t)}}function Da(e,o,t){if(!t.has(e)){t.add(e),o.add(e.type);for(let r of Object.values(e.props))cr(r,o,t)}}function _a(e){let o=new Set,t=new Set;if(Ba(e))Da(e,o,t);else if(Fo(e)){if(rf(e.content,o,t),Fo(e.zones))for(let r of Object.values(e.zones))rf(r,o,t);Fo(e.root)&&cr(e.root,o,t)}return[...o].sort()}var af=()=>({}),nf=new Map;function gm(e){let o=nf.get(e);if(o)return o;let t=new Set,r=mo[e];if(r)for(let l of r.seeds(af))for(let s of _a({type:r.childType,props:l}))t.add(s);let a=_s(e);if(a){let l=0;for(let s of _a(a(af,f=>`${f}-${l+=1}`)))t.add(s)}t.delete(e);let n=[...t].sort();return nf.set(e,n),n}function bm(e){if(!e||!e.sets&&!e.allow&&!e.deny?.length)return null;let o=Oa(e),t=e.allow?new Set(e.allow):null,r=new Set(e.deny??[]),a=new Set(Object.keys(e.host??{})),n=f=>{if(r.has(f))return!1;if(a.has(f))return!0;let d=Os(f);return!d||!o[d]?!1:t?t.has(f):!0},l=new Map,s=f=>{let d=l.get(f);if(d!==void 0)return d;l.set(f,!1);let p=n(f)&&gm(f).every(s);return l.set(f,p),p};return{sets:o,offers:s}}var Sm="block-offer";function Na(e=se()){return e.cache(Sm,()=>bm(e.blocks))}function PT(e,o=se()){let t=Na(o);return t?t.offers(e):!0}var ur="SiteHeader",Ma="SiteFooter",lf="sections",ET=[ur,Ma],vT=e=>e===ur||e===Ma,LT=e=>`${e}:${lf}`;function AT(e,o,t=[]){return{type:e,props:{id:o,[lf]:t}}}var ym=new Set(["Footer",ur,Ma]);function OT(e){let o=new Set,t=!1,r=e.filter(a=>{let n=a?.type??"";return n==="Header"?(t=!0,!1):ym.has(n)?o.has(n)?(t=!0,!1):(o.add(n),!0):!0});return t?r:e}function BT(e,o){return e.some(t=>t?.type===o.type)?e:o.type===ur?[o,...e]:[...e,o]}import{createContext as Cm,useContext as km,useEffect as Rm}from"react";import{jsx as Tm}from"react/jsx-runtime";var sf=Cm(null);function MT({session:e,children:o}){return xa(e),Rm(()=>(xa(e),()=>hs(e)),[e]),Tm(sf.Provider,{value:e,children:o})}function He(){return km(sf)??se()}var pr=class extends Error{constructor(o,t,r={}){super(t??wm[o],r.cause===void 0?void 0:{cause:r.cause}),this.name="WebsiteBackendError",this.kind=o,this.conflict=r.conflict,this.holder=r.holder,this.fields=r.fields}},wm={unauthorized:"The editor's sign-in was refused.","changed-elsewhere":"This page was changed somewhere else.","lock-taken":"Somebody else is editing this page.","not-found":"This no longer exists.",invalid:"The request was refused.",unavailable:"The server could not be reached."};function mr(e,o){if(!e||typeof e!="object")return!1;let t=e;return t.name!=="WebsiteBackendError"||typeof t.kind!="string"?!1:o===void 0||t.kind===o}var xr=0,Ir=null;function UT(e){Ir=e}function Zo(e){return Ir?.read(e)??null}function ff(e,o){return Ir?.loadRefusal?.(e,o)??null}function df(){return Ir?.unreachableMessage??"The server could not be reached."}var je="site-footer";var VT=je,$T={desktop:!0,tablet:!0,mobile:!0},qT={desktop:!1,tablet:!1,mobile:!1},Ha=1,cf=6,KT=Array.from({length:cf-Ha+1},(e,o)=>Ha+o),hr={desktop:6,tablet:3,mobile:2},Pm={2:{desktop:2,tablet:2,mobile:1},3:{desktop:3,tablet:3,mobile:1},4:{desktop:4,tablet:2,mobile:2},5:{desktop:5,tablet:3,mobile:2},6:{desktop:6,tablet:3,mobile:2}},Eo=e=>Math.min(Math.max(Math.round(e),Ha),cf);function zT(e){if(typeof e=="number")return Pm[Eo(e)]??{desktop:Eo(e),tablet:Eo(e),mobile:Eo(e)};if(e&&typeof e=="object"){let o=e;return{desktop:Eo(o.desktop??hr.desktop),tablet:Eo(o.tablet??hr.tablet),mobile:Eo(o.mobile??hr.mobile)}}return{...hr}}function Fm(e){let o=e?.content;return Array.isArray(o)?o.find(r=>!!r&&typeof r=="object"&&r.type==="Footer")??null:null}function XT(e){let o=e?.content;return Array.isArray(o)?o.find(r=>!!r&&typeof r=="object"&&r.type===Em)??Fm(e):null}var Em="SiteFooter",vm="SiteHeader";function YT(e){let o=e?.content;return Array.isArray(o)?o.find(r=>!!r&&typeof r=="object"&&r.type===vm)??null:null}var Ga="sf-editor-footer-return";function ZT(e){if(!(typeof window>"u"))try{window.sessionStorage.setItem(Ga,e)}catch{}}function Ua(){if(typeof window>"u")return null;try{return window.sessionStorage.getItem(Ga)}catch{return null}}function Wa(){if(!(typeof window>"u"))try{window.sessionStorage.removeItem(Ga)}catch{}}import{accessForNewDocument as Lm}from"efficient-easel/edit-lock";function uf(e){return e.failed?"error":e.pending?"saving":e.saved?"saved":"idle"}function ew(e){return!e.docId||e.saveStatus==="saving"?!1:e.seededDocId!==e.docId}function pf(e,o){o.resetAutosave(),o.setVersion(null),o.setSaveConflict(null),o.setAccess(Lm(e))}import{createContext as Am,useContext as Om,useEffect as Bm,useSyncExternalStore as Dm}from"react";import{jsx as Hm}from"react/jsx-runtime";var mf=Am(null),vt=null;function rw({panel:e,children:o}){return vt=e,Bm(()=>(vt=e,()=>{vt===e&&(vt=null,gf(Ge?.request.requestId??"",null))}),[e]),Hm(mf.Provider,{value:e,children:o})}function aw(){return Om(mf)}function xf(){return vt!==null}var Ge=null,Va=new Set,If=()=>{for(let e of[...Va])e()};function hf(e){return new Promise(o=>{let t=Ge;Ge={request:e,resolve:o},If(),t?.resolve(null)})}function gf(e,o){if(!Ge||Ge.request.requestId!==e)return;let{resolve:t}=Ge;Ge=null,If(),t(o)}function nw(){Ge&&gf(Ge.request.requestId,null)}function _m(e){return Va.add(e),()=>{Va.delete(e)}}var Nm=()=>Ge?.request??null,Mm=()=>null;function lw(){return Dm(_m,Nm,Mm)}var $a=new Map,bf=0;function Gm(){return bf+=1,`mp-${typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():String(bf)}`}function qa(e,o){if(!e.connected)return Promise.resolve(null);let t=Gm();return xf()?hf({requestId:t,accept:o.accept,title:o.title,file:o.file??null}):new Promise(r=>{$a.set(t,r),e.send("storefront-editor:open-media-picker",{requestId:t,accept:o.accept,title:o.title,...o.file?{file:o.file}:{}})})}function Ka(e,o){let t=$a.get(e);t&&($a.delete(e),t(o))}import{createContext as Jm,useCallback as U,useContext as ex,useEffect as Re,useMemo as nn,useRef as de,useState as Le}from"react";function Sf(e,o){let t=o?{siteId:o}:void 0;return{resolve:r=>e.load({slug:r,...t}),saveLayout:(r,a,n,l)=>e.save(r,{layout:a},{version:n,clientId:l??""}),rereadVersion:e.version?r=>e.version(r):void 0,publish:e.publish?(r,a)=>e.publish(r,a?{version:a}:void 0):void 0,listPages:()=>e.list(t),createPage:e.create?r=>e.create({...r,...t}):void 0,deletePage:e.remove?r=>e.remove(r):void 0}}function yf(e,o=ke(),t=Et()){let r=ma(o),a=e?{siteId:e}:void 0,n=r?!!e:!0,l=o.site.update;return{capabilities:{canPublish:!!o.pages.publish,hasSiteSettings:r,hasSiteTheme:!!o.theme,placeholderFrames:!1,mediaEditing:!0,pageCreationInAdminForm:!o.pages.create,canDeletePagesInline:!!o.pages.remove,hasEditLock:!!o.lock,hasEditGuard:!0,hasPinnedChrome:r&&t.commerce&&t.service,explainsSiteSettings:!1,hasSiteRecord:n,canEditSiteRecord:n&&!!l,hasPreviewLink:r||!!o.preview,hasCatalog:r&&t.commerce,hasForms:r&&t.service,hasBlog:!!o.blog&&t.service,offersCommerce:t.commerce,offersService:t.service},...Sf(o.pages,e),lock:o.lock,site:n?()=>o.site.get(a):void 0,updateSite:n&&l?s=>l(s,a):void 0,previewHref:o.preview?s=>o.preview.href(s):void 0}}function Cf(e,o=ke(),t=Et()){let r=ma(o),a=o.templates,n=a?a.pages(e):{list:()=>Promise.reject(new Error(za)),load:()=>Promise.reject(new Error(za)),save:()=>Promise.reject(new Error(za))};return{capabilities:{canPublish:!1,hasSiteSettings:!1,hasSiteTheme:!1,placeholderFrames:!0,mediaEditing:!1,pageCreationInAdminForm:!n.create,canDeletePagesInline:!!n.remove,hasEditLock:!1,hasEditGuard:!1,hasPinnedChrome:r&&t.commerce&&t.service,explainsSiteSettings:r,hasSiteRecord:!1,canEditSiteRecord:!1,hasPreviewLink:!1,hasCatalog:r&&t.commerce,hasForms:r&&t.service,hasBlog:!!o.blog&&t.service,offersCommerce:t.commerce,offersService:t.service},...Sf(n,void 0),publish:void 0,templateName:a?()=>a.get(e).then(l=>l.name):void 0}}var za="This editor's backend has no website templates.";import{EDIT_LOCK_TAKEN as Um}from"efficient-easel/edit-lock";var Xa="page_changed_elsewhere",Wm={unauthorized:401,"changed-elsewhere":409,"lock-taken":409,"not-found":404,invalid:400,unavailable:xr};function Ya(e){let o=Zo(e);if(o)return{status:o.status,data:o.data};if(!mr(e))return null;let t=Zo(e.cause);if(t)return{status:t.status,data:t.data};let r=Wm[e.kind];return e.kind==="changed-elsewhere"?{status:r,data:{code:Xa,saved_by:e.conflict?.savedBy??"",saved_by_you:e.conflict?.savedByYou===!0,seconds_ago:e.conflict?.secondsAgo??0}}:e.kind==="lock-taken"?{status:r,data:{code:Um,holder_name:e.holder?.name??"",seconds_since_seen:e.holder?.secondsSinceSeen??0,seconds_since_held:e.holder?.secondsSinceHeld??0}}:{status:r,data:null}}function kf(e){return Ya(e)?.status===401}var Ue="homepage";import{useEffect as Tf,useRef as ja,useState as wf}from"react";var Vm="data-editor-theme";function Rf(e){typeof document>"u"||document.documentElement.setAttribute(Vm,"light")}var $m=500,Pf={canCreatePlatformTemplate:!1};function qm(e){return!e||typeof e!="object"?Pf:{canCreatePlatformTemplate:e.canCreatePlatformTemplate===!0}}function Km(e,o={}){let t=o.session??se();t.auth.token=e.token,t.auth.brandId=e.brandId??null,Is(t,e.siteId),(o.stampChromeTheme??!0)&&Rf(e.theme)}function Ff(e){let[o,t]=wf(null),r=ja(null),[a,n]=wf(Pf),l=ja(e?.onAuth),s=ja(e?.onMessage);Tf(()=>{l.current=e?.onAuth,s.current=e?.onMessage});let f=zo(),d=He();return Tf(()=>{let p=f.subscribe(c=>{let x=c;if(x.type==="storefront-editor:auth"&&typeof x.token=="string"&&x.token){let I=!!r.current;r.current=x.token,t(x.token),Km({...x,token:x.token},{stampChromeTheme:f.ownsDocument,session:d}),n(qm(x.can)),l.current?.(I)}else s.current?.(c)});if(f.send("storefront-editor:ready"),!d.usesBridgedToken)return p;let u=window.setInterval(()=>{r.current?window.clearInterval(u):f.send("storefront-editor:ready")},$m);return()=>{p(),window.clearInterval(u)}},[f,d]),{token:o,tokenRef:r,capabilities:a}}var Za=new Set,Qa=new Set,Ja=new Set;function Tw(e){return Za.add(e),()=>Za.delete(e)}function Ef(){Za.forEach(e=>e())}function ww(e){return Qa.add(e),()=>Qa.delete(e)}function vf(){Qa.forEach(e=>e())}function Pw(e){return Ja.add(e),()=>Ja.delete(e)}function en(){Ja.forEach(e=>e())}var on=new Map,zm=9e5,Lf=0;function Xm(){return Lf+=1,`fe-${typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():String(Lf)}`}function Ew(e,o){e.connected&&e.send("storefront-editor:open-form",{mode:"edit",formId:o})}function vw(e,o){if(!e.connected)return Promise.resolve({status:"closed"});let t=Xm();return new Promise(r=>{let a=setTimeout(()=>Af(t,{status:"timeout"}),o.timeoutMs??zm);on.set(t,n=>{clearTimeout(a),r(n)}),e.send("storefront-editor:open-form",{requestId:t,mode:o.mode,...o.formId?{formId:o.formId}:{}})})}function Af(e,o){let t=on.get(e);t&&(on.delete(e),t(o))}function tn(e,o){Af(e,o?{status:"saved",form:o}:{status:"closed"})}function Of(e){switch(e?.type){case"storefront-editor:category-updated":return Ef(),!0;case"storefront-editor:menus-updated":return vf(),!0;case"storefront-editor:form-saved":{let t=e;return en(),t.requestId&&tn(t.requestId,t.form??null),!0}case"storefront-editor:form-closed":{let t=e;return en(),t.requestId&&tn(t.requestId,null),!0}case"storefront-editor:media-picked":{let t=e;return t.requestId&&Ka(t.requestId,t.media??null),!0}case"storefront-editor:media-pick-cancelled":{let t=e;return t.requestId&&Ka(t.requestId,null),!0}default:return!1}}var Ym={unauthorized:"the editor's sign-in was refused (unauthorized).","changed-elsewhere":"the page changed while it was being opened (changed-elsewhere).","lock-taken":"somebody else holds this page (lock-taken).","not-found":"this page no longer exists (not-found).",invalid:"the backend refused the request (invalid).",unavailable:"the backend could not be reached (unavailable)."};function rn(e){if(mr(e))return Zo(e.cause)?rn(e.cause):`${Ym[e.kind]} ${e.message}`.trim();let o=Zo(e);return o?o.status===xr?`${df()} (no response)`:o.status===401||o.status===403?`the editor's sign-in was refused (${o.status}). Reload the console and open the editor again; if it keeps happening the bridged token is not valid for this site.`:o.status===404?"this page no longer exists (404).":o.status>=500?`the server failed (${o.status}). ${o.message}`:`the server refused the request (${o.status}). ${o.message}`:e instanceof Error?`${e.name}: ${e.message}`:String(e)}function Bf(e,o){return ff(e,o)}var jm={"Logos.logosPerRow":"columns","HeroSlide.tintOpacity":"overlay","Split.textBgTint":"overlay"};function Zm(e){return Array.isArray(e)&&e.length>0&&e.every(o=>!!o&&typeof o=="object"&&typeof o.type=="string")}function an(e){let o=e.props,t=!1;if(e.type&&o)for(let[r,a]of Object.entries(jm)){let n=r.indexOf("."),l=r.slice(0,n),s=r.slice(n+1);if(l!==e.type||!(s in o))continue;let f=o[s],d={...o};delete d[s],(!(a in d)||d[a]===void 0)&&(d[a]=f),o=d,t=!0}if(o){let r=o;for(let[a,n]of Object.entries(o)){if(!Zm(n))continue;let l=n.map(an);l.some((s,f)=>s!==n[f])&&(r===o&&(r={...o}),r[a]=l,t=!0)}o=r}return t?{...e,props:o}:e}function Df(e){let o=e;if(!o||typeof o!="object")return e;let t=!1,r={...e};if(Array.isArray(o.content)){let a=o.content.map(an);a.some((n,l)=>n!==o.content[l])&&(r.content=a,t=!0)}if(o.zones&&typeof o.zones=="object"){let a=!1,n=Object.fromEntries(Object.entries(o.zones).map(([l,s])=>{if(!Array.isArray(s))return[l,s];let f=s.map(an);return f.some((d,p)=>d!==s[p])&&(a=!0),[l,f]}));a&&(r.zones=n,t=!0)}return t?r:e}import{canWriteDocument as vo,holderOf as ox,newEaselClientId as tx,reloadIfVersionMoved as rx}from"efficient-easel/edit-lock";import{useAutosave as ax}from"efficient-easel/autosave";import{createEditLock as Qm}from"efficient-easel/edit-lock";var gr=Qm({readFailure:Ya,conflictCode:Xa});import{jsx as sx}from"react/jsx-runtime";var nx={content:[],root:{},zones:{}};function lx(e,o){if(e.kind!==o.kind)return!1;if(e.kind==="template"){let r=o;return e.id===r.id&&(e.pageSlug??Ue)===(r.pageSlug??Ue)}let t=o;return e.slug===t.slug&&e.siteId===t.siteId}var Qo=Jm(null);function _f(){let e=ex(Qo);if(!e)throw new Error("useStorefrontDocument must be used within StorefrontDocumentProvider");return e}function fP({target:e,children:o}){let[t,r]=Le(e),a=zo(),n=He(),l=nn(()=>ke(n),[n]),s=t.kind==="template",f=t.kind==="template"?t.id:null,d=t.kind==="template"?t.pageSlug??Ue:t.slug,p=t.kind==="page"?t.siteId??null:null,u=nn(()=>Et(n),[n]),c=nn(()=>t.kind==="template"?Cf(t.id,l,u):yf(t.siteId,l,u),[l,u,t.kind,t.kind==="template"?t.id:t.siteId]),x=c.capabilities,I=U(h=>n.documentHooks?.stored?.(h)??h,[n]),g=t.kind==="page"?t.originSlug??null:null;Re(()=>{xs(n,p)},[n,p]);let b=de(t);Re(()=>{b.current=t},[t]);let{token:R,tokenRef:w,capabilities:k}=Ff({onMessage:h=>{if(Of(h))return;if(h?.type==="storefront-editor:navigate"){let G=h;G?.target&&ms(G.target)}}}),_=n.usesBridgedToken?R!==null:!0,V=c.lock,pe=!!l.lock,[L,oe]=Le(null),[to,le]=Le(null),[M,Pe]=Le(null),[_e,ye]=Le(null),Q=de(null),[ro,Ne]=Le(!1),S=de(null),[K,J]=Le(null),z=de(null),[Ho,bt]=Le(null),Fe=de(null);Re(()=>{Fe.current=Ho},[Ho]);let[Co,ao]=Le(x.hasEditLock?{kind:"checking"}:{kind:"editing"}),me=de(Co);Re(()=>{me.current=Co},[Co]);let ko=de(()=>Promise.resolve(!1)),Go=U(h=>{Q.current=h,Ne(!0)},[]),Jt=ax({save:async({id:h,data:y})=>{if(!vo(me.current)){Go({id:h,data:y});return}if(!await ko.current(h,y)){if(!vo(me.current)){Go({id:h,data:y});return}throw new Error("page save did not land")}},onFailure:(h,y)=>{y===0&&a.send("storefront-editor:save-failed")}}),{state:xe,push:Ie,flush:te,pause:Ye,resume:Uo,stop:St,reset:yt,retryNow:er,hasPending:Me}=Jt,Ee=de(xe);Re(()=>{Ee.current=xe},[xe]);let Ro=uf(xe),Wo=U(()=>{let h=Q.current;h&&(Q.current=null,Ne(!1),Ie(h))},[Ie]),Vo=de("");Vo.current||(Vo.current=tx());let[da,ca]=Le(0),C=de(!1),P=e.kind==="page"&&e.slug===je,[E,D]=Le(e.kind==="template"||P),Ce=de(!1);Re(()=>{if(Ce.current)return;Ce.current=!0;let h=a.address.search();if(e.kind==="page"&&e.slug===je){let y=Ua(),G=y&&y!==je?y:Ue;a.address.load({kind:"page",slug:G,siteId:e.siteId});return}if(e.kind==="template"){if(new URLSearchParams(h).get("editTemplate")==="1"){D(!1);return}a.address.load({kind:"page",slug:Ue})}},[e,a]);let X=a.send;Re(()=>{if(!_)return;let h=!1,y=c.resolve(d),G=n.documentHooks?.opening?.({slug:d,isTemplate:s,capabilities:x});return y.then(async B=>{if(h)return;if(!B){if(!s&&d!==Ue){a.address.load({kind:"page",slug:Ue,siteId:p??void 0});return}ye(s?"Couldn\u2019t open a page in this template.":`No storefront page with slug "${d}".`);return}oe(B.id),le(B.kind??null),z.current=B.version??null;let Y=B.layout,he=Y&&Object.keys(Y).length?Y:nx,ge=Df(he),hp=G?await G(ge):ge;h||Pe(hp)}).catch(B=>{h||(console.error("[storefront-editor] document load failed",B),ye(Bf(B,{slug:d})??`Could not load the document \u2014 ${rn(B)}`))}),()=>{h=!0}},[_,R,s,c,d]);let Ct=U(h=>new Promise(y=>{let G=Date.now(),B=setInterval(()=>{let Y=w.current;Y&&Y!==h?(clearInterval(B),y(Y)):Date.now()-G>6e3&&(clearInterval(B),y(null))},200)}),[]),ie=U(async h=>{let y=w.current;if(!y&&n.usesBridgedToken)return{ok:!1,error:new Error("no editor token")};try{return{ok:!0,value:await h(y??"")}}catch(G){if(kf(G)){X("storefront-editor:auth-expired");let B=y?await Ct(y):null;if(B)try{return{ok:!0,value:await h(B)}}catch(Y){return{ok:!1,error:Y}}}return{ok:!1,error:G}}},[X,Ct,n]),sp=U(async h=>{let y=w.current?await ie(h):{ok:!1,error:new Error("no editor token")};return y.ok||X("storefront-editor:save-failed"),y.ok},[X,ie]),or=U(async(h,y,G=!1)=>{if(!vo(me.current)||Fe.current)return!1;let B=await ie(()=>c.saveLayout(h,y,z.current,Vo.current));if(B.ok)return z.current=B.value.version??z.current,!0;let Y=gr.readLockTaken(B.error);if(Y){let ge={kind:"takenover",holder:Y};return me.current=ge,ao(ge),!1}let he=gr.readSaveConflict(B.error);if(he){if(he.savedByYou&&!G&&c.rereadVersion){let ge=await ie(()=>c.rereadVersion(h));if(ge.ok&&ge.value)return z.current=ge.value,ko.current(h,y,!0)}St(),Fe.current=he,bt(he)}return!1},[c,ie,St]);Re(()=>{ko.current=or},[or]);let fp=U(h=>{if(X("storefront-editor:dirty"),!L)return;let y=I(h);if(S.current=y,!vo(me.current)){Go({id:L,data:y});return}Ie({id:L,data:y})},[L,X,Go,Ie,I]),$o=U(async()=>(vo(me.current)&&Wo(),await te()&&Q.current==null),[Wo,te]),us=de($o);Re(()=>{us.current=$o},[$o]);let ua=de(ie);Re(()=>{ua.current=ie},[ie]);let pa=U(()=>{a.address.reload()},[a]),ps=de(()=>Promise.resolve(!1));Re(()=>{ps.current=()=>{let h=c.rereadVersion;return!L||!h?Promise.resolve(!1):rx({ours:z.current,stored:async()=>{let y=await ua.current(()=>h(L));return y.ok?y.value:null},hasPending:()=>Q.current!=null||Me(),reload:pa})}},[c,L,Me,pa]),Re(()=>{if(!V||!L||!_)return;let h=!1,y=null,G=Vo.current,B=gr.makeClaimBeat({claim:async he=>{let ge=await ua.current(()=>V.claim(L,G,he));if(ge.ok)return{heartbeat_seconds:ge.value.heartbeatSeconds};throw ge.error},cancelled:()=>h,currentAccess:()=>me.current,heldWrite:()=>({pending:Q.current!=null||Me(),autoSaveEnabled:!Ee.current.paused,saveConflict:Fe.current!=null}),setAccess:he=>{me.current=he,ao(he)},releaseHeldWrite:()=>{us.current()},startHeartbeat:he=>{y=setInterval(()=>{B(!1)},he)},stopHeartbeat:()=>{y&&(clearInterval(y),y=null)},reloadIfMoved:()=>{ps.current()}}),Y=C.current;return C.current=!1,Y||ao({kind:"checking"}),B(Y),()=>{h=!0,y&&clearInterval(y),V.release(L,G).catch(()=>{})}},[L,V,_,R,da]);let ip=U(()=>{!V||!L||(C.current=!0,ca(h=>h+1))},[L,V]),dp=U(()=>{ao(h=>{let y=h.kind==="blocked"||h.kind==="takenover"?h.holder:null;return y?{kind:"readonly",holder:y}:h})},[]),cp=U(()=>{Ee.current.paused?(vo(me.current)&&Wo(),Uo()):Ye()},[Wo,Ye,Uo]),up=U(()=>{er()},[er]),To=U(h=>{if(S.current=null,pf(h.kind!=="template"&&pe,{resetAutosave:()=>{yt(),Q.current=null,Ne(!1)},setVersion:y=>{z.current=y},setSaveConflict:bt,setAccess:ao}),h.kind==="page"){let y=Ua();h.slug!==je&&h.slug!==y&&Wa()}else Wa();r(h),oe(null),le(null),Pe(null),ye(null),a.address.show(h),h.kind==="page"&&h.slug!==je&&a.send("storefront-editor:navigated",{target:h})},[yt,a,pe]),ms=U(h=>{if(lx(h,b.current))return;let y=Q.current!=null;if(!y&&!Me()){To(h);return}let G=Ee.current;if(y||G.paused||G.failed||G.stopped){J(h);return}te().then(B=>{B?To(h):J(h)})},[To,Me,te]),pp=U(()=>J(null),[]),mp=U(()=>{J(h=>(h&&To(h),null))},[To]),xp=U(async()=>{let h=K;if(!h)return;await $o()&&(J(null),To(h))},[K,$o,To]),Ip=U(async h=>{if(!L||!vo(me.current)||Fe.current)return;let y=I(h);if(!await or(L,y)){Fe.current||X("storefront-editor:save-failed");return}let B=c.publish;if(!x.canPublish||!B){X("storefront-editor:saved");return}let Y=await ie(()=>B(L,z.current??void 0));if(!Y.ok){X("storefront-editor:save-failed");return}z.current=Y.value.version??z.current,X("storefront-editor:published")},[L,c,x.canPublish,X,or,ie,I]);return sx(Qo.Provider,{value:{target:t,adapter:c,capabilities:x,templateId:f,currentSlug:d,currentKind:to,siteId:p,ready:_,token:R,tokenRef:w,notifyParent:X,bridgeCapabilities:k,runAuthed:sp,docId:L,data:M,getLiveData:()=>S.current??M,footerOriginSlug:g,error:_e,redirecting:E,saveStatus:Ro,saveState:xe,autoSaveEnabled:!xe.paused,autoSaveStoppedByConflict:xe.stopped,hasUnsavedEdits:xe.pending||ro,toggleAutoSave:cp,retrySave:up,onChange:fp,flushSave:$o,onPublish:Ip,access:Co,readOnly:ox(Co)!==null,takeOverEditing:ip,viewReadOnly:dp,saveConflict:Ho,reloadFromServer:pa,navigate:ms,pendingNav:K,cancelPendingNav:pp,discardAndNavigate:mp,saveAndNavigate:xp},children:o})}import{useMemo as fx}from"react";import{useEasel as ix}from"efficient-easel/easel";function Nf(e={}){let{dispatch:o}=ix(r=>r),t=e.readOnly===!0;return fx(()=>{let r=(n,l,s)=>{let f=Po(l);return t||o({type:"insert",componentType:l,destinationZone:n,destinationIndex:s,id:f}),f},a=(n,l,s)=>{t||o({type:"replace",destinationZone:n,destinationIndex:l,data:s})};return{insertComponent:r,insertSection:(n,l)=>r(Fa,n,l),replaceComponent:a,seedChild:(n,l,s,f)=>{let d=r(n,s,l);a(n,l,{type:s,props:{id:d,...f}})},insertNode:(n,l,s)=>{let f=r(n,s.type,l);return a(n,l,{type:s.type,props:{...s.props,id:f}}),f},removeComponent:(n,l)=>{t||o({type:"remove",index:l,zone:n})},reorderComponent:(n,l,s)=>{t||o({type:"reorder",sourceIndex:l,destinationIndex:s,destinationZone:n})},duplicateComponent:(n,l)=>{t||o({type:"duplicate",sourceIndex:l,sourceZone:n})},select:n=>o({type:"setUi",ui:{itemSelector:n}}),setDocument:n=>{t||o({type:"setData",data:n})},commitDocument:n=>{t||o({type:"setData",data:()=>n,recordHistory:!0})}}},[o,t])}import{createContext as dx,useContext as cx}from"react";var ux=dx("desktop"),ln=()=>cx(ux);function fe(e,o){if(typeof e=="string")return e||o;if(e&&typeof e=="object"&&"text"in e){let t=e.text;return typeof t=="string"&&t?t:o}return o}function Mf(e,o){return typeof e=="number"&&Number.isFinite(e)?e:o}function Hf(e,o){return typeof e=="boolean"?e:o}function br(e,o){if(!Array.isArray(e))return o;let t=e.map(r=>typeof r=="string"?r:fe(r?.text,"")).map(r=>r.trim()).filter(Boolean);return t.length?t:o}var Gf="cart-drawer",bP="cart-drawer";var px={kickerBadge:"",kickerText:"Your order",titleLead:"Your",titleAccent:"cart.",subtitleEmpty:"Empty for now.",subtitleOne:"One set in your cart.",subtitleMany:"{count} sets in your cart.",leadTimeValue:"",shipsToFallback:"",promises:[],emptyKicker:"No wheels yet",emptyBody:"Your cart is empty. Pick a wheel to get started."};function SP(e,o){return o===0?e.subtitleEmpty:o===1?e.subtitleOne:e.subtitleMany.replace("{count}",String(o))}function yP(e){let o=e??{},t=px;return{kickerBadge:fe(o.kickerBadge,t.kickerBadge),kickerText:fe(o.kickerText,t.kickerText),titleLead:fe(o.titleLead,t.titleLead),titleAccent:fe(o.titleAccent,t.titleAccent),subtitleEmpty:fe(o.subtitleEmpty,t.subtitleEmpty),subtitleOne:fe(o.subtitleOne,t.subtitleOne),subtitleMany:fe(o.subtitleMany,t.subtitleMany),leadTimeValue:fe(o.leadTimeValue,t.leadTimeValue),shipsToFallback:fe(o.shipsToFallback,t.shipsToFallback),promises:br(o.promises,t.promises),emptyKicker:fe(o.emptyKicker,t.emptyKicker),emptyBody:fe(o.emptyBody,t.emptyBody)}}var mx=["meta","eyebrow","heading","body","statName","statValue","formEyebrow","formHeading","formIntro","fieldLabel","option","finePrint","dismiss","doneHeading","doneBody"],RP={meta:"Meta line",eyebrow:"Eyebrow",heading:"Heading",body:"Body",statName:"Stat name",statValue:"Stat value",formEyebrow:"Form eyebrow",formHeading:"Form heading",formIntro:"Form intro",fieldLabel:"Field label",option:"Option",finePrint:"Fine print",dismiss:"Dismiss link",doneHeading:"Success heading",doneBody:"Success message"},xx={meta:"styleMeta",eyebrow:"styleEyebrow",heading:"styleHeading",body:"styleBody",statName:"styleStatName",statValue:"styleStatValue",formEyebrow:"styleFormEyebrow",formHeading:"styleFormHeading",formIntro:"styleFormIntro",fieldLabel:"styleFieldLabel",option:"styleOption",finePrint:"styleFinePrint",dismiss:"styleDismiss",doneHeading:"styleDoneHeading",doneBody:"styleDoneBody"},TP={meta:{font:"--pp-meta-font",size:"--pp-meta-size"},eyebrow:{font:"--pp-eyebrow-font",size:"--pp-eyebrow-size"},heading:{font:"--pp-heading-font",size:"--pp-heading-size"},body:{font:"--pp-body-font",size:"--pp-body-size"},statName:{font:"--pp-statname-font",size:"--pp-statname-size"},statValue:{font:"--pp-statvalue-font",size:"--pp-statvalue-size"},formEyebrow:{font:"--pp-formeyebrow-font",size:"--pp-formeyebrow-size"},formHeading:{font:"--pp-formheading-font",size:"--pp-formheading-size"},formIntro:{font:"--pp-formintro-font",size:"--pp-formintro-size"},fieldLabel:{font:"--pp-fieldlabel-font",size:"--pp-fieldlabel-size"},option:{font:"--pp-option-font",size:"--pp-option-size"},finePrint:{font:"--pp-fineprint-font",size:"--pp-fineprint-size"},dismiss:{font:"--pp-dismiss-font",size:"--pp-dismiss-size"},doneHeading:{font:"--pp-doneheading-font",size:"--pp-doneheading-size"},doneBody:{font:"--pp-donebody-font",size:"--pp-donebody-size"}};function Ix(e){return typeof e=="string"&&Rt.includes(e)?e:null}function Uf(e){let o={};for(let t of mx){let r=Ix(e[xx[t]]);r&&(o[t]=r)}return o}var hx="subscribe-popup",LP="subscribe-popup";var gx=[hx,je,Gf];function $f(e){return gx.includes(e)}var bx=["delay","scroll","exit"],Sx=["all","chosen"],yx=["visit","days","never"],Cx=["right","left"],kx={min:0,max:60},Rx={min:10,max:90},Tx={min:1,max:90},fn={metaLabel:"Meta label",issueLabel:"Label",issueNumber:"00",kicker:"Kicker",heading:`Main heading
2
- *Highlight line*`,deck:"Add a sentence or two of supporting copy.",stats:[{label:"Label",value:"Value"},{label:"Label",value:"Value"},{label:"Label",value:"Value"},{label:"Label",value:"Value"}],formLabel:"Section label",formHeading:"Main heading *highlight*",formIntro:"Add a sentence or two of supporting copy.",firstNameLabel:"Field label",firstNamePlaceholder:"Placeholder",emailLabel:"Field label",emailPlaceholder:"Placeholder",interestsLabel:"Field label",interests:["Option one","Option two","Option three"],frequencyLabel:"Field label",frequencies:["Option one","Option two","Option three"],submitText:"Button label",finePrint:"Fine print",dismissText:"Dismiss link",emailInvalidText:"Enter a valid email address.",submitErrorText:"Could not subscribe right now. Please try again.",successHeading:"Main heading *highlight*",successBody:"Add a sentence or two of supporting copy \u2014 the {email} and {issue} tokens are substituted here.",keepBrowsingText:"Button label",autoOpen:!1,autoOpenDelaySec:15,formSlug:"",trigger:"delay",scrollPercent:50,showOn:"all",showOnPages:[],hideAfter:"days",hideDays:7,formSide:"right",valuePanelOnPhone:!1,sectionAccent:void 0,sectionCorners:void 0,sectionCornerSides:void 0,textStyles:{}},H=fe,wx=Mf,Wf=Hf,qf=br;function Sr(e,o,t){return typeof o=="string"&&e.includes(o)?o:t}function sn(e,o,t){let r=wx(e,t);return Math.min(o.max,Math.max(o.min,Math.round(r)))}function Px(e){return typeof e.hideAfter=="string"?Sr(yx,e.hideAfter,fn.hideAfter):e.oncePerSession===!0?"visit":e.oncePerSession===!1?"never":fn.hideAfter}function Fx(e){return Array.isArray(e)?e.map(o=>typeof o=="string"?o.trim():"").filter(Boolean).map(o=>o.startsWith("/")?o:`/${o}`):[]}function Vf(e,o){if(e==null)return o;let t=r=>r.trim()?r:"";if(typeof e=="string")return t(e);if(typeof e=="object"&&"text"in e){let r=e.text;return typeof r=="string"?t(r):""}return o}function Ex(e,o){return Array.isArray(e)?qf(e,[]):o}function vx(e,o){return Array.isArray(e)?e.map(t=>{let r=t??{};return{label:H(r.label,""),value:H(r.value,"")}}).filter(t=>t.label||t.value):o}function AP(e){let o=e??{},t=fn;return{metaLabel:H(o.metaLabel,t.metaLabel),issueLabel:Vf(o.issueLabel,t.issueLabel),issueNumber:Vf(o.issueNumber,t.issueNumber),kicker:H(o.kicker,t.kicker),heading:H(o.heading,t.heading),deck:H(o.deck,t.deck),stats:vx(o.stats,t.stats),formLabel:H(o.formLabel,t.formLabel),formHeading:H(o.formHeading,t.formHeading),formIntro:H(o.formIntro,t.formIntro),firstNameLabel:H(o.firstNameLabel,t.firstNameLabel),firstNamePlaceholder:H(o.firstNamePlaceholder,t.firstNamePlaceholder),emailLabel:H(o.emailLabel,t.emailLabel),emailPlaceholder:H(o.emailPlaceholder,t.emailPlaceholder),interestsLabel:H(o.interestsLabel,t.interestsLabel),interests:qf(o.interests,t.interests),frequencyLabel:H(o.frequencyLabel,t.frequencyLabel),frequencies:Ex(o.frequencies,t.frequencies),submitText:H(o.submitText,t.submitText),finePrint:H(o.finePrint,t.finePrint),dismissText:H(o.dismissText,t.dismissText),emailInvalidText:H(o.emailInvalidText,t.emailInvalidText),submitErrorText:H(o.submitErrorText,t.submitErrorText),successHeading:H(o.successHeading,t.successHeading),successBody:H(o.successBody,t.successBody),keepBrowsingText:H(o.keepBrowsingText,t.keepBrowsingText),formSlug:typeof o.formSlug=="string"?o.formSlug.trim():t.formSlug,autoOpen:Wf(o.autoOpen,t.autoOpen),autoOpenDelaySec:sn(o.autoOpenDelaySec,kx,t.autoOpenDelaySec),trigger:Sr(bx,o.trigger,t.trigger),scrollPercent:sn(o.scrollPercent,Rx,t.scrollPercent),showOn:Sr(Sx,o.showOn,t.showOn),showOnPages:Fx(o.showOnPages),hideAfter:Px(o),hideDays:sn(o.hideDays,Tx,t.hideDays),formSide:Sr(Cx,o.formSide,t.formSide),valuePanelOnPhone:Wf(o.valuePanelOnPhone,t.valuePanelOnPhone),sectionAccent:o.sectionAccent,sectionCorners:o.sectionCorners,sectionCornerSides:o.sectionCornerSides,textStyles:Uf(o)}}import{Fragment as Lt,jsx as ce,jsxs as At}from"react/jsx-runtime";var Lx={eye:At(Lt,{children:[ce("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7S2 12 2 12z"}),ce("circle",{cx:"12",cy:"12",r:"2.6"})]}),"eye-off":ce("path",{d:"M3 3l18 18M10.6 10.6a2 2 0 002.8 2.8M9.4 5.2A9.7 9.7 0 0112 5c7 0 10 7 10 7a16 16 0 01-3.6 4.4M6.1 6.1A16 16 0 002 12s3 7 10 7a9.6 9.6 0 004.1-.9"}),search:At(Lt,{children:[ce("circle",{cx:"11",cy:"11",r:"7"}),ce("path",{d:"M21 21l-3.8-3.8"})]}),"external-link":At(Lt,{children:[ce("path",{d:"M14 4h6v6"}),ce("path",{d:"M20 4l-9 9"}),ce("path",{d:"M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5"})]}),pencil:At(Lt,{children:[ce("path",{d:"M12 20h9"}),ce("path",{d:"M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4 12.5-12.5z"})]}),trash:At(Lt,{children:[ce("path",{d:"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2m2 0v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"}),ce("path",{d:"M10 11v6M14 11v6"})]}),"chevron-right":ce("path",{d:"M9 6l6 6-6 6"})};function Jo({name:e,size:o,strokeWidth:t=1.8,rounded:r=!1,className:a,style:n}){return ce("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:r?"round":void 0,strokeLinejoin:r?"round":void 0,className:a,style:n,"aria-hidden":"true",children:Lx[e]})}import{createContext as Ax,useCallback as Ox,useContext as Bx,useState as Dx}from"react";import{jsx as _x}from"react/jsx-runtime";var Kf={enabled:!0,title:"",subtitle:"",greeting:""},zf=Ax({chat:Kf,setChat:()=>{},selected:!1,setSelected:()=>{},select:()=>{},setSelectHandler:()=>{}});function MP({children:e,chat:o=Kf,onChatChange:t}){let[r,a]=Dx(!1),n=Ox(f=>t?.(f),[t]),{select:l,setSelectHandler:s}=Cs();return _x(zf.Provider,{value:{chat:o,setChat:n,selected:r,setSelected:a,select:l,setSelectHandler:s},children:e})}var HP=()=>Bx(zf);import{createContext as Nx,useCallback as Xf,useContext as Mx,useMemo as Hx,useRef as Gx}from"react";import{jsx as Wx}from"react/jsx-runtime";var Ux=Object.fromEntries(vs.map(e=>[e,{value:"",error:null}])),Yf=Nx({links:Ls,rows:Ux,canSave:!1,saveLink:async()=>({ok:!1,error:"There is no website to save to."}),openPanel:()=>{},setOpenHandler:()=>{}});function $P({children:e,value:o}){let t=Gx(()=>{}),r=Xf(()=>t.current(),[]),a=Xf(l=>{t.current=l},[]),n=Hx(()=>({...o,openPanel:r,setOpenHandler:a}),[o,r,a]);return Wx(Yf.Provider,{value:n,children:e})}var qP=()=>Mx(Yf);var YP="Scrolling Bar",{Provider:jP,useSelection:jf}=tr("selectedHeroId");import{BlockBannerIcon as qx,BlockBoxIcon as Kx,BlockButtonIcon as zx,BlockDividerIcon as Qf,BlockFooterIcon as Jf,BlockHeadingIcon as Xx,BlockProductIcon as Yx,BlockSocialIcon as jx,BlockTextIcon as Zx,ChatIcon as Qx,GridIcon as Jx,ImageIcon as eI,PageIcon as oI}from"efficient-easel/icons";import{Fragment as Vx,jsx as dn,jsxs as $x}from"react/jsx-runtime";var Zf=$x(Vx,{children:[dn("circle",{cx:"9",cy:"20",r:"1.3"}),dn("circle",{cx:"18",cy:"20",r:"1.3"}),dn("path",{d:"M2.5 3.5h3l2.3 11.3a1.6 1.6 0 0 0 1.6 1.3h8.1a1.6 1.6 0 0 0 1.6-1.2L21 7H6"})]});import{Fragment as F,jsx as m,jsxs as v}from"react/jsx-runtime";var tI={header:v(F,{children:[m("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),m("path",{d:"M3 9.5h18"})]}),website:v(F,{children:[m("circle",{cx:"12",cy:"12",r:"9"}),m("path",{d:"M3 12h18M12 3c2.6 2.7 2.6 15.3 0 18M12 3c-2.6 2.7-2.6 15.3 0 18"})]}),social:v(F,{children:[m("circle",{cx:"6",cy:"12",r:"2.5"}),m("circle",{cx:"18",cy:"6",r:"2.5"}),m("circle",{cx:"18",cy:"18",r:"2.5"}),m("path",{d:"M8.2 10.8l7.6-3.6M8.2 13.2l7.6 3.6"})]}),ticker:v(F,{children:[m("rect",{x:"3",y:"8.5",width:"18",height:"7",rx:"2"}),m("path",{d:"M6 12h3.5M11.5 12h2M15.5 12h2.5"})]}),FooterLogo:v(F,{children:[m("path",{d:"M4 15.5h6M4 18h4"}),m("path",{d:"M14 8.5l3 7 3-7"})]}),FooterMenu:m("path",{d:"M6 7h12M6 11h12M6 15h8M6 19h8"}),FooterGroup:v(F,{children:[m("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",strokeDasharray:"3 2.5"}),m("path",{d:"M8 9h8M8 13h8M8 16h5"})]}),FooterText:m("path",{d:"M5 7h14M5 12h14M5 17h9"}),FooterEmailSignup:v(F,{children:[m("rect",{x:"3",y:"6",width:"18",height:"12",rx:"2"}),m("path",{d:"M3.5 7l8.5 6 8.5-6"})]}),SearchBlock:v(F,{children:[m("circle",{cx:"11",cy:"11",r:"6"}),m("path",{d:"M20 20l-4.2-4.2"})]}),CartBlock:Zf,CountrySwitchBlock:v(F,{children:[m("circle",{cx:"12",cy:"12",r:"8.5"}),m("path",{d:"M3.5 12h17M12 3.5c2.6 2.4 3.6 5.2 3.6 8.5s-1 6.1-3.6 8.5M12 3.5c-2.6 2.4-3.6 5.2-3.6 8.5s1 6.1 3.6 8.5"})]}),LegalLineBlock:v(F,{children:[m("path",{d:"M3 9h18"}),m("path",{d:"M3 14h8M14 14h2M18 14h3"})]}),Hero:v(F,{children:[m("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),m("path",{d:"M7 13.5h7M7 16.5h10"})]}),HeroSlide:v(F,{children:[m("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2"}),m("path",{d:"M7 15h6M16 9.5h.01M9.5 12l-2.5 3"})]}),HeroSingle:v(F,{children:[m("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),m("path",{d:"M10.5 8.5l4 2.5-4 2.5z"}),m("path",{d:"M7 17h7"})]}),Collections:v(F,{children:[m("rect",{x:"3",y:"5",width:"4.6",height:"14",rx:"1.3"}),m("rect",{x:"9.7",y:"5",width:"4.6",height:"14",rx:"1.3"}),m("rect",{x:"16.4",y:"5",width:"4.6",height:"14",rx:"1.3"})]}),CollectionCard:v(F,{children:[m("rect",{x:"6",y:"4",width:"12",height:"16",rx:"2"}),m("path",{d:"M9 15h6M9 17.5h4"})]}),AlloyWheelsListing:v(F,{children:[m("path",{d:"M3 5h5M3 9h5M3 13h5M3 17h5"}),m("rect",{x:"11.5",y:"5",width:"4.2",height:"5",rx:"1"}),m("rect",{x:"17.3",y:"5",width:"4.2",height:"5",rx:"1"}),m("rect",{x:"11.5",y:"12",width:"4.2",height:"5",rx:"1"}),m("rect",{x:"17.3",y:"12",width:"4.2",height:"5",rx:"1"})]}),CatalogFilterBar:v(F,{children:[m("path",{d:"M3 7h9M15.5 7H21"}),m("circle",{cx:"13.5",cy:"7",r:"1.7"}),m("path",{d:"M3 12h4M10.5 12H21"}),m("circle",{cx:"8.5",cy:"12",r:"1.7"}),m("path",{d:"M3 17h9M15.5 17H21"}),m("circle",{cx:"13.5",cy:"17",r:"1.7"})]}),ProductGrid:v(F,{children:[m("rect",{x:"3",y:"5",width:"4.8",height:"6",rx:"1"}),m("rect",{x:"9.6",y:"5",width:"4.8",height:"6",rx:"1"}),m("rect",{x:"16.2",y:"5",width:"4.8",height:"6",rx:"1"}),m("rect",{x:"3",y:"13",width:"4.8",height:"6",rx:"1"}),m("rect",{x:"9.6",y:"13",width:"4.8",height:"6",rx:"1"}),m("rect",{x:"16.2",y:"13",width:"4.8",height:"6",rx:"1"})]}),RelatedProducts:v(F,{children:[m("path",{d:"M3 5h10"}),m("rect",{x:"3",y:"9.5",width:"5",height:"9",rx:"1"}),m("rect",{x:"9.5",y:"9.5",width:"5",height:"9",rx:"1"}),m("rect",{x:"16",y:"9.5",width:"5",height:"9",rx:"1"})]}),Gallery:v(F,{children:[m("rect",{x:"3",y:"4",width:"11",height:"16",rx:"2"}),m("rect",{x:"15.5",y:"4",width:"5.5",height:"7.5",rx:"1.5"}),m("rect",{x:"15.5",y:"12.5",width:"5.5",height:"7.5",rx:"1.5"})]}),GalleryB:v(F,{children:[m("rect",{x:"3.5",y:"4",width:"7.5",height:"7.5",rx:"1.5"}),m("rect",{x:"13",y:"4",width:"7.5",height:"7.5",rx:"1.5"}),m("rect",{x:"3.5",y:"12.5",width:"7.5",height:"7.5",rx:"1.5"}),m("rect",{x:"13",y:"12.5",width:"7.5",height:"7.5",rx:"1.5"})]}),GalleryItem:v(F,{children:[m("rect",{x:"4",y:"5",width:"16",height:"14",rx:"2"}),m("circle",{cx:"9",cy:"10",r:"1.6"}),m("path",{d:"M20 15.5l-4.5-4L7 19"})]}),Events:v(F,{children:[m("rect",{x:"4",y:"5",width:"16",height:"15",rx:"2"}),m("path",{d:"M4 9.5h16M8.5 3v4M15.5 3v4M8 14h2M14 14h2"})]}),PostCard:v(F,{children:[m("rect",{x:"4",y:"3.5",width:"16",height:"17",rx:"2"}),m("rect",{x:"6.5",y:"6",width:"11",height:"6",rx:"1"}),m("path",{d:"M6.5 14.5h11M6.5 17.5h7"})]}),Manifesto:v(F,{children:[m("path",{d:"M7 8h3.2v4c0 1.6-1 2.6-3 3.2"}),m("path",{d:"M14 8h3.2v4c0 1.6-1 2.6-3 3.2"})]}),Stats:v(F,{children:[m("path",{d:"M3.5 20h17"}),m("path",{d:"M6 20v-7M11 20V7M16 20v-5M20.5 20v-9"})]}),Logos:v(F,{children:[m("circle",{cx:"6",cy:"12",r:"2.6"}),m("rect",{x:"10",y:"9.4",width:"5.2",height:"5.2",rx:"1.2"}),m("path",{d:"M19 9.2l2.4 5h-4.8z"})]}),Ticker:v(F,{children:[m("rect",{x:"3",y:"8.5",width:"18",height:"7",rx:"2"}),m("path",{d:"M6 12h3.5M11.5 12h2M15.5 12h2.5"})]}),SectionHeader:v(F,{children:[m("rect",{x:"3.5",y:"6",width:"5",height:"5",rx:"1.2"}),m("path",{d:"M11 8.5h9M3.5 15.5h17"})]}),IntroBleed:v(F,{children:[m("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),m("path",{d:"M3 13.5h18M7 16.8h6"})]}),Split:v(F,{children:[m("rect",{x:"3",y:"5",width:"8",height:"14",rx:"1.5"}),m("path",{d:"M14 8.5h6M14 12h6M14 15.5h4"})]}),Eyebrow:v(F,{children:[m("path",{d:"M4 8.5h4.5M11 8.5h9"}),m("path",{d:"M4 14.5h16"})]}),HeroGroup:v(F,{children:[m("rect",{x:"3.5",y:"4.5",width:"17",height:"15",rx:"2"}),m("path",{d:"M7 9h8M7 12.5h10M7 16h6"})]}),Form:v(F,{children:[m("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"}),m("path",{d:"M6.5 9h11M6.5 12.5h11"}),m("rect",{x:"6.5",y:"15",width:"6.5",height:"2.6",rx:"1.3"})]}),LogoBlock:m(F,{children:m("path",{d:"M12 3.5l7.5 3.2v5.1c0 4.2-3.2 7.1-7.5 8.7-4.3-1.6-7.5-4.5-7.5-8.7V6.7z"})}),Spacer:v(F,{children:[m("path",{d:"M12 4v6M9.5 6.5L12 4l2.5 2.5M12 20v-6M9.5 17.5L12 20l2.5-2.5"}),m("path",{d:"M5 13h14",strokeDasharray:"2 2.5"})]}),ContactRouting:v(F,{children:[m("rect",{x:"3",y:"4",width:"5",height:"5",rx:"1"}),m("rect",{x:"9.5",y:"4",width:"5",height:"5",rx:"1"}),m("rect",{x:"16",y:"4",width:"5",height:"5",rx:"1"}),m("path",{d:"M4 13.5h11M4 17.5h7"}),m("path",{d:"M17 15l3 2-3 2"})]}),CustomHTML:m("path",{d:"M9 8l-4 4 4 4M15 8l4 4-4 4"})},rI=m("rect",{x:"4",y:"4",width:"16",height:"16",rx:"2.5"}),aI={footer:Jf,Footer:Jf,Divider:Qf,FooterDivider:Qf,Banner:qx,Flex:Kx,FooterSocial:jx,page:oI,chat:Qx,Heading:Xx,Text:Zx,ImageBlock:eI,ButtonBlock:zx,Grid:Jx,ProductRef:Yx},nI={MenuBlock:"FooterMenu",EmailFormBlock:"FooterEmailSignup",SocialLogosBlock:"FooterSocial",SiteHeader:"header",SiteFooter:"footer"};function lI({type:e,size:o=16,className:t}){let r=nI[e]??e,a=aI[r];return a?m(a,{size:o,className:t}):m("svg",{width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.7,strokeLinecap:"round",strokeLinejoin:"round",className:t,"aria-hidden":"true",children:tI[r]??rI})}function nF(){return{type:po,props:{id:Po(po)}}}function lF(e){let o=[];for(let t of e){let r=o[o.length-1];r&&r.group===t.group?r.items.push(t):o.push({group:t.group,items:[t]})}return o}var ei=[{type:"FooterLogo",label:"Logo"},{type:"FooterMenu",label:"Menu"},{type:"FooterText",label:"Text"},{type:"FooterEmailSignup",label:"Email Form"},{type:"FooterSocial",label:"Social Logos"},{type:"FooterGroup",label:"Footer Box"},{type:"FooterDivider",label:"Divider"}],sI=ei.filter(e=>e.type!=="FooterLogo"&&e.type!=="FooterGroup"),fI="FooterGroup",oi="blocks";function ti(e){return e===Pt?ei:e===fI?sI:null}function sF(){let e=(o,t)=>({type:o,props:{id:`${o}-${crypto.randomUUID()}`,...t}});return[e("FooterLogo",{widthPct:100,align:"left",tagline:""}),e("FooterGroup",{direction:"vertical",align:"start",blocks:[e("FooterText",{text:"Join our email list",size:"md",tone:"default"}),e("FooterEmailSignup",{heading:"",placeholder:"Email address",buttonLabel:"Subscribe"})]})]}import{createContext as iI,useContext as dI}from"react";import{jsx as cI}from"react/jsx-runtime";var ri=iI(null);function dF({value:e,children:o}){return cI(ri.Provider,{value:e,children:o})}function cF(){return dI(ri)}function gF(e,o=0){let t=pI(e,o),r=t?Na():null;return t&&r?uI(t,r):t}function uI(e,o){if(e.spec)return o.offers(e.spec.childType)?e:null;let t=e.choices??[],r=t.filter(a=>o.offers(a.type));return r.length===t.length?e:r.length>0?{...e,choices:r}:null}function pI(e,o){let t=mo[e];if(t)return{source:"section",slot:t.slot,choices:null,spec:t};let r=Ds(e,o);if(r)return{source:"container",slot:r.slot,choices:r.choices,spec:null};let a=ti(e);return a?{source:"footer",slot:oi,choices:a,spec:null}:null}import{applyMark as vF,markupTools as LF,MARKUP_TOOLS as AF,COPY_FIELD_TOOLS as OF,STOREFRONT_MARKUP as BF,tokenizeInline as DF,stripInline as _F,isSafeLinkHref as NF}from"efficient-easel/markup";import{applyMark as mI,markedAt as xI,markupTools as II,MARKUP_TOOLS as hI,parseMarkup as gI,RETIRED_MARKS as bI,STOREFRONT_MARKUP as SI,tokenizeInline as wF}from"efficient-easel/markup";var yr=["highlight","strong","quiet"],Lo={highlight:"Highlight",strong:"Bold",quiet:"Quiet"},We={highlight:{kind:"wordHighlight",delimiter:"@@"},strong:{kind:"wordStrong",delimiter:"++"},quiet:{kind:"wordQuiet",delimiter:"^^"}},ai=Object.fromEntries(yr.map(e=>[We[e].kind,e])),ni="data-sf-ws",yF=["accent","text","labels"],CF={accent:"Accent",text:"Text",labels:"Labels"},et={accent:"var(--accent)",text:"var(--fg)",labels:"var(--fg-dim)"};var cn={font:null,size:null,weight:null,bold:null,italic:null,lineGap:null,textGap:null,colour:null},kF={highlight:{...cn},strong:{...cn},quiet:{...cn}};var si=yr.map(e=>({open:We[e].delimiter,close:We[e].delimiter,kind:We[e].kind})),fi=[{style:We.highlight.kind,label:Lo.highlight,title:`${Lo.highlight} word style`},{style:We.strong.kind,label:Lo.strong,title:`${Lo.strong} word style`},{style:We.quiet.kind,label:Lo.quiet,title:`${Lo.quiet} word style`}],yI=new Set(si.map(e=>e.open)),ii=[...SI.filter(e=>!yI.has(e.open)),...si];function un(e){return e.bullet?"- ":e.number!=null?`${e.number}. `:""}function pn(e){return gI(typeof e=="string"?e:"",ii)}var CI=["quiet"],li=[...hI.map(e=>e.style).filter(e=>!CI.includes(e)&&!bI.includes(e)),...fi.map(e=>e.style)].filter(e=>ii.some(o=>o.kind===e));function di(){return[...II(li),...fi].filter(e=>li.includes(e.style))}var ci=Object.fromEntries(yr.map(e=>[We[e].kind,We[e].delimiter]));function ui(e,o,t,r){let a=ci[r];if(!a)return mI(e,o,t,r);let n=e.slice(o,t),l=e.slice(Math.max(0,o-a.length),o),s=e.slice(t,t+a.length);if(l===a&&s===a)return{text:e.slice(0,o-a.length)+n+e.slice(t+a.length),selectionStart:o-a.length,selectionEnd:o-a.length+n.length};let f=n||"styled text";return{text:e.slice(0,o)+a+f+a+e.slice(t),selectionStart:o+a.length,selectionEnd:o+a.length+f.length}}function pi(e,o,t,r){let a=ci[r];return a?o>=a.length&&e.slice(o-a.length,o)===a&&e.slice(t,t+a.length)===a:xI(e,o,t,r)}function Ze(e){return pn(e).map(o=>un(o)+mi(o.children)).join(`
3
- `)}function mi(e){return e.map(o=>o.kind==="text"?o.text:mi(o.children)).join("")}import{useRef as hl,useState as $r}from"react";import{useEasel as ct}from"efficient-easel/easel";function Qe(e){return e&&typeof e=="object"?{text:e.text??"",hidden:!!e.hidden}:{text:typeof e=="string"?e:"",hidden:!1}}function ot(e){return Qe(e).text}var xi="50% 50%";var rt=e=>e<0?0:e>100?100:Math.round(e);function mn(e){let o=String(e??"").trim().split(/\s+/);if(o.length!==2)return{x:50,y:50};let t=n=>{let l=/^(-?\d+(?:\.\d+)?)%$/.exec(n);return l?Number(l[1]):null},r=t(o[0]),a=t(o[1]);return r===null||a===null?{x:50,y:50}:{x:rt(r),y:rt(a)}}function tt(e,o){return`${rt(e)}% ${rt(o)}%`}function Ii(e,o,t=!1){let r=t?10:1,{x:a,y:n}=mn(e);switch(o){case"ArrowLeft":return tt(a-r,n);case"ArrowRight":return tt(a+r,n);case"ArrowUp":return tt(a,n-r);case"ArrowDown":return tt(a,n+r);default:return null}}function hi(e,o,t){return!(e.width>0)||!(e.height>0)?{x:50,y:50}:{x:rt((o-e.left)/e.width*100),y:rt((t-e.top)/e.height*100)}}var Z="__text",Ot="__link",Bt="__scaffold";import{useCallback as wI,useEffect as PI,useRef as FI,useState as EI}from"react";import{useEasel as vI}from"efficient-easel/easel";import{SettingsAction as LI}from"efficient-easel/panel";function xn(e){return typeof e=="number"&&Number.isFinite(e)}function WF(e,o){if(!xn(e))return;let t=ar(fo(e));if(Object.keys(t).length===0)return;let r=t[Cr];if(typeof r!="string")return t;let a=at(o)?nt(r,Te(o)??[]):r;return{...t,[kI]:a}}var kI="--sf-section-radius",Cr="--sf-card-radius",be=["tl","tr","br","bl"];function Te(e){if(!Array.isArray(e))return null;let o=e.filter(t=>be.includes(t));return be.filter(t=>o.includes(t))}function at(e){let o=Te(e);return o!==null&&o.length<be.length}function nt(e,o){return be.map(t=>o.includes(t)?e:"0").join(" ")}var xo="Which corners",lt=[{value:"tl",label:"Top left"},{value:"tr",label:"Top right"},{value:"bl",label:"Bottom left"},{value:"br",label:"Bottom right"}];function kr(e){let o=t=>e.includes(t);if(e.length===be.length)return"All four";if(e.length===0)return"None";if(e.length===1)return lt.find(t=>t.value===e[0])?.label??"1 corner";if(e.length===2){if(o("tl")&&o("tr"))return"Top two";if(o("bl")&&o("br"))return"Bottom two";if(o("tl")&&o("bl"))return"Left two";if(o("tr")&&o("br"))return"Right two"}return`${e.length} corners`}var RI="--sf-card-box-radius",TI="--sf-site-card-radius",KF="sf-section-bleeds";function Dt(e){return typeof e=="number"&&Number.isFinite(e)}function zF(e,o){if(!Dt(e))return;let t=ar(fo(e))[Cr];if(typeof t!="string")return;let r=at(o)?nt(t,Te(o)??[]):t;return{[RI]:r}}function XF(e){let o=e[Cr];return typeof o=="string"?{[TI]:o}:{}}function gi(e,o){let t=e.find(n=>n?.props?.id===o);if(!t)return[...e];let r=t.props?.cardCorners,a=t.props?.cardCornerSides;return e.map(n=>n?.props?.id===o?n:{...n,props:{...n.props,cardCorners:r,cardCornerSides:a}})}function bi(e,o,t){let r=t?.zone??"",a=r.lastIndexOf(":"),n=a>0?r.slice(0,a):"",l=a>0?r.slice(a+1):"",s=n?Us(e,o,n):null,f=s&&Array.isArray(s.item.props[l])?s.item.props[l]:[],d=t?.index??-1,p=d>=0?f[d]:void 0,u=p?.props?.id?String(p.props.id):"",c=Math.max(f.length-1,0);return!s||!u?{can:!1,reason:"unreachable",others:0}:f.length<=1?{can:!1,reason:"alone",others:c}:Dt(p?.props?.cardCorners)?{can:!0,others:c,zone:s.zone,index:s.index,data:{...s.item,props:{...s.item.props,[l]:gi(f,u)}}}:{can:!1,reason:"unset",others:c}}function Si(e){if(!e.can)return e.reason==="alone"?"This is the only card in the section.":e.reason==="unset"?"Set this card's corners first.":"This card is not in a section that can share corners.";let o=e.others;return`Gives the other ${o===1?"card":`${o} cards`} this card's Corners and Which corners.`}function yi(e){return`Applied to ${e} ${e===1?"card":"cards"}`}function Ci(e,o){e.can&&o(e.zone,e.index,e.data)}import{jsx as ki}from"react/jsx-runtime";var AI=2200,OI="apply-corners-to-siblings",BI="Apply to all cards";function DI({plan:e,doneCount:o,onPress:t}){return ki(LI,{id:OI,label:BI,note:Si(e),disabled:!e.can,done:o!==null,doneLabel:yi(o??0),onPress:t})}function In(){let{appState:e,config:o}=vI(f=>f),t=Nf(),[r,a]=EI(null),n=FI(null);PI(()=>()=>{n.current&&clearTimeout(n.current)},[]);let l=bi(o,e.data.content??[],e.ui.itemSelector),s=wI(()=>{Ci(l,t.replaceComponent),l.can&&(a(l.others),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>a(null),AI))},[l,t]);return ki(DI,{plan:l,doneCount:r,onPress:s})}import{jsx as _t,jsxs as Ri}from"react/jsx-runtime";function Rr({label:e,onClear:o,what:t="override"}){return _t("button",{type:"button",className:"sf-part-mark",title:`Clear ${t}`,"aria-label":`Clear ${t}: ${e}`,onClick:o,children:_t(_I,{})})}function _I(){return Ri("svg",{width:"12",height:"12",viewBox:"0 0 16 16","aria-hidden":"true",children:[_t("circle",{className:"sf-part-mark-dot",cx:"8",cy:"8",r:"3",fill:"currentColor"}),Ri("g",{className:"sf-part-mark-arrow",fill:"none",stroke:"currentColor",strokeWidth:1.8,strokeLinecap:"round",children:[_t("path",{d:"M13 8a5 5 0 1 1-1.6-3.7"}),_t("path",{d:"M13 2.5V5h-2.6"})]})]})}var Ti=1;function NI(e){return fo(e)}function dE(e){let o=NI(e);return o===null?{}:{"--sf-card-image-radius":`${o}px`}}var wi=1,Pi="Corners";function MI(e){return fo(e)}function mE(e,o){let t=MI(e);if(t===null)return null;let r=`${t}px`;return{borderRadius:at(o)?nt(r,Te(o)??[]):r}}var Ve={twoAcross:{label:"Two across",across:2,acrossPhone:2,desktop:[[6,1],[6,1]],phone:[[3,1],[3,1]]},zigzag:{label:"Zigzag",across:2,acrossPhone:2,desktop:[[8,1],[4,1],[4,1],[8,1]],phone:[[4,1],[2,1],[2,1],[4,1]]},brick:{label:"Brick",across:2,acrossPhone:2,desktop:[[5,1],[7,1],[7,1],[5,1]],phone:[[2,1],[4,1],[4,1],[2,1]]},twoTall:{label:"Two tall",across:2,acrossPhone:2,desktop:[[6,2],[6,2]],phone:[[3,2],[3,2]]},offsetTall:{label:"Offset tall",across:2,acrossPhone:2,desktop:[[5,2],[7,1],[3,1],[4,1]],phone:[[3,2],[3,1],[3,1]]},ladder:{label:"Ladder",across:2,acrossPhone:2,desktop:[[3,2],[9,1],[5,1],[4,1]],phone:[[2,2],[4,1],[2,1],[2,1]]},threeAcross:{label:"Three across",across:3,acrossPhone:3,desktop:[[4,1],[4,1],[4,1]],phone:[[2,1],[2,1],[2,1]]},bigLeft:{label:"Big left",across:3,acrossPhone:3,desktop:[[6,1],[3,1],[3,1]],phone:[[4,1],[1,1],[1,1]]},bigRight:{label:"Big right",across:3,acrossPhone:3,desktop:[[3,1],[3,1],[6,1]],phone:[[1,1],[1,1],[4,1]]},threeStagger:{label:"Three stagger",across:3,acrossPhone:3,desktop:[[5,1],[4,1],[3,1],[3,1],[4,1],[5,1]],phone:[[3,1],[2,1],[1,1],[1,1],[2,1],[3,1]]},threeLadder:{label:"Three ladder",across:3,acrossPhone:3,desktop:[[3,1],[4,1],[5,1],[5,1],[4,1],[3,1]],phone:[[1,1],[2,1],[3,1],[3,1],[2,1],[1,1]]},tallMiddle:{label:"Tall middle",across:3,acrossPhone:3,desktop:[[4,1],[4,2],[4,1],[4,1],[4,1]],phone:[[2,1],[2,2],[2,1],[2,1],[2,1]]},fourAcross:{label:"Four across",across:4,acrossPhone:2,desktop:[[3,1],[3,1],[3,1],[3,1]],phone:[[3,1],[3,1]]},bigFirst:{label:"Big first",across:4,acrossPhone:2,desktop:[[6,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1]],phone:[[6,1],[3,1],[3,1]]},fourStagger:{label:"Four stagger",across:4,acrossPhone:2,desktop:[[4,1],[3,1],[2,1],[3,1],[2,1],[3,1],[4,1],[3,1]],phone:[[4,1],[2,1],[2,1],[4,1]]},tallFirst:{label:"Tall first",across:4,acrossPhone:2,desktop:[[3,2],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1]],phone:[[3,2],[3,1],[3,1]]},oneThenFour:{label:"One then four",across:4,acrossPhone:2,desktop:[[12,1],[3,1],[3,1],[3,1],[3,1]],phone:[[6,1],[3,1],[3,1]]},sixAcross:{label:"Six across",across:6,acrossPhone:3,desktop:[[2,1],[2,1],[2,1],[2,1],[2,1],[2,1]],phone:[[2,1],[2,1],[2,1]]},sixStagger:{label:"Six stagger",across:6,acrossPhone:6,desktop:[[3,1],[2,1],[1,1],[2,1],[1,1],[3,1],[1,1],[3,1],[2,1],[2,1],[1,1],[3,1]],phone:[[1,1],[1,1],[1,1],[1,1],[1,1],[1,1]]}},hn=Object.keys(Ve),Ei=[2,3,4,6];function vi(e){return typeof e!="string"||e===""?null:Ve[e]??null}function Fi(e,o){return o?6/e.acrossPhone:12/e.across}var HI="sf-wall--";function GI(e){return`${HI}${e}`}function IE(e){let o=Ve[e],t=`.${GI(e)}`,r=[],a=(n,l)=>{let s=[],f=n.length;n.forEach(([d,p],u)=>{s.push(`${t} > :nth-child(${f}n+${u+1}){grid-column:span ${d};grid-row:span ${p}}`)});for(let d=1;d<f;d+=1)s.push(`${t}:has(> :nth-child(${f}n+${d}):last-child) > :nth-last-child(-n+${d}){grid-column:span ${l};grid-row:span 1}`);return s};return r.push(`${t}{grid-template-columns:repeat(12,minmax(0,1fr))}`),r.push(...a(o.desktop,Fi(o,!1))),r.push("@media (max-width:800px){"),r.push(`${t}{grid-template-columns:repeat(6,minmax(0,1fr))}`),r.push(...a(o.phone,Fi(o,!0))),r.push("}"),r.join("")}var Tr=12,Li=1,UI=3;var WI=3;function gn(e,o,t){let r=typeof e=="number"?e:Number.parseInt(String(e??""),10);return Number.isFinite(r)?Math.min(t,Math.max(o,Math.trunc(r))):null}function VI(e){return gn(e,1,Tr)??WI}function bE(e,o){let t=gn(e,Li,UI);return t??(VI(o)===4?2:Li)}function SE(e){return e==null||e===""?null:gn(e,1,Tr)}var yE="data-sf-span";function CE(e){if(!e)return!1;if(e.type==="Grid")return!0;if(e.type==="GalleryB"){if(vi(e.props?.layout))return!1;let o=e.props?.columns;return o!=null&&o!==""}return!1}import{AlignLeftIcon as Ob,AlignSeparateIcon as Bb,AnimationIcon as pc,BackgroundIcon as Db,CartIcon as _b,ColumnWidthsIcon as mc,ColumnsIcon as Nb,CornerIcon as xc,DirectionDownIcon as Mb,DirectionLeftIcon as Hb,DirectionRightIcon as Gb,DirectionUpIcon as Ub,DollarIcon as Wb,FinishIcon as Vb,GapIcon as Ic,GridIcon as $b,GroundIcon as qb,HashIcon as hc,ImageIcon as Kb,LayoutIcon as zb,ListIcon as Xb,LocationIcon as xl,PaddingBottomIcon as Yb,PaddingLeftIcon as jb,PaddingRightIcon as Zb,PaddingTopIcon as Qb,PageIcon as gc,PhoneIcon as Jb,PlacementIcon as eS,ProductSizeIcon as oS,RotateIcon as tS,SquareIcon as rS,StylesIcon as aS,TextLinesIcon as nS,WidthIcon as lS,WrapIcon as sS}from"efficient-easel/icons";import{TitleIcon as $I,ButtonIcon as qI,DollarIcon as KI,HashIcon as zI,LinkIcon as XI,NoteIcon as YI,TagIcon as jI,TextLinesIcon as ZI}from"efficient-easel/icons";import{Fragment as $e,jsx as A,jsxs as qe}from"react/jsx-runtime";var Ai={body:ZI,button:qI,link:XI,label:jI,number:zI,price:KI,note:YI,title:$I},Oi={eyebrow:qe($e,{children:[A("path",{d:"M5 6.5h5"}),A("path",{d:"M5 12.5h14"}),A("path",{d:"M5 18h11"})]}),heading:qe($e,{children:[A("path",{d:"M6.5 5v14"}),A("path",{d:"M17.5 5v14"}),A("path",{d:"M6.5 12h11"})]}),intro:qe($e,{children:[A("path",{d:"M4 5.5v13"}),A("path",{d:"M8 7.5h12"}),A("path",{d:"M8 12h12"}),A("path",{d:"M8 16.5h8"})]}),value:qe($e,{children:[A("rect",{x:"2.5",y:"7",width:"19",height:"10",rx:"2"}),A("path",{d:"M6.5 12h7"})]}),name:qe($e,{children:[A("path",{d:"M6 3.5v17"}),A("path",{d:"M6 5h11.5l-2.6 3.6L17.5 12H6z"})]}),date:qe($e,{children:[A("rect",{x:"4",y:"5.5",width:"16",height:"15",rx:"2"}),A("path",{d:"M4 10.5h16"}),A("path",{d:"M9 3.2v4.4"}),A("path",{d:"M15 3.2v4.4"})]}),caption:qe($e,{children:[A("rect",{x:"3.5",y:"4.5",width:"17",height:"11",rx:"2"}),A("path",{d:"M3.5 12.8l4.2-3.2 3.6 2.8 3.4-2.4 5.8 4"}),A("path",{d:"M6.5 19.5h11"})]}),quote:qe($e,{children:[A("path",{d:"M9.5 5.5C7 7.2 5.5 9.7 5.5 12.8h4v5.7h-5v-5.7"}),A("path",{d:"M19.5 5.5c-2.5 1.7-4 4.2-4 7.3h4v5.7h-5v-5.7"})]}),tag:qe($e,{children:[A("rect",{x:"3",y:"5.5",width:"18",height:"13",rx:"2.5"}),A("path",{d:"M8 9.5h8"}),A("path",{d:"M12 9.5v5"})]}),meta:qe($e,{children:[A("path",{d:"M4 7h16"}),A("path",{d:"M4 14h3.5"}),A("path",{d:"M10.5 14h3"}),A("path",{d:"M17 14h3"})]})};function bn({noun:e,size:o=14,strokeWidth:t=1.8,className:r,style:a}){let n=Ai[e];return n?A("span",{className:r,style:{display:"inline-flex",...a},"aria-hidden":"true",children:A(n,{size:o})}):A("svg",{className:r,style:a,width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:Oi[e]})}var TE=Object.keys(Ai);var wE=Object.keys(Oi);var QI="#ffffff",JI=/^#[0-9a-fA-F]{6}$/;function Sn(e){return eh(e)?e:QI}function eh(e){return typeof e=="string"&&JI.test(e)}function EE(e){return{"--bg":Sn(e)}}var oh="sf-section-accent",Bi="Color",Di=new Set(["CategoryBar","DocTabs"]),LE=new Set(["Flex"]),th=0;function yn(e){return e===-1?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:th}function AE(e){return e??-1}function rh(e){let o=`--theme-preset-${e}`;return{"--sf-sec-accent":`var(${o}-accent)`,"--sf-sec-accent-2":`var(${o}-accent-2)`,"--sf-sec-accent-ink":`var(${o}-accent-ink)`,"--sf-sec-bg":`var(${o}-bg, var(--theme-bg))`,"--sf-sec-fg":`var(${o}-fg, var(--theme-fg))`,"--sf-sec-surface":`var(${o}-surface, var(--theme-surface))`,"--sf-sec-surface-2":`var(${o}-surface-2, var(--theme-surface-2))`,"--sf-sec-line":`var(${o}-line, var(--theme-line))`,"--sf-sec-muted":`var(${o}-muted, var(--theme-muted))`}}function OE(e){let o=yn(e.sectionAccent);return o===null?null:{className:oh,style:rh(o)}}var ah=["fade","rise","scale"],Cn="none",_i=[{label:"None",value:Cn},{label:"Fade",value:"fade"},{label:"Rise",value:"rise"},{label:"Scale",value:"scale"}];function _E(e){return ah.includes(e)?e:null}var Ni="data-sf-anim",Nt="data-sf-anim-state";function NE(e){let o=()=>{};if(typeof IntersectionObserver>"u"||!e.getAttribute(Ni))return o;let t=window.innerHeight||document.documentElement.clientHeight;if(e.getBoundingClientRect().top<t)return o;e.setAttribute(Nt,"armed");let r=new IntersectionObserver(a=>{for(let n of a)if(n.isIntersecting){r.disconnect(),nh(e);break}},{threshold:0});return r.observe(e),()=>{r.disconnect(),e.removeAttribute(Nt)}}function nh(e){if(!e.getAttribute(Ni))return;e.removeAttribute(Nt),e.offsetWidth,e.setAttribute(Nt,"play");let o=t=>{t.target===e&&(e.removeAttribute(Nt),e.removeEventListener("animationend",o))};e.addEventListener("animationend",o)}var ME=Di;function Rn(e,o){let t=e?.content;if(!Array.isArray(t))return null;for(let r of t){if(!r||typeof r!="object")continue;let a=r.props;if(a?.id===o)return null;if(kn(r,o,0))return a??{}}return null}function kn(e,o,t){if(t>12||!e||typeof e!="object")return!1;if(Array.isArray(e))return e.some(a=>kn(a,o,t+1));let r=e.props;return r&&typeof r=="object"&&r.id===o?!0:Object.values(e).some(a=>kn(a,o,t+1))}import{SettingsCorners as bc,SettingsField as W,SettingsGroupHead as fS,SettingsGroupSub as iS,SettingsPlacement as dS,SettingsSegmented as cS,SettingsSwitch as uS}from"efficient-easel/panel";import{FieldSelect as pS,ListField as mS}from"efficient-easel/fields";import{ColourPicker as sh}from"efficient-easel/pick";import{typedHex as lh}from"efficient-easel/pick";function Mi(e){let o=new Set,t=[];return Tt(e).themes.forEach((r,a)=>{let n=[[`Theme ${a+1} main color`,r.accent],[`Theme ${a+1} text color`,r.text],[`Theme ${a+1} background`,r.background]];for(let[l,s]of n){let f=s?lh(s):null;!f||o.has(f)||(o.add(f),t.push({name:l,value:f}))}}),t}import{jsx as Hi}from"react/jsx-runtime";function Je({value:e,onChange:o,label:t,id:r,caption:a,ariaLabel:n}){return Hi(fh,{value:e,onChange:o,label:n??t,id:r,caption:a})}function fh({value:e,onChange:o,label:t,id:r,caption:a}){let{theme:n}=io();return Hi(sh,{value:e,onChange:o,label:t,id:r,caption:a,theme:Mi(n)})}import{useEffect as ih,useState as dh}from"react";import{MarkBar as ch,markSelection as uh,useCaretEdit as ph}from"efficient-easel/copy";import{RevertIcon as mh}from"efficient-easel/icons";import{Fragment as wr,jsx as ae,jsxs as Pr}from"react/jsx-runtime";function xh({style:e}){let o=t=>ae("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.9,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t});switch(e){case"bold":return o(ae("path",{d:"M7 5h6.5a3.5 3.5 0 0 1 0 7H7zm0 7h7.5a3.5 3.5 0 0 1 0 7H7z"}));case"italic":return o(Pr(wr,{children:[ae("line",{x1:"10",y1:"5",x2:"19",y2:"5"}),ae("line",{x1:"5",y1:"19",x2:"14",y2:"19"}),ae("line",{x1:"14",y1:"5",x2:"10",y2:"19"})]}));case"strike":return o(Pr(wr,{children:[ae("path",{d:"M16.5 6.5A4.2 4.2 0 0 0 12.7 4.7C10 4.7 8.4 6 8.4 7.9c0 1.6 1.2 2.5 3.4 3.1"}),ae("path",{d:"M7.6 17.4A4.4 4.4 0 0 0 11.7 19.3c2.8 0 4.5-1.4 4.5-3.4 0-1-.4-1.8-1.2-2.4"}),ae("line",{x1:"4",y1:"12",x2:"20",y2:"12"})]}));case"highlight":return o(Pr(wr,{children:[ae("path",{d:"M14.5 4.5l5 5-8 8H6.5v-5z"}),ae("line",{x1:"4",y1:"21",x2:"20",y2:"21"})]}));case"quiet":return o(Pr(wr,{children:[ae("path",{d:"M12 4.5l5.5 7.5L12 19.5 6.5 12z"}),ae("line",{x1:"9.4",y1:"12",x2:"14.6",y2:"12"})]}));default:return null}}var Ih=["bold","italic","strike","highlight"],hh=Object.fromEntries(Ih.map(e=>[e,ae(xh,{style:e},e)])),Gi="Clear formatting";function gh(e,o,t){return uh(e,o,t,ui)}function bh(e){let[o,t]=dh(null);return ih(()=>{let r=e.current?.ownerDocument??(typeof document>"u"?null:document);if(!r)return;let a=()=>{let n=e.current;if(!n||r.activeElement!==n)return;let l=n.selectionStart??n.value.length,s=n.selectionEnd??l;t(f=>f&&f.start===l&&f.end===s?f:{start:l,end:s})};return r.addEventListener("selectionchange",a),()=>r.removeEventListener("selectionchange",a)},[e]),[o,t]}function Sh({target:e,value:o,onChange:t,disabled:r=!1,label:a="Formatting"}){let n=ph({target:e,onChange:t}),[l,s]=bh(e),f=c=>n(x=>{let I=gh(o,c,x);return s({start:I.selectionStart,end:I.selectionEnd}),I}),d=di(),p={};if(l)for(let c of d)p[c.style]=pi(o,l.start,l.end,c.style);let u=Ze(o);return ae(ch,{tools:d,onApply:f,pressed:p,disabled:r,glyphs:hh,ariaLabel:a,actions:ae("button",{type:"button",className:"sf-markup-btn sf-markup-clear",onMouseDown:c=>c.preventDefault(),onClick:()=>t(u),disabled:r||u===o,title:Gi,"aria-label":Gi,children:ae(mh,{size:14})})})}var Tn=Sh;import{jsx as Ch}from"react/jsx-runtime";var yh="data-sf-no-control";function Ui(){return Ch("span",{[yh]:"",hidden:!0})}var Wi="__noControl";function ov(e){return e?.[Wi]??null}function Fr(e,o){return{...e,[Wi]:o}}import{jsx as Ao}from"react/jsx-runtime";function kh(e){return e==="mobile"?"mobile":"desktop"}var Rh={desktop:null,tablet:"Tablet uses the desktop settings.",mobile:"Showing the phone settings for this section."},Th="data-sf-device-hidden";function Vi(){return Ao("span",{hidden:!0,[Th]:""})}function wh({tier:e,render:o,...t}){let r=ln();return kh(r)===e?Ao(o,{...t}):Ao(Vi,{})}var $i="__device";function wn(e){return e?.[$i]??null}function lv(e){return wn(e)?.inner??e}function Ae(e,o){let t=o.render,r=a=>Ao(wh,{tier:e,render:t,...a});return{...o,[$i]:{tier:e,inner:o},render:r}}function Ph(){let e=Rh[ln()];return e?Ao("div",{className:"sf-device-scope",children:e}):Ao(Vi,{})}function sv(){return Fr({type:"custom",render:()=>Ao(Ph,{})},"always")}function Mt(e){return`${e}Phone`}function Er(e,o,t){return typeof e=="number"?e:typeof o=="number"?o:t}import{createContext as Lh,useContext as Ah}from"react";var qi={ProductGrid:{source:{keep:["slug"]}},GalleryItem:{product:{keep:["code","finish"]}},FeaturedCover:{source:{keep:["slug"]}},LongRead:{source:{keep:["slug"]}}},Ki={Events:["posts"],SubscribeBlogs:["posts"]};var Fh=["anchor"],Eh=/^href$|Href$|^url$|Url$|^link$|^mailto$|^tel$/;function Ht(e){return Fh.includes(e)||Eh.test(e)}var vh={Gallery:{source:{verb:"snapshot",keep:[]}},ProductHero:{source:{verb:"snapshot",keep:[]}},SpecTable:{source:{verb:"snapshot",keep:[]},wheel:{verb:"reference"},finish:{verb:"reference"},size:{verb:"reference"}},CollectionCard:{collection:{verb:"snapshot",keep:[]}},FooterMenu:{menu:{verb:"snapshot",keep:[]}},MenuBlock:{menu:{verb:"snapshot",keep:[]}},BrandStrip:{picks:{verb:"reference"}},ProductGrid:{design_codes:{verb:"reference"}},ProductRef:{code:{verb:"reference"},finish:{verb:"reference"}},FitmentTable:{wheel:{verb:"reference"}},GalleryItem:{fromProduct:{verb:"reference"}},Footprint:{"offices[].group":{verb:"groupKey"},"offices[].lat":{verb:"pii"},"offices[].lng":{verb:"pii"},"offices[].geocode":{verb:"pii"}}};vh.ContactLocations={"locations[].lat":{verb:"pii"},"locations[].lng":{verb:"pii"},"locations[].mapsUrl":{verb:"pii"},"locations[].geocode":{verb:"pii"}};var pv=Object.fromEntries(Object.entries(qi).map(([e,o])=>[e,Object.keys(o)])),mv=Object.fromEntries(Object.entries(Ki).map(([e,o])=>[e,[...o]]));import{Fragment as Bh,jsx as Pn}from"react/jsx-runtime";var zi=Lh(!1);function bv({children:e}){return Pn(zi.Provider,{value:!0,children:e})}function Oh(){return Ah(zi)}function Xi({name:e,children:o}){return!Oh()||!e||Ht(e)?Pn(Bh,{children:o}):Pn(Ui,{})}var Fn="Enter",Dh="Escape",_h=/^[+-]?(?:\d+(?:\.\d+)?|\.\d+)$/,Nh=/(px|%)$/i;function Mh(e,o,t,r){let a=e.trim().replace(/\s+/g,"").replace(Nh,"");if(!_h.test(a))return null;let n=Number(a);if(!Number.isFinite(n))return null;let l=Math.min(t,Math.max(o,n));if(!(r>0))return l;let s=o+Math.round((l-o)/r)*r,f=Math.min(t,Math.max(o,s));return Number(f.toFixed(4))}function En(e,o,t,r,a){return e===Fn?{handled:!0,editing:!1,commit:Mh(o,t,r,a)}:e===Dh?{handled:!0,editing:!1,commit:null}:{handled:!1,editing:!0,commit:null}}function Io(e,o,t){return e.some(a=>(typeof a=="object"?a.value:a)===t)?t:o}var vn="off",Ln="none",An=[{label:"None",value:"off"},{label:"1, 2, 3",value:"plain"},{label:"01, 02, 03",value:"padded"},{label:"N\xB001, N\xB002",value:"numero"}],On=[{label:"None",value:"none"},{label:"Hairline",value:"hairline"}];function Tv(e){return Io(An,vn,e)}function wv(e){return Io(On,Ln,e)}var Yi="sf-card-index",Gt="sf-card-index",Pv="pointer-events-none absolute left-[18px] top-[18px] z-10 border border-line bg-bg/70 px-2 py-1 font-mono text-[length:var(--size-label,10px)] uppercase tracking-[0.16em] text-fg-dim",Hh={plain:`counter(${Gt})`,padded:`counter(${Gt}, decimal-leading-zero)`,numero:`"N\xB0" counter(${Gt}, decimal-leading-zero)`};function Fv(e,o){return o==="off"?"":`.${e}{counter-reset:${Gt}}.${e} .${Yi}{counter-increment:${Gt}}.${e} .${Yi}::before{content:${Hh[o]}}`}function Ev(e){return e==="hairline"?"border border-line hover:border-accent":""}var ji=[{value:"1",label:"1st rendering"},{value:"2",label:"2nd rendering"},{value:"3",label:"3rd rendering"},{value:"4",label:"4th rendering"},{value:"5",label:"5th rendering"}];var Zi={text:"scalar",textarea:"scalar",plainText:"scalar",copyText:"scalar",plainTextarea:"scalar",textList:"list"},Oo=Object.entries(Zi).filter(([,e])=>e==="scalar").map(([e])=>e);import{useRef as Ji,useState as Wh}from"react";import{ChevronIcon as Gh}from"efficient-easel/icons";import{jsx as Ke,jsxs as Qi}from"react/jsx-runtime";function Bn({styleKey:e,label:o,icon:t,value:r,sampleStyle:a,open:n,onToggle:l,saved:s=!1,children:f}){return Qi("div",{"data-sf-style-row":e,className:`sf-style-row${n?" is-open":""}`,children:[Qi("button",{type:"button",className:"sf-style-head","aria-expanded":n,onClick:l,children:[Ke("span",{className:"sf-style-caret","aria-hidden":"true",children:Ke(Gh,{size:13})}),t?Ke("span",{className:"es-field-icon",children:t}):null,Ke("span",{className:"sf-style-name",children:o}),r!=null?Ke("span",{className:"sf-style-sample",style:a,title:typeof r=="string"?r:void 0,children:r}):null,Ke("span",{className:`sf-style-slot${s?" is-saved":""}`,children:Ke(Uh,{})})]}),n&&Ke("div",{className:"sf-style-body",children:f})]})}function Uh(){return Ke("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:Ke("polyline",{points:"20 6 9 17 4 12"})})}import{Fragment as Vh,jsx as ze,jsxs as Dn}from"react/jsx-runtime";function _n({label:e,value:o,onChange:t,image:r}){let[a,n]=Wh(!1),l=Ji(null),s=Ji(!1),{x:f,y:d}=mn(o),p=(g,b)=>{let R=l.current?.getBoundingClientRect();if(!R)return;let w=hi(R,g,b);t(tt(w.x,w.y))},u=g=>{let b=Ii(o,g.key,g.shiftKey);b!==null&&(g.preventDefault(),t(b))},c=g=>{g.currentTarget.setPointerCapture?.(g.pointerId),s.current=!0,p(g.clientX,g.clientY)},x=g=>{s.current&&p(g.clientX,g.clientY)},I=()=>{s.current=!1};return ze(Bn,{styleKey:"imageFocal",label:e,value:o,sampleStyle:{fontSize:11,fontVariantNumeric:"tabular-nums"},open:a,onToggle:()=>n(g=>!g),children:a?ze("div",{className:"sf-focus","data-sf-focusing":"",children:r?Dn(Vh,{children:[ze("button",{type:"button",className:"sf-focus-canvas","aria-label":`${e}: ${o}. Use the arrow keys to move the point.`,onKeyDown:u,onPointerDown:c,onPointerMove:x,onPointerUp:I,onPointerCancel:I,onLostPointerCapture:I,children:Dn("span",{className:"sf-focus-pane",ref:l,children:[ze("img",{className:"sf-focus-img",src:r,alt:"",draggable:!1}),ze("span",{className:"sf-focus-cross sf-focus-cross--h",style:{top:`${d}%`}}),ze("span",{className:"sf-focus-cross sf-focus-cross--v",style:{left:`${f}%`}}),ze("span",{className:"sf-focus-marker",style:{left:`${f}%`,top:`${d}%`}})]})}),Dn("div",{className:"sf-focus-bar",children:[ze("span",{className:"sf-focus-hint",children:"Press the picture, or nudge the point with the arrow keys."}),ze("button",{type:"button",className:"sf-image-btn",onClick:()=>n(!1),children:"Done"})]})]}):ze("p",{className:"sf-field-hint",children:"Choose a background image first \u2014 there\u2019s nothing to focus yet."})}):null})}import{SettingsField as ed}from"efficient-easel/panel";import{ImageIcon as od,PlayIcon as td}from"efficient-easel/icons";import{ImageBox as $h}from"efficient-easel/pick";import{useContext as qh,useState as rd}from"react";import{FileIntakeAlert as Kh,useFileIntake as zh}from"efficient-shell/file-intake";import{jsx as Oe,jsxs as ad}from"react/jsx-runtime";function Nn({value:e,onChange:o,label:t,accept:r,placeholder:a}){let n=zo(),l=He(),[s,f]=rd(!1),[d,p]=rd(null),u=r.startsWith("video"),c=qh(Qo),x=zh({accept:r,maxSizeBytes:ke(l).media.maxUploadBytes,acceptHint:u?"videos only":"images only",multiple:!1,disabled:s,onAccept:([g])=>{p(null),f(!0),qa(n,{accept:r,title:t,file:g}).then(b=>{b&&o(b.url)}).catch(()=>p("Couldn\u2019t open the media picker \u2014 please try again.")).finally(()=>f(!1))}}),I=()=>(x.clearRejections(),p(null),qa(n,{accept:r,title:t}).then(g=>g?.url??null));return c&&!c.capabilities.mediaEditing?Oe(ed,{label:t,icon:u?Oe(td,{}):Oe(od,{}),children:ad("div",{className:"sf-image-slot-inert",children:["Templates don\u2019t store ",u?"videos":"images"," \u2014 this slot stays a placeholder. Each website picks its own after it\u2019s created."]})}):ad("div",{children:[Oe(ed,{label:t,icon:u?Oe(td,{}):Oe(od,{}),children:Oe("div",{className:`sf-image-drop${x.dragOver?" is-dragover":""}`,...x.zoneProps,children:Oe($h,{value:e,onChange:o,label:t,kind:u?"video":"image",placeholder:a,openLibrary:s?void 0:I})})}),s&&Oe("div",{className:"sf-image-status",role:"status",children:"Opening the picker\u2026"}),d&&Oe("div",{className:"sf-image-status sf-image-status--error",role:"alert",children:d}),Oe(Kh,{rejections:x.rejections,className:"sf-image-status sf-image-status--error"})]})}import{useId as Xh}from"react";import{FieldSelect as Yh}from"efficient-easel/fields";import{jsx as nd,jsxs as Zh}from"react/jsx-runtime";function jh(e){return e.map(({value:o,label:t,note:r})=>({value:o,label:t,...r?{meta:r}:{}}))}function Mn({label:e,options:o,value:t,onChange:r,emptyLabel:a="None"}){let n=Xh(),l=`${n}-label`,s=`${n}-button`,f=Array.isArray(t)?t:[];return Zh("div",{className:"sf-field sf-multi",children:[nd("div",{className:"sf-field-label",id:l,children:e}),nd(Yh,{id:s,multiple:!0,value:f,options:jh(o),onChange:r,placeholder:a,ariaLabelledBy:`${l} ${s}`,inline:!0})]})}import{useCallback as gg,useContext as bg,useEffect as Sg,useId as Id,useRef as md,useState as xd}from"react";import{ThemeIcon as yg}from"efficient-easel/icons";import{SettingsField as Cg}from"efficient-easel/panel";import{SettingsField as Un,SettingsGroupSub as ag}from"efficient-easel/panel";import{SettingsField as Qh}from"efficient-easel/panel";import{AccentIcon as Jh}from"efficient-easel/icons";import{jsx as Bo,jsxs as ld}from"react/jsx-runtime";function Hn(e){return no(e).background}function eg(e){let o=lo(e.accent,Hn(e));return o===null?null:{ratio:o,grade:Ko(o)}}function og(e){let o=Hn(e),t=lo(e.accent,o);return t===null?[]:ws(e.accent).filter(r=>{let a=lo(r,o);return a!==null&&a>t&&Ko(a)==="good"})}var tg={good:"Easy to read","large-only":qo["large-only"],hard:qo.hard};function Gn({value:e,onChange:o}){let t=eg(e),r=t?.grade,a=t&&t.grade!=="good"?og(e):[];return Bo(Qh,{label:"Main color",icon:Bo(Jh,{}),hint:t?tg[t.grade]:void 0,action:Bo(Je,{value:e.accent,onChange:n=>o({...e,accent:n}),label:"Main color"}),children:a.length>0?Bo("div",{className:"w-full min-w-0",children:ld("div",{className:"sf-readability",children:[Bo("p",{className:"sf-readability-advice",children:rg(r,!0)}),Bo("div",{className:"sf-readability-suggestions",children:a.map(n=>{let l=lo(n,Hn(e));return ld("button",{type:"button",className:"sf-readability-suggestion",onClick:()=>o({...e,accent:n}),title:`Use ${n.toUpperCase()}`,children:[Bo("span",{className:"sf-readability-chip",style:{background:n},"aria-hidden":!0}),l?`${l.toFixed(1)}:1`:n.toUpperCase()]},n)})})]})}):null})}function rg(e,o){return e?e==="good"?"This color reads clearly on your pages.":o?"This color is hard to read on this theme's page. The buttons below are the same hue, darkened.":"This color is hard to read on your page background. Pick one further from it \u2014 lighter if your pages are dark, deeper if they are light.":"Pick a color to see how it reads."}import{ButtonIcon as ng,GroundIcon as lg,LayoutIcon as sg,SquareIcon as fg,TextSmallIcon as ig,TypeIcon as sd}from"efficient-easel/icons";import{Fragment as mg,jsx as T,jsxs as ho}from"react/jsx-runtime";var Ut=e=>`Theme ${e+1}`;function fd({colors:e}){let o=no(e),t=ba(e)??o.accent;return ho("span",{className:"sf-theme-page",style:{background:o.background,color:o.text},"aria-hidden":!0,children:[T("span",{className:"sf-theme-eyebrow",style:{color:o.muted},children:"label"}),ho("span",{className:"sf-theme-headline",children:["Heading ",T("span",{style:{color:o.accent},children:"accent"})]}),T("span",{className:"sf-theme-body",children:"body text"}),ho("span",{className:"sf-theme-row",children:[T("span",{className:"sf-theme-btn",style:{background:t,color:Sa(e,o.accent)},children:"button"}),T("span",{className:"sf-theme-mini",style:{background:o.surface,borderColor:o.line},children:"card"})]})]})}var Wn={"Text color":T(sd,{}),"Label color":T(ig,{}),Background:T(lg,{}),"Panels & cards":T(sg,{}),Borders:T(fg,{}),"Button color":T(ng,{}),"Button text color":T(sd,{})};function dg({label:e,colorKey:o,value:t,onChange:r,idPrefix:a="sf-theme-ink"}){let n=`${a}-${o}`;return T(Un,{label:e,icon:Wn[e],htmlFor:n,action:T(Je,{id:n,label:e,value:t,onChange:l=>r(o,l)})})}function cg({value:e,accent:o,onChange:t,idPrefix:r="sf-theme-ink"}){let a=`${r}-button`,n=/^#[0-9a-fA-F]{6}$/.test(e??""),l=n?e:o;return T(Un,{label:"Button color",icon:Wn["Button color"],htmlFor:a,action:T(Je,{id:a,label:"Button color",value:l,caption:n?l:"Main",onChange:t})})}function ug({colors:e,accent:o,onChange:t,idPrefix:r="sf-theme-ink"}){let a=`${r}-button-ink`,n=Ps(e),l=Sa(e,o),s=ba(e)??o,f=Ko(lo(l,s)??0);return T(Un,{label:"Button text color",icon:Wn["Button text color"],hint:n&&f!=="good"?`${qo[f]} on the button`:void 0,htmlFor:a,action:T(Je,{id:a,label:"Button text color",value:l,caption:n?l:"Auto",onChange:t})})}var pg=[{colour:!0},{label:"Text color",key:"text"},{label:"Label color",key:"muted"},{button:!0},{buttonInk:!0},{group:"Surfaces"},{label:"Background",key:"background"},{label:"Panels & cards",key:"surface"},{label:"Borders",key:"line"}];function Vn({colors:e,onChange:o,idPrefix:t}){let r=no(e);return T(mg,{children:pg.map(a=>"colour"in a?T(Gn,{value:e,onChange:o},"colour"):"group"in a?T(ag,{title:a.group},a.group):"button"in a?T(cg,{value:e.button,accent:r.accent,onChange:n=>o({...e,button:n}),idPrefix:t},"button"):"buttonInk"in a?T(ug,{colors:e,accent:r.accent,onChange:n=>o({...e,buttonInk:n}),idPrefix:t},"buttonInk"):T(dg,{label:a.label,colorKey:a.key,value:r[a.key],onChange:(n,l)=>o({...e,[n]:l}),idPrefix:t},a.key))})}function id({index:e,colors:o,selected:t,role:r="radio",open:a,editable:n=!0,onPick:l,onEdit:s,onChangeColors:f}){let d=no(o),p=Ut(e),u=e<ga.length&&!o.brandInk?ga[e]:null,c=Ko(lo(d.text,d.background)??0),x=u?JSON.stringify(o)!==JSON.stringify(u):!1,I=a!==void 0;return ho("div",{className:`sf-theme-card${t?" is-selected":""}`,children:[T("button",{type:"button",role:r,"aria-checked":r==="radio"?t:void 0,"aria-selected":r==="option"?t:void 0,"aria-label":p,className:"sf-theme-pick",onClick:l,children:T(fd,{colors:o})}),ho("div",{className:"sf-theme-foot",children:[T("span",{className:"sf-theme-name",children:p}),c!=="good"&&T("span",{className:"sf-theme-warn",children:qo[c]}),n&&s&&T("button",{type:"button",className:`sf-theme-edit${a?" is-open":""}`,"aria-expanded":I?a:void 0,"aria-controls":I?`sf-theme-colours-${e}`:void 0,"aria-label":`${a?"Done":"Edit"} ${p}`,onClick:s,children:a?"Done":"Edit"})]}),a&&ho("div",{id:`sf-theme-colours-${e}`,className:"sf-theme-colours",children:[T(Vn,{colors:o,onChange:g=>f?.(g)}),u&&T("button",{type:"button",className:"sf-theme-reset",disabled:!x,onClick:()=>f?.({...u}),children:x?`Reset ${p} to the preset`:"Not changed"})]})]})}function dd({colors:e,name:o,nameId:t,open:r,menuId:a,labelId:n,buttonRef:l,onClick:s,onKeyDown:f,onEdit:d}){return ho("div",{className:"sf-secttheme-btn",children:[T("button",{ref:l,type:"button",className:"sf-theme-pick","aria-expanded":r,"aria-controls":a,"aria-labelledby":`${n} ${t}`,onClick:s,onKeyDown:f,children:e?T(fd,{colors:e}):T("span",{className:"sf-secttheme-nopreview","aria-hidden":"true"})}),ho("div",{className:"sf-theme-foot",children:[T("span",{id:t,className:"sf-theme-name",children:o}),d&&T("button",{type:"button",className:"sf-theme-edit","aria-label":`Edit ${o}`,onClick:d,children:"Edit"}),T("button",{type:"button",className:"sf-secttheme-caret","aria-hidden":"true",tabIndex:-1,onClick:s,children:T("span",{className:"sf-multi-caret",children:"\u25BE"})})]})]})}import{useCallback as $n,useEffect as xg,useRef as vr}from"react";function cd(e=se()){return(o,t,r)=>{let a=ke(e).theme;return a?a.update(o,r?{siteId:r}:void 0):Promise.reject(new pr("invalid","This backend stores no site theme."))}}function ud(e){return e.themeFromDocument?{status:"skipped",reason:"template"}:e.token?null:{status:"skipped",reason:"no-token"}}async function Ig(e,o=cd()){let{themeFromDocument:t,token:r,siteId:a,patch:n}=e,l=ud({themeFromDocument:t,token:r});if(l)return l;if(Object.keys(n).length===0)return{status:"skipped",reason:"empty"};try{return await o(n,r,a??void 0),{status:"saved"}}catch(s){return{status:"failed",error:s}}}function pd({themeFromDocument:e,tokenRef:o,siteId:t,onResult:r}){let a=vr(null),n=vr({}),l=He(),s=vr(r);s.current=r;let f=vr(null),d=$n(c=>{if(c.status==="skipped"){let x=`skipped:${c.reason}`;if(f.current===x)return;f.current=x}else f.current=null;s.current?.(c)},[]),p=$n(async()=>{a.current&&(clearTimeout(a.current),a.current=null);let c=n.current;n.current={};let x=await Ig({themeFromDocument:e,token:o?.current,siteId:t,patch:c},cd(l));return d(x),x},[e,o,t,d,l]),u=$n((c,x=!1)=>{let I=ud({themeFromDocument:e,token:o?.current});if(I){d(I);return}n.current={...n.current,...c},a.current&&clearTimeout(a.current),x?p():a.current=setTimeout(()=>{p()},500)},[e,o,p,d]);return xg(()=>()=>{p()},[p]),{persist:u,flush:p}}import{Fragment as Fg,jsx as $,jsxs as Do}from"react/jsx-runtime";var kg="Follow the page",vL="Follow the slideshow",Rg=e=>`Editing ${e} changes it everywhere.`;function Tg({colors:e}){if(!e)return $("span",{className:"sf-secttheme-chip sf-secttheme-chip--none","aria-hidden":"true"});let o=no(e);return Do("span",{className:"sf-secttheme-chip","aria-hidden":"true",children:[$("i",{style:{background:o.background}}),$("i",{className:"sf-secttheme-chip-accent",style:{background:o.accent}})]})}function wg({themes:e,value:o,onPick:t,onEdit:r,menuId:a,followLabel:n}){return Do("div",{className:"sf-multi-menu sf-secttheme-menu",id:a,role:"listbox",children:[n!==void 0&&Do(Fg,{children:[Do("button",{type:"button",role:"option","aria-selected":o===null,className:`sf-secttheme-item${o===null?" is-active":""}`,onClick:()=>t(-1),children:[$(Tg,{}),$("span",{className:"sf-secttheme-name",children:n})]}),$("div",{className:"sf-secttheme-sep",role:"presentation"})]}),o!==null&&e[o]&&$("p",{className:"sf-secttheme-oncard",role:"presentation",children:`${Ut(o)} is on this section`}),e.map((l,s)=>s===o?null:$(id,{role:"option",index:s,colors:l,selected:!1,onPick:()=>t(s),onEdit:()=>r(s)},s))]})}function Pg({index:e,colors:o,onChange:t,onDone:r}){let a=Ut(e),n=Id();return Do("div",{className:"sf-secttheme-sheet",children:[Do("div",{className:"sf-secttheme-sheet-head",children:[$("span",{children:a}),$("button",{type:"button",className:"sf-secttheme-done",onClick:r,children:"Done"})]}),$("div",{className:"sf-secttheme-rows",children:$(Vn,{colors:o,onChange:t,idPrefix:n})}),$("p",{className:"sf-secttheme-warn",children:Rg(a)})]})}function qn({value:e,onChange:o,followLabel:t}){let{theme:r,setTheme:a}=io(),n=Tt(r),l=bg(Qo),s=l?.tokenRef,f=l?.siteId??null,d=!l?.capabilities?.hasSiteTheme,{persist:p,flush:u}=pd({themeFromDocument:d,tokenRef:s,siteId:f}),c=Tt(n),x=c.themes,I=yn(e),g=I!==null?x[I]:void 0,b=g??(x.length?Ts(c):void 0),[R,w]=xd(!1),[k,_]=xd(null),V=md(null),pe=md(null),L=Id(),oe=gg(()=>{w(!1),_(null)},[]);Sg(()=>{if(!R&&k===null)return;let M=Pe=>{V.current&&!V.current.contains(Pe.target)&&(u(),oe())};return document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[R,k,oe,u]);let to=M=>{o(M),oe()},le=M=>{if(k===null)return;let Pe=x.map((ye,Q)=>Q===k?M:ye),_e={...c,themes:Pe};a(_e),p({selected_preset:_e.selected,theme_presets:_e.themes})};return Do("div",{className:"sf-secttheme",ref:V,children:[$(Cg,{label:"Theme",icon:$(yg,{}),labelId:`${L}-label`,children:$(dd,{colors:b,onEdit:I!==null?()=>{_(I),w(!1)}:void 0,name:g?Ut(I):t??kg,nameId:`${L}-value`,labelId:`${L}-label`,open:R,menuId:L,buttonRef:pe,onClick:()=>{_(null),w(M=>!M)},onKeyDown:M=>{M.key==="Escape"&&(R||k!==null)&&(M.preventDefault(),oe())}})}),R&&k===null&&$("div",{onKeyDown:M=>{M.key==="Escape"&&(M.preventDefault(),oe(),pe.current?.focus())},children:$(wg,{themes:x,value:I,onPick:to,onEdit:M=>{_(M),w(!1)},menuId:L,followLabel:t})}),k!==null&&x[k]&&$(Pg,{index:k,colors:x[k],onChange:le,onDone:()=>{u(),oe(),pe.current?.focus()}})]})}import{useId as Eg}from"react";import{FieldSelect as vg}from"efficient-easel/fields";import{jsx as hd,jsxs as Ag}from"react/jsx-runtime";function Lg(e){return e.map(({value:o,label:t,group:r,thumb:a,meta:n})=>({value:o,label:t,...r!==void 0?{group:r}:{},...a!==void 0?{thumb:a}:{},...n!==void 0?{meta:n}:{}}))}function gd({label:e,options:o,fallback:t,value:r,onChange:a,placeholder:n,bare:l=!1}){let s=Eg(),f=`${s}-label`,d=`${s}-button`,p=r??"",u=o.some(x=>x.value===p)?p:t,c=hd(vg,{id:d,value:u,options:Lg(o),onChange:a,placeholder:n,searchPlaceholder:n,...l?{ariaLabel:e}:{ariaLabelledBy:`${f} ${d}`},searchable:!0,groupCount:!0,inline:!0});return l?c:Ag("div",{className:"sf-field sf-combo",children:[hd("div",{className:"sf-field-label",id:f,children:e}),c]})}import{SettingsField as Dg}from"efficient-easel/panel";import{LinkIcon as _g}from"efficient-easel/icons";import{useEffect as wd,useRef as Ng,useState as Ar}from"react";function bd(){return se().auth.token}function Sd(e){return(e??"").toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")}var yd=[{value:"page",label:"Page"},{value:"anchor",label:"Anchor"},{value:"blog",label:"Blog post",needs:"service"},{value:"product",label:"Product",needs:"commerce"},{value:"custom",label:"Custom URL"}];function Cd(e){return e.offersCommerce&&e.offersService?yd:yd.filter(o=>!o.needs||(o.needs==="commerce"?e.offersCommerce:e.offersService))}function Lr(e){return e===Ue?"/":`/${e}`}function kd(e){return`/journal/${e}`}function WL(e){return`/wheels/${e}`}function Kn(e,o){return`${Lr(e)}#${o}`}function Og(e){return Sd(e)}function Bg(e){return typeof e=="string"?e.trim():e&&typeof e=="object"&&typeof e.text=="string"?e.text.trim():""}function Rd(...e){let o=new Set,t=[];for(let r of e)for(let a of r?.content??[]){let n=Bg(a?.props?.anchor);if(!n)continue;let l=Og(n);!l||o.has(l)||(o.add(l),t.push({slug:l,name:n}))}return t}function VL(e){let o=e.indexOf("#"),t=o===-1?e:e.slice(0,o),r=t.indexOf("?");return r===-1?t:t.slice(0,r)}function Td(e,o){if(!e)return"page";if(e.startsWith("/journal/"))return"blog";if(e.startsWith("/wheels/"))return"product";if(e.includes("#")){let t=e.slice(0,e.indexOf("#"));if(t===""||t==="/"||o.includes(t))return"anchor"}return e==="/"||o.includes(e)?"page":"custom"}import{jsx as we,jsxs as Or}from"react/jsx-runtime";function Pd(e){let o=new Map;return(t="")=>{let r=bd(),a=o.get(t);if(!a||a.token===null&&r!==null){let n=r||!se().usesBridgedToken?e(r??"",t).catch(()=>[]):Promise.resolve([]);return o.set(t,{promise:n,token:r}),n}return a.promise}}var Mg=Pd(async(e,o)=>{let t=o?{siteId:o}:void 0,{pages:r}=ke();return r.linkTargets?r.linkTargets(t):(await r.list(t)).map(a=>({id:a.id,slug:a.slug,label:a.label,layout:null}))}),Hg=Pd(async(e,o)=>await ke().blog?.posts(o?{siteId:o}:void 0)??[]);function zn(e,o){return e&&!o.some(t=>t.value===e)?[{value:e,label:`${e} (unavailable)`},...o]:o}function Xn({value:e,onChange:o,label:t="Link"}){let r=typeof e=="string"?e:"",{siteId:a,capabilities:n}=_f(),{offersCommerce:l,hasBlog:s}=n,f=Cd({offersCommerce:l,offersService:s}),[d,p]=Ar([]),[u,c]=Ar([]),[x,I]=Ar([]),g=He().chrome,b=g?.products?.list,R=g?.linkRow,[w,k]=Ar(null),_=Ng(!0);wd(()=>(_.current=!0,()=>{_.current=!1}),[]),wd(()=>{let S=!0;return Mg(a??void 0).then(K=>S&&_.current&&p(K)),s&&Hg(a??void 0).then(K=>S&&_.current&&c(K)),l&&b?.().then(K=>S&&_.current&&I(K)),()=>{S=!1}},[a,l,s,b]);let V=d.map(S=>Lr(S.slug)),pe=w??Td(r,V),L=f.some(S=>S.value===pe)?pe:"custom",oe=l&&L==="page"?R:void 0,to=S=>{k(S),S!=="custom"&&o("")},le=d.filter(S=>!$f(S.slug)),M=zn(r,le.map(S=>({value:Lr(S.slug),label:S.label}))),Pe=zn(r,u.map(S=>({value:kd(S.slug),label:S.title||S.slug}))),_e=zn(r,x.map(S=>({value:S.href,label:S.name}))),ye=(S,K)=>Or("select",{value:r,onChange:J=>o(J.target.value),children:[we("option",{value:"",children:K}),S.map((J,z)=>we("option",{value:J.value,children:J.label},`${J.value}:${z}`))]}),Q=le.map(S=>({page:S,anchors:Rd(S.layout)})).filter(S=>S.anchors.length>0),ro=Q.flatMap(S=>S.anchors.map(K=>Kn(S.page.slug,K.slug))),Ne=Or("select",{value:r,onChange:S=>o(S.target.value),children:[we("option",{value:"",children:Q.length?"Select a section\u2026":"No section anchors yet"}),r&&!ro.includes(r)&&we("option",{value:r,children:`${r} (unavailable)`}),Q.map(S=>we("optgroup",{label:S.page.label,children:S.anchors.map(K=>{let J=Kn(S.page.slug,K.slug);return we("option",{value:J,children:K.name},J)})},S.page.id))]});return Or("div",{children:[we(Dg,{label:t,icon:we(_g,{}),children:Or("div",{className:"sf-linkstack",children:[we("select",{"aria-label":"Link type",value:L,onChange:S=>to(S.target.value),children:f.map(S=>we("option",{value:S.value,children:S.label},S.value))}),L==="page"&&ye(M,"Select a page\u2026"),L==="anchor"&&Ne,L==="blog"&&ye(Pe,"Select a blog post\u2026"),L==="product"&&ye(_e,"Select a product\u2026"),L==="custom"&&we("input",{type:"text",value:r,placeholder:"Link (e.g. /wheels or https://\u2026)",onChange:S=>o(S.target.value)})]})}),oe&&we(oe,{value:r,onChange:o,pages:d})]})}var Be={min:10,max:200,step:10};function Fd(e,o){let t=typeof e=="number"?e:void 0,r=typeof o=="number"?o:void 0;if(!(t===void 0&&r===void 0))return{paddingTop:t,paddingBottom:r}}var Gg="sf-pad-top-phone",Ug="sf-pad-bottom-phone",Wg="--sf-pad-t-phone",Vg="--sf-pad-b-phone",$g="sf-pad-left-phone",qg="sf-pad-right-phone",Kg="--sf-pad-l-phone",zg="--sf-pad-r-phone";function tA(e,o,t,r,a,n,l,s){let f=Fd(e,o)??{},d={},p=["sf-section-pad"];typeof t=="number"&&(p.push(Gg),d[Wg]=`${t}px`),typeof r=="number"&&(p.push(Ug),d[Vg]=`${r}px`);let u={};return typeof a=="number"&&(u.paddingLeft=a),typeof n=="number"&&(u.paddingRight=n),typeof l=="number"&&(p.push($g),d[Kg]=`${l}px`),typeof s=="number"&&(p.push(qg),d[zg]=`${s}px`),p.length===1&&Fd(e,o)===void 0&&!Object.keys(u).length?null:{className:p.join(" "),style:{...f,...u,...d}}}var Ed=e=>typeof e=="number"?e:void 0;function vd(e,o,t){let r=Ed(e)??t,a=Ed(o);return r===void 0?a:a===void 0?r:r+a}function rA(e,o={}){return{top:vd(e.padTop,e.sectionPaddingTop,o.top),bottom:vd(e.padBottom,e.sectionPaddingBottom,o.bottom)}}var Xg=["auto","fixed","screen"],Yg=["px","%"];var jg="var(--sf-header-h, 88px)",Yn={min:40,max:2e3,step:10,fallback:600},jn={min:10,max:200,step:5,fallback:100},Zg="sf-section-minh",Ld={base:"--sf-section-minh",small:"--sf-section-minh-s"},Od=e=>typeof e=="string"&&Xg.includes(e),Qg=e=>typeof e=="string"&&Yg.includes(e);function Br(e){let o=Od(e.sectionHeightMode)?e.sectionHeightMode:"auto",t=o==="screen"?"%":Qg(e.sectionHeightUnit)?e.sectionHeightUnit:"px",r=o==="screen"?jn.fallback:Yn.fallback,a=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:r;return{mode:o,value:a,unit:t}}function Bd(e){let{mode:o,value:t,unit:r}=Br(e);if(o==="auto")return;if(o==="fixed"&&r==="px")return[`${t}px`,null];let a=t/100,n=l=>o==="screen"?`(100${l} - ${jg})`:`100${l}`;return[`calc(${n("vh")} * ${a})`,`calc(${n("svh")} * ${a})`]}function Jg(e){let o=Bd(e);if(!o)return;let[t,r]=o;return{display:"grid",[Ld.base]:t,...r?{[Ld.small]:r}:{}}}var nA=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),st="Height",eb="sf-section-minh-phone",Ad={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function Zn(e){return Od(e.sectionHeightModePhone)}function lA(e){return Br({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}function ob(e){let o=Jg(e),t=Zn(e)?Bd({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone}):void 0;if(!o&&!t)return null;let r=[Zg],a={...o??{}};return t&&(r.push(eb),a[Ad.base]=t[0],t[1]&&(a[Ad.small]=t[1])),{className:r.join(" "),style:a}}function sA(e){return ob(e)!==null}var iA=["desktop","tablet","mobile"],ft={desktop:"Desktop",tablet:"Tablet",mobile:"Mobile"},tb=720,rb=1100;function dA(e){return e>=rb?"desktop":e>=tb?"tablet":"mobile"}var ab=["column","row","tabs"],Dd="Direction",nb={column:"Stacked",row:"One row",tabs:"Tabs"},_d={Flex:ab,HeroGroup:["column","row"]},lb={Flex:"row",HeroGroup:"column"},sb={column:"flex-col",row:"flex-row",tabs:"flex-col"};function Dr(e,o){return _d[e].includes(o)?o:lb[e]}function uA(e,o){return sb[Dr(e,o)]}function Nd(e){return _d[e].map(o=>({label:nb[o],value:o}))}var Qn=[{label:"Start",value:"start"},{label:"Center",value:"center"},{label:"Space between",value:"between"},{label:"End",value:"end"}],Gd=[{label:"Start",value:"start"},{label:"Center",value:"center"},{label:"Stretch",value:"stretch"}],Ud="Wrap",Jn=[{label:"Wrap",value:"wrap"},{label:"No wrap",value:"nowrap"}],Md={start:"justify-start",center:"justify-center",between:"justify-between",end:"justify-end"},Hd={start:"items-start",center:"items-center",stretch:"items-stretch"};function mA(e,o){let t=typeof e=="string"&&e in Md?Md[e]:"",r=typeof o=="string"&&o in Hd?Hd[o]:"";return[t,r].filter(Boolean).join(" ")}function xA(e){return e===!0||e==="wrap"?"flex-wrap":""}var el="Block widths",_r=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{label:"Big left",value:"bigLeft",weights:[2,1]},{label:"Big right",value:"bigRight",weights:[1,2]},{label:"Bigger left",value:"biggerLeft",weights:[3,1]},{label:"Bigger right",value:"biggerRight",weights:[1,3]}],Wt="[&>*]:min-w-0 [&>*]:flex-1 [&>*]:basis-0",fb={equal:Wt,bigLeft:`${Wt} [&>*:first-child]:min-[800px]:grow-[2]`,bigRight:`${Wt} [&>*:last-child]:min-[800px]:grow-[2]`,biggerLeft:`${Wt} [&>*:first-child]:min-[800px]:grow-[3]`,biggerRight:`${Wt} [&>*:last-child]:min-[800px]:grow-[3]`};function IA(e){return typeof e=="string"?fb[e]??"":""}var Wd="Columns on phone",ol=1,Vd=3,ib={2:"max-[800px]:flex-wrap [&>*]:max-[800px]:min-w-0 [&>*]:max-[800px]:basis-[calc((100%_-_var(--sf-gap-len,0px))/2)]",3:"max-[800px]:flex-wrap [&>*]:max-[800px]:min-w-0 [&>*]:max-[800px]:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_2)/3)]"};function hA(e){let o=Number(e);return ib[o]??"max-[800px]:flex-col"}var $d="Block spacing",tl=[{label:"Each block",value:"each"},{label:"Gap only",value:"gap"}],db="sf-box-gap-only";function gA(e){return e==="gap"?db:""}var zd="sf.gapContainer",go={min:-32,max:64,step:2},Xd={Grid:{sm:12,md:24,lg:40},Flex:{sm:12,md:24,lg:40},FooterGroup:{sm:8,md:16,lg:32},HeroGroup:null,Events:null,GalleryB:null,ProductGrid:null},Nr={Grid:24,Flex:24,FooterGroup:16,HeroGroup:0,Events:24,GalleryB:8,ProductGrid:2},cb=new Set(["Events","GalleryB"]);function al(e,o,t){if(typeof o=="number"&&Number.isFinite(o)&&o>=go.min)return o;if(typeof o=="string"){let r=Xd[e]?.[o];if(typeof r=="number")return r}return typeof t=="number"&&Number.isFinite(t)?t:Nr[e]}var ub="sf-gap-overlap",pb="--sf-gap-overlap",Yd="--sf-block-gap",mb="--sf-block-gap-rem",rl={min:0,max:go.max,step:go.step};function xb(e){if(typeof e!="number"||!Number.isFinite(e))return null;let o=Math.min(Math.max(Math.round(e),rl.min),rl.max);return o-o%rl.step}function SA(e){let o=xb(e);return o===null?{}:{[Yd]:`${o}px`,[mb]:`${o/16}rem`}}var qd="sf-gap-zone",Kd="--sf-gap-len";function nl(e,o){return typeof o=="number"&&Number.isFinite(o)&&o>=go.min?!0:typeof o=="string"&&typeof Xd[e]?.[o]=="number"}var Ib={block:"sf-gap-overlap-block",inline:"sf-gap-overlap-inline",both:"sf-gap-overlap-both"};function yA(e,o,t){if(!nl(e,o)){let a=`${Nr[e]}px`,n=cb.has(e)?`var(--sf-card-gap, ${a})`:a;return{className:` ${qd}`,style:{[Kd]:`var(${Yd}, ${n})`}}}let r=al(e,o);return r>=0?{className:` ${qd}`,style:{[Kd]:`${r}px`}}:{className:` ${ub} ${Ib[t]}`,style:{gap:"0px",[pb]:`${-r/2}px`}}}var jd=["transparent","var(--wheel-stage)","var(--surface)","var(--surface-2)"],Zd={transparent:"No fill","var(--wheel-stage)":"Image stage","var(--surface)":"Panels and cards","var(--surface-2)":"Second surface"},it="var(--wheel-stage)",Mr="transparent",Vt="inherit";function Qd(e,o){return e===Vt?it:e==null?o:e===!0?it:e===!1?Mr:e}function kA(e){return typeof e=="string"&&e!==Vt?e:it}function RA(e){return e!==Mr&&e!=="none"&&e!==""}function Jd(e,o){return e===Vt||e===!0?!0:e==null?o===it:!1}var ec=["transparent","var(--section-bg)","var(--surface)","var(--surface-2)"],oc={transparent:"No fill","var(--section-bg)":"Section band","var(--surface)":"Panels and cards","var(--surface-2)":"Second surface"},Hr="var(--section-bg)",Gr="inherit";function wA(e,o){return e===Gr?Hr:e===void 0?o:e}function tc(e,o){return e===Gr?!0:e===void 0&&o===Hr}var rc="inherit",Ur="fixed",ac=e=>typeof e!="number"&&e!==Ur,hb="var(--sf-heading-max, 9999px)";function FA(e,o,t,r){if(typeof e=="number")return`${e}px`;if(e===Ur)return o;let a=r?`var(--size-${r}, ${o})`:o;return t==="heading"?`min(${a}, ${hb})`:a}var De={min:1e3,max:2e3,step:50,default:1600};function nc(e){return{maxWidth:e,marginInline:"auto",width:"100%"}}function vA(e,o){if(e!==!1)return null;let t=typeof o=="number"?o:De.default;return nc(t)}var lc="--sf-site-width",Wr=`var(${lc},${De.default}px)`,LA=`max-w-[${Wr}]`,AA=`max-w-[${De.default}px]`;function gb(e){return typeof e!="number"||!Number.isFinite(e)?De.default:Math.round(Math.min(Math.max(e,De.min),De.max))}function OA(e){let o=gb(e);return o===De.default?{}:{[lc]:`${o}px`}}var $t={min:0,max:80,step:4,default:40},sc="--sf-site-gutter",ue=`var(${sc},${$t.default}px)`,bb=`px-[${ue}]`;var bo={md:`min(24px,${ue})`,sm:`min(20px,${ue})`,frame:`min(24px,${ue})`,tabs:`min(16px,${ue})`},BA=[[`max-[1100px]:px-[${bo.md}]`,"max-[1100px]:px-6"],[`max-[1100px]:px-[${bo.tabs}]`,"max-[1100px]:px-4"],[`max-[960px]:px-[${bo.frame}]`,"max-[960px]:px-6"],[`max-[900px]:px-[${bo.md}]`,"max-[900px]:px-6"],[`max-[800px]:px-[${bo.md}]`,"max-[800px]:px-6"],[`max-[720px]:px-[${bo.sm}]`,"max-[720px]:px-5"],[`max-[800px]:px-[${bo.sm}]`,"max-[800px]:px-5"],[`max-[640px]:px-[${bo.sm}]`,"max-[640px]:px-5"],[`min-[800px]:px-[${ue}]`,"min-[800px]:px-10"],[`max-[720px]:px-[min(24px,${ue})]`,"max-[720px]:px-6"],[`max-[800px]:-mx-[min(20px,${ue})]`,"max-[800px]:-mx-5"],[`max-[720px]:-mx-[min(20px,${ue})]`,"max-[720px]:-mx-5"],[`-mx-[${ue}]`,"-mx-10"],[bb,"px-10"]];function Sb(e){return typeof e!="number"||!Number.isFinite(e)?$t.default:Math.round(Math.min(Math.max(e,$t.min),$t.max))}function DA(e){let o=Sb(e);return o===$t.default?{}:{[sc]:`${o}px`}}var Vr=`min(var(--sf-page-cap,${Wr}),${Wr})`,_A=`max-w-[${Vr}]`,NA=`max-w-[min(var(--sf-page-cap,${De.default}px),${De.default}px)]`,fc="--sf-hero-cap",yb=`var(${fc},none)`,MA=`max-w-[${yb}]`,ll="--sf-hero-bleed-m",sl="--sf-hero-bleed-w",HA=`var(${ll},calc(50% - 50vw))`,GA=`var(${sl},100vw)`,UA=`mx-[var(${ll},calc(50%_-_50vw))]`,WA=`w-[var(${sl},100vw)]`,fl="--sf-hero-chrome-x",il="--sf-hero-chrome-cap";function VA(e){return e===!0?{[fc]:Vr,[ll]:"auto",[sl]:"100%",[fl]:"24px",[il]:"none"}:{}}var dl=`calc(${Wr} - ${ue}*2)`,$A=`max-w-[${dl.replace(/ /g,"_")}]`;var Cb="--sf-chrome-cap",kb=`var(${Cb},${dl})`,qA="data-page-width";function KA(e){return e==="full"?"full":null}function zA(e){return e==="full"?null:nc(e==="content"?dl:kb)}function XA(e){if(e==="full")return"full";if(e==="content")return"content"}var Rb=["contained","page","full"],ic=["full","page"],dc={full:"Full width",page:"Content width"},cl="inherit",Tb=e=>typeof e=="string"&&Rb.includes(e),wb=e=>e===cl;function ul(e,o){let t=typeof e.pageWidth=="number"?e.pageWidth:De.default;return wb(e.widthMode)?{mode:"full",pageWidth:t,inherited:!0}:e.widthMode==="contained"?{mode:"page",pageWidth:t,inherited:!1}:Tb(e.widthMode)?{mode:e.widthMode,pageWidth:t,inherited:!1}:e.contained===!0?{mode:"page",pageWidth:t,inherited:!1}:typeof e.fullWidth=="boolean"?{mode:e.fullWidth?"full":"page",pageWidth:t,inherited:!1}:e.contained===!1?{mode:"full",pageWidth:t,inherited:!1}:{mode:o,pageWidth:t,inherited:o==="full"}}function pl(e){return ul(e,"page").mode==="full"}import{createContext as Pb,useContext as Fb}from"react";import{jsx as Lb}from"react/jsx-runtime";var Eb=2,vb=Eb+1,cc=Pb(2);function JA({tier:e,children:o}){return Lb(cc.Provider,{value:e,children:o})}function ml(e){let o=Fb(cc);return vb+Math.max(0,e-o)}import{withStyleKind as xS}from"efficient-easel/style-clipboard";import{Fragment as eo,jsx as i,jsxs as q}from"react/jsx-runtime";function qt(e){for(let[o,t]of Object.entries(e))t&&typeof t=="object"&&!pt(t)&&xS(t,`section:${o}`);return e}function Sc(){return null}function IS(e){if(!e.trim())throw new Error("noGlyph() needs a reason naming the ruling that decided it.");return i(Sc,{},e)}function hS(e){return e.type===Sc}function qr(e){return hS(e)?void 0:e}function yo({inherited:e,source:o,detail:t,onReset:r,onOptOut:a,optOutTitle:n,label:l}){if(e){let f=t?`Following the ${o.toLowerCase()} setting \u2014 ${t}`:`Following the ${o.toLowerCase()} setting`;if(!a)return q("span",{className:"sf-inherit",title:t?f:void 0,children:["Inherits \xB7 ",o]});let d=`${f}. ${n??`Click to keep ${l} at this section's own size instead`}`;return q("button",{type:"button",className:"sf-inherit sf-inherit--following",onClick:a,title:d,"aria-label":d,children:["Inherits \xB7 ",o,i("span",{className:"sf-inherit-revert","aria-hidden":"true",children:"\u21F1"})]})}let s=`Reset ${l} to follow the ${o.toLowerCase()} setting${t?` (${t})`:""}`;return q("button",{type:"button",className:"sf-inherit sf-inherit--over",onClick:r,title:s,"aria-label":s,children:["Overridden",i("span",{className:"sf-inherit-revert","aria-hidden":"true",children:"\u21BA"})]})}function gS(){let{appState:e}=ct(a=>a),o=e.data.root?.props??{},{mode:t,pageWidth:r}=ul(o,"full");return t==="page"?`Page width \u2014 ${r}px`:t==="contained"?"Page width \u2014 Contained":"Page width \u2014 Full"}function bS(){let{blockGap:e}=io();return e===null?"Site block gap \u2014 not set, so this container keeps its own spacing":`Site block gap \u2014 ${e}px`}function SS({inherited:e,onReset:o,label:t}){return i(yo,{inherited:e,source:"Site",detail:bS(),onReset:o,label:t})}function yS({inherited:e,onReset:o,label:t}){return i(yo,{inherited:e,source:"Page",detail:gS(),onReset:o,label:t})}function CS(){return q("svg",{className:"sf-field-type",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.8,"aria-hidden":"true",children:[i("polyline",{points:"4 7 4 4 20 4 20 7"}),i("line",{x1:"9",x2:"15",y1:"20",y2:"20"}),i("line",{x1:"12",x2:"12",y1:"4",y2:"20"})]})}function No({value:e,onChange:o,label:t,placeholder:r,hint:a,multiline:n,hideable:l=!0,markup:s=!0}){let{text:f,hidden:d}=Qe(e),p=hl(null),u=hl(null),c=g=>o(l?{text:g,hidden:d}:g),x=()=>o({text:f,hidden:!d});return q("div",{className:`sf-field${l&&d?" is-hidden":""}`,children:[q("div",{className:"sf-field-head",children:[i(CS,{}),i("span",{className:"sf-field-label sf-field-label--inline",children:t}),l&&i("button",{type:"button",className:"sf-field-eye","aria-pressed":d,"aria-label":d?`Show ${t} on the slide`:`Hide ${t} on the slide`,title:d?`Show ${t} on the slide`:`Hide ${t} on the slide`,onClick:x,children:d?i(Jo,{name:"eye-off",size:14}):i(Jo,{name:"eye",size:14})})]}),q("div",{className:"sf-copybox",children:[s&&i(Tn,{target:n?u:p,value:f,onChange:c}),n?i("textarea",{ref:u,value:f,placeholder:r,onChange:g=>c(g.target.value)}):i("input",{ref:p,type:"text",value:f,placeholder:r,onChange:g=>c(g.target.value)})]}),a&&i("p",{className:`sf-field-hint${PS(a)?" sf-field-hint--while-typing":""}`,children:a})]})}function tB(e,o){return{...e,[Bt]:o}}function rB(e){let o=e[Z];if(!o)throw new Error("withOffPage: the field holds no authored text");return{...e,[Z]:{...o,offPage:!0}}}function aB(e){return!e||typeof e!="object"?!1:e[Z]?.offPage===!0}function nB(e){let o=e[Z];if(!o)throw new Error("withIdentifier: the field holds no authored text");return{...e,[Z]:{...o,identifier:!0}}}function yc(e){return!e||typeof e!="object"?!1:e[Z]?.identifier===!0}var kS=new Set(Oo),ut=(e,o)=>{let t={...o,[Z]:e};if(!kS.has(e.control))return t;let r=o.render;return{...Fr(t,"authored-copy"),render:a=>i(Xi,{name:a.name,children:r(a)})}},lB="Everything else on this block comes from the linked post. Unlink it to edit by hand.",RS="Select a word, then press the highlighter.",TS="A short name so a link can jump straight to this section, like yoursite.com/page#about.",wS=new Set([RS]),PS=e=>wS.has(e);function sB(e,o,t){return ut({control:"text",label:e,placeholder:o,hint:t},{type:"custom",render:({value:r,onChange:a})=>i(No,{value:r,onChange:a,label:e,placeholder:o,hint:t})})}function fB(e,o,t){return ut({control:"textarea",label:e,placeholder:o,hint:t},{type:"custom",render:({value:r,onChange:a})=>i(No,{value:r,onChange:a,label:e,placeholder:o,hint:t,multiline:!0})})}function FS(e,o,t){return ut({control:"plainText",label:e,placeholder:o,hint:t},{type:"custom",render:({value:r,onChange:a})=>i(No,{value:r,onChange:a,label:e,placeholder:o,hint:t,hideable:!1,markup:!1})})}function iB(e,o,t){return ut({control:"copyText",label:e,placeholder:o,hint:t},{type:"custom",render:({value:r,onChange:a})=>i(No,{value:r,onChange:a,label:e,placeholder:o,hint:t,hideable:!1})})}function dB(e){return{type:"custom",[Ot]:{label:e},render:({value:o,onChange:t})=>i(Xn,{value:ot(o),onChange:t,label:e})}}function cB(e,o,t){return ut({control:"plainTextarea",label:e,placeholder:o,hint:t},{type:"custom",render:({value:r,onChange:a})=>i(No,{value:r,onChange:a,label:e,placeholder:o,hint:t,multiline:!0,hideable:!1})})}var uB={Content:nS,Style:aS,Layout:zb,Animation:pc};function pB(e,o){return e.includes("Content")?o!=="Content":null}function ES({label:e}){return i(fS,{title:e,level:ml(1)})}function vS({level:e,label:o}){return e===1?i(ES,{label:o}):i(AS,{label:o})}var gl="__fold";function pt(e){return e?.[gl]??null}function Cc(e,o){return{type:"custom",[gl]:{label:e,level:o},render:()=>i(vS,{level:o,label:e})}}function Se(e){return Cc(e,2)}function mB(e){return{type:"custom",render:()=>i(LS,{text:e})}}function LS({text:e}){return i("p",{className:"sf-note",children:e})}function xB(e){return Cc(e,1)}function IB(e){return pt(e)!==null&&e?.tabs!==void 0}var uc=new Map;function Kr(e,o){let t=`${e}\0${o?o.join(""):""}`,r=uc.get(t)??{type:"custom",tabs:o,[gl]:{label:e,level:1},bucket:e,marker:!0,render:()=>i(eo,{})};return uc.set(t,r),r}function AS({label:e}){return i(iS,{title:e,level:ml(2)})}function kc({swatches:e,current:o,onPick:t,names:r}){let a=e.find(l=>l.toLowerCase()===o.toLowerCase()),n=(a?r?.[a]:void 0)??o;return q("div",{className:"sf-swatches",children:[e.map(l=>{let s=r?.[l]??l;return i("button",{type:"button","aria-pressed":o.toLowerCase()===l.toLowerCase(),className:`sf-swatch ${o.toLowerCase()===l.toLowerCase()?"is-active":""}`,style:{background:l},onClick:()=>t(l),"aria-label":s,title:s},l)}),i("span",{className:"sf-swatch-hex",children:n})]})}function hB(e,o){return{type:"custom",render:({value:t,onChange:r})=>{let a=tc(t,o);return i(W,{label:e,icon:i(Db,{}),action:i(yo,{inherited:a,source:"Theme",detail:"the theme's section background",onReset:()=>r(Gr),label:e}),children:kc({swatches:ec,current:a?Hr:t??o??"",onPick:r,names:oc})})}}}function OS(e,o){return{type:"custom",render:({value:t,onChange:r})=>{let a=t,n=Jd(a,o);return i(W,{label:e,icon:i(qb,{}),action:i(yo,{inherited:n,source:"Theme",detail:"the theme's image stage",onReset:()=>r(Vt),label:e}),children:kc({swatches:jd,current:n?it:Qd(a,o),onPick:r,names:Zd})})}}}function Rc(e=t=>t,o){return qt({_gSectionTheme:Se(Bi),sectionAccent:{type:"custom",render:({value:t,onChange:r})=>i(qn,{value:e(t),onChange:r,followLabel:o})}})}function Mo({min:e,max:o,step:t,value:r,onChange:a,suffix:n="",readout:l=!0,notch:s,ariaLabel:f,disabled:d=!1}){let p=s!==void 0&&Number.isFinite(s)&&s>=e&&s<=o;return q("div",{className:p?"sf-slider has-notch":"sf-slider",style:p?{"--sf-notch":(s-e)/(o-e)}:void 0,children:[i("input",{type:"range",min:e,max:o,step:t,value:r,"aria-label":f,disabled:d||void 0,onChange:u=>a(Number(u.target.value))}),l&&i(BS,{value:r,min:e,max:o,step:t,suffix:n,ariaLabel:f,onChange:a})]})}function BS({value:e,min:o,max:t,step:r,onChange:a,suffix:n="",ariaLabel:l,children:s}){let[f,d]=$r(null),p=u=>{u.editing||d(null),u.commit!==null&&u.commit!==e&&a(u.commit)};return f===null?i("button",{type:"button",className:"sf-slider-val",title:"Click to type a value","aria-label":l?`${l}: type a value`:"Type a value",onClick:()=>d(String(e)),children:s??q(eo,{children:[e,n]})}):i("input",{autoFocus:!0,type:"text",inputMode:"decimal",className:"sf-slider-val sf-slider-typed",value:f,"aria-label":l,onChange:u=>d(u.target.value),onFocus:u=>u.currentTarget.select(),onKeyDown:u=>{let c=En(u.key,f,o,t,r);c.handled&&(u.preventDefault(),u.stopPropagation(),p(c))},onBlur:()=>p(En(Fn,f,o,t,r))})}function dt(e,o,t,r,a,n,l="",s){return{type:"custom",render:f=>i(W,{label:e,icon:qr(o),action:s?s("storedValue"in f?f.storedValue:f.value,f.onChange):void 0,children:Mo({min:t,max:r,step:a,value:typeof f.value=="number"?f.value:n,suffix:l,onChange:f.onChange})})}}function Tc({min:e,max:o,step:t,px:r,label:a,onChange:n,disabled:l=!1}){let{cornerRadiusPx:s}=io();return i(eo,{children:Mo({min:e,max:o,step:t,value:r??(typeof s=="number"?s:e),readout:!1,ariaLabel:a,disabled:l,onChange:n})})}function Kt(e,o){let{min:t,max:r,step:a=1,unsetLabel:n="Not set",hint:l,restAtSite:s=!1,restTrack:f,unsetMark:d}=o;return{type:"custom",render:({value:p,onChange:u})=>{let c=typeof p=="number"?p:null,x=c===null;return i(W,{label:e,value:x?d?"":n:`${c}px`,changed:!x,action:x?d??null:i(Rr,{label:e,what:"change",onClear:()=>u(null)}),hint:l,children:f?f({min:t,max:r,step:a,px:c,label:e,onChange:u}):s?i(Tc,{min:t,max:r,step:a,px:c,label:e,onChange:u}):Mo({min:t,max:r,step:a,value:c??t,readout:!1,ariaLabel:e,onChange:u})})}}}function gB(e){let o=dt("Gap",i(Ic,{}),go.min,go.max,go.step,Nr[e],"px",(t,r)=>i(SS,{inherited:!nl(e,t),onReset:()=>r(void 0),label:"Gap"}));return{type:"custom",[zd]:e,render:t=>o.render({...t,value:al(e,t.value,t.field?.siteGap),storedValue:t.value,onChange:r=>t.onChange(r)})}}function DS(){return{type:"custom",render:({value:e,onChange:o})=>{let r=Te(e)??[...be],a=r.length===be.length;return i(W,{label:xo,icon:i(xc,{}),value:kr(r),changed:!a,action:a?null:i(Rr,{label:xo,what:"change",onClear:()=>o(null)}),hint:"Corners left off stay square. The row above sets how round the others are.",children:i(HS,{value:r,onChange:n=>{let l=Te(n)??[];o(l.length===be.length?null:l)}})})}}}function _S(){return Kt("Corners",{min:so,max:wo,unsetLabel:"Inherits \xB7 Site",restTrack:e=>i(NS,{...e}),hint:i(MS,{})})}var wc="This section runs edge to edge, so its corners sit off the page. Set Width to Content width to use them.";function bl(){return pl(zr())}function NS(e){return i(Tc,{...e,disabled:bl()})}function MS(){return i(eo,{children:bl()?wc:"Follows Site styles \u25B8 Basics \u25B8 Corners until you set a number here."})}function HS({value:e,onChange:o}){let t=bl();return i(bc,{label:xo,value:e,corners:t?lt.map(r=>({...r,disabled:!0,title:wc})):lt,onChange:o})}function Pc(){return qt({_gShape:Se("Shape"),sectionCorners:_S(),sectionCornerSides:DS()})}function Fc(){return{_gMotion:Se("Motion"),sectionAnimation:Cl("Entrance",i(pc,{}),[..._i],Cn)}}function Sl(){let e=null;try{let{appState:o,selectedItem:t}=ct(a=>a),r=t?.props?.id?String(t.props.id):void 0;e=r?Rn(o?.data,r):null}catch{e=null}return e!==null&&pl(e)}function Ec(e){let{cornerRadiusPx:o}=io(),t=Sl(),r=typeof o=="number"?o:e,a=null;try{let{appState:l,selectedItem:s}=ct(d=>d),f=s?.props?.id?String(s.props.id):void 0;a=f?Rn(l?.data,f):null}catch{a=null}if(t||!a)return r;let n=a.sectionCorners;return xn(n)?n:r}function GS({min:e,max:o,step:t,px:r,label:a,onChange:n}){let l=Ec(e);return i(eo,{children:Mo({min:e,max:o,step:t,value:r??l,readout:!1,ariaLabel:a,onChange:n})})}function US({label:e}){let o=Sl(),t=Ec(so);return i(yo,{inherited:!0,source:o?"Site":"Section",detail:`${o?"Site":"Section"} \u2014 ${t}px`,onReset:()=>{},label:e})}function WS(){return i(eo,{children:Sl()?"The section is full width, so this card follows Site styles \u25B8 Basics \u25B8 Corners.":"Follows the section's Corners until you set a number here."})}function VS(){return Kt("Corners",{min:so,max:wo,unsetLabel:"Inherits \xB7 Section",unsetMark:i(US,{label:"Corners"}),restTrack:e=>i(GS,{...e}),hint:i(WS,{})})}function $S({value:e,onChange:o}){return i(bc,{label:xo,value:e,corners:lt,onChange:o})}function qS({unset:e}){return i(eo,{children:e?"Set a number above first \u2014 there is nothing to shape yet.":"Corners left off stay square. The row above sets how round the others are."})}function KS(){return{type:"custom",render:({value:e,onChange:o})=>{let r=Te(e)??[...be],a=r.length===be.length;return i(W,{label:xo,icon:i(xc,{}),value:kr(r),changed:!a,action:a?null:i(Rr,{label:xo,what:"change",onClear:()=>o(null)}),hint:i(qS,{unset:!Dt(e)}),children:i($S,{value:r,onChange:n=>{let l=Te(n)??[];o(l.length===be.length?null:l)}})})}}}function zS(){return{type:"custom",render:()=>i(In,{})}}function bB(){return{_gShape:Se("Shape"),cardCorners:VS(),cardCornerSides:KS(),cardCornersApplyAll:zS()}}function SB(){return So("Justify",i(Bb,{}),Qn,Qn[0].value)}function yB(){return So("Item alignment",i(Ob,{}),Gd,"stretch")}function CB(){return So(Ud,i(sS,{}),Jn,Jn[0].value)}function kB(){return{type:"custom",render:({value:e,onChange:o})=>{let t=_r.find(r=>r.value===e)??_r[0];return i(W,{label:el,icon:i(mc,{}),value:t.label,children:i("div",{className:"sf-gallery-layouts",role:"group","aria-label":el,children:_r.map(r=>i("button",{type:"button","aria-pressed":t.value===r.value,"aria-label":r.label,title:r.label,onClick:()=>o(r.value),children:i("span",{className:"sf-gallery-pic",children:XS(r.weights).map((a,n)=>i("i",{style:{gridColumn:`span ${a}`}},n))})},r.value))})})}}}function XS(e){if(!e)return[3,4];let o=e.reduce((t,r)=>t+r,0);return e.map(t=>Math.round(t/o*12))}function RB(){return So($d,i(Ic,{}),tl,tl[0].value)}function TB(){return dt(Wd,i(Jb,{}),ol,Vd,1,ol)}function wB(e){let o=Cl(Dd,IS("`Direction` names how a container's children run \u2014 a MODIFIER, not a thing. doc/naming.md N10.1 gives the idea a dash in its Glyph column; editor-shell's own `direction` meaning says the bare row is CORRECT and not an omission (SS seat, 2026-09-11)."),Nd(e),Dr(e,void 0));return{type:"custom",render:t=>o.render({...t,value:Dr(e,t.value),onChange:r=>t.onChange(r)})}}function PB(e,o,t,r,a,n){return{type:"custom",render:({value:l,onChange:s})=>i(W,{label:e,icon:i(bn,{noun:n}),action:i(yo,{inherited:ac(l),source:"Text",detail:"Website settings \u2192 Text",onReset:()=>s(rc),onOptOut:()=>s(Ur),optOutTitle:`Click to keep ${e} at this section's own built-in size instead`,label:e}),children:Mo({min:o,max:t,step:r,value:typeof l=="number"?l:a,suffix:"px",onChange:s})})}}function FB(){return{_gCellWidth:Se("Cell width"),gridSpan:So("Positions",i(mc,{}),[{label:"Auto",value:""},...Array.from({length:Tr},(e,o)=>({label:o===0?"1 position":`${o+1} positions`,value:String(o+1)}))],"")}}function zr(){let e=null;try{e=ct(o=>o).selectedItem}catch{e=null}return e?.props??{}}function YS({min:e,max:o,step:t,px:r,label:a,onChange:n,desktopKey:l,fallback:s}){let f=zr()[l],d=Er(void 0,f,s);return i(eo,{children:Mo({min:e,max:o,step:t,value:Er(r,f,s),readout:!1,ariaLabel:a,notch:d,onChange:n})})}function jS({label:e,desktopKey:o,fallback:t}){let r=zr()[o],a=Er(void 0,r,t);return i(yo,{inherited:!0,source:ft.desktop,detail:`${ft.desktop} \u2014 ${a}px`,onReset:()=>{},label:e})}function ZS(e){return Kt(e.label,{min:e.min,max:e.max,step:e.step,unsetLabel:`Inherits \xB7 ${ft.desktop}`,unsetMark:i(jS,{label:e.label,desktopKey:e.desktopKey,fallback:e.fallback}),restTrack:o=>i(YS,{...o,desktopKey:e.desktopKey,fallback:e.fallback})})}function vc(e={}){let o=e.keys?.top??"sectionPaddingTop",t=e.keys?.bottom??"sectionPaddingBottom",r=e.group!==!1,a=b=>r?b:`Padding ${b.toLowerCase()}`,n=b=>dt(a("Top"),i(Qb,{}),Be.min,Be.max,Be.step,b,"px"),l=(b,R,w,k=Be)=>Ae("mobile",ZS({label:a(b),desktopKey:R,min:k.min,max:k.max,step:k.step,fallback:w})),s=e.top??Be.min,f=e.bottom??Be.min,d="sectionPaddingLeft",p="sectionPaddingRight",u=e.sideBounds??Be,c=e.side??u.min,x=e.sidePhone??c,I=e.phone===!0,g=b=>I?Ae("desktop",b):b;return qt({...r?{_gSpacing:Se("Padding")}:{},[o]:g(n(s)),...I?{[Mt(o)]:l("Top",o,s)}:{},...e.only==="top"?{}:{[t]:g(dt(a("Bottom"),i(Yb,{}),Be.min,Be.max,Be.step,f,"px")),...I?{[Mt(t)]:l("Bottom",t,f)}:{}},...e.sides?{[d]:g(dt(a("Left"),i(jb,{}),u.min,u.max,u.step,c,"px")),...I?{[Mt(d)]:l("Left",d,x,u)}:{},[p]:g(dt(a("Right"),i(Zb,{}),u.min,u.max,u.step,c,"px")),...I?{[Mt(p)]:l("Right",p,x,u)}:{}}:{}})}var QS={contained:"Contained",page:"Page",full:"Full"},Il="Width";function Lc(e,o=ic,t=!0){let r=o.map(a=>({label:dc[a]??QS[a],value:a}));return qt({...t?{_gWidth:Se(Il)}:{},widthMode:{type:"custom",render:({onChange:a,field:n})=>i(W,{label:"Width",icon:i(lS,{}),action:t?i(yS,{inherited:n?.inherited??!1,onReset:()=>a(cl),label:Il}):void 0,children:yl({options:r,value:n?.currentValue||e,onChange:a,ariaLabel:Il})})}})}function Ac(){let e=r=>({type:"custom",render:({value:a,onChange:n})=>q("div",{className:"sf-field",children:[r?q("div",{className:"sf-field-head",children:[i("span",{className:"sf-field-label sf-field-label--inline",children:st}),r(n)]}):null,i("div",{children:yl({options:[{label:"Auto",value:"auto"},{label:"Fixed",value:"fixed"},{label:"Screen",value:"screen"}],value:["auto","fixed","screen"].includes(a)?a:"auto",onChange:n,ariaLabel:st})})]})}),o=()=>({type:"custom",render:({value:r,onChange:a,field:n})=>{let l=n?.unit==="%"?"%":"px",s=l==="%"?jn:Yn;return i("div",{className:"sf-field",children:Mo({min:s.min,max:s.max,step:s.step,value:typeof r=="number"?r:s.fallback,suffix:l,ariaLabel:st,onChange:a})})}}),t=()=>Cl("Unit",i(hc,{}),[{label:"px",value:"px"},{label:"%",value:"%"}],"px");return qt({_gHeight:Se(st),sectionHeightMode:Ae("desktop",e()),sectionHeightValue:Ae("desktop",o()),sectionHeightUnit:Ae("desktop",t()),sectionHeightModePhone:Ae("mobile",e(r=>i(JS,{onClear:()=>r(void 0)}))),sectionHeightValuePhone:Ae("mobile",o()),sectionHeightUnitPhone:Ae("mobile",t())})}function JS({onClear:e}){let o=zr(),t=Zn(o),r=Br(o),a=`${ft.desktop} \u2014 ${r.mode==="auto"?"Auto":`${r.value}${r.unit}`}`;return i(yo,{inherited:!t,source:ft.desktop,detail:a,onReset:e,label:st})}function Oc(){return{_gAnchor:Se("Anchor"),anchor:FS("Anchor name","e.g. about",TS)}}function _o(e,o,t){return{type:"custom",render:({value:r,onChange:a,id:n,name:l})=>{let s=typeof r=="boolean"?r:o,f=`${n??l??e}-label`;return i(W,{label:e,labelId:f,icon:t,action:i(uS,{checked:s,onChange:a,ariaLabelledBy:f})})}}}function EB(){return{type:"custom",render:({value:e,onChange:o,id:t,name:r})=>{let a=`${String(t??r??"pageBackground")}-colour`;return i(W,{label:"Background",icon:i(gc,{}),htmlFor:a,action:i(Je,{id:a,label:"Background",value:Sn(e),onChange:o})})}}}function vB(e,o){return{type:"custom",render:({value:t,onChange:r})=>q("div",{className:"sf-field sf-field--row",children:[i("span",{className:"sf-field-label sf-field-label--inline",children:e}),Je({value:t||o,onChange:r,label:e})]})}}var ey=[{value:"0% 0%",label:"Top left"},{value:"50% 0%",label:"Top"},{value:"100% 0%",label:"Top right"},{value:"0% 50%",label:"Left"},{value:"50% 50%",label:"Center"},{value:"100% 50%",label:"Right"},{value:"0% 100%",label:"Bottom left"},{value:"50% 100%",label:"Bottom"},{value:"100% 100%",label:"Bottom right"}];function Bc({label:e,value:o,onChange:t,points:r=ey}){return i(dS,{label:e,value:o,points:r,onChange:t})}function LB(e,o=xi,t="mediaImage"){return{type:"custom",render:({value:r,onChange:a})=>i("div",{className:"sf-field",children:i(oy,{label:e,value:r||o,onChange:a,imageProp:t})})}}function oy({label:e,value:o,onChange:t,imageProp:r}){let{selectedItem:a}=ct(l=>l),n=a?.props?.[r];return i(_n,{label:e,value:o,onChange:t,image:typeof n=="string"?n:void 0})}var ty=Ta([]);function AB(e,{stacking:o,fallback:t=lr}){return{type:"custom",render:({value:r,onChange:a})=>{let n=ve.includes(r)?r:t;return o?i(ry,{label:e,value:n,onChange:a}):Dc({label:e,value:n,onChange:a,points:ty})}}}function ry({label:e,value:o,onChange:t}){let{appState:r,selectedItem:a}=ct(s=>s),n=a?.props?.id?String(a.props.id):void 0,l=n?Pa(r?.data,n):[];return Dc({label:e,value:o,onChange:t,points:Ta(l,n)})}function Dc({label:e,value:o,onChange:t,points:r}){let a=r.find(n=>n.disabled);return i(W,{label:e,icon:i(eS,{}),hint:a?a.title:void 0,children:Bc({label:e,value:uo(o),onChange:t,points:r})})}var OB={top:i(Ub,{}),right:i(Gb,{}),bottom:i(Mb,{}),left:i(Hb,{})};function BB(e,o,t,r,a,n){let l=p=>o.find(u=>u.value===p),s=p=>({value:p,label:"",disabled:!0,title:r}),f=p=>{let u=o.find(x=>x.cell===p);if(!u)return s(`missing-${p}`);let c=n?.[p];return c?{value:u.value,label:u.label,icon:c}:{value:u.value,label:u.label}},d=[s("corner-top-left"),f("top"),s("corner-top-right"),f("left"),s("centre"),f("right"),s("corner-bottom-left"),f("bottom"),s("corner-bottom-right")];return{type:"custom",render:({value:p,onChange:u})=>{let c=o.some(x=>x.value===p)?p:t;return i(W,{label:e,icon:a,value:l(c)?.label??"",children:Bc({label:e,value:c,onChange:u,points:d})})}}}var ay="\0note";function So(e,o,t,r,a){return{type:"custom",options:t,fallback:r,...a?{note:a}:{},render:({value:n,onChange:l,field:s})=>{let f=s.options??t,d=s.fallback??r,p=f.some(u=>u.value===n)?n:d;return i(W,{label:e,icon:qr(o),children:i(pS,{value:p,ariaLabel:e,onChange:l,options:[...a?[{label:a,value:ay,disabled:!0}]:[],...f.map(u=>({label:u.label,value:u.value}))]})})}}}function DB(e,o,t){return{type:"custom",options:o,render:({value:r,onChange:a,field:n})=>i(Mn,{label:e,options:n.options??o,value:Array.isArray(r)?r:[],onChange:a,...t?{emptyLabel:t}:{}})}}function _B(e,o={}){return{type:"custom",render:({value:t,onChange:r})=>{let a={value:t,onChange:r,...o};return i(e,{...a})}}}function yl({options:e,value:o,onChange:t,ariaLabel:r,disabled:a=!1}){return i(cS,{options:e.map(n=>({id:n.value,label:n.label,title:n.title})),value:o,onChange:t,ariaLabel:r,disabled:a})}var NB=[{label:"Image",value:"image"},{label:"Video",value:"video"}];function Cl(e,o,t,r){let a=t.map(n=>typeof n=="string"?{label:n,value:n}:n);return{type:"custom",render:({value:n,onChange:l,field:s})=>i(W,{label:e,icon:qr(o),children:yl({options:a,value:a.some(f=>f.value===n)?n:n||s?.currentValue||r,onChange:l,ariaLabel:e})})}}var ny="__media";function MB(e,o,t){return{type:"custom",[ny]:!0,render:({value:r,onChange:a})=>i(Nn,{value:r||"",onChange:a,label:e,accept:o,placeholder:t})}}function HB({value:e,onChange:o,label:t}){let r=e||{},a=!!r.pending,n=a?"var(--fg-dim, #888)":r.ok?"#1d9e75":"#d85a30",l=(s,f)=>o({...r,[s]:f===""?void 0:Number(f)});return q(W,{label:t,icon:i(xl,{}),children:[i("button",{type:"button",disabled:a,onClick:()=>o({...r,pending:!0,ok:!1,status:"Finding\u2026"}),style:{width:"100%",display:"flex",alignItems:"center",justifyContent:"center",gap:6,padding:"8px 10px",fontSize:13,cursor:a?"default":"pointer",opacity:a?.6:1,border:"1px solid var(--border-strong, #ccc)",borderRadius:6,background:"transparent",color:"inherit"},children:a?"Finding\u2026":"Find coordinates"}),r.status&&i("div",{style:{marginTop:6,fontSize:12,lineHeight:1.4,color:n},children:r.status}),i("div",{style:{marginTop:6,fontSize:11,color:"var(--fg-dim, #999)"},children:"Coordinates from OpenStreetMap"}),i("button",{type:"button",onClick:()=>o({...r,manual:!r.manual}),style:{marginTop:8,padding:0,border:"none",background:"none",font:"inherit",fontSize:12,color:"var(--sf-accent, #2563eb)",cursor:"pointer",textDecoration:"underline"},children:r.manual?"Hide manual coordinates":"Enter coordinates manually"}),r.manual&&q("div",{style:{marginTop:8,display:"grid",gap:8},children:[i(W,{label:"Latitude",icon:i(xl,{}),children:i("input",{type:"number",step:"any",placeholder:"e.g. 34.0990198",value:typeof r.lat=="number"?r.lat:"",onChange:s=>l("lat",s.target.value)})}),i(W,{label:"Longitude",icon:i(xl,{}),children:i("input",{type:"number",step:"any",placeholder:"e.g. -117.9842833",value:typeof r.lng=="number"?r.lng:"",onChange:s=>l("lng",s.target.value)})})]})]})}function GB({items:e,placeholder:o,onChange:t,markup:r=!1}){let a=hl(null),[n,l]=$r(null),s=u=>u.map(c=>({text:c?.text??""})),f=(u,c)=>t(sy(e,u,c)),d=u=>{let c=fy(n,u);c===null&&(a.current=null),l(c),t(s(e.filter((x,I)=>I!==u)))},p=()=>t([...s(e),{text:""}]);return q("div",{className:"sf-textlist",children:[r&&i(Tn,{target:a,value:ly(e,n),onChange:u=>f(n??-1,u),disabled:n===null,label:n===null?"Formatting \u2014 click a row first":`Formatting \u2014 row ${n+1}`}),e.map((u,c)=>q("div",{className:`sf-textlist-row${r&&n===c?" is-marking":""}`,children:[i("input",{type:"text",value:u?.text??"",placeholder:o,onChange:x=>f(c,x.target.value),onFocus:x=>{a.current=x.currentTarget,l(c)}}),i("button",{type:"button",className:"sf-textlist-x",onClick:()=>d(c),"aria-label":"Remove item",title:"Remove item",children:"\xD7"})]},c)),i("button",{type:"button",className:"sf-textlist-add",onClick:p,children:"+ Add item"})]})}function ly(e,o){return o===null||o<0||o>=e.length?"":e[o]?.text??""}function sy(e,o,t){let r=e.map(a=>({text:a?.text??""}));return o===null||o<0||o>=e.length?r:r.map((a,n)=>n===o?{text:t}:a)}function fy(e,o){return e===null?null:o>e?e:null}var UB={label:"Ticker items",icon:i(Xb,{})};function WB(e,o,t,r){return{type:"custom",[Z]:{control:"textList",label:e,placeholder:t,itemKey:"text",rendering:r},render:({value:a,onChange:n})=>i(iy,{label:e,icon:qr(o),items:Array.isArray(a)?a:[],placeholder:t,onChange:n,markup:r==="markup"})}}function iy({label:e,icon:o,items:t,placeholder:r,onChange:a,markup:n=!1}){let[l,s]=$r(null),f=d=>d.map(p=>({text:p?.text??""}));return i(mS,{label:e,icon:o,noun:"line",items:t,onChange:d=>a(f(d)),newItem:()=>({text:""}),itemName:(d,p)=>`Line ${p+1}`,summary:d=>Ze(d?.text??"")||r,open:l,onOpen:s,renderItem:(d,p,u)=>i(No,{value:d?.text??"",onChange:c=>u({text:typeof c=="string"?c:c?.text??""}),label:`${e} \u2014 line ${p+1}`,placeholder:r,hideable:!1,markup:n})})}function VB(e,o){let t=`${e.label} \u2014 row ${o+1}`;return ut({control:"plainText",label:t,placeholder:e.placeholder,offPage:e.offPage},{type:"custom",render:({value:r,onChange:a})=>i(No,{value:r,onChange:a,label:t,placeholder:e.placeholder,hideable:!1,markup:e.rendering==="markup"})})}function _c(e){return{_gCards:Se("Cards"),coverIndex:So("Cover image",i(Kb,{}),ji,String(1),e?.coverHint??"A card's opening picture \u2014 a card pinned to a finish keeps its own."),imageBackground:OS("Image background",Mr),cardImage:dy(),spinOnHover:_o("Rotate on hover",e?.spinDefault??!0,i(tS,{}))}}function Nc(){return{outline:So("Card outline",i(rS,{}),On,Ln),indexBadge:So("Card number",i(hc,{}),An,vn),showBadge:_o("Product badge",!0,i(bn,{noun:"tag"}))}}function Mc(e){let o=e?.bottomDefault??!0;return{_gShowOnCard:Se("Show on a card"),showCardPrice:_o("Price",!0,i(Wb,{})),showCardFinishes:_o("Finish swatches",!0,i(Vb,{})),showCardSizes:_o("Sizes",o,i(oS,{})),showCardBuy:_o("Buy button",o,i(_b,{})),showCardPage:_o("Page button",o,i(gc,{}))}}function dy(){return Kt("Card image",{min:so,max:wo,step:Ti,hint:"Rounds the picture. The card's own corner is in Site styles."})}function $B(){return Kt(Pi,{min:so,max:wo,step:wi,unsetLabel:"Square",hint:"Rounds the picture. Left alone it stays square."})}function qB(){return{type:"custom",render:({value:e,onChange:o})=>i(cy,{value:typeof e=="string"?e:"",onChange:o})}}function cy({value:e,onChange:o}){let[t,r]=$r(null),a=hn.filter(l=>t===null||Ve[l].across===t),n=e&&e in Ve?Ve[e]:null;return q(eo,{children:[i(W,{label:"Photos in a row",icon:i(Nb,{}),children:q("div",{className:"sf-gallery-filter",children:[i("button",{type:"button","aria-pressed":t===null,onClick:()=>r(null),children:"All"}),Ei.map(l=>i("button",{type:"button","aria-pressed":t===l,onClick:()=>r(l),children:l},l))]})}),i(W,{label:"Layout",icon:i($b,{}),value:n?n.label:"Not chosen",hint:`${a.length} of ${hn.length} layouts`,children:i("div",{className:"sf-gallery-layouts",children:a.map(l=>i("button",{type:"button","aria-pressed":e===l,"aria-label":Ve[l].label,title:Ve[l].label,onClick:()=>o(e===l?"":l),children:i("span",{className:"sf-gallery-pic",children:Ve[l].desktop.map(([s,f],d)=>i("i",{style:{gridColumn:`span ${s}`,gridRow:`span ${f}`}},d))})},l))})})]})}function uy(e,o){let t=ot(e.props.name);if(t)return t;let r=ot(e.props.altName);if(r)return r;let a=e.props.collection?.name;if(a)return a;let n=e.props.source?.title;if(n)return n;let l=e.props.code;return l?o?.(l)??l:""}function ZB(e,o,t){return Ze(uy(e,t))||o(e.type)}function QB(e){if(!e)return null;for(let o of["name","altName"])if(yc(e[o]))return o;return null}function JB(e,o){return ot(e.props?.name).trim()||o}var{Provider:tD,useSelection:rD}=tr("selectedPartId");import{createContext as py,useContext as my,useMemo as xy,useState as Iy}from"react";import{jsx as gy}from"react/jsx-runtime";var hy={partStyle:null,setPartStyle:()=>{}},Hc=py(hy);function lD({children:e}){let[o,t]=Iy(null),r=xy(()=>({partStyle:o,setPartStyle:t}),[o]);return gy(Hc.Provider,{value:r,children:e})}function sD(){return my(Hc)}function kl(e,o){return o?`${e}[${o.index}].${o.rowKey}`:e}function Rl(e){let o=/^([A-Za-z0-9_$]+)\[(\d+)\]\.([A-Za-z0-9_$]+)$/u.exec(e);return o?{key:o[1],row:{index:Number(o[2]),rowKey:o[3]}}:{key:e,row:null}}var by=Oo,Sy=["text","textarea"];function yy(e){return!e||typeof e!="object"?null:e[Z]?.control??null}function Gc(e){let o=yy(e);return o&&by.includes(o)?o:null}function Xr(e){return Qe(e).text}function Tl(e,o,t){return Sy.includes(e)?{text:t,hidden:Qe(o).hidden}:t}function mD(e,o,t,r){return Xr(e[o])===r?null:{...e,[o]:Tl(t,e[o],r)}}function Cy(e){if(!(!e||typeof e!="object"))return e[Z]}function ky(e){if(!e||typeof e!="object")return null;let o=e.arrayFields;return o&&typeof o=="object"?o:null}function Uc(e,o){if(!Array.isArray(o))return[];let t=Cy(e),r=[];if(t?.control==="textList"){let n=t.itemKey??"text";return o.forEach((l,s)=>{let f=l?.[n];typeof f=="string"&&f&&r.push({row:{index:s,rowKey:n},text:f})}),r}let a=ky(e);return a?(o.forEach((n,l)=>{for(let[s,f]of Object.entries(a)){if(!Gc(f))continue;let d=Xr(n?.[s]);d&&r.push({row:{index:l,rowKey:s},text:d})}}),r):[]}function Ry(e,o){if(Array.isArray(e))return e[o.index]?.[o.rowKey]}function Ty(e,o,t,r){let a=e[o];return!Array.isArray(a)||t.index<0||t.index>=a.length?null:{...e,[o]:a.map((n,l)=>l===t.index?{...n,[t.rowKey]:r}:n)}}function gD(e,o,t,r,a){let n=Ry(e[o],t);return Xr(n)===a?null:Ty(e,o,t,Tl(r,n,a))}function bD(e,o){return o?`${e} \xB7 row ${o.index+1}`:e}var FD="data-sf-part",ED="data-sf-part-selected",vD="data-sf-part-kind",wl="::",Wc=2;function LD(e,o){return`${e}${wl}${o??""}`}function jr(e){let o=e.indexOf(wl);return o<=0?null:{nodeId:e.slice(0,o),propKey:e.slice(o+wl.length)||null}}function AD(e,o){if(!e)return!1;let t=jr(e);return!!t?.propKey&&t.nodeId===o}function mt(e){return Ze(e).replace(/\s+/gu,"")}function Yr(e,o,t){let r=e[Z];if(r){if(r.control==="textList"){let n=r.itemKey??"text";if(!Array.isArray(o))return;for(let l of o){let s=l?.[n];typeof s=="string"&&t.push(s)}return}let{text:a}=Qe(o);a?t.push(a):r.placeholder&&t.push(r.placeholder);return}if(!e[Ot]){if(e.type==="text"||e.type==="textarea"){typeof o=="string"&&o&&t.push(o);return}if(e.arrayFields&&Array.isArray(o)){for(let a of o)for(let[n,l]of Object.entries(e.arrayFields))Yr(l,a?.[n],t);return}if(e.objectFields&&o&&typeof o=="object")for(let[a,n]of Object.entries(e.objectFields))Yr(n,o[a],t)}}function OD(e){if(!e||typeof e!="object")return!1;let o=e;return o[Ot]?!1:!!o[Z]||o.type==="text"||o.type==="textarea"}function Vc(e,o){let t=e[Z];return t?.label?t.label:typeof e.label=="string"?e.label:o}function wy(e){let o=e.indexOf(" (");return(o>0?e.slice(0,o):e).trim()}function BD(e,o){if(!e)return[];let t=[];for(let[r,a]of Object.entries(e)){if(!a||typeof a!="object"||Ht(r))continue;let n=a,l=[];Yr(n,o?.[r],l),!l.length&&n[Bt]!==void 0&&Yr(n,n[Bt],l);let s=Vc(n,r),f=new Set;for(let{row:u,text:c}of Uc(n,o?.[r])){let x=mt(c);x.length<Wc||(f.add(x),t.push({key:r,label:s,texts:[x],row:u}))}let d=new Set(f),p=[];for(let u of l){let c=mt(u);c.length<Wc||d.has(c)||(d.add(c),p.push(c))}p.length&&t.push({key:r,label:s,texts:p})}return t}var Py=Oo;function $c(e,o){if(!o||typeof o!="object"||Ht(e))return null;let t=o[Z];return!t||!Py.includes(t.control)?null:t}function DD(e,o){let t=$c(e,o);return t!==null&&t.identifier!==!0}function _D(e,o){if(!e)return[];let t=[];for(let[r,a]of Object.entries(e)){let n=$c(r,a);if(!n)continue;let{text:l,hidden:s}=Qe(o?.[r]),f=l||n.placeholder||"",d=Ze(f).replace(/\s+/gu," ").trim();t.push({key:r,label:wy(Vc(a,r)),preview:d,offPage:n.offPage===!0,identifier:n.identifier===!0,hidden:!!s})}return t}import{SETTINGS_BUCKETS as Fy}from"efficient-easel/panel";var xt=Fy,ne={Content:"_sContent",Style:"_sStyle",Layout:"_sLayout",Animation:"_sAnimation"},UD=[ne.Layout,...Object.keys(vc({phone:!0})),...Object.keys(Lc("full")),...Object.keys(Ac()),...Object.keys(Oc())],WD=[ne.Style,...Object.keys(Rc())],VD=[ne.Style,...Object.keys(Pc())],$D=[ne.Animation,...Object.keys(Fc())],Ey=Object.keys(_c()),vy=new Set(["cardImage","imageBackground"]),qD=[ne.Style,...Ey.filter(e=>e.startsWith("_g")||vy.has(e))],KD=Object.keys(Nc()),zD=Object.keys(Mc({bottomDefault:!0})),Ly="Editor only \u2014 not shown live",qc={"Archive link":"Content",Article:"Content",Boxes:"Content",Blocks:"Content","Blog posts":"Content","Browser mock":"Content",Button:"Content","Call to action":"Content","Car prompt":"Content","Card link":"Content",Cards:"Content","Claims bars":"Content","Contact info":"Content",Content:"Content","Content source":"Content",Contents:"Content",Filters:"Content","Show on a card":"Content","Opening filter":"Content",Footnote:"Content",Form:"Content",Founders:"Content","Gallery A":"Content","Gallery B":"Content","Gallery link":"Content",Header:"Content","Header link":"Content","Image caption":"Content","In this issue":"Content",Items:"Content","Kanban columns":"Content",Lead:"Content","Left panel":"Content",Link:"Content",Links:"Content","Message form":"Content",Metadata:"Content",Milestones:"Content","Mockup card":"Content","Newsletter panel":"Content",Offices:"Content",Options:"Content","Others gallery":"Content","Overlay button":"Content",Product:"Content","Product page":"Content",Products:"Content","Pull quote":"Content",Questions:"Content","Recent issues":"Content","Recent posts":"Content",Reviews:"Content","Right panel \xB7 actions":"Content","Right panel \xB7 choices":"Content","Right panel \xB7 form":"Content","Routing groups":"Content",Rows:"Content",Section:"Content","Section header":"Content",Sections:"Content","Signup form":"Content","Source product":"Content","Stat & note":"Content",Stats:"Content","Submit button":"Content","Success state":"Content",Wheel:"Content",Terminal:"Content",Text:"Content","Text column":"Content","Timeline entries":"Content","Top row":"Content",Total:"Content","Trailing note":"Content","\u201COther\u201D reason":"Content","Background images":"Style",Gallery:"Style",Image:"Style","Image column":"Style",Images:"Style",Logo:"Style",Media:"Style","Background image":"Style",Color:"Style","Image tint":"Style",Style:"Style",Shape:"Style",Texture:"Style","Text style":"Style",Motion:"Animation",Animation:"Animation",Anchor:"Layout",Arrangement:"Layout","Auto-slide":"Layout",Bar:"Layout","Cell width":"Layout",Behavior:"Layout",Controls:"Layout",Diagram:"Layout",[Ly]:"Layout","Filters shown":"Layout","Slide picker":"Layout",Arrows:"Layout","On a phone":"Layout",Nudge:"Layout","Image gallery":"Layout",Grid:"Layout",Layout:"Layout",Padding:"Layout",Price:"Layout",Preview:"Layout",Setup:"Layout","Show / hide elements":"Layout","Show in the buy box":"Layout",Visibility:"Layout",Width:"Layout",Height:"Layout"},Kc={"AlloyWheelsListing._gCards":"Style","ProductGrid._gCards":"Style"};function Ay(e,o,t){return Kc[`${e}.${o}`]??qc[t]}var Oy={"ImageBlock._gStyle":"duplicated the Style bucket header above it (2026-09-04)","ButtonBlock._gStyle":"duplicated the Style bucket header above it (2026-09-04)","HeroGroup._gContent":"duplicated the Content bucket header above it (2026-09-04)","HeroGroup._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","Footer._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","FooterLogo._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterLogo._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterMenu._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterMenu._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterGroup._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","FooterText._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterText._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterSocial._gStyle":"duplicated the Style bucket header above it (born tabbed, 2026-09-17)","FooterSocial._gLayout":"duplicated the Layout bucket header above it (born tabbed, 2026-09-17)","MenuBlock._gContent":"duplicated the Content bucket header above it (born tabbed, H.1)","MenuBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.1)","EmailFormBlock._gContent":"duplicated the Content bucket header above it (born tabbed, H.1)","SocialLogosBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.1)","SocialLogosBlock._gLayout":"duplicated the Layout bucket header above it (born tabbed, H.1)","SearchBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.2)","CartBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.2)","Split._gContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gVehicleContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gWheelContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gOthersContent":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gHeadCopy":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gLeftCopy":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gRightCopy":"duplicated the Content bucket header above it (2026-09-04)","CollectionCard._gContent":"duplicated the Content bucket header above it (A Card Sets Its Own Corners)","HeroSlide._gContent":"duplicated the Content bucket header above it (Hero Slide Tabs And Theme)","BrandStrip._gContent":"duplicated the Content bucket header above it (66338)","BrandStrip._gStyle":"duplicated the Style bucket header above it (66338)","BrandStrip._gLayout":"duplicated the Layout bucket header above it (66338)","KeyFeatures._gContent":"duplicated the Content bucket header above it (66049)","KeyFeatures._gStyle":"duplicated the Style bucket header above it (66049)","ParagraphsA._gContent":"duplicated the Content bucket header above it (66049)","ParagraphsA._gStyle":"duplicated the Style bucket header above it (66049)","Chart._gContent":"duplicated the Content bucket header above it (66049)","Chart._gStyle":"duplicated the Style bucket header above it (66049)","Logos._gContent":"duplicated the Content bucket header above it (66049)","Logos._gStyle":"duplicated the Style bucket header above it (66049)","Mockup._gContent":"duplicated the Content bucket header above it (66049)","Mockup._gStyle":"duplicated the Style bucket header above it (66049)","Stats._gContent":"duplicated the Content bucket header above it (66049)","Stats._gStyle":"duplicated the Style bucket header above it (66049)","StatsParagraph._gContent":"duplicated the Content bucket header above it (66049)","StatsParagraph._gStyle":"duplicated the Style bucket header above it (66049)","Testimonials._gContent":"duplicated the Content bucket header above it (66049)","Testimonials._gStyle":"duplicated the Style bucket header above it (66049)","AppointmentBooking._gContent":"duplicated the Content bucket header above it (66050)","BookingBox._gContent":"duplicated the Content bucket header above it ([SPLIT] Booking Form Into Three Boxes) \u2014 the same fault its own section retired in 66050, one level down","FAQ._gContent":"duplicated the Content bucket header above it (66050, family sweep)","FAQ._gLayout":"duplicated the Layout bucket header above it (66050, family sweep)","Form._gContent":"duplicated the Content bucket header above it (66050)","ReviewForm._gContent":"duplicated the Content bucket header above it (66050)","SubmitBuild._gContent":"duplicated the Content bucket header above it (66050)","SubmitBox._gContent":"duplicated the Content bucket header above it ([SPLIT] SubmitBuild Keeps Its Two Columns) \u2014 the same fault its own section retired in 66050, one level down","CheckoutCTA._gContent":"duplicated the Content bucket header above it (66051)","CheckoutCTA._gLayout":"duplicated the Layout bucket header above it (66051)","DeliveryOptions._gContent":"duplicated the Content bucket header above it (66051)","DeliveryOptions._gLayout":"duplicated the Layout bucket header above it (66051)","OrderSummary._gContent":"duplicated the Content bucket header above it (66051)","OrderSummary._gLayout":"duplicated the Layout bucket header above it (66051)","PaymentBadges._gContent":"duplicated the Content bucket header above it (66051)","PaymentBadges._gLayout":"duplicated the Layout bucket header above it (66051)","Collections._gContent":"duplicated the Content bucket header above it (66052)","Collections._gLayout":"duplicated the Layout bucket header above it (66052)","DocMasthead._gContent":"duplicated the Content bucket header above it (66053)","Events._gContent":"duplicated the Content bucket header above it (66054)","Events._gLayout":"duplicated the Layout bucket header above it (66054)","FeaturedCover._gContent":"duplicated the Content bucket header above it (66054)","Series._gStyle":"duplicated the Style bucket header above it (66054)","Flex._gContent":"duplicated the Content bucket header above it (66055)","Flex._gLayout":"duplicated the Layout bucket header above it (66055)","SectionHeader._gContent":"duplicated the Content bucket header above it (66055)","Breadcrumb._gContent":"duplicated the Content bucket header above it (66056)","CategoryBar._gStyle":"duplicated the Style bucket header above it (66056)","Hero._gContent":"duplicated the Content bucket header above it (66056)","Hero._gStyle":"duplicated the Style bucket header above it (66056)","HeroSingle._gStyle":"duplicated the Style bucket header above it (66056)","IntroBleed._gContent":"duplicated the Content bucket header above it (66056)","IntroBleed._gLayout":"duplicated the Layout bucket header above it (66056)","BundleOffer._gLayout":"duplicated the Layout bucket header above it (66059)","ProcessSteps._gContent":"duplicated the Content bucket header above it (66059)","Banner._gContent":"duplicated the Content bucket header above it (66060.1)","Banner._gLayout":"duplicated the Layout bucket header above it, and governed no controls (66060.1)","Manifesto._gContent":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gHeadCopy":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gLeftCopy":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gRightCopy":"duplicated the Content bucket header above it (66060.1)","Ticker._gContent":"duplicated the Content bucket header above it (66060.1)","Ticker._gStyle":"duplicated the Style bucket header above it (66060.1)","Timeline._gContent":"duplicated the Content bucket header above it (66060.1)","TitleWithButtons._gContent":"duplicated the Content bucket header above it (66060.1)","TitleWithButtons._gStyle":"duplicated the Style bucket header above it (66060.1)","Cards._gContent":"duplicated the Content bucket header above it (66218)","Cards._gStyle":"duplicated the Style bucket header above it (66218)","Prose._gContent":"duplicated the Content bucket header above it (66218)","Reviews._gContent":"duplicated the Content bucket header above it (66218)","Reviews._gStyle":"duplicated the Style bucket header above it (66218)"};function XD(e){let o=new Set(Object.values(ne));for(let[t,r]of Object.entries(e))if(!o.has(t)&&pt(r)?.level===1)return 1;return 2}function By(e){let o=`${e}.`;return Object.keys(Oy).filter(t=>t.startsWith(o)).map(t=>t.slice(o.length))}function Dy(e,o){let t=wn(e),r=Se(o);return t?Ae(t.tier,r):r}function YD(e,o){let t=[],r=new Set(By(o)),a=new Set,n=null;for(let[c,x]of Object.entries(e)){let I=pt(x);if(!I){n||t.push(n={bucket:"Content",entries:[]}),n.entries.push([c,x]);continue}if(r.has(c)){let R=qc[I.label];if(I.level!==2||!R||I.label!==R)throw new Error(`${o}.${c}: RETIRED (lib/puck/field-groups.ts) lists this sub-heading as one whose name duplicates its bucket, but it is a level-${I.level} "${I.label}" header in the ${R??"(unclassified)"} bucket. Only a level-2 header whose label IS its bucket's name may be retired \u2014 anything else is a heading a merchant reads for its own sake. Fix the row or drop it.`);a.add(c),t.push(n={bucket:R,entries:[]});continue}let g=Ay(o,c,I.label);if(!g)throw new Error(`${o}.${c}: the inspector group "${I.label}" is not classified in LABEL_BUCKET (lib/puck/field-groups.ts), so there is no way to say which of ${xt.join(" / ")} its controls belong under. Classify it \u2014 an unclassified group silently lands wherever it was declared, which is the whole bug.`);let b=c===ne[g]&&I.level===1;if(!b&&c===ne[g])throw new Error(`${o}.${c}: that key is reserved for the ${g} bucket header, but this field is a level-${I.level} "${I.label}" header, so it cannot serve as one. Rename the section's own field.`);t.push(n={bucket:g,entries:[[c,b||I.level===2?x:Dy(x,I.label)]],isBucketHeader:b})}let l=new Set(Object.entries(e).filter(([,c])=>pt(c)).map(([c])=>c)),s=Object.keys(Kc).filter(c=>c.startsWith(`${o}.`)).filter(c=>!l.has(c.slice(o.length+1)));if(s.length)throw new Error(`${o}: KEY_BUCKET (lib/puck/field-groups.ts) lists ${JSON.stringify(s)}, but no fold header by that key is in this section's panel. Either the heading was renamed or removed and the row is stale, or the row names the wrong key \u2014 an override that quietly matches nothing is worse than no override.`);let d=t.some(c=>c.isBucketHeader)?[]:[...r].filter(c=>!a.has(c));if(d.length)throw new Error(`${o}: RETIRED (lib/puck/field-groups.ts) lists ${JSON.stringify(d)}, but this section has no such fold header${d.length>1?"s":""}. Either the heading was renamed or removed and the row is stale, or the row names the wrong section \u2014 a list that quietly matches nothing is worse than no list.`);for(let c of xt){let x=ne[c];if(x in e&&!t.some(I=>I.isBucketHeader&&I.entries[0]?.[0]===x))throw new Error(`${o}.${x} is reserved for the ${c} bucket header but is not a level-1 "${c}" fold header. Rename the section's own field.`)}let p=xt.filter(c=>t.some(x=>x.bucket===c)),u={};for(let c of xt){let x=t.filter(b=>b.bucket===c);if(!x.length)continue;let I=x.findIndex(b=>b.isBucketHeader);I>0&&x.unshift(...x.splice(I,1));let g=Kr(c,c===p[0]?p:null);I<0&&(u[ne[c]]=g);for(let b of x)for(let[R,w]of b.entries)u[R]=b.isBucketHeader&&R===ne[c]?g:w}return u}function jD(e){return ne.Content in e?e:{[ne.Content]:Kr("Content",null),...e}}function ZD(e){return xt.some(o=>ne[o]in e)}function QD(e){let o=xt.filter(r=>ne[r]in e);if(o.length===0)return e;let t={...e};for(let r of o)t[ne[r]]=Kr(r,r===o[0]?o:null);return t}var _y=new Set(["Hero","HeroSingle","IntroBleed"]),zc={min:56,max:140,default:88},o_={min:0,max:120,step:2,default:28},Xc=`var(--sf-header-h, ${zc.default}px)`,Ny="--sf-header-set-h",t_="--sf-header-h",r_=`var(${Ny}, ${zc.default}px)`,a_="sf-header-clearance",n_="sf-sticky-underheader";function My(e){return e?.find(o=>o?.type&&o.type!==po)??null}function Yc(e){let o=My(e)?.type;return!o||!_y.has(o)}function l_(e){return!Yc(e)}function s_(e){return!!e?.some(o=>o?.type===po)}function f_(e){return!e||e.length===0?!1:!e.some(o=>o?.type===po||o?.type===Pt)}var Hy=["auto","shared","own"],Gy="auto",Uy="topSpace",i_="data-top-space";function Wy(e){return Hy.includes(e)?e:Gy}function Vy(e,o){let t=Wy(e?.props?.[Uy]);return t==="own"?!0:t==="shared"?!1:Yc(o)}function d_(e,o){return Vy(e,o)?"own":null}import{useCallback as ht,useEffect as gt,useId as kk,useRef as oo,useState as Qt}from"react";var jc="data-puck-overlay-portal";function Zr(e){return e.setAttribute(jc,"true"),()=>e.removeAttribute(jc)}var Pl="small",Fl="dot",$y=[{label:"Small",value:"small"},{label:"Display",value:"display"}],qy=[{label:"Dot \u25CF",value:"dot"},{label:"Cross \u2715",value:"cross"},{label:"Slash /",value:"slash"},{label:"Triangle \u25BC",value:"triangle"},{label:"None",value:"none"}],Zc={dot:"\u25CF",cross:"\u2715",slash:"/",triangle:"\u25BC",none:""},Ky={small:"font-mono text-[length:var(--size-label,14px)] uppercase tracking-[0.25em] max-[800px]:text-[length:var(--size-label,12px)]",display:"font-display font-medium text-[length:var(--size-headingMedium,44px)] uppercase leading-none tracking-[0.005em] max-[800px]:text-[length:var(--size-headingMedium,28px)]"},zy={small:{dot:"",cross:"text-[0.77em]",slash:"text-[0.77em]",triangle:"",none:""},display:{dot:"text-[0.3em]",cross:"text-[0.64em]",slash:"text-[0.64em]",triangle:"text-[0.3em]",none:""}};function Qc(e){return Io($y,Pl,e)}function Jc(e){return Io(qy,Fl,e)}function eu(e){return Ky[e]}function ou(e,o){return zy[e][o]}var El="left",Xy=[{label:"Left",value:"left",cell:"left"},{label:"Right",value:"right",cell:"right"},{label:"Up",value:"up",cell:"top"},{label:"Down",value:"down",cell:"bottom"}],Yy={left:"storefront-ticker",right:"storefront-ticker-right",up:"storefront-ticker-up",down:"storefront-ticker-down"};function tu(e){return Io(Xy,El,e)}function ru(e){return e==="up"||e==="down"}function au(e,o){return`${Yy[e]} ${o}s linear infinite`}import{Fragment as Pu}from"react";var Al="_partStyles",Dl="data-sf-part-styled",jy=["none","upper","lower"],Zy=[400,500,600,700],Qy=["left","center","right"],Jy=9,eC=144,oC=-5,tC=10,rC=0,aC=64,nC=2,lC=200,Qr=900,sC=10,nu={size:{min:Jy,max:eC,step:1},padding:{min:rC,max:aC,step:nC},width:{min:lC,max:Qr,step:sC}},fC=.05,iC=.01,dC=["line","letter"],Ol={none:"none",upper:"uppercase",lower:"lowercase"};function zt(e){return!e||typeof e!="object"||Array.isArray(e)?null:e}function iu(e){return zt(e?.[Al])??{}}function cC(e,o){let t=iu(e);return Object.hasOwn(t,o)?zt(t[o])??{}:{}}function du(e,o,t){let r={...iu(e)};if(uC(t).length?r[o]=t:delete r[o],!Object.keys(r).length){let{[Al]:a,...n}=e;return n}return{...e,[Al]:r}}function uC(e){return Object.entries(e).filter(([,o])=>o!==void 0)}function pC(e){return dC.includes(e)}var lu=(e,o,t)=>Math.min(t,Math.max(o,e));function mC(e,o){if(pC(e)){let t=Math.round(Number(o));return!Number.isFinite(t)||t===0?null:lu(t,oC,tC)}if(Object.hasOwn(nu,e)){let{min:t,max:r}=nu[e],a=Math.round(Number(o));return Number.isFinite(a)?lu(a,t,r):null}return e==="role"?Rt.includes(String(o))?o:null:o}var xC=[["font","role"]];function IC(e){let o=[];for(let[t,r]of xC)t===e?o.push(r):r===e&&o.push(t);return o}function y_(e,o,t,r){let a={...cC(e,o)},n=r==null?null:mC(t,r);if(n===null)delete a[t];else{a[t]=n;for(let l of IC(t))delete a[l]}return du(e,o,a)}function C_(e,o){return du(e,o,{})}function hC(e){for(let o of jy)if(Ol[o]===e)return o;return"none"}function gC(e){return!e||!Object.hasOwn(Ol,e)?"":Ol[e]}var bC={heading:"--font-role-heading",heading2:"--font-role-heading2",heading3:"--font-role-heading3",body:"--font-role-body",accent:"--font-role-accent",label:"--font-role-label"};function SC(e){let o=e.role;return o&&Rt.includes(o)?o:null}var yC={headingLarge:"min(clamp(64px,9vw,144px), var(--sf-heading-max,9999px))",headingMedium:"min(32px, var(--sf-heading-max,9999px))",headingSmall:"min(24px, var(--sf-heading-max,9999px))",accent:"32px",body:"14px",label:"12px"};function Jr(e,o,t){let r=SC(e),a=e.size?`${e.size}px`:r?t?.has(rr[r])?`var(--size-${rr[r]})`:yC[rr[r]]??"":"";return{fontFamily:e.font?TC(e.font):r?`var(${bC[r]})`:"",fontWeight:e.weight?String(e.weight):"",fontSize:a,minWidth:a?"0":"",overflowWrap:a?"break-word":"",lineHeight:e.line?String(ea(o.lineRatio+e.line*fC,3)):"",letterSpacing:e.letter?`${ea(o.letterEm+e.letter*iC,4)}em`:"",textTransform:gC(e.case),textAlign:e.align??"",paddingTop:vl(e.padding),paddingBottom:vl(e.padding),maxWidth:vl(e.width),color:CC(e.color)}}var CC=e=>e===void 0||e===""?"":Object.hasOwn(et,e)?et[e]:cu.test(e)?e:"",cu=/^#[0-9a-fA-F]{6}$/;function uu(e){return cu.test(e)}var vl=e=>e===void 0?"":`${e}px`,ea=(e,o)=>Number(e.toFixed(o));function k_(e,o){let t=Number.parseFloat(e.fontSize)||16,r=Number.parseFloat(e.lineHeight),a=Number.parseFloat(e.letterSpacing),n=Number.parseFloat(e.paddingTop),l=Number.parseFloat(e.maxWidth);return{fontKey:o,sizePx:t,weight:kC(Number.parseInt(e.fontWeight,10)),lineRatio:Number.isFinite(r)?ea(r/t,3):1.2,letterEm:Number.isFinite(a)?ea(a/t,4):0,align:RC(e.textAlign),case:hC(e.textTransform),paddingPx:Number.isFinite(n)?Math.round(n):0,widthPx:Number.isFinite(l)&&l<Qr?Math.round(l):Qr}}function kC(e){return Number.isFinite(e)?Zy.reduce((o,t)=>Math.abs(t-e)<Math.abs(o-e)?t:o):400}function RC(e){for(let o of Qy)if(o===e)return o;return e==="end"?"right":"left"}function R_(e,o){let t=su(e);if(!t)return"";for(let r of Ia)if(su(o(r.cssVar))===t)return r.key;return""}var su=e=>(e.split(",")[0]??"").replace(/["']/g,"").replace(/\s+/g," ").trim().toLowerCase();function TC(e){let o=ks(e);return o?`var(${o.cssVar})`:""}function T_(e,o,t,r){return!o||jr(o)?.nodeId!==e?null:t.find(n=>r(n.getAttribute("class")))??t[0]??null}function wC(e){let o=new Set,t=e;if(typeof window>"u"||!t?.ownerDocument)return o;let r=window.getComputedStyle(t);for(let a of PC)r.getPropertyValue(`--size-${a}`).trim()&&o.add(a);return o}var PC=["headingLarge","headingMedium","headingSmall","accent","body","label"];function w_(e,o,t=()=>Xt,r=n=>n,a=vC){let n=0;for(let{element:l,partId:s}of e){let f=jr(s)?.propKey;if(!f)continue;let d=r(f),p=Object.hasOwn(o,d)?zt(o[d])??{}:{},u=!!p.line||!!p.letter,c=Jr(p,u?t(l):Xt,wC(l)),x=Ll.some(b=>l.style[b]),I=!1;for(let[b,R]of Object.entries(c))l.style[b]=R,R&&(I=!0);if(x||Ll.some(b=>c[b]))for(let b of FC(l,a))for(let R of Ll)b.style[R]=c[R]??"";I&&(n+=1)}return n}function FC(e,o){let t=mt(e.textContent??""),r=[],a=e;for(let n=0;n<EC&&o(a);n+=1){let l=a.parentElement;if(!l||mt(l.textContent??"")!==t)break;r.push(l),a=l}return r}var EC=8;function vC(e){let o=e;return typeof window>"u"||!o?.ownerDocument?!1:window.getComputedStyle(o).display==="inline"}var Xt={fontKey:"",sizePx:16,weight:400,lineRatio:1,letterEm:0,align:"left",case:"none",paddingPx:0,widthPx:Qr},LC=Object.keys(Jr({},Xt)),Bl=new Set(["color","overflowWrap"]),Ll=LC.filter(e=>!Bl.has(e));function pu(e,o,t,r=a=>a){let a=new Map;for(let s of e){let f=kl(s.key,s.row);for(let d of s.texts){let p=a.get(d);p?(p.keys.add(s.key),p.partKeys.add(f)):a.set(d,{keys:new Set([s.key]),partKeys:new Set([f])})}}let n=new Map;for(let s of Object.keys(o)){if(!AC(s))continue;let f=zt(o[s])??{},d=Jr(f,Xt);Object.values(d).some(Boolean)&&n.set(s,{stamp:fu(t,s),declarations:d})}let l=new Map;for(let[s,{keys:f,partKeys:d}]of a){let p=d.size===1?[...d][0]:f.size===1?[...f][0]:null;if(!p)continue;let u=r(p);if(!Object.hasOwn(o,u))continue;let c=zt(o[u])??{},x=Jr(c,Xt);Object.values(x).some(Boolean)&&l.set(s,{stamp:fu(t,p),declarations:x})}return l.size||n.size?{rules:l,kindRules:n,drawn:new Set(a.keys())}:null}function AC(e){return e.startsWith("@")}function mu(e,o){return e?.kindRules.get(o)??null}function fu(e,o){let t=r=>r.replace(/[^A-Za-z0-9_-]+/g,"-");return`${t(e)}~${t(o)}`}function xu(e){let o=[],t=new Set,r=a=>{let{stamp:n,declarations:l}=a;if(t.has(n))return;t.add(n);let s=Object.entries(l).filter(([,c])=>c!==""),f=c=>c.map(([x,I])=>`${OC(x)}: ${I}`).join("; "),d=`[${Dl}="${n}"]`,p=s.filter(([c])=>!Bl.has(c)),u=s.filter(([c])=>Bl.has(c));p.length&&o.push(`${d}, *:has(> ${d}) { ${f(p)} }`),u.length&&o.push(`${d} { ${f(u)} }`)};for(let a of e.rules.values())r(a);for(let a of e.kindRules.values())r(a);return o.join(`
4
- `)}var OC=e=>e.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`);function Iu(e,o){if(!e)return null;let t=mt(o),r=e.rules.get(t);if(r)return r;if(t.length<BC||e.drawn.has(t))return null;let a=null;for(let[n,l]of e.rules)if(n.includes(t)){if(a&&a.stamp!==l.stamp)return null;a=l}return a}var BC=8;import{createContext as yu,useContext as _l,useId as NC,useMemo as MC}from"react";var Yt="@name",hu="@body",gu="@value",E_={[Yt]:"Name",[hu]:"Body",[gu]:"Value"},DC={TimelineTrack:{"entries.date":Yt,"entries.title":Yt,"entries.blurb":hu},Footprint:{"offices.city":Yt},Stats:{"items.label":Yt,"items.value":gu}};function _C(e){let{key:o,row:t}=Rl(e);return t?`${o}.${t.rowKey}`:null}function bu(e,o){if(!e)return o;let t=_C(o);return t?DC[e]?.[t]??o:o}import{Fragment as Su,jsx as oa,jsxs as HC}from"react/jsx-runtime";var Nl=yu(null),Cu=yu(null);function D_({needles:e,styles:o,type:t,children:r}){let a=NC(),n=JSON.stringify([a,e,o,t]),l=MC(()=>pu(e,o,a,s=>bu(t,s)),[n]);return l?HC(Su,{children:[oa("style",{"data-sf-part-styles":"",dangerouslySetInnerHTML:{__html:xu(l)}}),oa(Nl.Provider,{value:l,children:r})]}):oa(Su,{children:r})}function ku(e){let o=_l(Nl),t=_l(Cu),r=Iu(o,e);return r&&r.stamp!==t?r:null}function __(e){return mu(_l(Nl),e)}function Ru({stamp:e,children:o}){return oa(Cu.Provider,{value:e,children:o})}import{Fragment as GC,jsx as Ml}from"react/jsx-runtime";function It({value:e,children:o}){let t=ku(e);return t?Ml(Ru,{stamp:t.stamp,children:Ml("span",{[Dl]:t.stamp,children:o})}):Ml(GC,{children:o})}import{Fragment as UC,jsx as Hl}from"react/jsx-runtime";function Tu({className:e=""}){return Hl("sup",{className:`text-accent tracking-normal ${e}`,children:"\xAE"})}function ta(e){if(!e.includes("\xAE"))return e;let o=e.split("\xAE"),t=[];return o.forEach((r,a)=>{r&&t.push(r),a<o.length-1&&t.push(Hl(Tu,{},`r${a}`))}),Hl(UC,{children:t})}var V_=Tu;import{jsx as N,jsxs as Gl}from"react/jsx-runtime";function Ul(e,o=!1){let t=YC(o),r=pn(e);if(r.length===1){let[n]=r,l=un(n),s=l?zC(l,n.children):n.children;return N(It,{value:e,children:ra(s,t)})}let a=[];return r.forEach((n,l)=>{if(n.bullet){a.push(N("span",{"data-sf-bullet":"",className:WC,children:ra(n.children,t)},l));return}if(n.number!=null){a.push(Gl("span",{"data-sf-number":n.number,className:VC,children:[Gl("span",{className:$C,children:[n.number,"."]}),ra(n.children,t)]},l));return}l>0&&!qC(r[l-1])&&a.push(N("br",{},`br${l}`)),a.push(N(Pu,{children:ra(n.children,t)},l))}),N(It,{value:e,children:a})}var WC="relative block pl-6 before:absolute before:left-1.5 before:font-bold before:text-accent before:content-['\xB7']",VC="relative block pl-[2em]",$C="absolute left-0 w-[1.6em] text-right tabular-nums";function qC(e){return e.bullet||e.number!=null}var KC="text-accent underline underline-offset-[0.18em]";function zC(e,o){let[t,...r]=o;return t?.kind==="text"?[{kind:"text",text:`${e}${t.text}`},...r]:[{kind:"text",text:e},...o]}function XC(e){if(e)return uu(e)?e:Object.hasOwn(et,e)?et[e]:void 0}function ra(e,o){let t=[],r=!1;return e.forEach((a,n)=>{if(a.kind==="text"){t.push(N("span",{children:ta(a.text)},n)),r=!0;return}r||t.push(N("span",{},`e${n}`)),t.push(Fu(a,n,o)),r=!1}),r||t.push(N("span",{},"end")),t}function wu(e,o){return e.length===1&&e[0].kind==="text"?ta(e[0].text):e.map((t,r)=>t.kind==="text"?N(Pu,{children:ta(t.text)},r):Fu(t,r,o))}function YC(e){return e?"font-normal italic text-accent":"not-italic text-accent"}function Q_(e){return N(It,{value:e,children:N("span",{children:e})})}function Fu(e,o,t){if(e.kind==="link")return N("a",{href:e.href,className:KC,children:wu(e.children,t)},o);let r=wu(e.children,t),a=ai[e.kind];if(a)return N("span",{[ni]:a,children:r},o);switch(e.kind){case"underline":return N("u",{children:r},o);case"sup":return N("sup",{children:r},o);case"sub":return N("sub",{children:r},o);case"color":{let n=XC(e.color);return n?N("span",{style:{color:n},children:r},o):N("span",{children:r},o)}case"accent":case"highlight":return N("em",{className:t,children:r},o);case"bold":return N("strong",{className:"font-semibold",children:r},o);case"italic":return N("em",{className:"italic",children:r},o);case"strike":return N("s",{className:"line-through",children:r},o);default:return N("span",{children:r},o)}}function J_(e,o=!0){let t=e.split(`
5
- `);return N(It,{value:e,children:t.map((r,a)=>Gl("span",{children:[Ul(r,o),a<t.length-1?N("br",{}):null]},a))})}function eN(e){return e.split(/\n\s*\n/).map(o=>o.trim()).filter(Boolean)}import{jsx as jt,jsxs as Eu}from"react/jsx-runtime";var jC={"themed-band":"text-fg/70","themed-section":"text-fg-dim","dark-media":"text-overlay-fg/70"};function Wl({items:e,separator:o=Fl,size:t=Pl,durationSec:r=50,scroll:a=El,backdrop:n="themed-band",className:l}){let s=Qc(t),f=tu(a),d=Jc(o),p=`text-accent ${ou(s,d)}`.trim(),u=Zc[d],c=u===""?jt("span",{}):jt("span",{className:p,children:u}),x=ru(f),I=x?"inline-flex flex-col items-center gap-[60px] pb-[60px] max-[800px]:gap-8 max-[800px]:pb-8":"inline-flex items-center gap-[60px] pr-[60px] max-[800px]:gap-8 max-[800px]:pr-8",g=x?"inline-flex flex-col items-center gap-[60px] max-[800px]:gap-8":"inline-flex items-center gap-[60px] max-[800px]:gap-8",b=R=>jt("span",{className:I,children:e.map((w,k)=>{let _=typeof w=="string"?w:w.text,V=typeof w=="object"&&w.gold;return Eu("span",{className:g,children:[jt("span",{className:V?"text-accent":void 0,children:Ul(_)}),c]},k)})},R);return jt("div",{className:`overflow-hidden ${l??""}`,children:Eu("div",{className:`flex ${x?"flex-col ":""}whitespace-nowrap ${eu(s)} ${jC[n]}`,style:{animation:au(f,r)},children:[b("a"),b("b")]})})}var ZC={"top-left":"left-0 top-[120px]","top-center":"left-1/2 top-[120px] -translate-x-1/2","top-right":"right-0 top-[120px]",left:"left-0 top-1/2 -translate-y-1/2",center:"left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2",right:"right-0 top-1/2 -translate-y-1/2","bottom-left":"left-0 bottom-[120px]","bottom-center":"left-1/2 bottom-[120px] -translate-x-1/2","bottom-right":"right-0 bottom-[120px]"},QC=`calc(${Vr} - ${ue}*2)`,vu=`var(${fl},${ue})`,dN=`pointer-events-none absolute inset-y-0 left-[${vu}] right-[${vu}] z-[6] mx-auto max-w-[var(${il},${QC.replace(/ /g,"_")})]`;function aa(e,o){return`pointer-events-auto absolute ${ZC[e]} z-[6] sf-hero-overlay-rail flex ${o}`}function Lu(e){return ve.includes(e)?e:null}var JC="bottom-right",ek=["outline","solid","square","bare"],ok="outline",mN={outline:"Outline",solid:"Solid",square:"Square",bare:"Bare"},xN=!1,Au=["prev","next"],Ou={prev:"Previous slide",next:"Next slide"};function tk(e){return ek.includes(e)?e:ok}function rk(e){return Lu(e)??JC}var ak="flex-row items-center gap-2";function Bu(e){return aa(rk(e),ak)}var nk={outline:"grid h-10 w-10 cursor-pointer place-items-center rounded-full border border-overlay-chrome/60 text-overlay-fg transition-colors hover:border-overlay-chrome hover:bg-overlay-scrim/30",solid:"grid h-10 w-10 cursor-pointer place-items-center rounded-full border border-overlay-chrome bg-overlay-chrome text-overlay-scrim transition-colors hover:bg-overlay-chrome/85",square:"grid h-10 w-10 cursor-pointer place-items-center rounded-md border border-overlay-chrome/60 text-overlay-fg transition-colors hover:border-overlay-chrome hover:bg-overlay-scrim/30",bare:"grid h-10 w-10 cursor-pointer place-items-center text-overlay-fg transition-colors hover:text-overlay-chrome"};function Du(e){return nk[tk(e)]}function _u(e){return e.shown===!0&&(e.count??0)>1}function na(e,o,t){if(t<=1)return o;let r=Math.min(Math.max(o,0),t-1);return e==="prev"?(r-1+t)%t:(r+1)%t}import{jsx as Vl}from"react/jsx-runtime";function $l({shape:e,placement:o,ref:t}){let r=Du(e);return Vl("div",{ref:t,className:Bu(o),style:{color:"var(--overlay-fg)"},children:Au.map(a=>Vl("button",{type:"button","data-hero-nav":a,"aria-label":Ou[a],className:r,children:Vl(Jo,{name:"chevron-right",size:18,rounded:!0,style:a==="prev"?{rotate:"180deg"}:void 0})},a))})}var lk=ve;var sk="top-right",fk=["cards","dots","numbers","bar","tabs"],ik=["cards","dots","numbers","bar"],Nu="cards",kN={cards:"Cards",dots:"Dots",numbers:"Numbers",bar:"Bar",tabs:"Tabs"},RN=!0;function la(e){return fk.includes(e)?e:Nu}function Mu(e){return ik.includes(e)?e:Nu}function dk(e){return lk.includes(e)?e:sk}var Hu={cards:"flex-col gap-2.5",dots:"flex-row items-center gap-2",numbers:"flex-col gap-2",bar:"h-0.5 w-[34%] max-w-[420px] gap-px overflow-hidden rounded-full",tabs:"flex-row items-stretch w-full overflow-x-auto"};function Gu(e,o){return aa(dk(o),Hu[la(e)])}function Uu(e){return`flex ${Hu[la(e)]}`}function Wu(e){return e.shown!==!1&&(e.count??0)>1}function ck(e){return{name:e.dataset.slideName||"",process:e.dataset.slideProcess||"",video:e.dataset.slideMedia==="video"}}function uk(e,o){return e===o?!0:e.length!==o.length?!1:e.every((t,r)=>t.name===o[r].name&&t.process===o[r].process&&t.video===o[r].video)}function Vu(e,o){let t=Array.from(o,ck);return uk(e,t)?e:t}import{Fragment as Zt,jsx as ee,jsxs as ql}from"react/jsx-runtime";function Kl({slides:e,active:o,shape:t,placement:r,ref:a,tone:n="media",label:l}){let s=la(t),f=n==="surface"?{"--overlay-fg":"var(--fg)","--overlay-chrome":"var(--fg)","--overlay-scrim":"var(--surface-2)"}:void 0;return ql("aside",{ref:a,"aria-label":l??"Featured slides",className:n==="surface"?Uu(s):Gu(s,r),style:{color:"var(--overlay-fg)",...f},children:[s==="cards"&&ee(pk,{slides:e,active:o}),s==="dots"&&ee(mk,{count:e.length,active:o}),s==="numbers"&&ee(xk,{count:e.length,active:o}),s==="bar"&&ee(Ik,{count:e.length,active:o}),s==="tabs"&&ee(hk,{slides:e,active:o})]})}function pk({slides:e,active:o}){return ql(Zt,{children:[ee("span",{className:"mb-1 font-mono text-[length:var(--size-label,10px)] uppercase tracking-[0.28em] text-overlay-chrome/55",children:"Reel \xB7 pick a slide"}),e.map((t,r)=>{let a=r===o;return ql("button",{type:"button","data-idx":r,"aria-pressed":a,"aria-label":`Go to ${t.name||`slide ${r+1}`}`,className:["group flex w-[170px] cursor-pointer flex-col items-start gap-0.5 border bg-overlay-scrim/55 px-3 py-2.5 text-left transition-all motion-reduce:transition-none max-[1100px]:w-[140px]",a?"border-accent bg-overlay-scrim/70":"border-overlay-chrome/15 hover:border-overlay-chrome/45 hover:bg-overlay-scrim/70"].join(" "),children:[ee("span",{className:["font-display text-[length:var(--size-body,13px)] font-medium uppercase leading-tight tracking-[-0.01em]",a?"text-accent":"text-overlay-fg"].join(" "),children:t.name||`Slide ${r+1}`}),ee("span",{className:"font-mono text-[length:var(--size-label,9px)] uppercase tracking-[0.2em] text-overlay-chrome/55",children:a?"\u25B6 Now playing":t.process||" "})]},r)})]})}function mk({count:e,active:o}){return ee(Zt,{children:Array.from({length:e},(t,r)=>ee("button",{type:"button","data-idx":r,"aria-pressed":r===o,"aria-label":`Go to slide ${r+1}`,className:`h-2 cursor-pointer rounded-full transition-all motion-reduce:transition-none ${r===o?"w-5 bg-accent":"w-2 bg-overlay-chrome/45 hover:bg-overlay-chrome/70"}`},r))})}function xk({count:e,active:o}){return ee(Zt,{children:Array.from({length:e},(t,r)=>ee("button",{type:"button","data-idx":r,"aria-pressed":r===o,"aria-label":`Go to slide ${r+1}`,className:`cursor-pointer font-mono text-[length:var(--size-label,11px)] leading-none tracking-[0.06em] transition-colors ${r===o?"text-overlay-fg":"text-overlay-chrome/45 hover:text-overlay-chrome/80"}`,children:String(r+1).padStart(2,"0")},r))})}function Ik({count:e,active:o}){return ee(Zt,{children:Array.from({length:e},(t,r)=>ee("button",{type:"button","data-idx":r,"aria-pressed":r===o,"aria-label":`Go to slide ${r+1}`,className:`h-full flex-1 cursor-pointer transition-colors ${r<=o?"bg-overlay-fg":"bg-overlay-chrome/25"}`},r))})}function hk({slides:e,active:o}){return ee(Zt,{children:e.map((t,r)=>{let a=r===o;return ee("button",{type:"button","data-idx":r,"aria-pressed":a,className:["flex min-w-[140px] flex-1 cursor-pointer items-end px-6 py-7 text-left transition-colors",r>0?"border-l border-overlay-chrome/15":"",a?"bg-overlay-scrim/70":"hover:bg-overlay-scrim/40"].join(" "),children:ee("span",{className:["font-heading3 text-[length:var(--size-headingSmall,24px)] font-medium uppercase leading-tight tracking-[-0.02em]",a?"text-overlay-fg":"text-overlay-chrome/55"].join(" "),children:t.name})},r)})})}import{useEffect as gk,useState as bk}from"react";var $u="(prefers-reduced-motion: reduce)";function Sk(){return globalThis.window?.matchMedia?.($u)?.matches??!1}function vN(){return Sk()?"auto":"smooth"}function qu(){let[e,o]=bk(!1);return gk(()=>{let t=globalThis.window?.matchMedia?.($u);if(!t||(o(t.matches),typeof t.addEventListener!="function"))return;let r=a=>o(a.matches);return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[]),e}var zl={accent:"#2563eb",accentTint:"#eff6ff",accentText:"#1d4ed8",appBg:"#f9fafb",previewBg:"#f3f4f6",panel:"#ffffff",fieldBg:"#ffffff",inputBorder:"#d1d5db",text:"#111827",text2:"#374151",muted:"#6b7280",line:"#e5e7eb",chipBg:"#f3f4f6",chipFg:"#6b7280",panelRadius:12,rowRadius:8,panelShadow:"0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.06)",topbarShadow:"0 1px 3px rgba(0,0,0,.06)",panelGap:10,leftWidth:288,rightWidth:308,topbarHeight:52,labelFont:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif"};var Ku={min:40,max:100,step:5,fallback:100,unit:"vh"};function Xl(e){return`${typeof e=="number"?e:Ku.fallback}${Ku.unit}`}function zu(...e){return e.some(o=>typeof o=="number")}var yk=40;function Ck(e,o){return Math.abs(e)<=yk||Math.abs(e)<=Math.abs(o)?null:e<0?"next":"prev"}function Xu(e,o,t,r){let a=Ck(e,o);return a?na(a,t,r):t}function Yu(e){return(e.count??0)>1&&e.editing!==!0}function ju(e){return e.editing!==!0?!1:(e.slides??[])[e.shown??0]?.video===!0}function Zu(e){return e.editing!==!0?!1:!(e.playing===!0&&e.controlShown===!0)}import{jsx as Xe,jsxs as sa}from"react/jsx-runtime";var Rk=`
6
- .hero-ticker-pick { cursor: pointer; }
7
- .hero-ticker-pick:hover {
8
- outline: 2px solid color-mix(in srgb, ${zl.accent} 45%, transparent);
9
- outline-offset: -2px;
10
- }
11
- .hero-ticker-pick[data-selected] {
12
- outline: 2px solid ${zl.accent};
13
- outline-offset: -2px;
14
- }
15
- `,Tk="Play video",wk="Hold video",Pk="flex h-7 cursor-pointer items-center gap-1.5 rounded-full border border-overlay-chrome/25 bg-overlay-scrim/80 px-[11px] font-mono text-[11px] leading-none tracking-[0.05em] text-overlay-fg",Fk="item",Ek=["","","","","",""],Qu=new Map,Ju="hero-slider:goto";function vk(e,o){let t=e?.ownerDocument?.defaultView;if(t)return t.addEventListener(Ju,o),()=>t.removeEventListener(Ju,o)}function Lk({slides:e,alignment:o,textureOpacity:t,showTexture:r,textureColor:a,phoneUpDown:n,phoneSideways:l,autoplay:s,autoplayInterval:f,showTicker:d,tickerItems:p,heightDesktop:u,heightMobile:c,showPicker:x,pickerShape:I,pickerPlacement:g,showArrows:b,arrowsShape:R,arrowsPlacement:w,editing:k}){let _=zu(u,c),V=_?"h-[var(--sf-hero-h-m)] min-[720px]:h-[var(--sf-hero-h-d)]":"h-screen min-h-[680px]",pe=_?{"--sf-hero-h-d":Xl(u),"--sf-hero-h-m":Xl(c)}:void 0,oe=(p??Ek.map(C=>({text:C}))).map(C=>C?.text?.trim()?C.text:k?Fk:"").filter(Boolean),to=d!==!1,le=oo(null),M=oo(null),Pe=oo(null),_e=oo(null),ye=oo(null),Q=kk(),ro=oo(Q),[Ne,S]=Qt([]),[K,J]=Qt(0),z=oo(0),[Ho,bt]=Qt(!1),[Fe,Co]=Qt(!1),[ao,me]=Qt(null),ko=qu(),{selectedHeroId:Go,select:Jt}=jf(),xe=ht(()=>le.current?.querySelector(".hero-track")??null,[]),Ie=ht((C,P=!1)=>{J(C),z.current=C,Qu.set(ro.current,C);let E=le.current?.querySelector(".hero-track");if(E)if(P){let D=E.style.transition;E.style.transition="none",E.style.transform=`translateX(-${Math.max(0,C)*100}%)`,E.offsetHeight,E.style.transition=D}else E.style.transform=`translateX(-${Math.max(0,C)*100}%)`},[]);gt(()=>{let C=le.current,P=C?.getAttribute("data-puck-component")||C?.closest("[data-puck-component]")?.getAttribute("data-puck-component")||Q;ro.current=P,me(P);let E=Qu.get(P);typeof E=="number"&&(J(E),z.current=E)},[]),gt(()=>{let C=xe();if(!C)return;let P=()=>{S(D=>Vu(D,C.querySelectorAll("[data-slide-name]")))};P();let E=new MutationObserver(P);return E.observe(C,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-slide-name","data-slide-process","data-slide-media"]}),()=>{E.disconnect()}},[xe]),gt(()=>{if(!k)return;let C=P=>{let E=P.detail;if(!E||typeof E.index!="number")return;let D=le.current,Ce=D?.getAttribute("data-puck-component")||D?.closest("[data-puck-component]")?.getAttribute("data-puck-component")||ro.current;E.id&&E.id!==Ce||Ie(E.index,!0)};return vk(le.current,C)},[k,Ie]);let te=Ne.length,Ye=Math.min(Math.max(K,0),Math.max(0,te-1)),Uo=Wu({shown:x,count:te}),St=_u({shown:b,count:te}),yt=ju({editing:k,shown:Ye,slides:Ne}),er=Zu({editing:k,playing:Fe,controlShown:yt}),Me=Yu({count:te,editing:k}),Ee=oo(null),Ro=oo(null),Wo=ht(C=>{if(Ee.current=null,Ro.current=null,!Me||C.touches.length!==1)return;let P=C.touches[0];Ee.current={x:P.clientX,y:P.clientY},Ro.current={x:P.clientX,y:P.clientY}},[Me]),Vo=ht(C=>{if(!Ee.current)return;if(C.touches.length!==1){Ee.current=null;return}let P=C.touches[0];Ro.current={x:P.clientX,y:P.clientY}},[]),da=ht(()=>{let C=Ee.current,P=Ro.current;if(Ee.current=null,Ro.current=null,!Me||!C||!P)return;let E=Xu(P.x-C.x,P.y-C.y,z.current,te);E!==z.current&&Ie(E)},[Me,te,Ie]);gt(()=>{if(k||!s||Ho||ko||te<=1)return;let P=Math.max(1,typeof f=="number"?f:6)*1e3,E=window.setTimeout(()=>Ie((Ye+1)%te),P);return()=>window.clearTimeout(E)},[k,s,f,Ho,ko,te,Ye,Ie]),gt(()=>{let C=[M.current,Pe.current,_e.current].filter(Boolean),P=C.map(D=>Zr(D)),E=D=>{let Ce=D.target,X=Ce.closest("[data-hero-nav]"),Ct=X??Ce.closest("[data-idx]");if(!Ct)return;D.stopPropagation(),D.preventDefault();let ie=X?na(X.dataset.heroNav,z.current,te):Number(Ct.dataset.idx);Number.isNaN(ie)||(Ie(ie,k),xe()?.querySelectorAll("[data-slide-name]")[ie]?.click())};return C.forEach(D=>D.addEventListener("click",E,{capture:!0})),()=>{P.forEach(D=>D?.()),C.forEach(D=>D.removeEventListener("click",E,{capture:!0}))}},[te,Ie,xe,k]),gt(()=>{if(!k)return;let C=ye.current;if(!C)return;let P=Zr(C),E=D=>{D.stopPropagation(),D.preventDefault();let Ce=le.current,X=Ce?.getAttribute("data-puck-component")||Ce?.closest("[data-puck-component]")?.getAttribute("data-puck-component")||ro.current;Jt(X)};return C.addEventListener("click",E,{capture:!0}),()=>{P?.(),C.removeEventListener("click",E,{capture:!0})}},[k,Jt,to,oe.length]);let ca=ht(C=>{if(!C)return;let P=Zr(C),E=D=>{D.stopPropagation(),D.preventDefault(),Co(Ce=>!Ce)};return C.addEventListener("click",E,{capture:!0}),()=>{P?.(),C.removeEventListener("click",E,{capture:!0})}},[]);return Xe(Aa.Provider,{value:{alignment:o,textureOpacity:t,textureOn:r,textureColor:a,quietVideo:er,phoneUpDown:n,phoneSideways:l},children:sa("div",{ref:le,className:`relative mx-[var(--sf-hero-bleed-m,calc(50%_-_50vw))] w-[var(--sf-hero-bleed-w,100vw)] ${V} max-w-[var(--sf-hero-cap,none)] overflow-hidden`,style:pe,onMouseEnter:()=>bt(!0),onMouseLeave:()=>bt(!1),onTouchStart:Wo,onTouchMove:Vo,onTouchEnd:da,children:[Xe(e,{className:"hero-track flex h-full [&>*]:h-full [&>*]:min-w-full [&>*]:shrink-0 [&>*]:basis-full",style:{transform:`translateX(-${Ye*100}%)`,transition:ko?"none":"transform 600ms cubic-bezier(.22,.61,.36,1)"},minEmptyHeight:400}),yt&&Xe("div",{ref:ca,"data-hero-video-control":Fe?"playing":"held",className:"sf-hero-video-control absolute left-6 z-[7]",style:{top:`calc(${Xc} + 16px)`},children:sa("button",{type:"button",className:Pk,children:[Xe("span",{"aria-hidden":"true",children:Fe?"\u275A\u275A":"\u25B6"}),Fe?wk:Tk]})}),(Uo||St)&&sa("div",{className:"pointer-events-none absolute inset-y-0 left-[var(--sf-hero-chrome-x,var(--sf-site-gutter,40px))] right-[var(--sf-hero-chrome-x,var(--sf-site-gutter,40px))] z-[6] mx-auto max-w-[var(--sf-hero-chrome-cap,calc(min(var(--sf-page-cap,var(--sf-site-width,1600px)),var(--sf-site-width,1600px))_-_var(--sf-site-gutter,40px)*2))]",children:[Uo&&Xe(Kl,{ref:M,slides:Ne,active:Ye,shape:Mu(I),placement:g}),St&&Xe($l,{ref:_e,shape:R,placement:w})]}),Uo&&Xe("div",{ref:Pe,className:"sf-hero-phone-dots absolute bottom-[80px] left-1/2 z-[6] hidden -translate-x-1/2 items-center gap-2",children:Ne.map((C,P)=>Xe("button",{type:"button","data-idx":P,"aria-label":`Go to slide ${P+1}`,className:`h-2 rounded-full transition-all motion-reduce:transition-none ${P===Ye?"w-5 bg-accent":"w-2 bg-white/45 hover:bg-white/70"}`},P))}),to&&oe.length>0&&sa("div",{ref:ye,className:`sf-hero-ticker absolute inset-x-0 bottom-0 z-[5] border-t border-overlay-chrome/10 py-3.5${k?" hero-ticker-pick":""}`,"data-selected":k&&ao!=null&&Go===ao?"":void 0,style:{background:"rgba(10,10,10,.55)"},children:[k&&Xe("style",{children:Rk}),Xe(Wl,{items:oe,backdrop:"dark-media"})]})]})})}var fa="data-sf-spec-region";function eM(e,o,t){if(!e)return;let r=t[e];if(r)return{fontFamily:`var(--font-role-${e})`,fontSize:`var(--size-${r}, ${o.builtIn})`}}function Ak(e){return`@${e}`}function Ok(e,o){if(!o.startsWith("@"))return null;let t=o.slice(1);return t in e?t:null}function ep(e,o){return o&&o in e?o:null}function Bk(e,o){let t=o?.closest(`[${fa}]`)?.getAttribute(fa);return ep(e,t??null)}var Dk={tag:{label:"Tag",follows:"Labels",builtIn:"13px",writable:!0},name:{label:"Name",follows:"Heading 2",builtIn:"48px",writable:!0},body:{label:"Body",follows:"Body",builtIn:"14px",writable:!0},price:{label:"Price",follows:"Labels",builtIn:"15px",writable:!0},link:{label:"Link",follows:"Labels",builtIn:"14px",writable:!0}},op=Dk;var _k={number:{label:"Number",follows:"Labels",builtIn:"14px",writable:!0},question:{label:"Question",follows:"Body",builtIn:"18px",writable:!0},answer:{label:"Answer",follows:"Body",builtIn:"15px",writable:!0}},tp=_k;var lM=fa;var rp={rowLabel:{label:"Spec row name",follows:"Labels",builtIn:"14px"},rowValue:{label:"Spec row value",follows:"Labels",builtIn:"14px"},diagramTitle:{label:"Diagram title",follows:"Labels",builtIn:"12px"},diagramCallout:{label:"Diagram measurement",follows:"Labels",builtIn:"12px"},diagramStatLabel:{label:"Diagram stat name",follows:"Labels",builtIn:"11px"},diagramStatValue:{label:"Diagram stat value",follows:"Labels",builtIn:"11px"}};var ap={SpecTable:rp,FAQ:tp,Collections:op};function cM(e){return e&&Object.hasOwn(ap,e)?ap[e]:null}import{forwardRef as Nk,createElement as Yl}from"react";var np={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};var O=(e,o,t,r)=>{let a=Nk(({color:n="currentColor",size:l=24,stroke:s=2,title:f,className:d,children:p,...u},c)=>Yl("svg",{ref:c,...np[e],width:l,height:l,className:["tabler-icon",`tabler-icon-${o}`,d].join(" "),...e==="filled"?{fill:n}:{strokeWidth:s,stroke:n},...u},[f&&Yl("title",{key:"svg-title"},f),...r.map(([x,I])=>Yl(x,I)),...Array.isArray(p)?p:[p]]));return a.displayName=`${t}`,a};var Mk=[["path",{d:"M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3",key:"svg-0"}]],jl=O("outline","brand-facebook","BrandFacebook",Mk);var Hk=[["path",{d:"M4 8a4 4 0 0 1 4 -4h8a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-8a4 4 0 0 1 -4 -4l0 -8",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}],["path",{d:"M16.5 7.5v.01",key:"svg-2"}]],Zl=O("outline","brand-instagram","BrandInstagram",Hk);var Gk=[["path",{d:"M8 11v5",key:"svg-0"}],["path",{d:"M8 8v.01",key:"svg-1"}],["path",{d:"M12 16v-5",key:"svg-2"}],["path",{d:"M16 16v-3a2 2 0 1 0 -4 0",key:"svg-3"}],["path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4l0 -10",key:"svg-4"}]],Ql=O("outline","brand-linkedin","BrandLinkedin",Gk);var Uk=[["path",{d:"M8 20l4 -9",key:"svg-0"}],["path",{d:"M10.7 14c.437 1.263 1.43 2 2.55 2c2.071 0 3.75 -1.554 3.75 -4a5 5 0 1 0 -9.7 1.7",key:"svg-1"}],["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-2"}]],Jl=O("outline","brand-pinterest","BrandPinterest",Uk);var Wk=[["path",{d:"M21 7.917v4.034a9.948 9.948 0 0 1 -5 -1.951v4.5a6.5 6.5 0 1 1 -8 -6.326v4.326a2.5 2.5 0 1 0 4 2v-11.5h4.083a6.005 6.005 0 0 0 4.917 4.917",key:"svg-0"}]],es=O("outline","brand-tiktok","BrandTiktok",Wk);var Vk=[["path",{d:"M3 21l1.65 -3.8a9 9 0 1 1 3.4 2.9l-5.05 .9",key:"svg-0"}],["path",{d:"M9 10a.5 .5 0 0 0 1 0v-1a.5 .5 0 0 0 -1 0v1a5 5 0 0 0 5 5h1a.5 .5 0 0 0 0 -1h-1a.5 .5 0 0 0 0 1",key:"svg-1"}]],os=O("outline","brand-whatsapp","BrandWhatsapp",Vk);var $k=[["path",{d:"M4 4l11.733 16h4.267l-11.733 -16l-4.267 0",key:"svg-0"}],["path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772",key:"svg-1"}]],ts=O("outline","brand-x","BrandX",$k);var qk=[["path",{d:"M2 8a4 4 0 0 1 4 -4h12a4 4 0 0 1 4 4v8a4 4 0 0 1 -4 4h-12a4 4 0 0 1 -4 -4v-8",key:"svg-0"}],["path",{d:"M10 9l5 3l-5 3l0 -6",key:"svg-1"}]],rs=O("outline","brand-youtube","BrandYoutube",qk);var Kk=[["path",{d:"M18 2a1 1 0 0 1 .993 .883l.007 .117v4a1 1 0 0 1 -.883 .993l-.117 .007h-3v1h3a1 1 0 0 1 .991 1.131l-.02 .112l-1 4a1 1 0 0 1 -.858 .75l-.113 .007h-2v6a1 1 0 0 1 -.883 .993l-.117 .007h-4a1 1 0 0 1 -.993 -.883l-.007 -.117v-6h-2a1 1 0 0 1 -.993 -.883l-.007 -.117v-4a1 1 0 0 1 .883 -.993l.117 -.007h2v-1a6 6 0 0 1 5.775 -5.996l.225 -.004h3z",key:"svg-0"}]],as=O("filled","brand-facebook-filled","BrandFacebookFilled",Kk);var zk=[["path",{d:"M16 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-8a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-4 5a4 4 0 0 0 -3.995 3.8l-.005 .2a4 4 0 1 0 4 -4m4.5 -1.5a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1",key:"svg-0"}]],ns=O("filled","brand-instagram-filled","BrandInstagramFilled",zk);var Xk=[["path",{d:"M17 2a5 5 0 0 1 5 5v10a5 5 0 0 1 -5 5h-10a5 5 0 0 1 -5 -5v-10a5 5 0 0 1 5 -5zm-9 8a1 1 0 0 0 -1 1v5a1 1 0 0 0 2 0v-5a1 1 0 0 0 -1 -1m6 0a3 3 0 0 0 -1.168 .236l-.125 .057a1 1 0 0 0 -1.707 .707v5a1 1 0 0 0 2 0v-3a1 1 0 0 1 2 0v3a1 1 0 0 0 2 0v-3a3 3 0 0 0 -3 -3m-6 -3a1 1 0 0 0 -.993 .883l-.007 .127a1 1 0 0 0 1.993 .117l.007 -.127a1 1 0 0 0 -1 -1",key:"svg-0"}]],ls=O("filled","brand-linkedin-filled","BrandLinkedinFilled",Xk);var Yk=[["path",{d:"M17 3.34a10 10 0 0 1 -8.512 18.023l2.364 -5.315a3.5 3.5 0 0 0 2.398 .952c2.708 0 4.75 -2.089 4.75 -5a6 6 0 1 0 -11.64 2.041a1 1 0 1 0 1.88 -.682a4 4 0 1 1 7.76 -1.36c0 1.818 -1.156 3.001 -2.75 3.001c-.609 0 -1.153 -.361 -1.478 -1.022l1.142 -2.572a1 1 0 0 0 -1.828 -.812l-4.392 9.882a10 10 0 0 1 -4.694 -8.476l.005 -.324a10 10 0 0 1 14.995 -8.336",key:"svg-0"}]],ss=O("filled","brand-pinterest-filled","BrandPinterestFilled",Yk);var jk=[["path",{d:"M16.083 2h-4.083a1 1 0 0 0 -1 1v11.5a1.5 1.5 0 1 1 -2.519 -1.1l.12 -.1a1 1 0 0 0 .399 -.8v-4.326a1 1 0 0 0 -1.23 -.974a7.5 7.5 0 0 0 1.73 14.8l.243 -.005a7.5 7.5 0 0 0 7.257 -7.495v-2.7l.311 .153c1.122 .53 2.333 .868 3.59 .993a1 1 0 0 0 1.099 -.996v-4.033a1 1 0 0 0 -.834 -.986a5.005 5.005 0 0 1 -4.097 -4.096a1 1 0 0 0 -.986 -.835z",key:"svg-0"}]],fs=O("filled","brand-tiktok-filled","BrandTiktokFilled",jk);var Zk=[["path",{d:"M18.497 4.409a10 10 0 0 1 -10.36 16.828l-.223 -.098l-4.759 .849l-.11 .011a1 1 0 0 1 -.11 0l-.102 -.013l-.108 -.024l-.105 -.037l-.099 -.047l-.093 -.058l-.014 -.011l-.012 -.007l-.086 -.073l-.077 -.08l-.067 -.088l-.056 -.094l-.034 -.07l-.04 -.108l-.028 -.128l-.012 -.102a1 1 0 0 1 0 -.125l.012 -.1l.024 -.11l.045 -.122l1.433 -3.304l-.009 -.014a10 10 0 0 1 1.549 -12.454l.215 -.203a10 10 0 0 1 13.226 -.217m-8.997 3.09a1.5 1.5 0 0 0 -1.5 1.5v1a6 6 0 0 0 6 6h1a1.5 1.5 0 0 0 0 -3h-1l-.144 .007a1.5 1.5 0 0 0 -1.128 .697l-.042 .074l-.022 -.007a4.01 4.01 0 0 1 -2.435 -2.435l-.008 -.023l.075 -.041a1.5 1.5 0 0 0 .704 -1.272v-1a1.5 1.5 0 0 0 -1.5 -1.5",key:"svg-0"}]],is=O("filled","brand-whatsapp-filled","BrandWhatsappFilled",Zk);var Qk=[["path",{d:"M8.267 3a1 1 0 0 1 .73 .317l.076 .092l4.274 5.828l5.946 -5.944a1 1 0 0 1 1.497 1.32l-.083 .094l-6.163 6.162l6.262 8.54a1 1 0 0 1 -.697 1.585l-.109 .006h-4.267a1 1 0 0 1 -.73 -.317l-.076 -.092l-4.276 -5.829l-5.944 5.945a1 1 0 0 1 -1.497 -1.32l.083 -.094l6.161 -6.163l-6.26 -8.539a1 1 0 0 1 .697 -1.585l.109 -.006h4.267z",key:"svg-0"}]],ds=O("filled","brand-x-filled","BrandXFilled",Qk);var Jk=[["path",{d:"M18 3a5 5 0 0 1 5 5v8a5 5 0 0 1 -5 5h-12a5 5 0 0 1 -5 -5v-8a5 5 0 0 1 5 -5zm-9 6v6a1 1 0 0 0 1.514 .857l5 -3a1 1 0 0 0 0 -1.714l-5 -3a1 1 0 0 0 -1.514 .857z",key:"svg-0"}]],cs=O("filled","brand-youtube-filled","BrandYoutubeFilled",Jk);import{jsx as oR}from"react/jsx-runtime";var p1="outline",eR={instagram:{outline:Zl,solid:ns},facebook:{outline:jl,solid:as},tiktok:{outline:es,solid:fs},youtube:{outline:rs,solid:cs},x:{outline:ts,solid:ds},linkedin:{outline:Ql,solid:ls},pinterest:{outline:Jl,solid:ss},whatsapp:{outline:os,solid:is}};function m1({platform:e,iconStyle:o,size:t}){let r=eR[e][o];return oR(r,{size:t,stroke:1.75,"aria-hidden":"true",focusable:"false"})}var ia="data-theme",lp="light";function tR(e){return e.getAttribute(ia)===lp?"light":"dark"}function rR(e,o){return tR(e)===o?!1:(o==="light"?e.setAttribute(ia,lp):e.removeAttribute(ia),!0)}function aR(e){return ya(e).getItem(ha)}function b1(e,o){ya(e).setItem(ha,o)}function nR(e,o,t=new Date().getHours()){return Rs({mode:o.mode,override:aR(e),switchShown:o.switchShown,hour:t})}function S1(e,o){let t=e.documentElement;if(!t)return()=>{};let r=()=>rR(t,nR(e,o));r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[ia]}),()=>n.disconnect()}var lR="style";function sR(e,o){let t=Es(o),r=!1;for(let a of Fs){let n=t[a]??"";e.style.getPropertyValue(a)!==n&&(n?e.style.setProperty(a,n):e.style.removeProperty(a),r=!0)}return r}function y1(e,o){let t=e.body;if(!t)return()=>{};let r=()=>sR(t,o);r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[lR]}),()=>n.disconnect()}export{fR as a,iR as b,dR as c,cR as d,Sp as e,co as f,xR as g,IR as h,j as i,Bs as j,bR as k,_s as l,_a as m,NR as n,$s as o,MR as p,La as q,js as r,Zs as s,jR as t,ZR as u,QR as v,JR as w,fm as x,um as y,lr as z,Lp as A,kR as B,uo as C,RR as D,TR as E,Ms as F,wR as G,PR as H,FR as I,Dp as J,Gs as K,_p as L,Np as M,vR as N,Po as O,po as P,Pt as Q,Fa as R,Mp as S,LR as T,AR as U,mo as V,mT as W,xT as X,bm as Y,Na as Z,PT as _,vi as $,GI as aa,IE as ba,Tr as ca,Li as da,UI as ea,WI as fa,VI as ga,bE as ha,SE as ia,yE as ja,CE as ka,ur as la,Ma as ma,ET as na,vT as oa,LT as pa,AT as qa,OT as ra,BT as sa,Io as ta,Zr as ua,tD as va,rD as wa,lD as xa,sD as ya,kl as za,Rl as Aa,yF as Ba,CF as Ca,pn as Da,Ze as Ea,Z as Fa,Ot as Ga,Qe as Ha,ot as Ia,Ht as Ja,Gc as Ka,mD as La,Cy as Ma,ky as Na,Ry as Oa,Ty as Pa,gD as Qa,bD as Ra,FD as Sa,ED as Ta,vD as Ua,LD as Va,jr as Wa,AD as Xa,mt as Ya,OD as Za,Vc as _a,wy as $a,BD as ab,DD as bb,_D as cb,Dl as db,oC as eb,tC as fb,Qr as gb,nu as hb,iu as ib,cC as jb,y_ as kb,C_ as lb,Jr as mb,k_ as nb,R_ as ob,T_ as pb,w_ as qb,LC as rb,Yt as sb,hu as tb,E_ as ub,bu as vb,D_ as wb,__ as xb,WF as yb,KF as zb,zF as Ab,XF as Bb,De as Cb,nc as Db,vA as Eb,Wr as Fb,gb as Gb,OA as Hb,$t as Ib,Sb as Jb,DA as Kb,fc as Lb,fl as Mb,il as Nb,VA as Ob,qA as Pb,KA as Qb,zA as Rb,XA as Sb,dc as Tb,ul as Ub,pl as Vb,Ue as Wb,Sd as Xb,Lr as Yb,kd as Zb,WL as _b,Og as $b,VL as ac,Di as bc,LE as cc,AE as dc,rh as ec,OE as fc,_E as gc,Ni as hc,NE as ic,nh as jc,ME as kc,Br as lc,nA as mc,Zn as nc,lA as oc,ob as pc,sA as qc,tA as rc,rA as sc,nb as tc,Dr as uc,uA as vc,Nd as wc,yf as xc,MT as yc,He as zc,pr as Ac,UT as Bc,Xa as Cc,je as Dc,VT as Ec,$T as Fc,qT as Gc,KT as Hc,hr as Ic,zT as Jc,XT as Kc,YT as Lc,ZT as Mc,Ua as Nc,Wa as Oc,uf as Pc,ew as Qc,Pf as Rc,Ff as Sc,Tw as Tc,ww as Uc,Pw as Vc,Ew as Wc,vw as Xc,rw as Yc,aw as Zc,gf as _c,nw as $c,lw as ad,qa as bd,Of as cd,Df as dd,Qo as ed,_f as fd,fP as gd,Je as hd,id,pd as jd,kg as kd,vL as ld,qn as md,xi as nd,Nf as od,Rr as pd,dE as qd,mE as rd,bn as sd,eh as td,EE as ud,ux as vd,ln as wd,Ui as xd,ov as yd,Fr as zd,wn as Ad,lv as Bd,Ae as Cd,sv as Dd,bv as Ed,vn as Fd,Ln as Gd,Tv as Hd,wv as Id,Yi as Jd,Pv as Kd,Fv as Ld,Ev as Md,Bn as Nd,Nn as Od,Mn as Pd,gd as Qd,bd as Rd,fe as Sd,Gf as Td,bP as Ud,px as Vd,SP as Wd,yP as Xd,mx as Yd,RP as Zd,xx as _d,TP as $d,hx as ae,LP as be,$f as ce,kx as de,Rx as ee,Tx as fe,fn as ge,AP as he,Mg as ie,Jo as je,iA as ke,ft as le,dA as me,mA as ne,xA as oe,IA as pe,hA as qe,gA as re,zd as se,Nr as te,rl as ue,xb as ve,SA as we,yA as xe,it as ye,Mr as ze,Qd as Ae,kA as Be,RA as Ce,Hr as De,Gr as Ee,wA as Fe,rc as Ge,FA as He,JA as Ie,IS as Je,qr as Ke,tB as Le,rB as Me,aB as Ne,nB as Oe,lB as Pe,sB as Qe,fB as Re,FS as Se,iB as Te,dB as Ue,cB as Ve,uB as We,pB as Xe,pt as Ye,Se as Ze,mB as _e,LS as $e,xB as af,IB as bf,AS as cf,hB as df,Rc as ef,Mo as ff,BS as gf,dt as hf,gB as if,DS as jf,Pc as kf,Fc as lf,bB as mf,SB as nf,yB as of,CB as pf,kB as qf,RB as rf,TB as sf,wB as tf,PB as uf,FB as vf,vc as wf,Lc as xf,Ac as yf,Oc as zf,_o as Af,EB as Bf,vB as Cf,LB as Df,AB as Ef,OB as Ff,BB as Gf,So as Hf,DB as If,_B as Jf,yl as Kf,NB as Lf,Cl as Mf,ny as Nf,MB as Of,HB as Pf,GB as Qf,UB as Rf,WB as Sf,VB as Tf,_c as Uf,Nc as Vf,Mc as Wf,dy as Xf,$B as Yf,qB as Zf,xt as _f,ne as $f,UD as ag,WD as bg,VD as cg,$D as dg,qD as eg,KD as fg,zD as gg,Ly as hg,XD as ig,YD as jg,jD as kg,ZD as lg,QD as mg,Kf as ng,MP as og,HP as pg,Ux as qg,$P as rg,qP as sg,YP as tg,jP as ug,jf as vg,Zf as wg,lI as xg,nF as yg,lF as zg,sF as Ag,Dk as Bg,_k as Cg,fa as Dg,eM as Eg,Ak as Fg,Ok as Gg,ep as Hg,Bk as Ig,lM as Jg,cM as Kg,Pl as Lg,Fl as Mg,$y as Ng,qy as Og,El as Pg,Xy as Qg,It as Rg,ta as Sg,V_ as Tg,Ul as Ug,Q_ as Vg,J_ as Wg,eN as Xg,Wl as Yg,JC as Zg,ek as _g,ok as $g,mN as ah,xN as bh,sk as ch,ik as dh,Nu as eh,kN as fh,RN as gh,Kl as hh,vN as ih,zl as jh,Ku as kh,Xl as lh,zu as mh,zc as nh,o_ as oh,Xc as ph,Ny as qh,t_ as rh,r_ as sh,a_ as th,n_ as uh,My as vh,l_ as wh,s_ as xh,f_ as yh,Gy as zh,i_ as Ah,Vy as Bh,d_ as Ch,Ek as Dh,Ju as Eh,Lk as Fh,p1 as Gh,m1 as Hh,dF as Ih,cF as Jh,gF as Kh,uy as Lh,ZB as Mh,QB as Nh,JB as Oh,ia as Ph,tR as Qh,rR as Rh,b1 as Sh,S1 as Th,y1 as Uh};