@wix/himalaya-cli 0.1741.0 → 0.1743.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 (287) hide show
  1. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/members-v1/src/index.d.ts +7 -0
  2. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/stdlib/wix-sdk/pricing-plans/src/index.d.ts +6 -0
  3. package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/wix-members.mjs +6 -0
  4. package/dist/cli.mjs +162 -74
  5. package/guides/getting-started.md +18 -7
  6. package/guides/himi-json-output.md +11 -0
  7. package/guides/himi-skill.md +18 -7
  8. package/guides/sdk-reference.json +11 -2
  9. package/guides/skill.md +24 -13
  10. package/package.json +2 -2
  11. package/templates/beauty-salon/l10n/en.json +55 -0
  12. package/templates/beauty-salon/l10n/fr.json +297 -0
  13. package/templates/beauty-salon/l10n/he.json +319 -0
  14. package/templates/beauty-salon/recipes/blog-list-thumb-start.json +364 -0
  15. package/templates/beauty-salon/recipes/blog-list.json +364 -0
  16. package/templates/beauty-salon/recipes/blog-see-all.json +50 -0
  17. package/templates/beauty-salon/recipes/events-inline-list.json +203 -0
  18. package/templates/beauty-salon/recipes/events-inline.json +284 -0
  19. package/templates/beauty-salon/recipes/members-list.json +445 -0
  20. package/templates/beauty-salon/recipes/plans-card.json +811 -0
  21. package/templates/beauty-salon/recipes/programs-card.json +254 -0
  22. package/templates/beauty-salon/recipes/programs-carousel.json +234 -0
  23. package/templates/beauty-salon/recipes/section-error.json +58 -0
  24. package/templates/beauty-salon/tier5-src/_shared/blog-list.ts +207 -0
  25. package/templates/beauty-salon/tier5-src/_shared/event-registration.ts +86 -0
  26. package/templates/beauty-salon/tier5-src/_shared/events-card.ts +33 -0
  27. package/templates/beauty-salon/tier5-src/_shared/events-inline-options.ts +25 -0
  28. package/templates/beauty-salon/tier5-src/_shared/events-inline.ts +82 -0
  29. package/templates/beauty-salon/tier5-src/_shared/member-activity.ts +34 -0
  30. package/templates/beauty-salon/tier5-src/_shared/member-row-extras.ts +167 -0
  31. package/templates/beauty-salon/tier5-src/_shared/members-directory-view.ts +39 -0
  32. package/templates/beauty-salon/tier5-src/_shared/members-directory.ts +267 -0
  33. package/templates/beauty-salon/tier5-src/_shared/plan-facts.ts +87 -0
  34. package/templates/beauty-salon/tier5-src/_shared/plans-section.ts +106 -0
  35. package/templates/beauty-salon/tier5-src/_shared/programs-section.ts +728 -0
  36. package/templates/beauty-salon/tier5-src/_shared/relative-time.ts +21 -0
  37. package/templates/branded-lite/l10n/fr.json +10 -0
  38. package/templates/branded-lite/l10n/he.json +88 -0
  39. package/templates/branded-lite/recipes/blog-list-thumb-start.json +364 -0
  40. package/templates/branded-lite/recipes/blog-list.json +364 -0
  41. package/templates/branded-lite/recipes/blog-see-all.json +50 -0
  42. package/templates/branded-lite/recipes/events-inline-list.json +203 -0
  43. package/templates/branded-lite/recipes/events-inline.json +284 -0
  44. package/templates/branded-lite/recipes/members-list.json +445 -0
  45. package/templates/branded-lite/recipes/plans-card.json +811 -0
  46. package/templates/branded-lite/recipes/programs-card.json +254 -0
  47. package/templates/branded-lite/recipes/programs-carousel.json +234 -0
  48. package/templates/branded-lite/recipes/section-error.json +58 -0
  49. package/templates/branded-lite/tier5-src/_shared/blog-list.ts +207 -0
  50. package/templates/branded-lite/tier5-src/_shared/events-card.ts +33 -0
  51. package/templates/branded-lite/tier5-src/_shared/events-inline-options.ts +25 -0
  52. package/templates/branded-lite/tier5-src/_shared/events-inline.ts +82 -0
  53. package/templates/branded-lite/tier5-src/_shared/member-row-extras.ts +1 -1
  54. package/templates/branded-lite/tier5-src/_shared/members-directory-view.ts +39 -0
  55. package/templates/branded-lite/tier5-src/_shared/members-directory.ts +267 -0
  56. package/templates/branded-lite/tier5-src/_shared/plan-facts.ts +87 -0
  57. package/templates/branded-lite/tier5-src/_shared/plans-section.ts +106 -0
  58. package/templates/branded-lite/tier5-src/_shared/programs-section.ts +728 -0
  59. package/templates/branded-lite/tier5-src/_shared/relative-time.ts +21 -0
  60. package/templates/community-club/l10n/en.json +45 -0
  61. package/templates/community-club/l10n/fr.json +292 -0
  62. package/templates/community-club/l10n/he.json +315 -0
  63. package/templates/community-club/recipes/blog-list-thumb-start.json +364 -0
  64. package/templates/community-club/recipes/blog-list.json +364 -0
  65. package/templates/community-club/recipes/blog-see-all.json +50 -0
  66. package/templates/community-club/recipes/events-inline-list.json +203 -0
  67. package/templates/community-club/recipes/events-inline.json +284 -0
  68. package/templates/community-club/recipes/members-list.json +445 -0
  69. package/templates/community-club/recipes/plans-card.json +811 -0
  70. package/templates/community-club/recipes/programs-card.json +254 -0
  71. package/templates/community-club/recipes/programs-carousel.json +234 -0
  72. package/templates/community-club/recipes/section-error.json +58 -0
  73. package/templates/community-club/tier5-src/_shared/blog-list.ts +207 -0
  74. package/templates/community-club/tier5-src/_shared/detail-presence.ts +51 -0
  75. package/templates/community-club/tier5-src/_shared/events-card.ts +33 -0
  76. package/templates/community-club/tier5-src/_shared/events-inline-options.ts +25 -0
  77. package/templates/community-club/tier5-src/_shared/events-inline.ts +82 -0
  78. package/templates/community-club/tier5-src/_shared/member-activity.ts +34 -0
  79. package/templates/community-club/tier5-src/_shared/member-row-extras.ts +167 -0
  80. package/templates/community-club/tier5-src/_shared/members-directory-view.ts +39 -0
  81. package/templates/community-club/tier5-src/_shared/members-directory.ts +267 -0
  82. package/templates/community-club/tier5-src/_shared/plan-facts.ts +87 -0
  83. package/templates/community-club/tier5-src/_shared/plans-section.ts +106 -0
  84. package/templates/community-club/tier5-src/_shared/programs-section.ts +728 -0
  85. package/templates/community-club/tier5-src/_shared/relative-time.ts +21 -0
  86. package/templates/events-meetups/l10n/en.json +45 -0
  87. package/templates/events-meetups/l10n/fr.json +292 -0
  88. package/templates/events-meetups/l10n/he.json +315 -0
  89. package/templates/events-meetups/recipes/blog-list-thumb-start.json +364 -0
  90. package/templates/events-meetups/recipes/blog-list.json +364 -0
  91. package/templates/events-meetups/recipes/blog-see-all.json +50 -0
  92. package/templates/events-meetups/recipes/events-inline-list.json +203 -0
  93. package/templates/events-meetups/recipes/events-inline.json +284 -0
  94. package/templates/events-meetups/recipes/members-list.json +445 -0
  95. package/templates/events-meetups/recipes/plans-card.json +811 -0
  96. package/templates/events-meetups/recipes/programs-card.json +254 -0
  97. package/templates/events-meetups/recipes/programs-carousel.json +234 -0
  98. package/templates/events-meetups/recipes/section-error.json +58 -0
  99. package/templates/events-meetups/tier5-src/_shared/blog-list.ts +207 -0
  100. package/templates/events-meetups/tier5-src/_shared/detail-presence.ts +51 -0
  101. package/templates/events-meetups/tier5-src/_shared/events-card.ts +33 -0
  102. package/templates/events-meetups/tier5-src/_shared/events-inline-options.ts +25 -0
  103. package/templates/events-meetups/tier5-src/_shared/events-inline.ts +82 -0
  104. package/templates/events-meetups/tier5-src/_shared/member-activity.ts +34 -0
  105. package/templates/events-meetups/tier5-src/_shared/member-row-extras.ts +167 -0
  106. package/templates/events-meetups/tier5-src/_shared/members-directory-view.ts +39 -0
  107. package/templates/events-meetups/tier5-src/_shared/members-directory.ts +267 -0
  108. package/templates/events-meetups/tier5-src/_shared/plan-facts.ts +87 -0
  109. package/templates/events-meetups/tier5-src/_shared/plans-section.ts +106 -0
  110. package/templates/events-meetups/tier5-src/_shared/programs-section.ts +728 -0
  111. package/templates/events-meetups/tier5-src/_shared/relative-time.ts +21 -0
  112. package/templates/gym-fitness/l10n/en.json +45 -0
  113. package/templates/gym-fitness/l10n/fr.json +282 -0
  114. package/templates/gym-fitness/l10n/he.json +307 -0
  115. package/templates/gym-fitness/recipes/blog-list-thumb-start.json +364 -0
  116. package/templates/gym-fitness/recipes/blog-list.json +364 -0
  117. package/templates/gym-fitness/recipes/blog-see-all.json +50 -0
  118. package/templates/gym-fitness/recipes/events-inline-list.json +203 -0
  119. package/templates/gym-fitness/recipes/events-inline.json +284 -0
  120. package/templates/gym-fitness/recipes/members-list.json +445 -0
  121. package/templates/gym-fitness/recipes/plans-card.json +811 -0
  122. package/templates/gym-fitness/recipes/programs-card.json +254 -0
  123. package/templates/gym-fitness/recipes/programs-carousel.json +234 -0
  124. package/templates/gym-fitness/recipes/section-error.json +58 -0
  125. package/templates/gym-fitness/tier5-src/_shared/blog-list.ts +207 -0
  126. package/templates/gym-fitness/tier5-src/_shared/events-card.ts +33 -0
  127. package/templates/gym-fitness/tier5-src/_shared/events-inline-options.ts +25 -0
  128. package/templates/gym-fitness/tier5-src/_shared/events-inline.ts +82 -0
  129. package/templates/gym-fitness/tier5-src/_shared/member-activity.ts +34 -0
  130. package/templates/gym-fitness/tier5-src/_shared/member-row-extras.ts +167 -0
  131. package/templates/gym-fitness/tier5-src/_shared/members-directory-view.ts +39 -0
  132. package/templates/gym-fitness/tier5-src/_shared/members-directory.ts +267 -0
  133. package/templates/gym-fitness/tier5-src/_shared/plan-facts.ts +87 -0
  134. package/templates/gym-fitness/tier5-src/_shared/plans-section.ts +106 -0
  135. package/templates/gym-fitness/tier5-src/_shared/programs-section.ts +728 -0
  136. package/templates/gym-fitness/tier5-src/_shared/relative-time.ts +21 -0
  137. package/templates/nonprofit-cause/l10n/en.json +45 -0
  138. package/templates/nonprofit-cause/l10n/fr.json +267 -0
  139. package/templates/nonprofit-cause/l10n/he.json +295 -0
  140. package/templates/nonprofit-cause/recipes/blog-list-thumb-start.json +364 -0
  141. package/templates/nonprofit-cause/recipes/blog-list.json +364 -0
  142. package/templates/nonprofit-cause/recipes/blog-see-all.json +50 -0
  143. package/templates/nonprofit-cause/recipes/events-inline-list.json +203 -0
  144. package/templates/nonprofit-cause/recipes/events-inline.json +284 -0
  145. package/templates/nonprofit-cause/recipes/members-list.json +445 -0
  146. package/templates/nonprofit-cause/recipes/plans-card.json +811 -0
  147. package/templates/nonprofit-cause/recipes/programs-card.json +254 -0
  148. package/templates/nonprofit-cause/recipes/programs-carousel.json +234 -0
  149. package/templates/nonprofit-cause/recipes/section-error.json +58 -0
  150. package/templates/nonprofit-cause/tier5-src/_shared/blog-list.ts +207 -0
  151. package/templates/nonprofit-cause/tier5-src/_shared/events-card.ts +33 -0
  152. package/templates/nonprofit-cause/tier5-src/_shared/events-inline-options.ts +25 -0
  153. package/templates/nonprofit-cause/tier5-src/_shared/events-inline.ts +82 -0
  154. package/templates/nonprofit-cause/tier5-src/_shared/member-activity.ts +34 -0
  155. package/templates/nonprofit-cause/tier5-src/_shared/member-row-extras.ts +167 -0
  156. package/templates/nonprofit-cause/tier5-src/_shared/members-directory-view.ts +39 -0
  157. package/templates/nonprofit-cause/tier5-src/_shared/members-directory.ts +267 -0
  158. package/templates/nonprofit-cause/tier5-src/_shared/plan-facts.ts +87 -0
  159. package/templates/nonprofit-cause/tier5-src/_shared/plans-section.ts +106 -0
  160. package/templates/nonprofit-cause/tier5-src/_shared/programs-section.ts +728 -0
  161. package/templates/nonprofit-cause/tier5-src/_shared/relative-time.ts +21 -0
  162. package/templates/podcast-creator/l10n/en.json +45 -0
  163. package/templates/podcast-creator/l10n/fr.json +287 -0
  164. package/templates/podcast-creator/l10n/he.json +311 -0
  165. package/templates/podcast-creator/recipes/blog-list-thumb-start.json +364 -0
  166. package/templates/podcast-creator/recipes/blog-list.json +364 -0
  167. package/templates/podcast-creator/recipes/blog-see-all.json +50 -0
  168. package/templates/podcast-creator/recipes/events-inline-list.json +203 -0
  169. package/templates/podcast-creator/recipes/events-inline.json +284 -0
  170. package/templates/podcast-creator/recipes/members-list.json +445 -0
  171. package/templates/podcast-creator/recipes/plans-card.json +811 -0
  172. package/templates/podcast-creator/recipes/programs-card.json +254 -0
  173. package/templates/podcast-creator/recipes/programs-carousel.json +234 -0
  174. package/templates/podcast-creator/recipes/section-error.json +58 -0
  175. package/templates/podcast-creator/tier5-src/_shared/blog-list.ts +207 -0
  176. package/templates/podcast-creator/tier5-src/_shared/events-card.ts +33 -0
  177. package/templates/podcast-creator/tier5-src/_shared/events-inline-options.ts +25 -0
  178. package/templates/podcast-creator/tier5-src/_shared/events-inline.ts +82 -0
  179. package/templates/podcast-creator/tier5-src/_shared/member-activity.ts +34 -0
  180. package/templates/podcast-creator/tier5-src/_shared/member-row-extras.ts +167 -0
  181. package/templates/podcast-creator/tier5-src/_shared/members-directory-view.ts +39 -0
  182. package/templates/podcast-creator/tier5-src/_shared/members-directory.ts +267 -0
  183. package/templates/podcast-creator/tier5-src/_shared/plan-facts.ts +87 -0
  184. package/templates/podcast-creator/tier5-src/_shared/plans-section.ts +106 -0
  185. package/templates/podcast-creator/tier5-src/_shared/programs-section.ts +728 -0
  186. package/templates/podcast-creator/tier5-src/_shared/relative-time.ts +21 -0
  187. package/templates/portfolio-creative/l10n/en.json +45 -0
  188. package/templates/portfolio-creative/l10n/fr.json +317 -0
  189. package/templates/portfolio-creative/l10n/he.json +335 -0
  190. package/templates/portfolio-creative/recipes/blog-list-thumb-start.json +364 -0
  191. package/templates/portfolio-creative/recipes/blog-list.json +364 -0
  192. package/templates/portfolio-creative/recipes/blog-see-all.json +50 -0
  193. package/templates/portfolio-creative/recipes/events-inline-list.json +203 -0
  194. package/templates/portfolio-creative/recipes/events-inline.json +284 -0
  195. package/templates/portfolio-creative/recipes/members-list.json +445 -0
  196. package/templates/portfolio-creative/recipes/plans-card.json +811 -0
  197. package/templates/portfolio-creative/recipes/programs-card.json +254 -0
  198. package/templates/portfolio-creative/recipes/programs-carousel.json +234 -0
  199. package/templates/portfolio-creative/recipes/section-error.json +58 -0
  200. package/templates/portfolio-creative/tier5-src/_shared/blog-list.ts +207 -0
  201. package/templates/portfolio-creative/tier5-src/_shared/events-card.ts +33 -0
  202. package/templates/portfolio-creative/tier5-src/_shared/events-inline-options.ts +25 -0
  203. package/templates/portfolio-creative/tier5-src/_shared/events-inline.ts +82 -0
  204. package/templates/portfolio-creative/tier5-src/_shared/member-activity.ts +34 -0
  205. package/templates/portfolio-creative/tier5-src/_shared/member-row-extras.ts +167 -0
  206. package/templates/portfolio-creative/tier5-src/_shared/members-directory-view.ts +39 -0
  207. package/templates/portfolio-creative/tier5-src/_shared/members-directory.ts +267 -0
  208. package/templates/portfolio-creative/tier5-src/_shared/plan-facts.ts +87 -0
  209. package/templates/portfolio-creative/tier5-src/_shared/plans-section.ts +106 -0
  210. package/templates/portfolio-creative/tier5-src/_shared/programs-section.ts +728 -0
  211. package/templates/portfolio-creative/tier5-src/_shared/relative-time.ts +21 -0
  212. package/templates/restaurant/l10n/en.json +45 -0
  213. package/templates/restaurant/l10n/fr.json +317 -0
  214. package/templates/restaurant/l10n/he.json +335 -0
  215. package/templates/restaurant/recipes/blog-list-thumb-start.json +364 -0
  216. package/templates/restaurant/recipes/blog-list.json +364 -0
  217. package/templates/restaurant/recipes/blog-see-all.json +50 -0
  218. package/templates/restaurant/recipes/events-inline-list.json +203 -0
  219. package/templates/restaurant/recipes/events-inline.json +284 -0
  220. package/templates/restaurant/recipes/members-list.json +445 -0
  221. package/templates/restaurant/recipes/plans-card.json +811 -0
  222. package/templates/restaurant/recipes/programs-card.json +254 -0
  223. package/templates/restaurant/recipes/programs-carousel.json +234 -0
  224. package/templates/restaurant/recipes/section-error.json +58 -0
  225. package/templates/restaurant/tier5-src/_shared/blog-list.ts +207 -0
  226. package/templates/restaurant/tier5-src/_shared/events-card.ts +33 -0
  227. package/templates/restaurant/tier5-src/_shared/events-inline-options.ts +25 -0
  228. package/templates/restaurant/tier5-src/_shared/events-inline.ts +82 -0
  229. package/templates/restaurant/tier5-src/_shared/member-activity.ts +34 -0
  230. package/templates/restaurant/tier5-src/_shared/member-row-extras.ts +167 -0
  231. package/templates/restaurant/tier5-src/_shared/members-directory-view.ts +39 -0
  232. package/templates/restaurant/tier5-src/_shared/members-directory.ts +267 -0
  233. package/templates/restaurant/tier5-src/_shared/plan-facts.ts +87 -0
  234. package/templates/restaurant/tier5-src/_shared/plans-section.ts +106 -0
  235. package/templates/restaurant/tier5-src/_shared/programs-section.ts +728 -0
  236. package/templates/restaurant/tier5-src/_shared/relative-time.ts +21 -0
  237. package/templates/retail-store/l10n/en.json +60 -0
  238. package/templates/retail-store/l10n/fr.json +342 -0
  239. package/templates/retail-store/l10n/he.json +355 -0
  240. package/templates/retail-store/recipes/blog-list-thumb-start.json +364 -0
  241. package/templates/retail-store/recipes/blog-list.json +364 -0
  242. package/templates/retail-store/recipes/blog-see-all.json +50 -0
  243. package/templates/retail-store/recipes/events-inline-list.json +203 -0
  244. package/templates/retail-store/recipes/events-inline.json +284 -0
  245. package/templates/retail-store/recipes/members-list.json +445 -0
  246. package/templates/retail-store/recipes/plans-card.json +811 -0
  247. package/templates/retail-store/recipes/programs-card.json +254 -0
  248. package/templates/retail-store/recipes/programs-carousel.json +234 -0
  249. package/templates/retail-store/recipes/section-error.json +58 -0
  250. package/templates/retail-store/tier5-src/_shared/blog-list.ts +207 -0
  251. package/templates/retail-store/tier5-src/_shared/event-registration.ts +86 -0
  252. package/templates/retail-store/tier5-src/_shared/events-card.ts +33 -0
  253. package/templates/retail-store/tier5-src/_shared/events-inline-options.ts +25 -0
  254. package/templates/retail-store/tier5-src/_shared/events-inline.ts +82 -0
  255. package/templates/retail-store/tier5-src/_shared/member-activity.ts +34 -0
  256. package/templates/retail-store/tier5-src/_shared/member-row-extras.ts +167 -0
  257. package/templates/retail-store/tier5-src/_shared/members-directory-view.ts +39 -0
  258. package/templates/retail-store/tier5-src/_shared/members-directory.ts +267 -0
  259. package/templates/retail-store/tier5-src/_shared/plan-facts.ts +87 -0
  260. package/templates/retail-store/tier5-src/_shared/plans-section.ts +106 -0
  261. package/templates/retail-store/tier5-src/_shared/programs-section.ts +728 -0
  262. package/templates/retail-store/tier5-src/_shared/relative-time.ts +21 -0
  263. package/templates/yoga-studio/l10n/en.json +24 -0
  264. package/templates/yoga-studio/l10n/fr.json +64 -0
  265. package/templates/yoga-studio/l10n/he.json +132 -0
  266. package/templates/yoga-studio/recipes/blog-list-thumb-start.json +364 -0
  267. package/templates/yoga-studio/recipes/blog-list.json +364 -0
  268. package/templates/yoga-studio/recipes/blog-see-all.json +50 -0
  269. package/templates/yoga-studio/recipes/events-inline-list.json +203 -0
  270. package/templates/yoga-studio/recipes/events-inline.json +284 -0
  271. package/templates/yoga-studio/recipes/members-list.json +445 -0
  272. package/templates/yoga-studio/recipes/plans-card.json +811 -0
  273. package/templates/yoga-studio/recipes/programs-card.json +254 -0
  274. package/templates/yoga-studio/recipes/programs-carousel.json +234 -0
  275. package/templates/yoga-studio/recipes/section-error.json +58 -0
  276. package/templates/yoga-studio/tier5-src/_shared/blog-list.ts +207 -0
  277. package/templates/yoga-studio/tier5-src/_shared/events-card.ts +33 -0
  278. package/templates/yoga-studio/tier5-src/_shared/events-inline-options.ts +25 -0
  279. package/templates/yoga-studio/tier5-src/_shared/events-inline.ts +82 -0
  280. package/templates/yoga-studio/tier5-src/_shared/member-activity.ts +34 -0
  281. package/templates/yoga-studio/tier5-src/_shared/member-row-extras.ts +167 -0
  282. package/templates/yoga-studio/tier5-src/_shared/members-directory-view.ts +39 -0
  283. package/templates/yoga-studio/tier5-src/_shared/members-directory.ts +267 -0
  284. package/templates/yoga-studio/tier5-src/_shared/plan-facts.ts +87 -0
  285. package/templates/yoga-studio/tier5-src/_shared/plans-section.ts +106 -0
  286. package/templates/yoga-studio/tier5-src/_shared/programs-section.ts +728 -0
  287. package/templates/yoga-studio/tier5-src/_shared/relative-time.ts +21 -0
