@automattic/data-stores 1.0.0-alpha.0 → 3.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 (970) hide show
  1. package/CHANGELOG.md +105 -2
  2. package/README.md +34 -15
  3. package/dist/cjs/auth/actions.js +200 -0
  4. package/dist/cjs/auth/actions.js.map +1 -0
  5. package/dist/cjs/auth/constants.js +6 -0
  6. package/dist/cjs/auth/constants.js.map +1 -0
  7. package/dist/cjs/auth/controls.js +46 -0
  8. package/dist/cjs/auth/controls.js.map +1 -0
  9. package/dist/cjs/auth/index.js +36 -0
  10. package/dist/cjs/auth/index.js.map +1 -0
  11. package/dist/cjs/auth/reducer.js +80 -0
  12. package/dist/cjs/auth/reducer.js.map +1 -0
  13. package/dist/cjs/auth/selectors.js +14 -0
  14. package/dist/cjs/auth/selectors.js.map +1 -0
  15. package/dist/cjs/auth/types.js +3 -0
  16. package/dist/cjs/auth/types.js.map +1 -0
  17. package/dist/cjs/auth/utils.js +9 -0
  18. package/dist/cjs/auth/utils.js.map +1 -0
  19. package/dist/cjs/automated-transfer-eligibility/actions.js +10 -0
  20. package/dist/cjs/automated-transfer-eligibility/actions.js.map +1 -0
  21. package/dist/cjs/automated-transfer-eligibility/constants.js +43 -0
  22. package/dist/cjs/automated-transfer-eligibility/constants.js.map +1 -0
  23. package/dist/cjs/automated-transfer-eligibility/index.js +29 -0
  24. package/dist/cjs/automated-transfer-eligibility/index.js.map +1 -0
  25. package/dist/cjs/automated-transfer-eligibility/reducer.js +17 -0
  26. package/dist/cjs/automated-transfer-eligibility/reducer.js.map +1 -0
  27. package/dist/cjs/automated-transfer-eligibility/resolvers.js +19 -0
  28. package/dist/cjs/automated-transfer-eligibility/resolvers.js.map +1 -0
  29. package/dist/cjs/automated-transfer-eligibility/selectors.js +64 -0
  30. package/dist/cjs/automated-transfer-eligibility/selectors.js.map +1 -0
  31. package/dist/cjs/automated-transfer-eligibility/types.js +3 -0
  32. package/dist/cjs/automated-transfer-eligibility/types.js.map +1 -0
  33. package/dist/cjs/contextual-help/constants.js +15 -0
  34. package/dist/cjs/contextual-help/constants.js.map +1 -0
  35. package/dist/cjs/contextual-help/contextual-help.js +1998 -0
  36. package/dist/cjs/contextual-help/contextual-help.js.map +1 -0
  37. package/dist/cjs/domain-suggestions/actions.js +28 -2
  38. package/dist/cjs/domain-suggestions/actions.js.map +1 -0
  39. package/dist/cjs/domain-suggestions/constants.js +9 -0
  40. package/dist/cjs/domain-suggestions/constants.js.map +1 -0
  41. package/dist/cjs/domain-suggestions/index.js +9 -10
  42. package/dist/cjs/domain-suggestions/index.js.map +1 -0
  43. package/dist/cjs/domain-suggestions/reducer.js +57 -4
  44. package/dist/cjs/domain-suggestions/reducer.js.map +1 -0
  45. package/dist/cjs/domain-suggestions/resolvers.js +83 -24
  46. package/dist/cjs/domain-suggestions/resolvers.js.map +1 -0
  47. package/dist/cjs/domain-suggestions/selectors.js +43 -37
  48. package/dist/cjs/domain-suggestions/selectors.js.map +1 -0
  49. package/dist/cjs/domain-suggestions/types.js +1 -0
  50. package/dist/cjs/domain-suggestions/types.js.map +1 -0
  51. package/dist/cjs/domain-suggestions/utils.js +44 -3
  52. package/dist/cjs/domain-suggestions/utils.js.map +1 -0
  53. package/dist/cjs/help-center/actions.js +52 -0
  54. package/dist/cjs/help-center/actions.js.map +1 -0
  55. package/dist/cjs/help-center/constants.js +5 -0
  56. package/dist/cjs/help-center/constants.js.map +1 -0
  57. package/dist/cjs/help-center/index.js +27 -0
  58. package/dist/cjs/help-center/index.js.map +1 -0
  59. package/dist/cjs/help-center/reducer.js +84 -0
  60. package/dist/cjs/help-center/reducer.js.map +1 -0
  61. package/dist/cjs/help-center/selectors.js +20 -0
  62. package/dist/cjs/help-center/selectors.js.map +1 -0
  63. package/dist/cjs/i18n/actions.js +10 -0
  64. package/dist/cjs/i18n/actions.js.map +1 -0
  65. package/dist/cjs/i18n/constants.js +6 -0
  66. package/dist/cjs/i18n/constants.js.map +1 -0
  67. package/dist/cjs/i18n/index.js +27 -0
  68. package/dist/cjs/i18n/index.js.map +1 -0
  69. package/dist/cjs/i18n/reducer.js +19 -0
  70. package/dist/cjs/i18n/reducer.js.map +1 -0
  71. package/dist/cjs/i18n/resolvers.js +16 -0
  72. package/dist/cjs/i18n/resolvers.js.map +1 -0
  73. package/dist/cjs/i18n/selectors.js +6 -0
  74. package/dist/cjs/i18n/selectors.js.map +1 -0
  75. package/dist/cjs/i18n/types.js +3 -0
  76. package/dist/cjs/i18n/types.js.map +1 -0
  77. package/dist/cjs/index.js +55 -5
  78. package/dist/cjs/index.js.map +1 -0
  79. package/dist/cjs/launch/actions.js +123 -0
  80. package/dist/cjs/launch/actions.js.map +1 -0
  81. package/dist/cjs/launch/constants.js +7 -0
  82. package/dist/cjs/launch/constants.js.map +1 -0
  83. package/dist/cjs/launch/data.js +16 -0
  84. package/dist/cjs/launch/data.js.map +1 -0
  85. package/dist/cjs/launch/index.js +38 -0
  86. package/dist/cjs/launch/index.js.map +1 -0
  87. package/dist/cjs/launch/persist.js +6 -0
  88. package/dist/cjs/launch/persist.js.map +1 -0
  89. package/dist/cjs/launch/reducer.js +133 -0
  90. package/dist/cjs/launch/reducer.js.map +1 -0
  91. package/dist/cjs/launch/selectors.js +77 -0
  92. package/dist/cjs/launch/selectors.js.map +1 -0
  93. package/dist/cjs/launch/types.js +3 -0
  94. package/dist/cjs/launch/types.js.map +1 -0
  95. package/dist/cjs/mapped-types.js +1 -11
  96. package/dist/cjs/mapped-types.js.map +1 -0
  97. package/dist/cjs/onboard/actions.js +221 -0
  98. package/dist/cjs/onboard/actions.js.map +1 -0
  99. package/dist/cjs/onboard/constants.js +14 -0
  100. package/dist/cjs/onboard/constants.js.map +1 -0
  101. package/dist/cjs/onboard/index.js +48 -0
  102. package/dist/cjs/onboard/index.js.map +1 -0
  103. package/dist/cjs/onboard/persist.js +6 -0
  104. package/dist/cjs/onboard/persist.js.map +1 -0
  105. package/dist/cjs/onboard/reducer.js +282 -0
  106. package/dist/cjs/onboard/reducer.js.map +1 -0
  107. package/dist/cjs/onboard/selectors.js +74 -0
  108. package/dist/cjs/onboard/selectors.js.map +1 -0
  109. package/dist/cjs/persistence-config-factory/index.js +77 -0
  110. package/dist/cjs/persistence-config-factory/index.js.map +1 -0
  111. package/dist/cjs/plans/actions.js +31 -0
  112. package/dist/cjs/plans/actions.js.map +1 -0
  113. package/dist/cjs/plans/constants.js +45 -0
  114. package/dist/cjs/plans/constants.js.map +1 -0
  115. package/dist/cjs/plans/index.js +40 -0
  116. package/dist/cjs/plans/index.js.map +1 -0
  117. package/dist/cjs/plans/mock/apis/features.js +50 -0
  118. package/dist/cjs/plans/mock/apis/features.js.map +1 -0
  119. package/dist/cjs/plans/mock/apis/plans.js +182 -0
  120. package/dist/cjs/plans/mock/apis/plans.js.map +1 -0
  121. package/dist/cjs/plans/mock/index.js +9 -0
  122. package/dist/cjs/plans/mock/index.js.map +1 -0
  123. package/dist/cjs/plans/mock/store/features.js +45 -0
  124. package/dist/cjs/plans/mock/store/features.js.map +1 -0
  125. package/dist/cjs/plans/mock/store/plans.js +53 -0
  126. package/dist/cjs/plans/mock/store/plans.js.map +1 -0
  127. package/dist/cjs/plans/mock/store/products.js +36 -0
  128. package/dist/cjs/plans/mock/store/products.js.map +1 -0
  129. package/dist/cjs/plans/reducer.js +48 -0
  130. package/dist/cjs/plans/reducer.js.map +1 -0
  131. package/dist/cjs/plans/resolvers.js +142 -0
  132. package/dist/cjs/plans/resolvers.js.map +1 -0
  133. package/dist/cjs/plans/selectors.js +119 -0
  134. package/dist/cjs/plans/selectors.js.map +1 -0
  135. package/dist/cjs/plans/test-utils/index.js +9 -0
  136. package/dist/cjs/plans/test-utils/index.js.map +1 -0
  137. package/dist/cjs/plans/types.js +3 -0
  138. package/dist/cjs/plans/types.js.map +1 -0
  139. package/dist/cjs/products-list/actions.js +20 -0
  140. package/dist/cjs/products-list/actions.js.map +1 -0
  141. package/dist/cjs/products-list/constants.js +5 -0
  142. package/dist/cjs/products-list/constants.js.map +1 -0
  143. package/dist/cjs/products-list/index.js +29 -0
  144. package/dist/cjs/products-list/index.js.map +1 -0
  145. package/dist/cjs/products-list/reducer.js +32 -0
  146. package/dist/cjs/products-list/reducer.js.map +1 -0
  147. package/dist/cjs/products-list/resolvers.js +28 -0
  148. package/dist/cjs/products-list/resolvers.js.map +1 -0
  149. package/dist/cjs/products-list/selectors.js +14 -0
  150. package/dist/cjs/products-list/selectors.js.map +1 -0
  151. package/dist/cjs/products-list/types.js +3 -0
  152. package/dist/cjs/products-list/types.js.map +1 -0
  153. package/dist/cjs/queries/use-happiness-engineers-query.js +12 -0
  154. package/dist/cjs/queries/use-happiness-engineers-query.js.map +1 -0
  155. package/dist/cjs/queries/use-has-3rd-party-cookies.js +40 -0
  156. package/dist/cjs/queries/use-has-3rd-party-cookies.js.map +1 -0
  157. package/dist/cjs/queries/use-has-seen-whats-new-modal-query.js +43 -0
  158. package/dist/cjs/queries/use-has-seen-whats-new-modal-query.js.map +1 -0
  159. package/dist/cjs/queries/use-site-analysis.js +65 -0
  160. package/dist/cjs/queries/use-site-analysis.js.map +1 -0
  161. package/dist/cjs/queries/use-site-intent.js +18 -0
  162. package/dist/cjs/queries/use-site-intent.js.map +1 -0
  163. package/dist/cjs/reader/actions.js +9 -0
  164. package/dist/cjs/reader/actions.js.map +1 -0
  165. package/dist/cjs/reader/constants.js +5 -0
  166. package/dist/cjs/reader/constants.js.map +1 -0
  167. package/dist/cjs/reader/index.js +31 -0
  168. package/dist/cjs/reader/index.js.map +1 -0
  169. package/dist/cjs/reader/persist.js +6 -0
  170. package/dist/cjs/reader/persist.js.map +1 -0
  171. package/dist/cjs/reader/reducer.js +14 -0
  172. package/dist/cjs/reader/reducer.js.map +1 -0
  173. package/dist/cjs/reader/resolvers.js +20 -0
  174. package/dist/cjs/reader/resolvers.js.map +1 -0
  175. package/dist/cjs/reader/selectors.js +6 -0
  176. package/dist/cjs/reader/selectors.js.map +1 -0
  177. package/dist/cjs/shared-types.js +3 -0
  178. package/dist/cjs/shared-types.js.map +1 -0
  179. package/dist/cjs/site/actions.js +400 -0
  180. package/dist/cjs/site/actions.js.map +1 -0
  181. package/dist/cjs/site/constants.js +5 -0
  182. package/dist/cjs/site/constants.js.map +1 -0
  183. package/dist/cjs/site/index.js +29 -0
  184. package/dist/cjs/site/index.js.map +1 -0
  185. package/dist/cjs/site/reducer.js +331 -0
  186. package/dist/cjs/site/reducer.js.map +1 -0
  187. package/dist/cjs/site/resolvers.js +55 -0
  188. package/dist/cjs/site/resolvers.js.map +1 -0
  189. package/dist/cjs/site/selectors.js +129 -0
  190. package/dist/cjs/site/selectors.js.map +1 -0
  191. package/dist/cjs/site/types.js +46 -0
  192. package/dist/cjs/site/types.js.map +1 -0
  193. package/dist/cjs/starter-designs-queries/types.js +3 -0
  194. package/dist/cjs/starter-designs-queries/types.js.map +1 -0
  195. package/dist/cjs/starter-designs-queries/use-starter-designs-generated-query.js +37 -0
  196. package/dist/cjs/starter-designs-queries/use-starter-designs-generated-query.js.map +1 -0
  197. package/dist/cjs/support-queries/types.js +3 -0
  198. package/dist/cjs/support-queries/types.js.map +1 -0
  199. package/dist/cjs/support-queries/use-sibyl-query.js +22 -0
  200. package/dist/cjs/support-queries/use-sibyl-query.js.map +1 -0
  201. package/dist/cjs/support-queries/use-submit-forums-topic.js +42 -0
  202. package/dist/cjs/support-queries/use-submit-forums-topic.js.map +1 -0
  203. package/dist/cjs/support-queries/use-submit-support-ticket.js +16 -0
  204. package/dist/cjs/support-queries/use-submit-support-ticket.js.map +1 -0
  205. package/dist/cjs/support-queries/use-support-availability.js +17 -0
  206. package/dist/cjs/support-queries/use-support-availability.js.map +1 -0
  207. package/dist/cjs/user/actions.js +66 -33
  208. package/dist/cjs/user/actions.js.map +1 -0
  209. package/dist/cjs/user/constants.js +2 -0
  210. package/dist/cjs/user/constants.js.map +1 -0
  211. package/dist/cjs/user/index.js +9 -14
  212. package/dist/cjs/user/index.js.map +1 -0
  213. package/dist/cjs/user/reducer.js +26 -18
  214. package/dist/cjs/user/reducer.js.map +1 -0
  215. package/dist/cjs/user/resolvers.js +26 -11
  216. package/dist/cjs/user/resolvers.js.map +1 -0
  217. package/dist/cjs/user/selectors.js +16 -7
  218. package/dist/cjs/user/selectors.js.map +1 -0
  219. package/dist/cjs/user/types.js +1 -3
  220. package/dist/cjs/user/types.js.map +1 -0
  221. package/dist/cjs/verticals/actions.js +5 -2
  222. package/dist/cjs/verticals/actions.js.map +1 -0
  223. package/dist/cjs/verticals/constants.js +2 -0
  224. package/dist/cjs/verticals/constants.js.map +1 -0
  225. package/dist/cjs/verticals/index.js +5 -10
  226. package/dist/cjs/verticals/index.js.map +1 -0
  227. package/dist/cjs/verticals/reducer.js +3 -2
  228. package/dist/cjs/verticals/reducer.js.map +1 -0
  229. package/dist/cjs/verticals/resolvers.js +4 -8
  230. package/dist/cjs/verticals/resolvers.js.map +1 -0
  231. package/dist/cjs/verticals/selectors.js +6 -2
  232. package/dist/cjs/verticals/selectors.js.map +1 -0
  233. package/dist/cjs/verticals/types.js +1 -0
  234. package/dist/cjs/verticals/types.js.map +1 -0
  235. package/dist/cjs/verticals-templates/actions.js +5 -2
  236. package/dist/cjs/verticals-templates/actions.js.map +1 -0
  237. package/dist/cjs/verticals-templates/constants.js +2 -0
  238. package/dist/cjs/verticals-templates/constants.js.map +1 -0
  239. package/dist/cjs/verticals-templates/index.js +5 -9
  240. package/dist/cjs/verticals-templates/index.js.map +1 -0
  241. package/dist/cjs/verticals-templates/reducer.js +7 -3
  242. package/dist/cjs/verticals-templates/reducer.js.map +1 -0
  243. package/dist/cjs/verticals-templates/resolvers.js +4 -8
  244. package/dist/cjs/verticals-templates/resolvers.js.map +1 -0
  245. package/dist/cjs/verticals-templates/selectors.js +4 -1
  246. package/dist/cjs/verticals-templates/selectors.js.map +1 -0
  247. package/dist/cjs/verticals-templates/types.js +1 -0
  248. package/dist/cjs/verticals-templates/types.js.map +1 -0
  249. package/dist/cjs/wpcom-features/constants.js +5 -0
  250. package/dist/cjs/wpcom-features/constants.js.map +1 -0
  251. package/dist/cjs/wpcom-features/features-data.js +41 -0
  252. package/dist/cjs/wpcom-features/features-data.js.map +1 -0
  253. package/dist/cjs/wpcom-features/index.js +25 -0
  254. package/dist/cjs/wpcom-features/index.js.map +1 -0
  255. package/dist/cjs/wpcom-features/reducer.js +8 -0
  256. package/dist/cjs/wpcom-features/reducer.js.map +1 -0
  257. package/dist/cjs/wpcom-features/selectors.js +20 -0
  258. package/dist/cjs/wpcom-features/selectors.js.map +1 -0
  259. package/dist/cjs/wpcom-features/types.js +3 -0
  260. package/dist/cjs/wpcom-features/types.js.map +1 -0
  261. package/dist/cjs/wpcom-request-controls/index.js +47 -0
  262. package/dist/cjs/wpcom-request-controls/index.js.map +1 -0
  263. package/dist/esm/auth/actions.js +196 -0
  264. package/dist/esm/auth/actions.js.map +1 -0
  265. package/dist/esm/auth/constants.js +3 -0
  266. package/dist/esm/auth/constants.js.map +1 -0
  267. package/dist/esm/auth/controls.js +42 -0
  268. package/dist/esm/auth/controls.js.map +1 -0
  269. package/dist/esm/auth/index.js +31 -0
  270. package/dist/esm/auth/index.js.map +1 -0
  271. package/dist/esm/auth/reducer.js +74 -0
  272. package/dist/esm/auth/reducer.js.map +1 -0
  273. package/dist/esm/auth/selectors.js +6 -0
  274. package/dist/esm/auth/selectors.js.map +1 -0
  275. package/dist/esm/auth/types.js +2 -0
  276. package/dist/esm/auth/types.js.map +1 -0
  277. package/dist/esm/auth/utils.js +5 -0
  278. package/dist/esm/auth/utils.js.map +1 -0
  279. package/dist/esm/automated-transfer-eligibility/actions.js +6 -0
  280. package/dist/esm/automated-transfer-eligibility/actions.js.map +1 -0
  281. package/dist/esm/automated-transfer-eligibility/constants.js +40 -0
  282. package/dist/esm/automated-transfer-eligibility/constants.js.map +1 -0
  283. package/dist/esm/automated-transfer-eligibility/index.js +24 -0
  284. package/dist/esm/automated-transfer-eligibility/index.js.map +1 -0
  285. package/dist/esm/automated-transfer-eligibility/reducer.js +13 -0
  286. package/dist/esm/automated-transfer-eligibility/reducer.js.map +1 -0
  287. package/dist/esm/automated-transfer-eligibility/resolvers.js +14 -0
  288. package/dist/esm/automated-transfer-eligibility/resolvers.js.map +1 -0
  289. package/dist/esm/automated-transfer-eligibility/selectors.js +60 -0
  290. package/dist/esm/automated-transfer-eligibility/selectors.js.map +1 -0
  291. package/dist/esm/automated-transfer-eligibility/types.js +2 -0
  292. package/dist/esm/automated-transfer-eligibility/types.js.map +1 -0
  293. package/dist/esm/contextual-help/constants.js +12 -0
  294. package/dist/esm/contextual-help/constants.js.map +1 -0
  295. package/dist/esm/contextual-help/contextual-help.js +1994 -0
  296. package/dist/esm/contextual-help/contextual-help.js.map +1 -0
  297. package/dist/esm/domain-suggestions/actions.js +22 -2
  298. package/dist/esm/domain-suggestions/actions.js.map +1 -0
  299. package/dist/esm/domain-suggestions/constants.js +8 -0
  300. package/dist/esm/domain-suggestions/constants.js.map +1 -0
  301. package/dist/esm/domain-suggestions/index.js +6 -9
  302. package/dist/esm/domain-suggestions/index.js.map +1 -0
  303. package/dist/esm/domain-suggestions/reducer.js +55 -4
  304. package/dist/esm/domain-suggestions/reducer.js.map +1 -0
  305. package/dist/esm/domain-suggestions/resolvers.js +80 -25
  306. package/dist/esm/domain-suggestions/resolvers.js.map +1 -0
  307. package/dist/esm/domain-suggestions/selectors.js +28 -31
  308. package/dist/esm/domain-suggestions/selectors.js.map +1 -0
  309. package/dist/esm/domain-suggestions/types.js +2 -0
  310. package/dist/esm/domain-suggestions/types.js.map +1 -0
  311. package/dist/esm/domain-suggestions/utils.js +41 -3
  312. package/dist/esm/domain-suggestions/utils.js.map +1 -0
  313. package/dist/esm/help-center/actions.js +39 -0
  314. package/dist/esm/help-center/actions.js.map +1 -0
  315. package/dist/esm/help-center/constants.js +2 -0
  316. package/dist/esm/help-center/constants.js.map +1 -0
  317. package/dist/esm/help-center/index.js +21 -0
  318. package/dist/esm/help-center/index.js.map +1 -0
  319. package/dist/esm/help-center/reducer.js +82 -0
  320. package/dist/esm/help-center/reducer.js.map +1 -0
  321. package/dist/esm/help-center/selectors.js +9 -0
  322. package/dist/esm/help-center/selectors.js.map +1 -0
  323. package/dist/esm/i18n/actions.js +6 -0
  324. package/dist/esm/i18n/actions.js.map +1 -0
  325. package/dist/esm/i18n/constants.js +3 -0
  326. package/dist/esm/i18n/constants.js.map +1 -0
  327. package/dist/esm/i18n/index.js +22 -0
  328. package/dist/esm/i18n/index.js.map +1 -0
  329. package/dist/esm/i18n/reducer.js +17 -0
  330. package/dist/esm/i18n/reducer.js.map +1 -0
  331. package/dist/esm/i18n/resolvers.js +12 -0
  332. package/dist/esm/i18n/resolvers.js.map +1 -0
  333. package/dist/esm/i18n/selectors.js +2 -0
  334. package/dist/esm/i18n/selectors.js.map +1 -0
  335. package/dist/esm/i18n/types.js +2 -0
  336. package/dist/esm/i18n/types.js.map +1 -0
  337. package/dist/esm/index.js +31 -5
  338. package/dist/esm/index.js.map +1 -0
  339. package/dist/esm/launch/actions.js +97 -0
  340. package/dist/esm/launch/actions.js.map +1 -0
  341. package/dist/esm/launch/constants.js +4 -0
  342. package/dist/esm/launch/constants.js.map +1 -0
  343. package/dist/esm/launch/data.js +13 -0
  344. package/dist/esm/launch/data.js.map +1 -0
  345. package/dist/esm/launch/index.js +33 -0
  346. package/dist/esm/launch/index.js.map +1 -0
  347. package/dist/esm/launch/persist.js +3 -0
  348. package/dist/esm/launch/persist.js.map +1 -0
  349. package/dist/esm/launch/reducer.js +131 -0
  350. package/dist/esm/launch/reducer.js.map +1 -0
  351. package/dist/esm/launch/selectors.js +58 -0
  352. package/dist/esm/launch/selectors.js.map +1 -0
  353. package/dist/esm/launch/types.js +2 -0
  354. package/dist/esm/launch/types.js.map +1 -0
  355. package/dist/esm/mapped-types.js +2 -11
  356. package/dist/esm/mapped-types.js.map +1 -0
  357. package/dist/esm/onboard/actions.js +185 -0
  358. package/dist/esm/onboard/actions.js.map +1 -0
  359. package/dist/esm/onboard/constants.js +11 -0
  360. package/dist/esm/onboard/constants.js.map +1 -0
  361. package/dist/esm/onboard/index.js +42 -0
  362. package/dist/esm/onboard/index.js.map +1 -0
  363. package/dist/esm/onboard/persist.js +3 -0
  364. package/dist/esm/onboard/persist.js.map +1 -0
  365. package/dist/esm/onboard/reducer.js +280 -0
  366. package/dist/esm/onboard/reducer.js.map +1 -0
  367. package/dist/esm/onboard/selectors.js +43 -0
  368. package/dist/esm/onboard/selectors.js.map +1 -0
  369. package/dist/esm/persistence-config-factory/index.js +74 -0
  370. package/dist/esm/persistence-config-factory/index.js.map +1 -0
  371. package/dist/esm/plans/actions.js +23 -0
  372. package/dist/esm/plans/actions.js.map +1 -0
  373. package/dist/esm/plans/constants.js +42 -0
  374. package/dist/esm/plans/constants.js.map +1 -0
  375. package/dist/esm/plans/index.js +27 -0
  376. package/dist/esm/plans/index.js.map +1 -0
  377. package/dist/esm/plans/mock/apis/features.js +47 -0
  378. package/dist/esm/plans/mock/apis/features.js.map +1 -0
  379. package/dist/esm/plans/mock/apis/plans.js +178 -0
  380. package/dist/esm/plans/mock/apis/plans.js.map +1 -0
  381. package/dist/esm/plans/mock/index.js +6 -0
  382. package/dist/esm/plans/mock/index.js.map +1 -0
  383. package/dist/esm/plans/mock/store/features.js +41 -0
  384. package/dist/esm/plans/mock/store/features.js.map +1 -0
  385. package/dist/esm/plans/mock/store/plans.js +49 -0
  386. package/dist/esm/plans/mock/store/plans.js.map +1 -0
  387. package/dist/esm/plans/mock/store/products.js +33 -0
  388. package/dist/esm/plans/mock/store/products.js.map +1 -0
  389. package/dist/esm/plans/reducer.js +41 -0
  390. package/dist/esm/plans/reducer.js.map +1 -0
  391. package/dist/esm/plans/resolvers.js +137 -0
  392. package/dist/esm/plans/resolvers.js.map +1 -0
  393. package/dist/esm/plans/selectors.js +100 -0
  394. package/dist/esm/plans/selectors.js.map +1 -0
  395. package/dist/esm/plans/test-utils/index.js +5 -0
  396. package/dist/esm/plans/test-utils/index.js.map +1 -0
  397. package/dist/esm/plans/types.js +2 -0
  398. package/dist/esm/plans/types.js.map +1 -0
  399. package/dist/esm/products-list/actions.js +14 -0
  400. package/dist/esm/products-list/actions.js.map +1 -0
  401. package/dist/esm/products-list/constants.js +2 -0
  402. package/dist/esm/products-list/constants.js.map +1 -0
  403. package/dist/esm/products-list/index.js +24 -0
  404. package/dist/esm/products-list/index.js.map +1 -0
  405. package/dist/esm/products-list/reducer.js +27 -0
  406. package/dist/esm/products-list/reducer.js.map +1 -0
  407. package/dist/esm/products-list/resolvers.js +23 -0
  408. package/dist/esm/products-list/resolvers.js.map +1 -0
  409. package/dist/esm/products-list/selectors.js +8 -0
  410. package/dist/esm/products-list/selectors.js.map +1 -0
  411. package/dist/esm/products-list/types.js +2 -0
  412. package/dist/esm/products-list/types.js.map +1 -0
  413. package/dist/esm/queries/use-happiness-engineers-query.js +7 -0
  414. package/dist/esm/queries/use-happiness-engineers-query.js.map +1 -0
  415. package/dist/esm/queries/use-has-3rd-party-cookies.js +36 -0
  416. package/dist/esm/queries/use-has-3rd-party-cookies.js.map +1 -0
  417. package/dist/esm/queries/use-has-seen-whats-new-modal-query.js +38 -0
  418. package/dist/esm/queries/use-has-seen-whats-new-modal-query.js.map +1 -0
  419. package/dist/esm/queries/use-site-analysis.js +60 -0
  420. package/dist/esm/queries/use-site-analysis.js.map +1 -0
  421. package/dist/esm/queries/use-site-intent.js +13 -0
  422. package/dist/esm/queries/use-site-intent.js.map +1 -0
  423. package/dist/esm/reader/actions.js +5 -0
  424. package/dist/esm/reader/actions.js.map +1 -0
  425. package/dist/esm/reader/constants.js +2 -0
  426. package/dist/esm/reader/constants.js.map +1 -0
  427. package/dist/esm/reader/index.js +26 -0
  428. package/dist/esm/reader/index.js.map +1 -0
  429. package/dist/esm/reader/persist.js +3 -0
  430. package/dist/esm/reader/persist.js.map +1 -0
  431. package/dist/esm/reader/reducer.js +12 -0
  432. package/dist/esm/reader/reducer.js.map +1 -0
  433. package/dist/esm/reader/resolvers.js +16 -0
  434. package/dist/esm/reader/resolvers.js.map +1 -0
  435. package/dist/esm/reader/selectors.js +2 -0
  436. package/dist/esm/reader/selectors.js.map +1 -0
  437. package/dist/esm/shared-types.js +2 -0
  438. package/dist/esm/shared-types.js.map +1 -0
  439. package/dist/esm/site/actions.js +396 -0
  440. package/dist/esm/site/actions.js.map +1 -0
  441. package/dist/esm/site/constants.js +2 -0
  442. package/dist/esm/site/constants.js.map +1 -0
  443. package/dist/esm/site/index.js +24 -0
  444. package/dist/esm/site/index.js.map +1 -0
  445. package/dist/esm/site/reducer.js +315 -0
  446. package/dist/esm/site/reducer.js.map +1 -0
  447. package/dist/esm/site/resolvers.js +48 -0
  448. package/dist/esm/site/resolvers.js.map +1 -0
  449. package/dist/esm/site/selectors.js +96 -0
  450. package/dist/esm/site/selectors.js.map +1 -0
  451. package/dist/esm/site/types.js +43 -0
  452. package/dist/esm/site/types.js.map +1 -0
  453. package/dist/esm/starter-designs-queries/types.js +2 -0
  454. package/dist/esm/starter-designs-queries/types.js.map +1 -0
  455. package/dist/esm/starter-designs-queries/use-starter-designs-generated-query.js +32 -0
  456. package/dist/esm/starter-designs-queries/use-starter-designs-generated-query.js.map +1 -0
  457. package/dist/esm/support-queries/types.js +2 -0
  458. package/dist/esm/support-queries/types.js.map +1 -0
  459. package/dist/esm/support-queries/use-sibyl-query.js +17 -0
  460. package/dist/esm/support-queries/use-sibyl-query.js.map +1 -0
  461. package/dist/esm/support-queries/use-submit-forums-topic.js +37 -0
  462. package/dist/esm/support-queries/use-submit-forums-topic.js.map +1 -0
  463. package/dist/esm/support-queries/use-submit-support-ticket.js +11 -0
  464. package/dist/esm/support-queries/use-submit-support-ticket.js.map +1 -0
  465. package/dist/esm/support-queries/use-support-availability.js +12 -0
  466. package/dist/esm/support-queries/use-support-availability.js.map +1 -0
  467. package/dist/esm/user/actions.js +64 -32
  468. package/dist/esm/user/actions.js.map +1 -0
  469. package/dist/esm/user/constants.js +1 -0
  470. package/dist/esm/user/constants.js.map +1 -0
  471. package/dist/esm/user/index.js +8 -14
  472. package/dist/esm/user/index.js.map +1 -0
  473. package/dist/esm/user/reducer.js +17 -14
  474. package/dist/esm/user/reducer.js.map +1 -0
  475. package/dist/esm/user/resolvers.js +25 -11
  476. package/dist/esm/user/resolvers.js.map +1 -0
  477. package/dist/esm/user/selectors.js +2 -1
  478. package/dist/esm/user/selectors.js.map +1 -0
  479. package/dist/esm/user/types.js +2 -3
  480. package/dist/esm/user/types.js.map +1 -0
  481. package/dist/esm/verticals/actions.js +2 -1
  482. package/dist/esm/verticals/actions.js.map +1 -0
  483. package/dist/esm/verticals/constants.js +1 -0
  484. package/dist/esm/verticals/constants.js.map +1 -0
  485. package/dist/esm/verticals/index.js +3 -9
  486. package/dist/esm/verticals/index.js.map +1 -0
  487. package/dist/esm/verticals/reducer.js +2 -1
  488. package/dist/esm/verticals/reducer.js.map +1 -0
  489. package/dist/esm/verticals/resolvers.js +1 -6
  490. package/dist/esm/verticals/resolvers.js.map +1 -0
  491. package/dist/esm/verticals/selectors.js +1 -0
  492. package/dist/esm/verticals/selectors.js.map +1 -0
  493. package/dist/esm/verticals/types.js +2 -0
  494. package/dist/esm/verticals/types.js.map +1 -0
  495. package/dist/esm/verticals-templates/actions.js +2 -1
  496. package/dist/esm/verticals-templates/actions.js.map +1 -0
  497. package/dist/esm/verticals-templates/constants.js +1 -0
  498. package/dist/esm/verticals-templates/constants.js.map +1 -0
  499. package/dist/esm/verticals-templates/index.js +3 -8
  500. package/dist/esm/verticals-templates/index.js.map +1 -0
  501. package/dist/esm/verticals-templates/reducer.js +6 -2
  502. package/dist/esm/verticals-templates/reducer.js.map +1 -0
  503. package/dist/esm/verticals-templates/resolvers.js +1 -6
  504. package/dist/esm/verticals-templates/resolvers.js.map +1 -0
  505. package/dist/esm/verticals-templates/selectors.js +1 -0
  506. package/dist/esm/verticals-templates/selectors.js.map +1 -0
  507. package/dist/esm/verticals-templates/types.js +2 -0
  508. package/dist/esm/verticals-templates/types.js.map +1 -0
  509. package/dist/esm/wpcom-features/constants.js +2 -0
  510. package/dist/esm/wpcom-features/constants.js.map +1 -0
  511. package/dist/esm/wpcom-features/features-data.js +37 -0
  512. package/dist/esm/wpcom-features/features-data.js.map +1 -0
  513. package/dist/esm/wpcom-features/index.js +19 -0
  514. package/dist/esm/wpcom-features/index.js.map +1 -0
  515. package/dist/esm/wpcom-features/reducer.js +6 -0
  516. package/dist/esm/wpcom-features/reducer.js.map +1 -0
  517. package/dist/esm/wpcom-features/selectors.js +15 -0
  518. package/dist/esm/wpcom-features/selectors.js.map +1 -0
  519. package/dist/esm/wpcom-features/types.js +2 -0
  520. package/dist/esm/wpcom-features/types.js.map +1 -0
  521. package/dist/esm/wpcom-request-controls/index.js +38 -0
  522. package/dist/esm/wpcom-request-controls/index.js.map +1 -0
  523. package/dist/tsconfig-cjs.tsbuildinfo +1 -0
  524. package/dist/tsconfig.tsbuildinfo +1 -0
  525. package/dist/types/auth/actions.d.ts +98 -0
  526. package/dist/types/auth/actions.d.ts.map +1 -0
  527. package/dist/types/auth/constants.d.ts +3 -0
  528. package/dist/types/auth/constants.d.ts.map +1 -0
  529. package/dist/types/auth/controls.d.ts +8 -0
  530. package/dist/types/auth/controls.d.ts.map +1 -0
  531. package/dist/types/auth/index.d.ts +13 -0
  532. package/dist/types/auth/index.d.ts.map +1 -0
  533. package/dist/types/auth/reducer.d.ts +19 -0
  534. package/dist/types/auth/reducer.d.ts.map +1 -0
  535. package/dist/types/auth/selectors.d.ts +7 -0
  536. package/dist/types/auth/selectors.d.ts.map +1 -0
  537. package/dist/types/auth/types.d.ts +48 -0
  538. package/dist/types/auth/types.d.ts.map +1 -0
  539. package/dist/types/auth/utils.d.ts +2 -0
  540. package/dist/types/auth/utils.d.ts.map +1 -0
  541. package/dist/types/automated-transfer-eligibility/actions.d.ts +10 -0
  542. package/dist/types/automated-transfer-eligibility/actions.d.ts.map +1 -0
  543. package/dist/types/automated-transfer-eligibility/constants.d.ts +11 -0
  544. package/dist/types/automated-transfer-eligibility/constants.d.ts.map +1 -0
  545. package/dist/types/automated-transfer-eligibility/index.d.ts +14 -0
  546. package/dist/types/automated-transfer-eligibility/index.d.ts.map +1 -0
  547. package/dist/types/automated-transfer-eligibility/reducer.d.ts +6 -0
  548. package/dist/types/automated-transfer-eligibility/reducer.d.ts.map +1 -0
  549. package/dist/types/automated-transfer-eligibility/resolvers.d.ts +8 -0
  550. package/dist/types/automated-transfer-eligibility/resolvers.d.ts.map +1 -0
  551. package/dist/types/automated-transfer-eligibility/selectors.d.ts +7 -0
  552. package/dist/types/automated-transfer-eligibility/selectors.d.ts.map +1 -0
  553. package/dist/types/automated-transfer-eligibility/types.d.ts +34 -0
  554. package/dist/types/automated-transfer-eligibility/types.d.ts.map +1 -0
  555. package/dist/types/contextual-help/constants.d.ts +12 -0
  556. package/dist/types/contextual-help/constants.d.ts.map +1 -0
  557. package/dist/types/contextual-help/contextual-help.d.ts +90 -0
  558. package/dist/types/contextual-help/contextual-help.d.ts.map +1 -0
  559. package/dist/types/domain-suggestions/actions.d.ts +27 -0
  560. package/dist/types/domain-suggestions/actions.d.ts.map +1 -0
  561. package/dist/types/domain-suggestions/constants.d.ts +8 -0
  562. package/dist/types/domain-suggestions/constants.d.ts.map +1 -0
  563. package/{types/user → dist/types/domain-suggestions}/index.d.ts +7 -8
  564. package/dist/types/domain-suggestions/index.d.ts.map +1 -0
  565. package/dist/types/domain-suggestions/reducer.d.ts +12 -0
  566. package/dist/types/domain-suggestions/reducer.d.ts.map +1 -0
  567. package/dist/types/domain-suggestions/resolvers.d.ts +39 -0
  568. package/dist/types/domain-suggestions/resolvers.d.ts.map +1 -0
  569. package/dist/types/domain-suggestions/selectors.d.ts +19 -0
  570. package/dist/types/domain-suggestions/selectors.d.ts.map +1 -0
  571. package/dist/types/domain-suggestions/types.d.ts +201 -0
  572. package/dist/types/domain-suggestions/types.d.ts.map +1 -0
  573. package/dist/types/domain-suggestions/utils.d.ts +30 -0
  574. package/dist/types/domain-suggestions/utils.d.ts.map +1 -0
  575. package/dist/types/help-center/actions.d.ts +47 -0
  576. package/dist/types/help-center/actions.d.ts.map +1 -0
  577. package/dist/types/help-center/constants.d.ts +2 -0
  578. package/dist/types/help-center/constants.d.ts.map +1 -0
  579. package/{types/verticals → dist/types/help-center}/index.d.ts +4 -7
  580. package/dist/types/help-center/index.d.ts.map +1 -0
  581. package/dist/types/help-center/reducer.d.ts +19 -0
  582. package/dist/types/help-center/reducer.d.ts.map +1 -0
  583. package/dist/types/help-center/selectors.d.ts +13 -0
  584. package/dist/types/help-center/selectors.d.ts.map +1 -0
  585. package/dist/types/i18n/actions.d.ts +8 -0
  586. package/dist/types/i18n/actions.d.ts.map +1 -0
  587. package/dist/types/i18n/constants.d.ts +3 -0
  588. package/dist/types/i18n/constants.d.ts.map +1 -0
  589. package/dist/types/i18n/index.d.ts +13 -0
  590. package/dist/types/i18n/index.d.ts.map +1 -0
  591. package/dist/types/i18n/reducer.d.ts +10 -0
  592. package/dist/types/i18n/reducer.d.ts.map +1 -0
  593. package/dist/types/i18n/resolvers.d.ts +3 -0
  594. package/dist/types/i18n/resolvers.d.ts.map +1 -0
  595. package/dist/types/i18n/selectors.d.ts +4 -0
  596. package/dist/types/i18n/selectors.d.ts.map +1 -0
  597. package/dist/types/i18n/types.d.ts +8 -0
  598. package/dist/types/i18n/types.d.ts.map +1 -0
  599. package/dist/types/index.d.ts +36 -0
  600. package/dist/types/index.d.ts.map +1 -0
  601. package/dist/types/launch/actions.d.ts +87 -0
  602. package/dist/types/launch/actions.d.ts.map +1 -0
  603. package/dist/types/launch/constants.d.ts +4 -0
  604. package/dist/types/launch/constants.d.ts.map +1 -0
  605. package/dist/types/launch/data.d.ts +3 -0
  606. package/dist/types/launch/data.d.ts.map +1 -0
  607. package/dist/types/launch/index.d.ts +14 -0
  608. package/dist/types/launch/index.d.ts.map +1 -0
  609. package/dist/types/launch/persist.d.ts +6 -0
  610. package/dist/types/launch/persist.d.ts.map +1 -0
  611. package/dist/types/launch/reducer.d.ts +23 -0
  612. package/dist/types/launch/reducer.d.ts.map +1 -0
  613. package/dist/types/launch/selectors.d.ts +36 -0
  614. package/dist/types/launch/selectors.d.ts.map +1 -0
  615. package/dist/types/launch/types.d.ts +4 -0
  616. package/dist/types/launch/types.d.ts.map +1 -0
  617. package/dist/types/mapped-types.d.ts +49 -0
  618. package/dist/types/mapped-types.d.ts.map +1 -0
  619. package/dist/types/onboard/actions.d.ts +186 -0
  620. package/dist/types/onboard/actions.d.ts.map +1 -0
  621. package/dist/types/onboard/constants.d.ts +10 -0
  622. package/dist/types/onboard/constants.d.ts.map +1 -0
  623. package/dist/types/onboard/index.d.ts +16 -0
  624. package/dist/types/onboard/index.d.ts.map +1 -0
  625. package/dist/types/onboard/persist.d.ts +6 -0
  626. package/dist/types/onboard/persist.d.ts.map +1 -0
  627. package/dist/types/onboard/reducer.d.ts +43 -0
  628. package/dist/types/onboard/reducer.d.ts.map +1 -0
  629. package/dist/types/onboard/selectors.d.ts +68 -0
  630. package/dist/types/onboard/selectors.d.ts.map +1 -0
  631. package/dist/types/persistence-config-factory/index.d.ts +10 -0
  632. package/dist/types/persistence-config-factory/index.d.ts.map +1 -0
  633. package/dist/types/plans/actions.d.ts +33 -0
  634. package/dist/types/plans/actions.d.ts.map +1 -0
  635. package/dist/types/plans/constants.d.ts +24 -0
  636. package/dist/types/plans/constants.d.ts.map +1 -0
  637. package/dist/types/plans/index.d.ts +14 -0
  638. package/dist/types/plans/index.d.ts.map +1 -0
  639. package/dist/types/plans/mock/apis/features.d.ts +30 -0
  640. package/dist/types/plans/mock/apis/features.d.ts.map +1 -0
  641. package/dist/types/plans/mock/apis/plans.d.ts +28 -0
  642. package/dist/types/plans/mock/apis/plans.d.ts.map +1 -0
  643. package/dist/types/plans/mock/index.d.ts +6 -0
  644. package/dist/types/plans/mock/index.d.ts.map +1 -0
  645. package/dist/types/plans/mock/store/features.d.ts +10 -0
  646. package/dist/types/plans/mock/store/features.d.ts.map +1 -0
  647. package/dist/types/plans/mock/store/plans.d.ts +4 -0
  648. package/dist/types/plans/mock/store/plans.d.ts.map +1 -0
  649. package/dist/types/plans/mock/store/products.d.ts +5 -0
  650. package/dist/types/plans/mock/store/products.d.ts.map +1 -0
  651. package/dist/types/plans/reducer.d.ts +17 -0
  652. package/dist/types/plans/reducer.d.ts.map +1 -0
  653. package/dist/types/plans/resolvers.d.ts +27 -0
  654. package/dist/types/plans/resolvers.d.ts.map +1 -0
  655. package/dist/types/plans/selectors.d.ts +24 -0
  656. package/dist/types/plans/selectors.d.ts.map +1 -0
  657. package/dist/types/plans/test-utils/index.d.ts +3 -0
  658. package/dist/types/plans/test-utils/index.d.ts.map +1 -0
  659. package/dist/types/plans/types.d.ts +106 -0
  660. package/dist/types/plans/types.d.ts.map +1 -0
  661. package/dist/types/products-list/actions.d.ts +16 -0
  662. package/dist/types/products-list/actions.d.ts.map +1 -0
  663. package/dist/types/products-list/constants.d.ts +2 -0
  664. package/dist/types/products-list/constants.d.ts.map +1 -0
  665. package/{types/domain-suggestions → dist/types/products-list}/index.d.ts +5 -6
  666. package/dist/types/products-list/index.d.ts.map +1 -0
  667. package/dist/types/products-list/reducer.d.ts +12 -0
  668. package/dist/types/products-list/reducer.d.ts.map +1 -0
  669. package/dist/types/products-list/resolvers.d.ts +6 -0
  670. package/dist/types/products-list/resolvers.d.ts.map +1 -0
  671. package/dist/types/products-list/selectors.d.ts +8 -0
  672. package/dist/types/products-list/selectors.d.ts.map +1 -0
  673. package/dist/types/products-list/types.d.ts +27 -0
  674. package/dist/types/products-list/types.d.ts.map +1 -0
  675. package/dist/types/queries/use-happiness-engineers-query.d.ts +6 -0
  676. package/dist/types/queries/use-happiness-engineers-query.d.ts.map +1 -0
  677. package/dist/types/queries/use-has-3rd-party-cookies.d.ts +10 -0
  678. package/dist/types/queries/use-has-3rd-party-cookies.d.ts.map +1 -0
  679. package/dist/types/queries/use-has-seen-whats-new-modal-query.d.ts +12 -0
  680. package/dist/types/queries/use-has-seen-whats-new-modal-query.d.ts.map +1 -0
  681. package/dist/types/queries/use-site-analysis.d.ts +18 -0
  682. package/dist/types/queries/use-site-analysis.d.ts.map +1 -0
  683. package/dist/types/queries/use-site-intent.d.ts +4 -0
  684. package/dist/types/queries/use-site-intent.d.ts.map +1 -0
  685. package/dist/types/reader/actions.d.ts +16 -0
  686. package/dist/types/reader/actions.d.ts.map +1 -0
  687. package/dist/types/reader/constants.d.ts +2 -0
  688. package/dist/types/reader/constants.d.ts.map +1 -0
  689. package/dist/types/reader/index.d.ts +13 -0
  690. package/dist/types/reader/index.d.ts.map +1 -0
  691. package/dist/types/reader/persist.d.ts +6 -0
  692. package/dist/types/reader/persist.d.ts.map +1 -0
  693. package/dist/types/reader/reducer.d.ts +8 -0
  694. package/dist/types/reader/reducer.d.ts.map +1 -0
  695. package/dist/types/reader/resolvers.d.ts +2 -0
  696. package/dist/types/reader/resolvers.d.ts.map +1 -0
  697. package/dist/types/reader/selectors.d.ts +3 -0
  698. package/dist/types/reader/selectors.d.ts.map +1 -0
  699. package/dist/types/shared-types.d.ts +10 -0
  700. package/dist/types/shared-types.d.ts.map +1 -0
  701. package/dist/types/site/actions.d.ts +339 -0
  702. package/dist/types/site/actions.d.ts.map +1 -0
  703. package/dist/types/site/constants.d.ts +2 -0
  704. package/dist/types/site/constants.d.ts.map +1 -0
  705. package/dist/types/site/index.d.ts +15 -0
  706. package/dist/types/site/index.d.ts.map +1 -0
  707. package/dist/types/site/reducer.d.ts +84 -0
  708. package/dist/types/site/reducer.d.ts.map +1 -0
  709. package/dist/types/site/resolvers.d.ts +23 -0
  710. package/dist/types/site/resolvers.d.ts.map +1 -0
  711. package/dist/types/site/selectors.d.ts +149 -0
  712. package/dist/types/site/selectors.d.ts.map +1 -0
  713. package/dist/types/site/types.d.ts +367 -0
  714. package/dist/types/site/types.d.ts.map +1 -0
  715. package/dist/types/starter-designs-queries/types.d.ts +12 -0
  716. package/dist/types/starter-designs-queries/types.d.ts.map +1 -0
  717. package/dist/types/starter-designs-queries/use-starter-designs-generated-query.d.ts +9 -0
  718. package/dist/types/starter-designs-queries/use-starter-designs-generated-query.d.ts.map +1 -0
  719. package/dist/types/support-queries/types.d.ts +19 -0
  720. package/dist/types/support-queries/types.d.ts.map +1 -0
  721. package/dist/types/support-queries/use-sibyl-query.d.ts +9 -0
  722. package/dist/types/support-queries/use-sibyl-query.d.ts.map +1 -0
  723. package/dist/types/support-queries/use-submit-forums-topic.d.ts +15 -0
  724. package/dist/types/support-queries/use-submit-forums-topic.d.ts.map +1 -0
  725. package/dist/types/support-queries/use-submit-support-ticket.d.ts +10 -0
  726. package/dist/types/support-queries/use-submit-support-ticket.d.ts.map +1 -0
  727. package/dist/types/support-queries/use-support-availability.d.ts +5 -0
  728. package/dist/types/support-queries/use-support-availability.d.ts.map +1 -0
  729. package/dist/types/user/actions.d.ts +53 -0
  730. package/dist/types/user/actions.d.ts.map +1 -0
  731. package/{types → dist/types}/user/constants.d.ts +1 -0
  732. package/dist/types/user/constants.d.ts.map +1 -0
  733. package/dist/types/user/index.d.ts +14 -0
  734. package/dist/types/user/index.d.ts.map +1 -0
  735. package/dist/types/user/reducer.d.ts +18 -0
  736. package/dist/types/user/reducer.d.ts.map +1 -0
  737. package/dist/types/user/resolvers.d.ts +19 -0
  738. package/dist/types/user/resolvers.d.ts.map +1 -0
  739. package/dist/types/user/selectors.d.ts +16 -0
  740. package/dist/types/user/selectors.d.ts.map +1 -0
  741. package/{types → dist/types}/user/types.d.ts +29 -15
  742. package/dist/types/user/types.d.ts.map +1 -0
  743. package/dist/types/verticals/actions.d.ts +7 -0
  744. package/dist/types/verticals/actions.d.ts.map +1 -0
  745. package/{types → dist/types}/verticals/constants.d.ts +1 -0
  746. package/dist/types/verticals/constants.d.ts.map +1 -0
  747. package/dist/types/verticals/index.d.ts +13 -0
  748. package/dist/types/verticals/index.d.ts.map +1 -0
  749. package/{types → dist/types}/verticals/reducer.d.ts +4 -9
  750. package/dist/types/verticals/reducer.d.ts.map +1 -0
  751. package/{types → dist/types}/verticals/resolvers.d.ts +6 -4
  752. package/dist/types/verticals/resolvers.d.ts.map +1 -0
  753. package/dist/types/verticals/selectors.d.ts +6 -0
  754. package/dist/types/verticals/selectors.d.ts.map +1 -0
  755. package/{types → dist/types}/verticals/types.d.ts +1 -3
  756. package/dist/types/verticals/types.d.ts.map +1 -0
  757. package/dist/types/verticals-templates/actions.d.ts +8 -0
  758. package/dist/types/verticals-templates/actions.d.ts.map +1 -0
  759. package/{types → dist/types}/verticals-templates/constants.d.ts +1 -0
  760. package/dist/types/verticals-templates/constants.d.ts.map +1 -0
  761. package/{types → dist/types}/verticals-templates/index.d.ts +4 -6
  762. package/dist/types/verticals-templates/index.d.ts.map +1 -0
  763. package/{types → dist/types}/verticals-templates/reducer.d.ts +4 -9
  764. package/dist/types/verticals-templates/reducer.d.ts.map +1 -0
  765. package/dist/types/verticals-templates/resolvers.d.ts +10 -0
  766. package/dist/types/verticals-templates/resolvers.d.ts.map +1 -0
  767. package/dist/types/verticals-templates/selectors.d.ts +9 -0
  768. package/dist/types/verticals-templates/selectors.d.ts.map +1 -0
  769. package/{types → dist/types}/verticals-templates/types.d.ts +1 -3
  770. package/dist/types/verticals-templates/types.d.ts.map +1 -0
  771. package/dist/types/wpcom-features/constants.d.ts +2 -0
  772. package/dist/types/wpcom-features/constants.d.ts.map +1 -0
  773. package/dist/types/wpcom-features/features-data.d.ts +3 -0
  774. package/dist/types/wpcom-features/features-data.d.ts.map +1 -0
  775. package/dist/types/wpcom-features/index.d.ts +12 -0
  776. package/dist/types/wpcom-features/index.d.ts.map +1 -0
  777. package/dist/types/wpcom-features/reducer.d.ts +6 -0
  778. package/dist/types/wpcom-features/reducer.d.ts.map +1 -0
  779. package/dist/types/wpcom-features/selectors.d.ts +6 -0
  780. package/dist/types/wpcom-features/selectors.d.ts.map +1 -0
  781. package/dist/types/wpcom-features/types.d.ts +7 -0
  782. package/dist/types/wpcom-features/types.d.ts.map +1 -0
  783. package/dist/types/wpcom-request-controls/index.d.ts +41 -0
  784. package/dist/types/wpcom-request-controls/index.d.ts.map +1 -0
  785. package/package.json +61 -45
  786. package/src/auth/README.md +96 -0
  787. package/src/auth/actions.ts +290 -0
  788. package/src/auth/constants.ts +2 -0
  789. package/src/auth/controls.ts +55 -0
  790. package/src/auth/index.ts +41 -0
  791. package/src/auth/reducer.ts +103 -0
  792. package/src/auth/selectors.ts +12 -0
  793. package/src/auth/test/actions.ts +231 -0
  794. package/src/auth/test/flows.ts +301 -0
  795. package/src/auth/test/reducer.ts +70 -0
  796. package/src/auth/types.ts +64 -0
  797. package/src/auth/utils.ts +4 -0
  798. package/src/automated-transfer-eligibility/actions.ts +15 -0
  799. package/src/automated-transfer-eligibility/constants.ts +44 -0
  800. package/src/automated-transfer-eligibility/index.ts +33 -0
  801. package/src/automated-transfer-eligibility/reducer.ts +18 -0
  802. package/src/automated-transfer-eligibility/resolvers.ts +17 -0
  803. package/src/automated-transfer-eligibility/selectors.ts +97 -0
  804. package/src/automated-transfer-eligibility/test/reducer.ts +60 -0
  805. package/src/automated-transfer-eligibility/types.ts +42 -0
  806. package/src/contextual-help/constants.ts +13 -0
  807. package/src/contextual-help/contextual-help.tsx +2489 -0
  808. package/src/domain-suggestions/actions.ts +48 -10
  809. package/src/domain-suggestions/constants.ts +7 -0
  810. package/src/domain-suggestions/index.ts +8 -12
  811. package/src/domain-suggestions/reducer.ts +63 -17
  812. package/src/domain-suggestions/resolvers.ts +104 -29
  813. package/src/domain-suggestions/selectors.ts +42 -51
  814. package/src/domain-suggestions/test/reducer.ts +105 -0
  815. package/src/domain-suggestions/test/selectors.ts +127 -0
  816. package/src/domain-suggestions/types.ts +151 -14
  817. package/src/domain-suggestions/utils.ts +47 -8
  818. package/src/help-center/README.md +11 -0
  819. package/src/help-center/actions.ts +72 -0
  820. package/src/help-center/constants.ts +1 -0
  821. package/src/help-center/index.ts +30 -0
  822. package/src/help-center/reducer.ts +98 -0
  823. package/src/help-center/selectors.ts +10 -0
  824. package/src/i18n/actions.ts +13 -0
  825. package/src/i18n/constants.ts +2 -0
  826. package/src/i18n/index.ts +32 -0
  827. package/src/i18n/reducer.ts +25 -0
  828. package/src/i18n/resolvers.ts +15 -0
  829. package/src/i18n/selectors.ts +7 -0
  830. package/src/i18n/test/reducer.js +69 -0
  831. package/src/i18n/test/resolvers.js +28 -0
  832. package/src/i18n/test/selectors.js +22 -0
  833. package/src/i18n/types.ts +3 -0
  834. package/src/index.ts +45 -5
  835. package/src/launch/actions.ts +172 -0
  836. package/src/launch/constants.ts +3 -0
  837. package/src/launch/data.ts +13 -0
  838. package/src/launch/index.ts +44 -0
  839. package/src/launch/persist.ts +3 -0
  840. package/src/launch/reducer.ts +167 -0
  841. package/src/launch/selectors.ts +86 -0
  842. package/src/launch/types.ts +4 -0
  843. package/src/mapped-types.ts +41 -10
  844. package/src/onboard/actions.ts +292 -0
  845. package/src/onboard/constants.ts +10 -0
  846. package/src/onboard/index.ts +53 -0
  847. package/src/onboard/persist.ts +3 -0
  848. package/src/onboard/reducer.ts +340 -0
  849. package/src/onboard/selectors.ts +48 -0
  850. package/src/persistence-config-factory/index.ts +86 -0
  851. package/src/plans/actions.ts +63 -0
  852. package/src/plans/constants.ts +52 -0
  853. package/src/plans/index.ts +56 -0
  854. package/src/plans/mock/apis/features.ts +51 -0
  855. package/src/plans/mock/apis/plans.ts +219 -0
  856. package/src/plans/mock/index.ts +5 -0
  857. package/src/plans/mock/store/features.ts +43 -0
  858. package/src/plans/mock/store/plans.ts +50 -0
  859. package/src/plans/mock/store/products.ts +34 -0
  860. package/src/plans/reducer.ts +60 -0
  861. package/src/plans/resolvers.ts +206 -0
  862. package/src/plans/selectors.ts +161 -0
  863. package/src/plans/test/actions.ts +71 -0
  864. package/src/plans/test/reducer.ts +96 -0
  865. package/src/plans/test/resolvers.ts +111 -0
  866. package/src/plans/test/selectors.ts +400 -0
  867. package/src/plans/test-utils/index.ts +12 -0
  868. package/src/plans/types.ts +120 -0
  869. package/src/products-list/actions.ts +23 -0
  870. package/src/products-list/constants.ts +1 -0
  871. package/src/products-list/index.ts +32 -0
  872. package/src/products-list/reducer.ts +40 -0
  873. package/src/products-list/resolvers.ts +28 -0
  874. package/src/products-list/selectors.ts +11 -0
  875. package/src/products-list/test/actions.ts +55 -0
  876. package/src/products-list/test/reducer.ts +25 -0
  877. package/src/products-list/test/selectors.ts +68 -0
  878. package/src/products-list/types.ts +30 -0
  879. package/src/queries/use-happiness-engineers-query.ts +18 -0
  880. package/src/queries/use-has-3rd-party-cookies.ts +42 -0
  881. package/src/queries/use-has-seen-whats-new-modal-query.ts +68 -0
  882. package/src/queries/use-site-analysis.ts +78 -0
  883. package/src/queries/use-site-intent.ts +20 -0
  884. package/src/reader/actions.ts +20 -0
  885. package/src/reader/constants.ts +1 -0
  886. package/src/reader/index.ts +36 -0
  887. package/src/reader/persist.ts +3 -0
  888. package/src/reader/reducer.ts +18 -0
  889. package/src/reader/resolvers.ts +15 -0
  890. package/src/reader/selectors.ts +4 -0
  891. package/src/reader/test/reader-store.test.ts +43 -0
  892. package/src/shared-types.ts +10 -0
  893. package/src/site/actions.ts +539 -0
  894. package/src/site/constants.ts +1 -0
  895. package/src/site/index.ts +33 -0
  896. package/src/site/reducer.ts +386 -0
  897. package/src/site/resolvers.ts +57 -0
  898. package/src/site/selectors.ts +141 -0
  899. package/src/site/test/actions.ts +379 -0
  900. package/src/site/test/reducer.ts +175 -0
  901. package/src/site/test/selectors.ts +357 -0
  902. package/src/site/types.ts +400 -0
  903. package/src/starter-designs-queries/types.ts +13 -0
  904. package/src/starter-designs-queries/use-starter-designs-generated-query.ts +51 -0
  905. package/src/support-queries/types.ts +28 -0
  906. package/src/support-queries/use-sibyl-query.ts +31 -0
  907. package/src/support-queries/use-submit-forums-topic.ts +56 -0
  908. package/src/support-queries/use-submit-support-ticket.ts +21 -0
  909. package/src/support-queries/use-support-availability.ts +24 -0
  910. package/src/types.d.ts +1 -0
  911. package/src/user/README.md +9 -7
  912. package/src/user/actions.ts +92 -42
  913. package/src/user/index.ts +11 -19
  914. package/src/user/reducer.ts +25 -42
  915. package/src/user/resolvers.ts +34 -11
  916. package/src/user/selectors.ts +1 -4
  917. package/src/user/test/actions.ts +153 -0
  918. package/src/user/test/reducer.ts +153 -0
  919. package/src/user/test/resolvers.ts +88 -0
  920. package/src/user/types.ts +32 -17
  921. package/src/verticals/actions.ts +4 -5
  922. package/src/verticals/index.ts +5 -12
  923. package/src/verticals/reducer.ts +5 -15
  924. package/src/verticals/resolvers.ts +2 -8
  925. package/src/verticals/selectors.ts +1 -4
  926. package/src/verticals/types.ts +0 -5
  927. package/src/verticals-templates/actions.ts +4 -5
  928. package/src/verticals-templates/index.ts +4 -11
  929. package/src/verticals-templates/reducer.ts +8 -15
  930. package/src/verticals-templates/resolvers.ts +4 -9
  931. package/src/verticals-templates/selectors.ts +1 -4
  932. package/src/verticals-templates/types.ts +0 -4
  933. package/src/wpcom-features/constants.tsx +1 -0
  934. package/src/wpcom-features/features-data.tsx +44 -0
  935. package/src/wpcom-features/index.ts +30 -0
  936. package/src/wpcom-features/reducer.ts +11 -0
  937. package/src/wpcom-features/selectors.ts +24 -0
  938. package/src/wpcom-features/types.ts +16 -0
  939. package/src/wpcom-request-controls/index.ts +59 -0
  940. package/LICENSE.md +0 -264
  941. package/dist/cjs/user/controls.js +0 -37
  942. package/dist/cjs/utils/index.js +0 -4
  943. package/dist/cjs/utils/wpcom-wrapper.js +0 -33
  944. package/dist/esm/user/controls.js +0 -34
  945. package/dist/esm/utils/index.js +0 -1
  946. package/dist/esm/utils/wpcom-wrapper.js +0 -28
  947. package/src/user/controls.ts +0 -39
  948. package/src/utils/index.ts +0 -1
  949. package/src/utils/wpcom-wrapper.ts +0 -46
  950. package/types/domain-suggestions/actions.d.ts +0 -9
  951. package/types/domain-suggestions/constants.d.ts +0 -1
  952. package/types/domain-suggestions/reducer.d.ts +0 -17
  953. package/types/domain-suggestions/resolvers.d.ts +0 -5
  954. package/types/domain-suggestions/selectors.d.ts +0 -24
  955. package/types/domain-suggestions/types.d.ts +0 -90
  956. package/types/domain-suggestions/utils.d.ts +0 -10
  957. package/types/index.d.ts +0 -12
  958. package/types/mapped-types.d.ts +0 -34
  959. package/types/user/actions.d.ts +0 -37
  960. package/types/user/controls.d.ts +0 -9
  961. package/types/user/reducer.d.ts +0 -31
  962. package/types/user/resolvers.d.ts +0 -8
  963. package/types/user/selectors.d.ts +0 -63
  964. package/types/utils/index.d.ts +0 -1
  965. package/types/utils/wpcom-wrapper.d.ts +0 -15
  966. package/types/verticals/actions.d.ts +0 -8
  967. package/types/verticals/selectors.d.ts +0 -8
  968. package/types/verticals-templates/actions.d.ts +0 -9
  969. package/types/verticals-templates/resolvers.d.ts +0 -5
  970. package/types/verticals-templates/selectors.d.ts +0 -9