@@ -0,0 +1,21 @@
1
+ // "2 hours ago" for a recent timestamp, the plain date once it is a week old (the One App blog list and cards).
2
+ // Pure and Intl-free: the absolute date comes from engine-intl, whose fallback never throws on the wrist engines.
3
+ import { copyParam, copyPlural } from "./himi-copy.js";
4
+ import { formatDateMedium } from "./engine-intl.js";
5
+
6
+ const MINUTE = 60_000;
7
+ const HOUR = 60 * MINUTE;
8
+ const DAY = 24 * HOUR;
9
+ const RELATIVE_DAYS = 7;
10
+
11
+ /** "" when `iso` is missing or not a date. A time in the future (a clock skew) reads as the date, never "-3 minutes ago". */
12
+ export function relativeTime(iso: string | undefined, now: number): string {
13
+ const at = iso ? Date.parse(iso) : NaN;
14
+ if (!Number.isFinite(at)) return "";
15
+ const age = now - at;
16
+ if (age < 0 || age >= RELATIVE_DAYS * DAY) return formatDateMedium(new Date(at));
17
+ if (age < MINUTE) return copyParam("relativeTime.justNow", "Just now");
18
+ if (age < HOUR) return copyPlural("relativeTime.minutesAgo", "{n, plural, one {# minute ago} other {# minutes ago}}", Math.floor(age / MINUTE));
19
+ if (age < DAY) return copyPlural("relativeTime.hoursAgo", "{n, plural, one {# hour ago} other {# hours ago}}", Math.floor(age / HOUR));
20
+ return copyPlural("relativeTime.daysAgo", "{n, plural, one {# day ago} other {# days ago}}", Math.floor(age / DAY));
21
+ }
@@ -35,6 +35,13 @@
35
35
  "key": "accountSettings.confirmPrivacyCta",
36
36
  "keyOrigin": "string-table"
37
37
  },
38
+ "h_060be00f4f26": {
39
+ "source": "All categories",
40
+ "kind": "atom.label",
41
+ "translation": "",
42
+ "key": "memberPrograms.filterAllCategories",
43
+ "keyOrigin": "string-table"
44
+ },
38
45
  "h_085f317f41a0": {
39
46
  "source": "Update the app to change your password.",
40
47
  "kind": "Text.text",
@@ -596,6 +603,12 @@
596
603
  "key": "businessContact.member",
597
604
  "keyOrigin": "string-table"
598
605
  },
606
+ "h_66587a7a62a9": {
607
+ "source": "Follow",
608
+ "kind": "Button.title",
609
+ "translation": "",
610
+ "key": "member.followCta"
611
+ },
599
612
  "h_67300d0fed7c": {
600
613
  "source": "Clear search",
601
614
  "kind": "Button.title",
@@ -820,6 +833,13 @@
820
833
  "key": "podcast.backCta",
821
834
  "keyOrigin": "string-table"
822
835
  },
836
+ "h_8de84cb21a15": {
837
+ "source": "No members yet",
838
+ "kind": "EmptyState.title",
839
+ "translation": "",
840
+ "key": "members.emptyTitle",
841
+ "keyOrigin": "string-table"
842
+ },
823
843
  "h_8e1db3b4fc0e": {
824
844
  "source": "Confirm unblock",
825
845
  "kind": "Button.title",
@@ -848,6 +868,12 @@
848
868
  "key": "subscriptionDetail.confirmCancel",
849
869
  "keyOrigin": "string-table"
850
870
  },