@@ -0,0 +1,1994 @@
1
+ import { localizeUrl } from '@automattic/i18n-utils';
2
+ import { __ } from '@wordpress/i18n';
3
+ import { RESULT_TOUR, RESULT_VIDEO, SELL_INTENT } from './constants';
4
+ /**
5
+ * Module variables
6
+ */
7
+ /* eslint-disable inclusive-language/use-inclusive-words */
8
+ // All usage of the word "master" here refers to the verb (ie. "to learn"), not a synonym of "primary".
9
+ export const defaultFallbackLinks = [
10
+ {
11
+ get link() {
12
+ return localizeUrl('https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/');
13
+ },
14
+ post_id: 143180,
15
+ get title() {
16
+ return __('Do I Need a Website, a Blog, or a Website with a Blog?', __i18n_text_domain__);
17
+ },
18
+ get description() {
19
+ return __('If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.');
20
+ },
21
+ },
22
+ {
23
+ get link() {
24
+ return localizeUrl('https://wordpress.com/support/pro-plan/');
25
+ },
26
+ post_id: 134940,
27
+ get title() {
28
+ return __('Uploading custom plugins and themes', __i18n_text_domain__);
29
+ },
30
+ get description() {
31
+ return __('Learn more about installing a custom theme or plugin using the Pro plan.', __i18n_text_domain__);
32
+ },
33
+ },
34
+ {
35
+ get link() {
36
+ return localizeUrl('https://wordpress.com/support/domains/');
37
+ },
38
+ post_id: 1988,
39
+ get title() {
40
+ return __('All About Domains', __i18n_text_domain__);
41
+ },
42
+ get description() {
43
+ return __('Set up your domain whether it’s registered with WordPress.com or elsewhere.', __i18n_text_domain__);
44
+ },
45
+ },
46
+ {
47
+ get link() {
48
+ return localizeUrl('https://wordpress.com/support/start/');
49
+ },
50
+ post_id: 81083,
51
+ get title() {
52
+ return __('Quick-Start Guide', __i18n_text_domain__);
53
+ },
54
+ get description() {
55
+ return __("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.");
56
+ },
57
+ },
58
+ {
59
+ get link() {
60
+ return localizeUrl('https://wordpress.com/support/settings/privacy-settings/');
61
+ },
62
+ post_id: 1507,
63
+ get title() {
64
+ return __('Privacy Settings', __i18n_text_domain__);
65
+ },
66
+ get description() {
67
+ return __('Limit your site’s visibility or make it completely private.', __i18n_text_domain__);
68
+ },
69
+ },
70
+ ];
71
+ export const bloggerFallbackLinks = [
72
+ {
73
+ get link() {
74
+ return localizeUrl('https://wordpress.com/support/posts/');
75
+ },
76
+ get title() {
77
+ return __('All about blog posts', __i18n_text_domain__);
78
+ },
79
+ },
80
+ {
81
+ get link() {
82
+ return localizeUrl('https://wordpress.com/support/subscriptions-and-newsletters/');
83
+ },
84
+ get title() {
85
+ return __('Encourage visitors to subscribe to your content', __i18n_text_domain__);
86
+ },
87
+ },
88
+ {
89
+ get link() {
90
+ return localizeUrl('https://wordpress.com/support/publicize/');
91
+ },
92
+ get title() {
93
+ return __('Share your content to social media automatically', __i18n_text_domain__);
94
+ },
95
+ },
96
+ {
97
+ get link() {
98
+ return localizeUrl('https://wordpress.com/support/sharing/');
99
+ },
100
+ get title() {
101
+ return __('Encourage visitors to share your content', __i18n_text_domain__);
102
+ },
103
+ },
104
+ {
105
+ get link() {
106
+ return localizeUrl('https://wordpress.com/support/seo/');
107
+ },
108
+ get title() {
109
+ return __('Learn about how to get noticed by search engines', __i18n_text_domain__);
110
+ },
111
+ },
112
+ {
113
+ get link() {
114
+ return localizeUrl('https://wordpress.com/support/site-verification-services/');
115
+ },
116
+ get title() {
117
+ return __('Verify your site with Google and other services', __i18n_text_domain__);
118
+ },
119
+ },
120
+ ];
121
+ export const contextLinksForSection = {
122
+ stats: [
123
+ {
124
+ get link() {
125
+ return localizeUrl('https://wordpress.com/support/stats/');
126
+ },
127
+ post_id: 4454,
128
+ get title() {
129
+ return __('Understanding the Stats Page', __i18n_text_domain__);
130
+ },
131
+ get description() {
132
+ return __('Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many ' +
133
+ 'visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.', __i18n_text_domain__);
134
+ },
135
+ },
136
+ {
137
+ get link() {
138
+ return localizeUrl('https://wordpress.com/support/getting-more-views-and-traffic/');
139
+ },
140
+ post_id: 3307,
141
+ get title() {
142
+ return __('Getting More Views and Traffic', __i18n_text_domain__);
143
+ },
144
+ get description() {
145
+ return __('Want more traffic? Here are some tips for attracting more visitors to your site.', __i18n_text_domain__);
146
+ },
147
+ },
148
+ {
149
+ get link() {
150
+ return localizeUrl('https://wordpress.com/support/getting-more-views-and-traffic/');
151
+ },
152
+ post_id: 132186,
153
+ get title() {
154
+ return __('Increase Your Site Traffic', __i18n_text_domain__);
155
+ },
156
+ get description() {
157
+ return __('One of the most frequent questions our community members ask us — and themselves — ' +
158
+ 'is how to get more traffic. Here are a few best practices.', __i18n_text_domain__);
159
+ },
160
+ },
161
+ {
162
+ get link() {
163
+ return localizeUrl('https://wordpress.com/support/grow-your-community/');
164
+ },
165
+ post_id: 132190,
166
+ get title() {
167
+ return __('Grow Your Community', __i18n_text_domain__);
168
+ },
169
+ get description() {
170
+ return __('You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.', __i18n_text_domain__);
171
+ },
172
+ },
173
+ ],
174
+ sharing: [
175
+ {
176
+ get link() {
177
+ return localizeUrl('https://wordpress.com/support/video-tutorials/', __i18n_text_domain__);
178
+ },
179
+ post_id: 130825,
180
+ get title() {
181
+ return __('Integrate and Connect to Social Media', __i18n_text_domain__);
182
+ },
183
+ get description() {
184
+ return __('Start sharing your site and attract more traffic and visitors to your content! ' +
185
+ 'Learn to activate and control the social media and sharing options on your website or blog through these videos.', __i18n_text_domain__);
186
+ },
187
+ },
188
+ {
189
+ get link() {
190
+ return localizeUrl('https://wordpress.com/support/sharing/');
191
+ },
192
+ post_id: 7499,
193
+ get title() {
194
+ return __('Sharing Your Content', __i18n_text_domain__);
195
+ },
196
+ get description() {
197
+ return __('At the bottom of each post or page, you can include sharing buttons for your readers ' +
198
+ 'to make it easier to share your content.', __i18n_text_domain__);
199
+ },
200
+ },
201
+ {
202
+ get link() {
203
+ return localizeUrl('https://wordpress.com/support/instagram/');
204
+ },
205
+ post_id: 77589,
206
+ get title() {
207
+ return __('Using Instagram', __i18n_text_domain__);
208
+ },
209
+ get description() {
210
+ return __('Instagram is a simple way to capture, customize, ' +
211
+ 'and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!', __i18n_text_domain__);
212
+ },
213
+ },
214
+ {
215
+ get link() {
216
+ return localizeUrl('https://wordpress.com/support/twitter/');
217
+ },
218
+ post_id: 124,
219
+ get title() {
220
+ return __('Using Twitter', __i18n_text_domain__);
221
+ },
222
+ get description() {
223
+ return __('Twitter is a service for the exchange of brief messages, commonly ' +
224
+ 'called "tweets", between users. Learn how to use it with your website!', __i18n_text_domain__);
225
+ },
226
+ },
227
+ ],
228
+ home: [
229
+ {
230
+ get link() {
231
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
232
+ },
233
+ post_id: 111349,
234
+ get title() {
235
+ return __('Managing Purchases', __i18n_text_domain__);
236
+ },
237
+ get description() {
238
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
239
+ },
240
+ },
241
+ ],
242
+ me: [
243
+ {
244
+ get link() {
245
+ return localizeUrl('https://wordpress.com/support/manage-my-profile/');
246
+ },
247
+ post_id: 19775,
248
+ get title() {
249
+ return __('Managing Your Profile', __i18n_text_domain__);
250
+ },
251
+ get description() {
252
+ return __('Your profile is the information you’d like to be shown along with your ' +
253
+ 'name when you publish content or comment on WordPress.com sites.', __i18n_text_domain__);
254
+ },
255
+ },
256
+ {
257
+ get link() {
258
+ return localizeUrl('https://wordpress.com/support/gravatars/');
259
+ },
260
+ post_id: 1338,
261
+ get title() {
262
+ return __('Your Profile Picture', __i18n_text_domain__);
263
+ },
264
+ get description() {
265
+ return __('WordPress.com associates an Avatar with your email address. Gravatar ' +
266
+ 'powers the user avatars on WordPress.com.', __i18n_text_domain__);
267
+ },
268
+ },
269
+ {
270
+ get link() {
271
+ return localizeUrl('https://wordpress.com/support/close-account/');
272
+ },
273
+ post_id: 138080,
274
+ get title() {
275
+ return __('Account Closure', __i18n_text_domain__);
276
+ },
277
+ get description() {
278
+ return __('Need a fresh start? Learn how to close your account.', __i18n_text_domain__);
279
+ },
280
+ },
281
+ {
282
+ get link() {
283
+ return localizeUrl('https://wordpress.com/support/change-your-username/');
284
+ },
285
+ post_id: 2116,
286
+ get title() {
287
+ return __('Change Your Username', __i18n_text_domain__);
288
+ },
289
+ get description() {
290
+ return __('You can change both your WordPress.com account username (the name you use to login) ' +
291
+ 'and your display name (the name that is seen on your posts and comments). Learn how!', __i18n_text_domain__);
292
+ },
293
+ },
294
+ ],
295
+ account: [
296
+ {
297
+ get link() {
298
+ return localizeUrl('https://wordpress.com/support/change-your-username/');
299
+ },
300
+ get title() {
301
+ return __('Change Your Username', __i18n_text_domain__);
302
+ },
303
+ get description() {
304
+ return __('You can change both your WordPress.com account username (the name you use to login) ' +
305
+ 'and your display name (the name that is seen on your posts and comments). Learn how!', __i18n_text_domain__);
306
+ },
307
+ },
308
+ {
309
+ get link() {
310
+ return localizeUrl('https://wordpress.com/support/manage-your-account/');
311
+ },
312
+ post_id: 130826,
313
+ get title() {
314
+ return __('Manage Your Account', __i18n_text_domain__);
315
+ },
316
+ get description() {
317
+ return __('Learn the ins and outs of managing your WordPress.com account and site.', __i18n_text_domain__);
318
+ },
319
+ },
320
+ {
321
+ get link() {
322
+ return localizeUrl('https://wordpress.com/support/account-settings/');
323
+ },
324
+ post_id: 80368,
325
+ get title() {
326
+ return __('Edit Your Account Settings', __i18n_text_domain__);
327
+ },
328
+ get description() {
329
+ return __('You can review and edit basic account information in Account Settings. ', __i18n_text_domain__);
330
+ },
331
+ },
332
+ {
333
+ get link() {
334
+ return localizeUrl('https://wordpress.com/support/close-account/');
335
+ },
336
+ post_id: 143899,
337
+ get title() {
338
+ return __('Close Your Account', __i18n_text_domain__);
339
+ },
340
+ get description() {
341
+ return __('Learn how to permanently delete your WordPress.com account, and what it means for your website and data.', __i18n_text_domain__);
342
+ },
343
+ },
344
+ ],
345
+ security: [
346
+ {
347
+ get link() {
348
+ return localizeUrl('https://wordpress.com/support/security/two-step-authentication/');
349
+ },
350
+ post_id: 58847,
351
+ get title() {
352
+ return __('Two-Step Authentication', __i18n_text_domain__);
353
+ },
354
+ get description() {
355
+ return __('Your WordPress.com site is your home on the internet, and you want to keep that home safe. ' +
356
+ 'Learn how to add an additional "lock" to your account!', __i18n_text_domain__);
357
+ },
358
+ },
359
+ {
360
+ get link() {
361
+ return localizeUrl('https://wordpress.com/support/account-recovery/');
362
+ },
363
+ post_id: 46365,
364
+ get title() {
365
+ return __('Account Recovery', __i18n_text_domain__);
366
+ },
367
+ get description() {
368
+ return __('At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!', __i18n_text_domain__);
369
+ },
370
+ },
371
+ {
372
+ get link() {
373
+ return localizeUrl('https://wordpress.com/support/passwords/');
374
+ },
375
+ post_id: 89,
376
+ get title() {
377
+ return __('Passwords And How To Use Them', __i18n_text_domain__);
378
+ },
379
+ get description() {
380
+ return __('Passwords are very important to user accounts, and there may come a time when you need to change your password.', __i18n_text_domain__);
381
+ },
382
+ },
383
+ {
384
+ get link() {
385
+ return localizeUrl('https://wordpress.com/support/third-party-applications/');
386
+ },
387
+ post_id: 17288,
388
+ get title() {
389
+ return __('Third Party Applications', __i18n_text_domain__);
390
+ },
391
+ get description() {
392
+ return __('WordPress.com allows you to connect with third-party applications that ' +
393
+ 'extend your WordPress.com site in new and cool ways.', __i18n_text_domain__);
394
+ },
395
+ },
396
+ ],
397
+ purchases: [
398
+ {
399
+ get link() {
400
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
401
+ },
402
+ post_id: 111349,
403
+ get title() {
404
+ return __('Managing Purchases, Renewals, and Cancellations', __i18n_text_domain__);
405
+ },
406
+ get description() {
407
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
408
+ },
409
+ },
410
+ {
411
+ get link() {
412
+ return localizeUrl('https://wordpress.com/support/manage-purchases/#automatic-renewal');
413
+ },
414
+ post_id: 110924,
415
+ get title() {
416
+ return __('Subscriptions for Plans and Domains', __i18n_text_domain__);
417
+ },
418
+ get description() {
419
+ return __('Your WordPress.com plans and any domains you add to your sites are based ' +
420
+ 'on a yearly subscription that renews automatically.', __i18n_text_domain__);
421
+ },
422
+ },
423
+ {
424
+ get link() {
425
+ return localizeUrl('https://en.support.wordpress.com/plan-features/');
426
+ },
427
+ post_id: 140323,
428
+ get title() {
429
+ return __('Explore the WordPress.com Plans', __i18n_text_domain__);
430
+ },
431
+ get description() {
432
+ return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.", __i18n_text_domain__);
433
+ },
434
+ },
435
+ ],
436
+ 'site-purchases': [
437
+ {
438
+ get link() {
439
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
440
+ },
441
+ post_id: 111349,
442
+ get title() {
443
+ return __('Managing Purchases, Renewals, and Cancellations', __i18n_text_domain__);
444
+ },
445
+ get description() {
446
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
447
+ },
448
+ },
449
+ {
450
+ get link() {
451
+ return localizeUrl('https://wordpress.com/support/manage-purchases/#automatic-renewal');
452
+ },
453
+ post_id: 110924,
454
+ get title() {
455
+ return __('Subscriptions for Plans and Domains', __i18n_text_domain__);
456
+ },
457
+ get description() {
458
+ return __('Your WordPress.com plans and any domains you add to your sites are based ' +
459
+ 'on a yearly subscription that renews automatically.', __i18n_text_domain__);
460
+ },
461
+ },
462
+ {
463
+ get link() {
464
+ return localizeUrl('https://en.support.wordpress.com/plan-features/');
465
+ },
466
+ post_id: 140323,
467
+ get title() {
468
+ return __('Explore the WordPress.com Plans', __i18n_text_domain__);
469
+ },
470
+ get description() {
471
+ return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.", __i18n_text_domain__);
472
+ },
473
+ },
474
+ ],
475
+ 'notification-settings': [
476
+ {
477
+ get link() {
478
+ return localizeUrl('https://wordpress.com/support/notifications/');
479
+ },
480
+ post_id: 40992,
481
+ get title() {
482
+ return __('Notifications', __i18n_text_domain__);
483
+ },
484
+ get description() {
485
+ return __('Notifications help you stay on top of the activity on your site and all the things happening on ' +
486
+ 'WordPress.com — learn how to use them.', __i18n_text_domain__);
487
+ },
488
+ },
489
+ {
490
+ get link() {
491
+ return localizeUrl('https://wordpress.com/support/email-notifications/');
492
+ },
493
+ post_id: 9443,
494
+ get title() {
495
+ return __('Email Notifications', __i18n_text_domain__);
496
+ },
497
+ get description() {
498
+ return __('WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.', __i18n_text_domain__);
499
+ },
500
+ },
501
+ {
502
+ get link() {
503
+ return localizeUrl('https://wordpress.com/support/following-comments/');
504
+ },
505
+ post_id: 4576,
506
+ get title() {
507
+ return __('Following Comments', __i18n_text_domain__);
508
+ },
509
+ get description() {
510
+ return __('When you leave a comment, you can automatically get email notifications for other new comments ' +
511
+ "on the same post or page — you'll never be out of the loop.", __i18n_text_domain__);
512
+ },
513
+ },
514
+ {
515
+ get link() {
516
+ return localizeUrl('https://wordpress.com/support/following/');
517
+ },
518
+ post_id: 4899,
519
+ get title() {
520
+ return __('Following Blogs', __i18n_text_domain__);
521
+ },
522
+ get description() {
523
+ return __('When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.', __i18n_text_domain__);
524
+ },
525
+ },
526
+ ],
527
+ media: [
528
+ {
529
+ get link() {
530
+ return localizeUrl('https://wordpress.com/support/media/');
531
+ },
532
+ post_id: 853,
533
+ get title() {
534
+ return __('The Media Library', __i18n_text_domain__);
535
+ },
536
+ get description() {
537
+ return __('The Media Library is where you can manage your images, audio, videos, and documents all in one place.', __i18n_text_domain__);
538
+ },
539
+ },
540
+ {
541
+ get link() {
542
+ return localizeUrl('https://wordpress.com/support/finding-free-images-and-other-media/', __i18n_text_domain__);
543
+ },
544
+ post_id: 78425,
545
+ get title() {
546
+ return __('Finding Free Images and other Media', __i18n_text_domain__);
547
+ },
548
+ get description() {
549
+ return __('Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!', __i18n_text_domain__);
550
+ },
551
+ },
552
+ {
553
+ get link() {
554
+ return localizeUrl('https://wordpress.com/support/wordpress-editor/blocks/image-block/');
555
+ },
556
+ post_id: 38830,
557
+ get title() {
558
+ return __('Add Media', __i18n_text_domain__);
559
+ },
560
+ get description() {
561
+ return __('Dress up your text-based posts and pages with individual images, image galleries, ' +
562
+ 'slideshows, videos, and audio.', __i18n_text_domain__);
563
+ },
564
+ },
565
+ {
566
+ get link() {
567
+ return localizeUrl('https://wordpress.com/support/videos/');
568
+ },
569
+ post_id: 4744,
570
+ get title() {
571
+ return __('Including Videos', __i18n_text_domain__);
572
+ },
573
+ get description() {
574
+ return __('Videos are a great way to enhance your site pages and blog posts. Learn how to include them.', __i18n_text_domain__);
575
+ },
576
+ },
577
+ ],
578
+ people: [
579
+ {
580
+ get link() {
581
+ return localizeUrl('https://wordpress.com/support/user-roles/');
582
+ },
583
+ post_id: 1221,
584
+ get title() {
585
+ return __('User Roles', __i18n_text_domain__);
586
+ },
587
+ get description() {
588
+ return __('User roles determine the access level or permissions of a person authorized to use a WordPress.com site.', __i18n_text_domain__);
589
+ },
590
+ },
591
+ {
592
+ get link() {
593
+ return localizeUrl('https://wordpress.com/support/user-mentions/');
594
+ },
595
+ post_id: 91788,
596
+ get title() {
597
+ return __('User Mentions', __i18n_text_domain__);
598
+ },
599
+ get description() {
600
+ return __('User mentions are a great way to include other WordPress.com users within your ' +
601
+ 'posts and comments.', __i18n_text_domain__);
602
+ },
603
+ },
604
+ {
605
+ get link() {
606
+ return localizeUrl('https://en.support.wordpress.com/user-roles/');
607
+ },
608
+ post_id: 2160,
609
+ get title() {
610
+ return __('Inviting Contributors, Followers, and Viewers', __i18n_text_domain__);
611
+ },
612
+ get description() {
613
+ return __('Invite contributors, followers, and viewers to collaborate with others and grow your audience!', __i18n_text_domain__);
614
+ },
615
+ },
616
+ {
617
+ get link() {
618
+ return localizeUrl('https://wordpress.com/support/followers/');
619
+ },
620
+ post_id: 5444,
621
+ get title() {
622
+ return __('Your Followers', __i18n_text_domain__);
623
+ },
624
+ get description() {
625
+ return __('When someone follows your site, each time you publish new content on your blog they ' +
626
+ 'receive an update in their Reader, via email, or both depending on their settings.', __i18n_text_domain__);
627
+ },
628
+ },
629
+ ],
630
+ plugins: [
631
+ {
632
+ get link() {
633
+ return localizeUrl('https://wordpress.com/support/plugins/');
634
+ },
635
+ post_id: 2108,
636
+ get title() {
637
+ return __('Using Plugins', __i18n_text_domain__);
638
+ },
639
+ get description() {
640
+ return __('On WordPress.com, we include the most popular plugin functionality within our ' +
641
+ 'sites automatically. Additionally, the Pro plan allows you to choose from many ' +
642
+ 'thousands of plugins, and install them on your site.', __i18n_text_domain__);
643
+ },
644
+ },
645
+ {
646
+ get link() {
647
+ return localizeUrl('https://wordpress.com/support/plugins/#managing-plugins');
648
+ },
649
+ post_id: 134818,
650
+ get title() {
651
+ return __('Managing plugins', __i18n_text_domain__);
652
+ },
653
+ get description() {
654
+ return __('After you install a plugin, it will appear in a list at My Sites → Plugins.', __i18n_text_domain__);
655
+ },
656
+ },
657
+ {
658
+ get link() {
659
+ return localizeUrl('https://wordpress.com/support/plugins/#installing-plugins');
660
+ },
661
+ post_id: 134719,
662
+ get title() {
663
+ return __('Adding Plugins', __i18n_text_domain__);
664
+ },
665
+ get description() {
666
+ return __('Along with all the tools and features built right into WordPress.com, the Pro plan ' +
667
+ 'allows you to install other plugins.', __i18n_text_domain__);
668
+ },
669
+ },
670
+ {
671
+ get link() {
672
+ return localizeUrl('https://wordpress.com/support/pro-plan/');
673
+ },
674
+ post_id: 134940,
675
+ get title() {
676
+ return __('Business Plan', __i18n_text_domain__);
677
+ },
678
+ get description() {
679
+ return __("When you want to build a one-of-a-kind website, it's time for WordPress.com Pro: " +
680
+ 'upload plugins and themes to create a truly tailored experience for your visitors.', __i18n_text_domain__);
681
+ },
682
+ },
683
+ ],
684
+ 'posts-pages': [
685
+ {
686
+ get link() {
687
+ return localizeUrl('https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/', __i18n_text_domain__);
688
+ },
689
+ post_id: 143180,
690
+ get title() {
691
+ return __('Do I Need a Website, a Blog, or a Website with a Blog?', __i18n_text_domain__);
692
+ },
693
+ get description() {
694
+ return __('If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.', __i18n_text_domain__);
695
+ },
696
+ },
697
+ {
698
+ get link() {
699
+ return localizeUrl('https://wordpress.com/support/five-step-website-setup/');
700
+ },
701
+ post_id: 100856,
702
+ get title() {
703
+ return __('Build Your Website in Five Steps', __i18n_text_domain__);
704
+ },
705
+ get description() {
706
+ return __('You’ve registered a website on WordPress.com. But now what? ' +
707
+ 'Learn five steps that will get the framework of your new website all set up, ' +
708
+ 'leaving it ready and waiting for your great content', __i18n_text_domain__);
709
+ },
710
+ },
711
+ {
712
+ get link() {
713
+ return localizeUrl('https://wordpress.com/support/pages/landing-pages/');
714
+ },
715
+ post_id: 124077,
716
+ get title() {
717
+ return __('Landing Pages', __i18n_text_domain__);
718
+ },
719
+ get description() {
720
+ return __('Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for ' +
721
+ 'a service, buy a product, or join a mailing list.', __i18n_text_domain__);
722
+ },
723
+ },
724
+ {
725
+ get link() {
726
+ return localizeUrl('https://wordpress.com/support/posts/');
727
+ },
728
+ post_id: 84,
729
+ get title() {
730
+ return __('About Blog Posts', __i18n_text_domain__);
731
+ },
732
+ get description() {
733
+ return __('Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.', __i18n_text_domain__);
734
+ },
735
+ },
736
+ {
737
+ get link() {
738
+ return localizeUrl('https://wordpress.com/support/posts/post-formats/');
739
+ },
740
+ post_id: 10382,
741
+ get title() {
742
+ return __('Post Formats', __i18n_text_domain__);
743
+ },
744
+ get description() {
745
+ return __('Learn how to make gallery, video, audio, and other post types pop with post formats. ', __i18n_text_domain__);
746
+ },
747
+ },
748
+ ],
749
+ 'settings-writing': [
750
+ {
751
+ get link() {
752
+ return localizeUrl('https://wordpress.com/support/settings/writing-settings/');
753
+ },
754
+ post_id: 1502,
755
+ get title() {
756
+ return __('Writing Settings', __i18n_text_domain__);
757
+ },
758
+ get description() {
759
+ return __('Learn how to manage categories, date format, content types, and more.', __i18n_text_domain__);
760
+ },
761
+ },
762
+ {
763
+ get link() {
764
+ return localizeUrl('https://wordpress.com/support/posts/categories-vs-tags/');
765
+ },
766
+ post_id: 2135,
767
+ get title() {
768
+ return __('Categories vs. Tags', __i18n_text_domain__);
769
+ },
770
+ get description() {
771
+ return __('Learn the differences between categories and tags.', __i18n_text_domain__);
772
+ },
773
+ },
774
+ {
775
+ get link() {
776
+ return localizeUrl('https://wordpress.com/support/feeds/');
777
+ },
778
+ post_id: 3589,
779
+ get title() {
780
+ return __('Feeds', __i18n_text_domain__);
781
+ },
782
+ get description() {
783
+ return __('A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.', __i18n_text_domain__);
784
+ },
785
+ },
786
+ {
787
+ get link() {
788
+ return localizeUrl('https://wordpress.com/support/portfolios/');
789
+ },
790
+ post_id: 84808,
791
+ get title() {
792
+ return __('Portfolios', __i18n_text_domain__);
793
+ },
794
+ get description() {
795
+ return __('To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you' +
796
+ ' manage all your portfolio projects in one place.', __i18n_text_domain__);
797
+ },
798
+ },
799
+ ],
800
+ 'settings-discussion': [
801
+ {
802
+ get link() {
803
+ return localizeUrl('https://wordpress.com/support/settings/discussion-settings/');
804
+ },
805
+ post_id: 1504,
806
+ get title() {
807
+ return __('Discussion Settings', __i18n_text_domain__);
808
+ },
809
+ get description() {
810
+ return __('The Discussion Settings are used to control how visitors and other blogs interact with your site.', __i18n_text_domain__);
811
+ },
812
+ },
813
+ {
814
+ get link() {
815
+ return localizeUrl('https://wordpress.com/support/comments/', __i18n_text_domain__);
816
+ },
817
+ post_id: 5997,
818
+ get title() {
819
+ return __('Enable and Disable Comments for Future Posts', __i18n_text_domain__);
820
+ },
821
+ get description() {
822
+ return __('You can enable/disable comments on future posts by going into your Discussion settings. ', __i18n_text_domain__);
823
+ },
824
+ },
825
+ {
826
+ get link() {
827
+ return localizeUrl('https://wordpress.com/support/comments/');
828
+ },
829
+ post_id: 113,
830
+ get title() {
831
+ return __('Comments', __i18n_text_domain__);
832
+ },
833
+ get description() {
834
+ return __('Comments are a way for visitors to add feedback to your posts and pages.', __i18n_text_domain__);
835
+ },
836
+ },
837
+ {
838
+ get link() {
839
+ return localizeUrl('https://wordpress.com/support/subscriptions-and-newsletters/');
840
+ },
841
+ post_id: 67810,
842
+ get title() {
843
+ return __('Subscriptions and Newsletters', __i18n_text_domain__);
844
+ },
845
+ get description() {
846
+ return __('Learn how readers can subscribe to your blog to receive email notifications of all of your posts.', __i18n_text_domain__);
847
+ },
848
+ },
849
+ ],
850
+ 'settings-traffic': [
851
+ {
852
+ get link() {
853
+ return localizeUrl('https://wordpress.com/support/getting-more-views-and-traffic/');
854
+ },
855
+ post_id: 3307,
856
+ get title() {
857
+ return __('Get More Views and Traffic', __i18n_text_domain__);
858
+ },
859
+ get description() {
860
+ return __('Want more traffic? Here are some tips for attracting more visitors to your site!', __i18n_text_domain__);
861
+ },
862
+ },
863
+ {
864
+ get link() {
865
+ return localizeUrl('https://wordpress.com/support/related-posts/');
866
+ },
867
+ post_id: 1545,
868
+ get title() {
869
+ return __('Related Posts', __i18n_text_domain__);
870
+ },
871
+ get description() {
872
+ return __('The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.', __i18n_text_domain__);
873
+ },
874
+ },
875
+ {
876
+ get link() {
877
+ return localizeUrl('https://wordpress.com/support/site-verification-services/');
878
+ },
879
+ post_id: 5022,
880
+ get title() {
881
+ return __('Site Verification Services', __i18n_text_domain__);
882
+ },
883
+ get description() {
884
+ return __('Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.', __i18n_text_domain__);
885
+ },
886
+ },
887
+ {
888
+ get link() {
889
+ return localizeUrl('https://wordpress.com/support/amp-accelerated-mobile-pages/');
890
+ },
891
+ post_id: 122516,
892
+ get title() {
893
+ return __('Accelerated Mobile Pages (AMP)', __i18n_text_domain__);
894
+ },
895
+ get description() {
896
+ return __('Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. ' +
897
+ 'By default, it is enabled for every WordPress.com site.', __i18n_text_domain__);
898
+ },
899
+ },
900
+ ],
901
+ 'settings-security': [
902
+ {
903
+ get link() {
904
+ return localizeUrl('https://wordpress.com/support/security/');
905
+ },
906
+ post_id: 10977,
907
+ get title() {
908
+ return __('Security', __i18n_text_domain__);
909
+ },
910
+ get description() {
911
+ return __('Learn what we do to help protect your site and your personal data, along with added steps ' +
912
+ 'we recommend you take to do the same.', __i18n_text_domain__);
913
+ },
914
+ },
915
+ {
916
+ get link() {
917
+ return localizeUrl('https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam');
918
+ },
919
+ post_id: 5882,
920
+ get title() {
921
+ return __('Unwanted Comments and Comment Spam', __i18n_text_domain__);
922
+ },
923
+ get description() {
924
+ return __('There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!', __i18n_text_domain__);
925
+ },
926
+ },
927
+ {
928
+ get link() {
929
+ return localizeUrl('https://wordpress.com/support/security/#strong-password');
930
+ },
931
+ post_id: 35364,
932
+ get title() {
933
+ return __('Selecting A Strong Password', __i18n_text_domain__);
934
+ },
935
+ get description() {
936
+ return __('The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.', __i18n_text_domain__);
937
+ },
938
+ },
939
+ ],
940
+ settings: [
941
+ {
942
+ get link() {
943
+ return localizeUrl('https://wordpress.com/support/settings/');
944
+ },
945
+ post_id: 497,
946
+ get title() {
947
+ return __('Settings', __i18n_text_domain__);
948
+ },
949
+ get description() {
950
+ return __('The Settings menu of your site is where you will configure everything about how the blog works and functions.', __i18n_text_domain__);
951
+ },
952
+ },
953
+ {
954
+ get link() {
955
+ return localizeUrl('https://wordpress.com/support/settings/general-settings/');
956
+ },
957
+ post_id: 1501,
958
+ get title() {
959
+ return __('General Settings', __i18n_text_domain__);
960
+ },
961
+ get description() {
962
+ return __('The General Settings let you control how your site is displayed, such as the ' +
963
+ 'title, tagline, language, and visibility.', __i18n_text_domain__);
964
+ },
965
+ },
966
+ {
967
+ get link() {
968
+ return localizeUrl('https://wordpress.com/support/site-icons/');
969
+ },
970
+ post_id: 1327,
971
+ get title() {
972
+ return __('Site Icons', __i18n_text_domain__);
973
+ },
974
+ get description() {
975
+ return __('A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab ' +
976
+ 'and other places around WordPress.com.', __i18n_text_domain__);
977
+ },
978
+ },
979
+ {
980
+ get link() {
981
+ return localizeUrl('https://wordpress.com/support/five-step-blog-setup/');
982
+ },
983
+ post_id: 100846,
984
+ get title() {
985
+ return __('Five Steps to Your Great New Blog', __i18n_text_domain__);
986
+ },
987
+ get description() {
988
+ return __('Get ready to publish! Our five-step checklist walks you through all the fundamentals.', __i18n_text_domain__);
989
+ },
990
+ },
991
+ {
992
+ get link() {
993
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
994
+ },
995
+ post_id: 111349,
996
+ get title() {
997
+ return __('Managing Purchases, Renewals, and Cancellations', __i18n_text_domain__);
998
+ },
999
+ get description() {
1000
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
1001
+ },
1002
+ },
1003
+ ],
1004
+ themes: [
1005
+ {
1006
+ get link() {
1007
+ return localizeUrl('https://wordpress.com/support/themes/');
1008
+ },
1009
+ post_id: 2278,
1010
+ get title() {
1011
+ return __('Themes: An Overview', __i18n_text_domain__);
1012
+ },
1013
+ get description() {
1014
+ return __('A theme controls the general look and feel of your site including things like ' +
1015
+ 'page layout, widget locations, and default font.', __i18n_text_domain__);
1016
+ },
1017
+ },
1018
+ {
1019
+ get link() {
1020
+ return localizeUrl('https://wordpress.com/support/themes/child-themes', __i18n_text_domain__);
1021
+ },
1022
+ post_id: 134704,
1023
+ get title() {
1024
+ return __('Child Themes', __i18n_text_domain__);
1025
+ },
1026
+ get description() {
1027
+ return __("The only limit on your site is your vision — if the themes you see don't match that, it's " +
1028
+ 'time to go beyond them. Learn to use child themes to customize and extend your website.', __i18n_text_domain__);
1029
+ },
1030
+ },
1031
+ ],
1032
+ theme: [
1033
+ {
1034
+ get link() {
1035
+ return localizeUrl('https://wordpress.com/support/themes/');
1036
+ },
1037
+ post_id: 134704,
1038
+ get title() {
1039
+ return __('Themes: An Overview', __i18n_text_domain__);
1040
+ },
1041
+ get description() {
1042
+ return __('A theme controls the general look and feel of your site including things like ' +
1043
+ 'page layout, widget locations, and default font.', __i18n_text_domain__);
1044
+ },
1045
+ },
1046
+ {
1047
+ get link() {
1048
+ return localizeUrl('https://wordpress.com/support/themes/child-themes', __i18n_text_domain__);
1049
+ },
1050
+ get title() {
1051
+ return __('Child Themes', __i18n_text_domain__);
1052
+ },
1053
+ post_id: 134704,
1054
+ get description() {
1055
+ return __("The only limit on your site is your vision — if the themes you see don't match that, it's " +
1056
+ 'time to go beyond them. Learn to use child themes to customize and extend your website.', __i18n_text_domain__);
1057
+ },
1058
+ },
1059
+ ],
1060
+ plans: [
1061
+ {
1062
+ get link() {
1063
+ return localizeUrl('https://en.support.wordpress.com/plan-features/');
1064
+ },
1065
+ post_id: 140323,
1066
+ get title() {
1067
+ return __('Explore the WordPress.com Plans', __i18n_text_domain__);
1068
+ },
1069
+ get description() {
1070
+ return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.", __i18n_text_domain__);
1071
+ },
1072
+ },
1073
+ {
1074
+ get link() {
1075
+ return localizeUrl('https://wordpress.com/support/plan-features/');
1076
+ },
1077
+ post_id: 134698,
1078
+ get title() {
1079
+ return __('WordPress.com Plans', __i18n_text_domain__);
1080
+ },
1081
+ get description() {
1082
+ return __('Learn about the capabilities and features that the different plans unlock for your site.', __i18n_text_domain__);
1083
+ },
1084
+ },
1085
+ {
1086
+ get link() {
1087
+ return localizeUrl('https://wordpress.com/support/manage-purchases/#automatic-renewal');
1088
+ },
1089
+ post_id: 110924,
1090
+ get title() {
1091
+ return __('Subscriptions for Plans and Domains', __i18n_text_domain__);
1092
+ },
1093
+ get description() {
1094
+ return __('Your WordPress.com plans and any domains you add to your sites are based on a yearly ' +
1095
+ 'subscription that renews automatically.', __i18n_text_domain__);
1096
+ },
1097
+ },
1098
+ {
1099
+ get link() {
1100
+ return localizeUrl('https://wordpress.com/support/jetpack/');
1101
+ },
1102
+ post_id: 115025,
1103
+ get title() {
1104
+ return __('Jetpack Plans', __i18n_text_domain__);
1105
+ },
1106
+ get description() {
1107
+ return __('Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.', __i18n_text_domain__);
1108
+ },
1109
+ },
1110
+ {
1111
+ get link() {
1112
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
1113
+ },
1114
+ post_id: 111349,
1115
+ get title() {
1116
+ return __('Managing Purchases, Renewals, and Cancellations', __i18n_text_domain__);
1117
+ },
1118
+ get description() {
1119
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
1120
+ },
1121
+ },
1122
+ ],
1123
+ 'gutenberg-editor': [
1124
+ {
1125
+ get link() {
1126
+ return localizeUrl('https://wordpress.com/support/wordpress-editor/');
1127
+ },
1128
+ post_id: 147594,
1129
+ get title() {
1130
+ return __('What are "Blocks"?', __i18n_text_domain__);
1131
+ },
1132
+ get description() {
1133
+ return __('The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.', __i18n_text_domain__);
1134
+ },
1135
+ },
1136
+ {
1137
+ intent: SELL_INTENT,
1138
+ get link() {
1139
+ return localizeUrl('https://wordpress.com/support/video-tutorials-add-payments-features-to-your-site-with-our-guides/', __i18n_text_domain__);
1140
+ },
1141
+ post_id: 175999,
1142
+ get title() {
1143
+ return __('The Payments Block', __i18n_text_domain__);
1144
+ },
1145
+ get description() {
1146
+ return __("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.", __i18n_text_domain__);
1147
+ },
1148
+ },
1149
+ {
1150
+ get link() {
1151
+ return localizeUrl('https://wordpress.com/support/offline-editing/');
1152
+ },
1153
+ post_id: 3595,
1154
+ get title() {
1155
+ return __('Offline Editing', __i18n_text_domain__);
1156
+ },
1157
+ get description() {
1158
+ return __('Learn how to create and edit content for your WordPress.com site even without being connected to the internet!', __i18n_text_domain__);
1159
+ },
1160
+ },
1161
+ {
1162
+ get link() {
1163
+ return localizeUrl('https://wordpress.com/support/user-roles/');
1164
+ },
1165
+ post_id: 1221,
1166
+ get title() {
1167
+ return __('Inviting Contributors, Followers, and Viewers', __i18n_text_domain__);
1168
+ },
1169
+ get description() {
1170
+ return __('Invite contributors, followers, and viewers to collaborate with others and grow your audience!', __i18n_text_domain__);
1171
+ },
1172
+ },
1173
+ ],
1174
+ reader: [
1175
+ {
1176
+ get link() {
1177
+ return localizeUrl('https://wordpress.com/support/reader/');
1178
+ },
1179
+ post_id: 32011,
1180
+ get title() {
1181
+ return __('The Reader: An Overview', __i18n_text_domain__);
1182
+ },
1183
+ get description() {
1184
+ return __('Read posts from all the sites you follow — even ones that aren’t on WordPress.com! ' +
1185
+ 'Discover great new reads and keep track of your comments and replies in one convenient place.', __i18n_text_domain__);
1186
+ },
1187
+ },
1188
+ {
1189
+ get link() {
1190
+ return localizeUrl('https://wordpress.com/support/following/');
1191
+ },
1192
+ post_id: 4899,
1193
+ get title() {
1194
+ return __('Follow Blogs', __i18n_text_domain__);
1195
+ },
1196
+ get description() {
1197
+ return __('When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.', __i18n_text_domain__);
1198
+ },
1199
+ },
1200
+ {
1201
+ get link() {
1202
+ return localizeUrl('https://wordpress.com/support/topics/');
1203
+ },
1204
+ post_id: 2166,
1205
+ get title() {
1206
+ return __('Following Specific Topics in the Reader', __i18n_text_domain__);
1207
+ },
1208
+ get description() {
1209
+ return __('Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject ' +
1210
+ 'from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.', __i18n_text_domain__);
1211
+ },
1212
+ },
1213
+ {
1214
+ get link() {
1215
+ return localizeUrl('https://wordpress.com/support/grow-your-community/');
1216
+ },
1217
+ post_id: 132190,
1218
+ get title() {
1219
+ return __('Grow Your Community', __i18n_text_domain__);
1220
+ },
1221
+ get description() {
1222
+ return __('You’ve worked hard on building your site, now it’s time to explore the community and get noticed.', __i18n_text_domain__);
1223
+ },
1224
+ },
1225
+ ],
1226
+ help: [
1227
+ {
1228
+ get link() {
1229
+ return localizeUrl('https://wpcourses.com/');
1230
+ },
1231
+ post_id: 117437,
1232
+ get title() {
1233
+ return __('Blogging U.', __i18n_text_domain__);
1234
+ },
1235
+ get description() {
1236
+ return __('Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your ' +
1237
+ 'email inbox. Sign up now!', __i18n_text_domain__);
1238
+ },
1239
+ },
1240
+ {
1241
+ get link() {
1242
+ return localizeUrl('https://wordpress.com/support/help-support-options/');
1243
+ },
1244
+ post_id: 149,
1245
+ get title() {
1246
+ return __('Help! Getting WordPress.com Support', __i18n_text_domain__);
1247
+ },
1248
+ get description() {
1249
+ return __('WordPress.com offers a number of avenues for reaching helpful, individualized support.', __i18n_text_domain__);
1250
+ },
1251
+ },
1252
+ {
1253
+ get link() {
1254
+ return localizeUrl('https://wordpress.com/support/');
1255
+ },
1256
+ get title() {
1257
+ return __('All Support Articles', __i18n_text_domain__);
1258
+ },
1259
+ get description() {
1260
+ return __('Looking to learn more about a feature? Our docs have all the details.', __i18n_text_domain__);
1261
+ },
1262
+ },
1263
+ {
1264
+ get link() {
1265
+ return localizeUrl('https://wordpress.com/learn/');
1266
+ },
1267
+ get title() {
1268
+ return __('Self-guided Online Tutorial', __i18n_text_domain__);
1269
+ },
1270
+ get description() {
1271
+ return __('A step-by-step guide to getting familiar with the platform.', __i18n_text_domain__);
1272
+ },
1273
+ },
1274
+ {
1275
+ get link() {
1276
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
1277
+ },
1278
+ post_id: 111349,
1279
+ get title() {
1280
+ return __('Managing Purchases, Renewals, and Cancellations', __i18n_text_domain__);
1281
+ },
1282
+ get description() {
1283
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
1284
+ },
1285
+ },
1286
+ ],
1287
+ comments: [
1288
+ {
1289
+ get link() {
1290
+ return localizeUrl('https://wordpress.com/support/comments/');
1291
+ },
1292
+ post_id: 113,
1293
+ get title() {
1294
+ return __('Comments', __i18n_text_domain__);
1295
+ },
1296
+ get description() {
1297
+ return __('Comments are a way for visitors to add feedback to your posts and pages.', __i18n_text_domain__);
1298
+ },
1299
+ },
1300
+ {
1301
+ get link() {
1302
+ return localizeUrl('https://wordpress.com/support/settings/discussion-settings/');
1303
+ },
1304
+ post_id: 5840,
1305
+ get title() {
1306
+ return __('Comment Display Options', __i18n_text_domain__);
1307
+ },
1308
+ get description() {
1309
+ return __('You can control comment threading, paging, and comment order settings from the ' +
1310
+ 'Discussion Settings page in your site’s settings.', __i18n_text_domain__);
1311
+ },
1312
+ },
1313
+ {
1314
+ get link() {
1315
+ return localizeUrl('https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam');
1316
+ },
1317
+ post_id: 5882,
1318
+ get title() {
1319
+ return __('Unwanted Comments and Comment Spam', __i18n_text_domain__);
1320
+ },
1321
+ get description() {
1322
+ return __('There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!', __i18n_text_domain__);
1323
+ },
1324
+ },
1325
+ {
1326
+ get link() {
1327
+ return localizeUrl('https://wordpress.com/support/comment-likes/');
1328
+ },
1329
+ post_id: 88757,
1330
+ get title() {
1331
+ return __('Comment Likes', __i18n_text_domain__);
1332
+ },
1333
+ get description() {
1334
+ return __('Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.', __i18n_text_domain__);
1335
+ },
1336
+ },
1337
+ ],
1338
+ hosting: [
1339
+ {
1340
+ get link() {
1341
+ return localizeUrl('https://wordpress.com/support/sftp/');
1342
+ },
1343
+ post_id: 159771,
1344
+ get title() {
1345
+ return __('SFTP on WordPress.com', __i18n_text_domain__);
1346
+ },
1347
+ get description() {
1348
+ return __("Access and edit your website's files directly by using an SFTP client.");
1349
+ },
1350
+ },
1351
+ {
1352
+ get link() {
1353
+ return localizeUrl('https://wordpress.com/support/phpmyadmin-and-mysql/');
1354
+ },
1355
+ post_id: 159822,
1356
+ get title() {
1357
+ return __('phpMyAdmin and MySQL', __i18n_text_domain__);
1358
+ },
1359
+ get description() {
1360
+ return __('For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.', __i18n_text_domain__);
1361
+ },
1362
+ },
1363
+ {
1364
+ get link() {
1365
+ return localizeUrl('https://wordpress.com/support/php-version-switching/');
1366
+ },
1367
+ post_id: 160597,
1368
+ get title() {
1369
+ return __('PHP Version Switching', __i18n_text_domain__);
1370
+ },
1371
+ get description() {
1372
+ return __('Sites on the Pro Plan using custom plugins and/or custom themes now have the option to switch PHP versions.', __i18n_text_domain__);
1373
+ },
1374
+ },
1375
+ ],
1376
+ checkout: [
1377
+ {
1378
+ get link() {
1379
+ return localizeUrl('https://wordpress.com/support/plan-features/');
1380
+ },
1381
+ post_id: 134698,
1382
+ get title() {
1383
+ return __('WordPress.com Plans', __i18n_text_domain__);
1384
+ },
1385
+ get description() {
1386
+ return __('Learn about the capabilities and features that the different plans unlock for your site.', __i18n_text_domain__);
1387
+ },
1388
+ },
1389
+ {
1390
+ get link() {
1391
+ return localizeUrl('https://wordpress.com/support/jetpack/');
1392
+ },
1393
+ post_id: 115025,
1394
+ get title() {
1395
+ return __('Jetpack Plans', __i18n_text_domain__);
1396
+ },
1397
+ get description() {
1398
+ return __('Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.', __i18n_text_domain__);
1399
+ },
1400
+ },
1401
+ {
1402
+ get link() {
1403
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
1404
+ },
1405
+ post_id: 111349,
1406
+ get title() {
1407
+ return __('Manage Purchases and Refund Policy', __i18n_text_domain__);
1408
+ },
1409
+ get description() {
1410
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
1411
+ },
1412
+ },
1413
+ {
1414
+ get link() {
1415
+ return localizeUrl('https://wordpress.com/support/manage-purchases/#automatic-renewal');
1416
+ },
1417
+ post_id: 110924,
1418
+ get title() {
1419
+ return __('Subscriptions for Plans and Domains', __i18n_text_domain__);
1420
+ },
1421
+ get description() {
1422
+ return __('Your WordPress.com plans and any domains you add to your sites are based on a yearly ' +
1423
+ 'subscription that renews automatically.', __i18n_text_domain__);
1424
+ },
1425
+ },
1426
+ ],
1427
+ domains: [
1428
+ {
1429
+ get link() {
1430
+ return localizeUrl('https://wordpress.com/support/add-email/');
1431
+ },
1432
+ post_id: 34087,
1433
+ get title() {
1434
+ return __('Add Email to your Domain', __i18n_text_domain__);
1435
+ },
1436
+ get description() {
1437
+ return __('Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.', __i18n_text_domain__);
1438
+ },
1439
+ },
1440
+ {
1441
+ get link() {
1442
+ return localizeUrl('https://wordpress.com/support/domains/custom-dns/');
1443
+ },
1444
+ post_id: 6595,
1445
+ get title() {
1446
+ return __('Manage Custom DNS', __i18n_text_domain__);
1447
+ },
1448
+ get description() {
1449
+ return __('Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.', __i18n_text_domain__);
1450
+ },
1451
+ },
1452
+ {
1453
+ get link() {
1454
+ return localizeUrl('https://wordpress.com/support/transfer-domain-registration/', __i18n_text_domain__);
1455
+ },
1456
+ post_id: 41298,
1457
+ get title() {
1458
+ return __('Transfer a Domain to Another Registrar', __i18n_text_domain__);
1459
+ },
1460
+ get description() {
1461
+ return __('This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.', __i18n_text_domain__);
1462
+ },
1463
+ },
1464
+ {
1465
+ get link() {
1466
+ return localizeUrl('https://wordpress.com/support/domain-connection-vs-domain-transfer/');
1467
+ },
1468
+ post_id: 157655,
1469
+ get title() {
1470
+ return __('Connect an Existing Domain', __i18n_text_domain__);
1471
+ },
1472
+ get description() {
1473
+ return __('You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.', __i18n_text_domain__);
1474
+ },
1475
+ },
1476
+ {
1477
+ get link() {
1478
+ return localizeUrl('https://wordpress.com/support/domains/');
1479
+ },
1480
+ post_id: 1988,
1481
+ get title() {
1482
+ return __('All about domains', __i18n_text_domain__);
1483
+ },
1484
+ get description() {
1485
+ return __('A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.', __i18n_text_domain__);
1486
+ },
1487
+ },
1488
+ {
1489
+ get link() {
1490
+ return localizeUrl('https://wordpress.com/support/manage-purchases/');
1491
+ },
1492
+ post_id: 111349,
1493
+ get title() {
1494
+ return __('Managing Purchases, Renewals, and Cancellations', __i18n_text_domain__);
1495
+ },
1496
+ get description() {
1497
+ return __('Have a question or need to change something about a purchase you have made? Learn how.', __i18n_text_domain__);
1498
+ },
1499
+ },
1500
+ ],
1501
+ };
1502
+ /*
1503
+ source: https://www.youtube.com/playlist?list=PLQFhxUeNFfdKx9gO0a2mp9h8pKjb2y9la
1504
+ run this in the console to get the videos into a more helpful format (also removes duplicates):
1505
+ ```JavaScript
1506
+ data = {};
1507
+ document.querySelectorAll('.yt-simple-endpoint.ytd-playlist-video-renderer').forEach( function( e ) {
1508
+ data[ new RegExp(/v=([^&]*)&/).exec( e.href )[1] ] = e.querySelector( '#video-title' ).innerHTML.trim();
1509
+ } );
1510
+ console.log( data );
1511
+ ```
1512
+ */
1513
+ export const videosForSection = {
1514
+ sharing: [
1515
+ {
1516
+ type: RESULT_VIDEO,
1517
+ link: 'https://www.youtube.com/watch?v=YVelWG3hf3o',
1518
+ get title() {
1519
+ return __('Add Social Sharing Buttons to Your Website', __i18n_text_domain__);
1520
+ },
1521
+ get description() {
1522
+ return __('Find out how to add social sharing buttons to your WordPress.com site, which you can also ' +
1523
+ 'do with a Jetpack-enabled WordPress site.', __i18n_text_domain__);
1524
+ },
1525
+ },
1526
+ {
1527
+ type: RESULT_VIDEO,
1528
+ link: 'https://www.youtube.com/watch?v=NcCe0ozmqFM',
1529
+ get title() {
1530
+ return __('Connect Your Blog to Facebook Using Publicize', __i18n_text_domain__);
1531
+ },
1532
+ get description() {
1533
+ return __('Find out how to share blog posts directly on Facebook from your WordPress.com site, ' +
1534
+ 'which you can also do on a Jetpack-enabled WordPress site.', __i18n_text_domain__);
1535
+ },
1536
+ },
1537
+ {
1538
+ type: RESULT_VIDEO,
1539
+ link: 'https://www.youtube.com/watch?v=f44-4TgnWTs',
1540
+ get title() {
1541
+ return __('Display Your Instagram Feed on Your Website', __i18n_text_domain__);
1542
+ },
1543
+ get description() {
1544
+ return __('Find out how to display your latest Instagram photos right on your WordPress.com site.', __i18n_text_domain__);
1545
+ },
1546
+ },
1547
+ {
1548
+ type: RESULT_VIDEO,
1549
+ link: 'https://www.youtube.com/watch?v=3rTooGV_mlg',
1550
+ get title() {
1551
+ return __('Set Up the Social Links Menu', __i18n_text_domain__);
1552
+ },
1553
+ get description() {
1554
+ return __('Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.', __i18n_text_domain__);
1555
+ },
1556
+ },
1557
+ {
1558
+ type: RESULT_VIDEO,
1559
+ link: 'https://www.youtube.com/watch?v=gmrOkkqMNlc',
1560
+ get title() {
1561
+ return __('Embed a Twitter Timeline in your Sidebar', __i18n_text_domain__);
1562
+ },
1563
+ get description() {
1564
+ return __('Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.', __i18n_text_domain__);
1565
+ },
1566
+ },
1567
+ {
1568
+ type: RESULT_VIDEO,
1569
+ link: 'https://www.youtube.com/watch?v=vy-U5saqG9A',
1570
+ get title() {
1571
+ return __('Set Up a Social Media Icons Widget', __i18n_text_domain__);
1572
+ },
1573
+ get description() {
1574
+ return __('Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.', __i18n_text_domain__);
1575
+ },
1576
+ },
1577
+ {
1578
+ type: RESULT_VIDEO,
1579
+ link: 'https://www.youtube.com/watch?v=N0GRBFRkzzs',
1580
+ get title() {
1581
+ return __('Embed a Tweet from Twitter in Your Website', __i18n_text_domain__);
1582
+ },
1583
+ get description() {
1584
+ return __('Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com ' +
1585
+ 'or Jetpack-enabled WordPress website or blog.', __i18n_text_domain__);
1586
+ },
1587
+ },
1588
+ {
1589
+ type: RESULT_VIDEO,
1590
+ link: 'https://www.youtube.com/watch?v=uVRji6bKJUE',
1591
+ get title() {
1592
+ return __('Embed an Instagram Photo in Your Website', __i18n_text_domain__);
1593
+ },
1594
+ get description() {
1595
+ return __('Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com ' +
1596
+ 'or Jetpack-enabled WordPress website or blog.', __i18n_text_domain__);
1597
+ },
1598
+ },
1599
+ {
1600
+ type: RESULT_VIDEO,
1601
+ link: 'https://www.youtube.com/watch?v=sKm3Q83JxM0',
1602
+ get title() {
1603
+ return __('Embed a Facebook Update in Your Website', __i18n_text_domain__);
1604
+ },
1605
+ get description() {
1606
+ return __('Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your ' +
1607
+ 'WordPress.com or Jetpack-enabled WordPress website or blog.', __i18n_text_domain__);
1608
+ },
1609
+ },
1610
+ {
1611
+ type: RESULT_VIDEO,
1612
+ link: 'https://www.youtube.com/watch?v=SBgNkre_b14',
1613
+ get title() {
1614
+ return __('Share Blog Posts Directly on Twitter', __i18n_text_domain__);
1615
+ },
1616
+ get description() {
1617
+ return __('Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.', __i18n_text_domain__);
1618
+ },
1619
+ },
1620
+ ],
1621
+ settings: [
1622
+ {
1623
+ type: RESULT_VIDEO,
1624
+ link: 'https://www.youtube.com/watch?v=0YCZ22k4SfQ',
1625
+ get title() {
1626
+ return __('Add a Site Logo', __i18n_text_domain__);
1627
+ },
1628
+ get description() {
1629
+ return __('Find out how to add a custom logo to your WordPress.com site.', __i18n_text_domain__);
1630
+ },
1631
+ },
1632
+ {
1633
+ type: RESULT_VIDEO,
1634
+ link: 'https://www.youtube.com/watch?v=vucZ1uZ2NPo',
1635
+ get title() {
1636
+ return __('Update Your Website Title and Tagline', __i18n_text_domain__);
1637
+ },
1638
+ get description() {
1639
+ return __('Find out how to update the Title and Tagline of your WordPress.com site, which you can also ' +
1640
+ 'do on your Jetpack-enabled WordPress site.', __i18n_text_domain__);
1641
+ },
1642
+ },
1643
+ {
1644
+ type: RESULT_VIDEO,
1645
+ link: 'https://www.youtube.com/watch?v=Y6iPsPwYD7g',
1646
+ get title() {
1647
+ return __('Change Your Privacy Settings', __i18n_text_domain__);
1648
+ },
1649
+ get description() {
1650
+ return __('Find out how to change your website privacy settings on WordPress.com.', __i18n_text_domain__);
1651
+ },
1652
+ },
1653
+ {
1654
+ type: RESULT_VIDEO,
1655
+ link: 'https://www.youtube.com/watch?v=bjxKGxW0MRA',
1656
+ get title() {
1657
+ return __('Add a Site Icon', __i18n_text_domain__);
1658
+ },
1659
+ get description() {
1660
+ return __('Find out how to add a site icon on WordPress.com.', __i18n_text_domain__);
1661
+ },
1662
+ },
1663
+ {
1664
+ type: RESULT_VIDEO,
1665
+ link: 'https://www.youtube.com/watch?v=z6fCtvLB0wM',
1666
+ get title() {
1667
+ return __('Create a Multilingual Site', __i18n_text_domain__);
1668
+ },
1669
+ get description() {
1670
+ return __('Find out how to create a multilingual site on WordPress.com.', __i18n_text_domain__);
1671
+ },
1672
+ },
1673
+ {
1674
+ type: RESULT_VIDEO,
1675
+ link: 'https://www.youtube.com/watch?v=D142Edhcpaw',
1676
+ get title() {
1677
+ return __('Customize Your Content Options', __i18n_text_domain__);
1678
+ },
1679
+ get description() {
1680
+ return __('Find out how to customize your content options on select WordPress.com themes.', __i18n_text_domain__);
1681
+ },
1682
+ },
1683
+ {
1684
+ type: RESULT_VIDEO,
1685
+ link: 'https://www.youtube.com/watch?v=Vyr-g5SEuIA',
1686
+ get title() {
1687
+ return __('Change Your Language Settings', __i18n_text_domain__);
1688
+ },
1689
+ get description() {
1690
+ return __('Find out how to change your blog or website language and your interface language settings on WordPress.com.', __i18n_text_domain__);
1691
+ },
1692
+ },
1693
+ {
1694
+ type: RESULT_VIDEO,
1695
+ link: 'https://www.youtube.com/watch?v=EUuEuW_LCrc',
1696
+ get title() {
1697
+ return __('Activate Free Email Forwarding', __i18n_text_domain__);
1698
+ },
1699
+ get description() {
1700
+ return __('Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.', __i18n_text_domain__);
1701
+ },
1702
+ },
1703
+ ],
1704
+ account: [
1705
+ {
1706
+ type: RESULT_VIDEO,
1707
+ link: 'https://www.youtube.com/watch?v=aO-6yu3_xWQ',
1708
+ get title() {
1709
+ return __('Change Your Password', __i18n_text_domain__);
1710
+ },
1711
+ get description() {
1712
+ return __('Find out how to change your account password on WordPress.com.', __i18n_text_domain__);
1713
+ },
1714
+ },
1715
+ {
1716
+ type: RESULT_VIDEO,
1717
+ link: 'https://www.youtube.com/watch?v=qhsjkqFdDZo',
1718
+ get title() {
1719
+ return __('Change Your WordPress.com Username', __i18n_text_domain__);
1720
+ },
1721
+ get description() {
1722
+ return __('Find out how to change your username on WordPress.com.', __i18n_text_domain__);
1723
+ },
1724
+ },
1725
+ {
1726
+ type: RESULT_VIDEO,
1727
+ link: 'https://www.youtube.com/watch?v=Tyxu_xT6q1k',
1728
+ get title() {
1729
+ return __('Change Your WordPress.com Display Name', __i18n_text_domain__);
1730
+ },
1731
+ get description() {
1732
+ return __('Find out how to change your display name on WordPress.com.', __i18n_text_domain__);
1733
+ },
1734
+ },
1735
+ {
1736
+ type: RESULT_VIDEO,
1737
+ link: 'https://www.youtube.com/watch?v=07Nf8FkjO4o',
1738
+ get title() {
1739
+ return __('Change Your Account Email Address', __i18n_text_domain__);
1740
+ },
1741
+ get description() {
1742
+ return __('Find out how to change your account email address on WordPress.com.', __i18n_text_domain__);
1743
+ },
1744
+ },
1745
+ ],
1746
+ customizer: [
1747
+ {
1748
+ type: RESULT_VIDEO,
1749
+ link: 'https://www.youtube.com/watch?v=pf_ST7gvY8c',
1750
+ get title() {
1751
+ return __('Add a Custom Header Image', __i18n_text_domain__);
1752
+ },
1753
+ get description() {
1754
+ return __('Find out how to add a custom header image to your WordPress.com website or blog.', __i18n_text_domain__);
1755
+ },
1756
+ },
1757
+ {
1758
+ type: RESULT_VIDEO,
1759
+ link: 'https://www.youtube.com/watch?v=CY20IAtl2Ac',
1760
+ get title() {
1761
+ return __('Create a Custom Website Menu', __i18n_text_domain__);
1762
+ },
1763
+ get description() {
1764
+ return __('Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.', __i18n_text_domain__);
1765
+ },
1766
+ },
1767
+ {
1768
+ type: RESULT_VIDEO,
1769
+ link: 'https://www.youtube.com/watch?v=2H_Jsgh2Z3Y',
1770
+ get title() {
1771
+ return __('Add a Widget', __i18n_text_domain__);
1772
+ },
1773
+ get description() {
1774
+ return __('Find out how to add a widget to your WordPress.com website.', __i18n_text_domain__);
1775
+ },
1776
+ },
1777
+ {
1778
+ type: RESULT_VIDEO,
1779
+ link: 'https://www.youtube.com/watch?v=ypFF4ONBfSQ',
1780
+ get title() {
1781
+ return __('Add a Custom Background', __i18n_text_domain__);
1782
+ },
1783
+ get description() {
1784
+ return __('Find out how to add a custom background to your WordPress.com site.', __i18n_text_domain__);
1785
+ },
1786
+ },
1787
+ {
1788
+ type: RESULT_VIDEO,
1789
+ link: 'https://www.youtube.com/watch?v=b8EuJDrNeOA',
1790
+ get title() {
1791
+ return __('Change Your Site Fonts', __i18n_text_domain__);
1792
+ },
1793
+ get description() {
1794
+ return __('Find out how to change the fonts on your WordPress.com website or blog.', __i18n_text_domain__);
1795
+ },
1796
+ },
1797
+ {
1798
+ type: RESULT_VIDEO,
1799
+ link: 'https://www.youtube.com/watch?v=7VPgvxV78Kc',
1800
+ get title() {
1801
+ return __('Add a Gallery Widget', __i18n_text_domain__);
1802
+ },
1803
+ get description() {
1804
+ return __('Find out how to add an image gallery widget to your WordPress.com website or blog.', __i18n_text_domain__);
1805
+ },
1806
+ },
1807
+ {
1808
+ type: RESULT_VIDEO,
1809
+ link: 'https://www.youtube.com/watch?v=oDBuaBLrwF8',
1810
+ get title() {
1811
+ return __('Use Featured Content', __i18n_text_domain__);
1812
+ },
1813
+ get description() {
1814
+ return __('Find out how to use the Featured Content option on your WordPress.com website or blog.', __i18n_text_domain__);
1815
+ },
1816
+ },
1817
+ {
1818
+ type: RESULT_VIDEO,
1819
+ link: 'https://www.youtube.com/watch?v=3TqRr21zyiA',
1820
+ get title() {
1821
+ return __('Add an Image Widget', __i18n_text_domain__);
1822
+ },
1823
+ get description() {
1824
+ return __('Find out how to add an image widget to your WordPress.com website or blog.', __i18n_text_domain__);
1825
+ },
1826
+ },
1827
+ ],
1828
+ 'posts-pages': [
1829
+ {
1830
+ type: RESULT_VIDEO,
1831
+ link: 'https://www.youtube.com/watch?v=3RPidSCQ0LI',
1832
+ get title() {
1833
+ return __('Create a Landing Page', __i18n_text_domain__);
1834
+ },
1835
+ get description() {
1836
+ return __('Find out how to create a one-page website or landing page on your WordPress.com site.', __i18n_text_domain__);
1837
+ },
1838
+ },
1839
+ {
1840
+ type: RESULT_VIDEO,
1841
+ link: 'https://www.youtube.com/watch?v=4IkFQzl5nXc',
1842
+ get title() {
1843
+ return __('Set Up a Website in 5 Steps', __i18n_text_domain__);
1844
+ },
1845
+ get description() {
1846
+ return __('Find out how to create a website on WordPress.com in five steps.', __i18n_text_domain__);
1847
+ },
1848
+ },
1849
+ {
1850
+ type: RESULT_VIDEO,
1851
+ link: 'https://www.youtube.com/watch?v=mta6Y0o7yJk',
1852
+ get title() {
1853
+ return __('Set Up a Blog in 5 Steps', __i18n_text_domain__);
1854
+ },
1855
+ get description() {
1856
+ return __('Find out how to create a blog on WordPress.com in five steps.', __i18n_text_domain__);
1857
+ },
1858
+ },
1859
+ {
1860
+ type: RESULT_VIDEO,
1861
+ link: 'https://www.youtube.com/watch?v=Gx7YNX1Wk5U',
1862
+ get title() {
1863
+ return __('Create a Page', __i18n_text_domain__);
1864
+ },
1865
+ get description() {
1866
+ return __('Find out how to create a page on your WordPress.com site.', __i18n_text_domain__);
1867
+ },
1868
+ },
1869
+ {
1870
+ type: RESULT_VIDEO,
1871
+ link: 'https://www.youtube.com/watch?v=mCfuh5bCOwM',
1872
+ get title() {
1873
+ return __('Create a Post', __i18n_text_domain__);
1874
+ },
1875
+ get description() {
1876
+ return __('Find out how to create a post on WordPress.com.', __i18n_text_domain__);
1877
+ },
1878
+ },
1879
+ {
1880
+ type: RESULT_VIDEO,
1881
+ link: 'https://www.youtube.com/watch?v=bEVHg6nopcs',
1882
+ get title() {
1883
+ return __('Use a Custom Menu in a Widget', __i18n_text_domain__);
1884
+ },
1885
+ get description() {
1886
+ return __('Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.', __i18n_text_domain__);
1887
+ },
1888
+ },
1889
+ {
1890
+ type: RESULT_VIDEO,
1891
+ link: 'https://www.youtube.com/watch?v=nAzdUOlFoBI',
1892
+ get title() {
1893
+ return __('Configure a Static Homepage', __i18n_text_domain__);
1894
+ },
1895
+ get description() {
1896
+ return __('By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.', __i18n_text_domain__);
1897
+ },
1898
+ },
1899
+ {
1900
+ type: RESULT_VIDEO,
1901
+ link: 'https://www.youtube.com/watch?v=MPpVeMmDOhk',
1902
+ get title() {
1903
+ return __('Show Related Posts on Your WordPress Blog', __i18n_text_domain__);
1904
+ },
1905
+ get description() {
1906
+ return __('Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.', __i18n_text_domain__);
1907
+ },
1908
+ },
1909
+ {
1910
+ type: RESULT_VIDEO,
1911
+ link: 'https://www.youtube.com/watch?v=JVnltCZUKC4',
1912
+ get title() {
1913
+ return __('Add Testimonials', __i18n_text_domain__);
1914
+ },
1915
+ get description() {
1916
+ return __('Find out how to add testimonials to your WordPress.com website or blog.', __i18n_text_domain__);
1917
+ },
1918
+ },
1919
+ {
1920
+ type: RESULT_VIDEO,
1921
+ link: 'https://www.youtube.com/watch?v=yH_gapAUGAA',
1922
+ get title() {
1923
+ return __('Change Your Post or Page Visibility Settings', __i18n_text_domain__);
1924
+ },
1925
+ get description() {
1926
+ return __('Find out how to change your page or post visibility settings WordPress.com.', __i18n_text_domain__);
1927
+ },
1928
+ },
1929
+ ],
1930
+ media: [
1931
+ {
1932
+ type: RESULT_VIDEO,
1933
+ link: 'https://www.youtube.com/watch?v=VjGnEHyqVqQ',
1934
+ get title() {
1935
+ return __('Add a Photo Gallery', __i18n_text_domain__);
1936
+ },
1937
+ get description() {
1938
+ return __('Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.', __i18n_text_domain__);
1939
+ },
1940
+ },
1941
+ ],
1942
+ themes: [
1943
+ {
1944
+ type: RESULT_VIDEO,
1945
+ link: 'https://www.youtube.com/watch?v=yOfAuOb68Hc',
1946
+ get title() {
1947
+ return __('Change Your Website Theme on WordPress.com', __i18n_text_domain__);
1948
+ },
1949
+ get description() {
1950
+ return __('Find out how to change your WordPress.com theme.', __i18n_text_domain__);
1951
+ },
1952
+ },
1953
+ ],
1954
+ };
1955
+ export const toursForSection = {
1956
+ media: [
1957
+ {
1958
+ type: RESULT_TOUR,
1959
+ tour: 'mediaBasicsTour',
1960
+ key: 'tour:mediaBasicsTour',
1961
+ get title() {
1962
+ return __('Learn Media Library Basics', __i18n_text_domain__);
1963
+ },
1964
+ get description() {
1965
+ return __('The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.', __i18n_text_domain__);
1966
+ },
1967
+ },
1968
+ ],
1969
+ };
1970
+ export function getContextResults(section, siteIntent) {
1971
+ // Posts and Pages have a common help section
1972
+ if (section === 'posts' || section === 'pages') {
1973
+ section = 'posts-pages';
1974
+ }
1975
+ const fallbackLinks = siteIntent === 'write' ? bloggerFallbackLinks : defaultFallbackLinks;
1976
+ // make sure editorially to show at most one tour and one video at once
1977
+ // `first` is a safe-guard in case that fails
1978
+ const video = videosForSection[section]?.[0];
1979
+ const tour = toursForSection[section]?.[0];
1980
+ let links = contextLinksForSection[section] ?? fallbackLinks;
1981
+ // If true, still display fallback links in addition (as opposed to instead
1982
+ // of) the other context links.
1983
+ if (section === 'home' && Array.isArray(links)) {
1984
+ return [tour, video, ...fallbackLinks, ...links].filter(Boolean);
1985
+ }
1986
+ // Remove sell docs if not on a site with the 'sell' intent.
1987
+ if (section === 'gutenberg-editor' && siteIntent !== 'sell' && Array.isArray(links)) {
1988
+ links = links.filter((link) => {
1989
+ return link.intent !== SELL_INTENT;
1990
+ });
1991
+ }
1992
+ return [tour, video, ...links].filter(Boolean);
1993
+ }
1994
+ //# sourceMappingURL=contextual-help.js.map