871
+ "h_90eeb1008380": {
872
+ "source": "Following",
873
+ "kind": "Button.title",
874
+ "translation": "",
875
+ "key": "member.followingCta"
876
+ },
851
877
  "h_92323a771155": {
852
878
  "source": "Post comment",
853
879
  "kind": "Button.title",
@@ -881,6 +907,13 @@
881
907
  "translation": "",
882
908
  "key": "tab.donations"
883
909
  },
910
+ "h_982d5244f7e9": {
911
+ "source": "All programs",
912
+ "kind": "atom.label",
913
+ "translation": "",
914
+ "key": "memberPrograms.filterAll",
915
+ "keyOrigin": "string-table"
916
+ },
884
917
  "h_9a88b3e90f67": {
885
918
  "source": "App & support",
886
919
  "kind": "Text.text",
@@ -1475,6 +1508,13 @@
1475
1508
  "key": "blogPost.unhideCta",
1476
1509
  "keyOrigin": "string-table"
1477
1510
  },
1511
+ "h_e854ef4cb4a2": {
1512
+ "source": "Programs I joined",
1513
+ "kind": "atom.label",
1514
+ "translation": "",
1515
+ "key": "memberPrograms.filterJoined",
1516
+ "keyOrigin": "string-table"
1517
+ },
1478
1518
  "h_ed14777743d2": {
1479
1519
  "source": "Your post",
1480
1520
  "kind": "FormField.label",
@@ -1620,6 +1660,11 @@
1620
1660
  "key": "tab.profile",
1621
1661
  "keyOrigin": "string-table"
1622
1662
  },
1663
+ "w_b9bda18537fd": {
1664
+ "source": "Follow",
1665
+ "key": "loyalty.follow",
1666
+ "translation": ""
1667
+ },
1623
1668
  "h_03e89418ffdf": {
1624
1669
  "source": "Your Home",
1625
1670
  "kind": "Text.text",
@@ -1148,6 +1148,24 @@
1148
1148
  "translation": "Itinéraire",
1149
1149
  "origin": "machine"
1150
1150
  },
1151
+ "h_060be00f4f26": {
1152
+ "key": "memberPrograms.filterAllCategories",
1153
+ "source": "All categories",
1154
+ "translation": "Toutes les catégories",
1155
+ "origin": "machine"
1156
+ },
1157
+ "h_982d5244f7e9": {
1158
+ "key": "memberPrograms.filterAll",
1159
+ "source": "All programs",
1160
+ "translation": "Tous les programmes",
1161
+ "origin": "machine"
1162
+ },
1163
+ "h_e854ef4cb4a2": {
1164
+ "key": "memberPrograms.filterJoined",
1165
+ "source": "Programs I joined",
1166
+ "translation": "Programmes rejoints",
1167
+ "origin": "machine"
1168
+ },
1151
1169
  "h_70f8bb9a8a53": {
1152
1170
  "key": "tab.home",
1153
1171
  "source": "Home",
@@ -1250,6 +1268,24 @@
1250
1268
  "translation": "Catégories de posts",
1251
1269
  "origin": "machine"
1252
1270
  },
1271
+ "h_66587a7a62a9": {
1272
+ "key": "member.followCta",
1273
+ "source": "Follow",
1274
+ "translation": "Suivre",
1275
+ "origin": "machine"
1276
+ },
1277
+ "h_90eeb1008380": {
1278
+ "key": "member.followingCta",
1279
+ "source": "Following",
1280
+ "translation": "Abonné",
1281
+ "origin": "one-app:wix-one-app-comments:ReactionsListReactionRowFollowing"
1282
+ },
1283
+ "h_8de84cb21a15": {
1284
+ "key": "members.emptyTitle",
1285
+ "source": "No members yet",
1286
+ "translation": "Aucun membre pour le moment",
1287
+ "origin": "machine"
1288
+ },
1253
1289
  "h_a689a999a5e6": {
1254
1290
  "key": "mySubscriptions.expired",
1255
1291
  "source": "Expired",
@@ -1412,6 +1448,12 @@
1412
1448
  "translation": "Masquer les avantages de la formule",
1413
1449
  "origin": "machine"
1414
1450
  },
1451
+ "w_b9bda18537fd": {
1452
+ "key": "loyalty.follow",
1453
+ "source": "Follow",
1454
+ "translation": "Suivre",
1455
+ "origin": "machine"
1456
+ },
1415
1457
  "h_03e89418ffdf": {
1416
1458
  "source": "Your Home",
1417
1459
  "translation": "Votre accueil",
@@ -1837,6 +1879,11 @@
1837
1879
  "translation": "Titre de Z à A",
1838
1880
  "origin": "machine"
1839
1881
  },
1882
+ "h_10b28a8c1e44": {
1883
+ "source": "Full",
1884
+ "translation": "Complet",
1885
+ "origin": "machine"
1886
+ },
1840
1887
  "h_30eadaa56bf1": {
1841
1888
  "source": "Profile photo changes are not available in this session.",
1842
1889
  "translation": "Les changements de photo de profil ne sont pas disponibles dans cette session.",
@@ -2357,21 +2404,226 @@
2357
2404
  "translation": "Ce site n'accepte pas les paiements en ligne. Revenez en arrière ou contactez l'entreprise pour connaître les autres moyens de paiement.",
2358
2405
  "origin": "machine"
2359
2406
  },
2407
+ "h_237dfa0a21c8": {
2408
+ "source": "Private",
2409
+ "translation": "Privé",
2410
+ "origin": "one-app:wix-owners-app-platform:manage.permissions.members-default-privacy-item.label.private"
2411
+ },
2412
+ "h_dc5eb704bbca": {
2413
+ "source": "Public",
2414
+ "translation": "Public",
2415
+ "origin": "one-app:wix-one-groups:GROUPS_PUBLIC_GROUP"
2416
+ },
2417
+ "h_f4e7a8740db0": {
2418
+ "source": "Secret",
2419
+ "translation": "Secret",
2420
+ "origin": "one-app:wix-one-groups:GROUPS_SECRET_GROUP"
2421
+ },
2422
+ "h_72c76f679ed6": {
2423
+ "source": "Programs are unavailable for this account. Sign in again.",
2424
+ "translation": "Les programmes ne sont pas disponibles pour ce compte. Connectez-vous à nouveau.",
2425
+ "origin": "machine"
2426
+ },
2427
+ "h_7a1810c306d5": {
2428
+ "source": "Program is full",
2429
+ "translation": "Le programme est complet",
2430
+ "origin": "machine"
2431
+ },
2432
+ "h_e0d73143de80": {
2433
+ "source": "Join",
2434
+ "translation": "Rejoindre",
2435
+ "origin": "one-app:wix-one-app-selections:SELECTION_LIST_JOIN_BUTTON"
2436
+ },
2437
+ "h_991e86bb50bb": {
2438
+ "source": "Join & pay",
2439
+ "translation": "Rejoindre et payer",
2440
+ "origin": "machine"
2441
+ },
2442
+ "h_f6b38cc22f99": {
2443
+ "source": "Complete payment",
2444
+ "translation": "Finaliser le paiement",
2445
+ "origin": "machine"
2446
+ },
2447
+ "h_d65ef673db63": {
2448
+ "source": "Request to join",
2449
+ "translation": "Envoyer une demande",
2450
+ "origin": "one-app:wix-one-groups:GROUPS_CARD_REQUEST_TO_JOIN_BUTTON"
2451
+ },
2452
+ "h_69bd4ef9fbd0": {
2453
+ "source": "View",
2454
+ "translation": "Voir",
2455
+ "origin": "one-app:wix-one-app-pma:pma-dashboard.next-up.run-now.success-toast.cta"
2456
+ },
2457
+ "h_c74e70d5934e": {
2458
+ "source": "No programs in this category yet.",
2459
+ "translation": "Aucun programme dans cette catégorie pour le moment.",
2460
+ "origin": "machine"
2461
+ },
2462
+ "h_6137bd93ab17": {
2463
+ "source": "You haven't joined a program yet.",
2464
+ "translation": "Vous n'avez pas encore rejoint de programme.",
2465
+ "origin": "machine"
2466
+ },
2467
+ "h_d022641abb9a": {
2468
+ "source": "No programs yet.",
2469
+ "translation": "Aucun programme pour le moment.",
2470
+ "origin": "machine"
2471
+ },
2472
+ "h_7b211d91c1e7": {
2473
+ "source": "Programs could not be loaded.",
2474
+ "translation": "Impossible de charger les programmes.",
2475
+ "origin": "machine"
2476
+ },
2360
2477
  "h_eee52995478b": {
2361
2478
  "source": "Signed in as {email}",
2362
2479
  "translation": "Connecté(e) en tant que {email}",
2363
2480
  "origin": "machine"
2364
2481
  },
2482
+ "h_a7cbd9e4e9e0": {
2483
+ "source": "Request approved · complete your payment",
2484
+ "translation": "Demande approuvée · finalisez votre paiement",
2485
+ "origin": "machine"
2486
+ },
2365
2487
  "h_1798b3ba42ee": {
2366
2488
  "source": "Completed",
2367
2489
  "translation": "Terminé",
2368
2490
  "origin": "one-app:mobile-apps-studio-platform:studio.projects-screen-completed-tag"
2369
2491
  },
2492
+ "h_41595401686e": {
2493
+ "source": "Finished with {pct}% progress",
2494
+ "translation": "Terminé avec {pct} % de progression",
2495
+ "origin": "machine"
2496
+ },
2497
+ "h_1f970ab92c5e": {
2498
+ "source": "You're invited to join",
2499
+ "translation": "Vous êtes invité(e) à rejoindre",
2500
+ "origin": "machine"
2501
+ },
2502
+ "h_f78f6cdaf644": {
2503
+ "source": "Join request sent",
2504
+ "translation": "Demande d'adhésion envoyée",
2505
+ "origin": "machine"
2506
+ },
2507
+ "h_da3f1cf556a4": {
2508
+ "source": "Your participation is paused",
2509
+ "translation": "Votre participation est suspendue",
2510
+ "origin": "machine"
2511
+ },
2512
+ "h_bcbda1740eab": {
2513
+ "source": "{count} participants",
2514
+ "translation": "{count} participants",
2515
+ "origin": "machine"
2516
+ },
2517
+ "h_e4033589c53d": {
2518
+ "source": "1 participant",
2519
+ "translation": "1 participant",
2520
+ "origin": "machine"
2521
+ },
2522
+ "h_d5d7e7952254": {
2523
+ "source": "Some prices could not be loaded.",
2524
+ "translation": "Impossible de charger certains prix.",
2525
+ "origin": "machine"
2526
+ },
2370
2527
  "h_9d68007b0763": {
2371
2528
  "source": "Program",
2372
2529
  "translation": "Programme",
2373
2530
  "origin": "machine"
2374
2531
  },
2532
+ "h_6e14af706cf3": {
2533
+ "source": "{pct}% complete",
2534
+ "translation": "{pct} % terminé",
2535
+ "origin": "machine"
2536
+ },
2537
+ "h_f3117aeda9f6": {
2538
+ "source": "Sign in to see the programs you joined.",
2539
+ "translation": "Connectez-vous pour voir les programmes que vous avez rejoints.",
2540
+ "origin": "machine"
2541
+ },
2542
+ "h_d1e51f92e970": {
2543
+ "source": "Request approved",
2544
+ "translation": "Demande approuvée",
2545
+ "origin": "machine"
2546
+ },
2547
+ "h_e887512cff1a": {
2548
+ "source": "Program complete",
2549
+ "translation": "Programme terminé",
2550
+ "origin": "machine"
2551
+ },
2552
+ "h_ba5bf80d6b73": {
2553
+ "source": "Program ended",
2554
+ "translation": "Programme clos",
2555
+ "origin": "machine"
2556
+ },
2557
+ "h_53469df1c48f": {
2558
+ "source": "Invited",
2559
+ "translation": "Invité(e)",
2560
+ "origin": "machine"
2561
+ },
2562
+ "h_43a1c6266f88": {
2563
+ "source": "Joined",
2564
+ "translation": "Rejoint",
2565
+ "origin": "machine"
2566
+ },
2567
+ "h_1c5c8843fc67": {
2568
+ "source": "Pending request",
2569
+ "translation": "Demande en attente",
2570
+ "origin": "one-app:wix-one-app-crm-contacts:CONTACTS_CONTACT_CARD_SCREEN_STATUS_BADGE.PENDING"
2571
+ },
2572
+ "h_dbf11c902c73": {
2573
+ "source": "Participation suspended",
2574
+ "translation": "Participation suspendue",
2575
+ "origin": "machine"
2576
+ },
2577
+ "h_a766dc843e39": {
2578
+ "source": "{count} programs",
2579
+ "translation": "{count} programmes",
2580
+ "origin": "machine"
2581
+ },
2582
+ "h_f4ba5662aa26": {
2583
+ "source": "1 program",
2584
+ "translation": "1 programme",
2585
+ "origin": "machine"
2586
+ },
2587
+ "h_35b342462f45": {
2588
+ "source": "{days} days · self-paced",
2589
+ "translation": "{days} jours · à votre rythme",
2590
+ "origin": "machine"
2591
+ },
2592
+ "h_1e6b8544be0c": {
2593
+ "source": "{days} days",
2594
+ "translation": "{days} jours",
2595
+ "origin": "machine"
2596
+ },
2597
+ "h_3a6ae6bd2c8e": {
2598
+ "source": "Ended {date}",
2599
+ "translation": "Terminé le {date}",
2600
+ "origin": "machine"
2601
+ },
2602
+ "h_2cba6916a049": {
2603
+ "source": "Starts {date} · {days} days",
2604
+ "translation": "Début le {date} · {days} jours",
2605
+ "origin": "machine"
2606
+ },
2607
+ "h_382539860ab8": {
2608
+ "source": "Self-paced",
2609
+ "translation": "À votre rythme",
2610
+ "origin": "machine"
2611
+ },
2612
+ "h_5b134f145490": {
2613
+ "source": "Started {date} · day {day}",
2614
+ "translation": "Commencé le {date} · jour {day}",
2615
+ "origin": "machine"
2616
+ },
2617
+ "h_5e676b67cfea": {
2618
+ "source": "Started {date} · day {day} of {days}",
2619
+ "translation": "Commencé le {date} · jour {day} sur {days}",
2620
+ "origin": "machine"
2621
+ },
2622
+ "h_2ec039e2464d": {
2623
+ "source": "Starts {date}",
2624
+ "translation": "Début le {date}",
2625
+ "origin": "machine"
2626
+ },
2375
2627
  "h_563ae24ab1fc": {
2376
2628
  "source": "{n, plural, one {# member} other {# members}}",
2377
2629
  "translation": "{n, plural, one {# membre} other {# membres}}",
@@ -2512,11 +2764,46 @@
2512
2764
  "translation": "{n, plural, one {# vue} other {# vues}}",
2513
2765
  "origin": "machine"
2514
2766
  },
2767
+ "h_009ff11c38aa": {
2768
+ "source": "Active {amount}d ago",
2769
+ "translation": "Actif il y a {amount} j",
2770
+ "origin": "machine"
2771
+ },
2772
+ "h_5dd42e3b6336": {
2773
+ "source": "Active {amount}m ago",
2774
+ "translation": "Actif il y a {amount} min",
2775
+ "origin": "machine"
2776
+ },
2777
+ "h_7ee707b2943a": {
2778
+ "source": "Active now",
2779
+ "translation": "Actif maintenant",
2780
+ "origin": "machine"
2781
+ },
2782
+ "h_b47e504b255d": {
2783
+ "source": "Active {amount}h ago",
2784
+ "translation": "Actif il y a {amount} h",
2785
+ "origin": "machine"
2786
+ },
2787
+ "h_bfc3c2d84424": {
2788
+ "source": "Last seen {date}",
2789
+ "translation": "Dernière connexion {date}",
2790
+ "origin": "machine"
2791
+ },
2515
2792
  "h_972017cb7471": {
2516
2793
  "source": "1 member",
2517
2794
  "translation": "1 membre",
2518
2795
  "origin": "one-app:wix-one-app-member-view__platformStrings__messages_en.json:CLUB_SCREEN_HEADER_SINGLE_MEMBER"
2519
2796
  },
2797
+ "h_95fa98b5f4ee": {
2798
+ "source": "Active {n}h ago",
2799
+ "translation": "Actif il y a {n} h",
2800
+ "origin": "machine"
2801
+ },
2802
+ "h_71609106e1eb": {
2803
+ "source": "Active {n}m ago",
2804
+ "translation": "Actif il y a {n} min",
2805
+ "origin": "machine"
2806
+ },
2520
2807
  "h_19b27b0fd751": {
2521
2808
  "source": "You’re offline — nothing was saved. Try again when you reconnect.",
2522
2809
  "translation": "Vous êtes hors ligne : rien n’a été enregistré. Réessayez une fois reconnecté.",