@jean-is/render 0.8.0-rb7dd9e653b35 → 0.8.0-rc16b69aeba0b

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 (1858) hide show
  1. package/brand.js +3 -2
  2. package/caps/charts/charts.css +5 -2
  3. package/caps/charts/charts.js +58 -28
  4. package/caps/charts/option.js +28 -1
  5. package/caps/files/midi.js +1 -1
  6. package/caps/files/office.js +17 -10
  7. package/caps/files/pdf.js +3 -0
  8. package/caps/games/page.js +1 -1
  9. package/caps/games/shell.js +2 -2
  10. package/caps/interactive/apps.js +14 -7
  11. package/caps/interactive/diagram.js +97 -23
  12. package/caps/interactive/interactive.css +7 -1
  13. package/caps/interactive/interactive.js +58 -18
  14. package/caps/interactive/live.js +96 -0
  15. package/caps/interactive/map.js +30 -4
  16. package/caps/interactive/mode.js +9 -6
  17. package/caps/interactive/page-diagram.js +6 -2
  18. package/caps/interactive/parts.js +20 -12
  19. package/caps/interactive/starts.js +15 -0
  20. package/caps/interactive/test.js +76 -0
  21. package/caps/interactive/view-parts.js +54 -31
  22. package/caps/layouts/layouts.css +7 -8
  23. package/caps/layouts/layouts.js +49 -40
  24. package/caps/layouts/shapes.js +50 -34
  25. package/caps/layouts/types.d.ts +8 -0
  26. package/caps/made/formats.js +84 -46
  27. package/caps/made/paper.js +142 -0
  28. package/caps/math/math.js +2 -2
  29. package/caps/receipt/der.js +1 -1
  30. package/caps/scores/scores.css +7 -7
  31. package/caps/scores/scores.js +44 -52
  32. package/caps/share/view.js +3 -2
  33. package/caps/skills/directory.js +5 -1
  34. package/caps/slides/edit.js +14 -4
  35. package/caps/slides/kit-page.css +8 -2
  36. package/caps/slides/kit-page.js +49 -39
  37. package/caps/slides/kit-sample.js +36 -0
  38. package/caps/slides/kit-slot.js +10 -0
  39. package/caps/slides/kit.js +3 -0
  40. package/caps/slides/save.js +24 -58
  41. package/caps/slides/slides.css +12 -9
  42. package/caps/slides/slides.js +24 -24
  43. package/caps/tables/formula.js +133 -0
  44. package/core/anthropic.js +10 -10
  45. package/core/conversations.js +2 -4
  46. package/core/deferred.js +38 -17
  47. package/core/events.js +4 -4
  48. package/core/files.js +2 -2
  49. package/core/fs.js +23 -85
  50. package/core/hooks.js +5 -5
  51. package/core/i18n.js +23 -20
  52. package/core/llm.js +47 -55
  53. package/core/loop.js +24 -22
  54. package/core/oauth.js +31 -0
  55. package/core/rules.js +1 -1
  56. package/core/search.js +1 -1
  57. package/core/settings.js +7 -61
  58. package/core/skills.js +2 -2
  59. package/core/vertex.js +37 -0
  60. package/core/zip.js +1 -1
  61. package/locales/am.json +41 -21
  62. package/locales/approvals/am.json +2 -3
  63. package/locales/approvals/ar.json +2 -3
  64. package/locales/approvals/bg.json +2 -3
  65. package/locales/approvals/bn.json +2 -3
  66. package/locales/approvals/br.json +8 -9
  67. package/locales/approvals/co.json +19 -20
  68. package/locales/approvals/cs.json +2 -3
  69. package/locales/approvals/da.json +2 -3
  70. package/locales/approvals/de.json +7 -8
  71. package/locales/approvals/el.json +2 -3
  72. package/locales/approvals/en.json +4 -5
  73. package/locales/approvals/es.json +8 -9
  74. package/locales/approvals/fa.json +2 -3
  75. package/locales/approvals/fi.json +2 -3
  76. package/locales/approvals/fr-CA.json +8 -9
  77. package/locales/approvals/fr.json +8 -9
  78. package/locales/approvals/ha.json +2 -3
  79. package/locales/approvals/he.json +2 -3
  80. package/locales/approvals/hi.json +2 -3
  81. package/locales/approvals/hr.json +2 -3
  82. package/locales/approvals/hu.json +2 -3
  83. package/locales/approvals/id.json +2 -3
  84. package/locales/approvals/it.json +11 -12
  85. package/locales/approvals/ja.json +9 -10
  86. package/locales/approvals/ko.json +21 -22
  87. package/locales/approvals/mr.json +2 -3
  88. package/locales/approvals/ms.json +2 -3
  89. package/locales/approvals/nl.json +2 -3
  90. package/locales/approvals/pl.json +2 -3
  91. package/locales/approvals/pt.json +7 -8
  92. package/locales/approvals/ro.json +2 -3
  93. package/locales/approvals/ru.json +2 -3
  94. package/locales/approvals/sk.json +2 -3
  95. package/locales/approvals/sv.json +2 -3
  96. package/locales/approvals/sw.json +2 -3
  97. package/locales/approvals/ta.json +2 -3
  98. package/locales/approvals/te.json +2 -3
  99. package/locales/approvals/th.json +2 -3
  100. package/locales/approvals/tl.json +2 -3
  101. package/locales/approvals/tr.json +2 -3
  102. package/locales/approvals/uk.json +2 -3
  103. package/locales/approvals/ur.json +2 -3
  104. package/locales/approvals/vi.json +2 -3
  105. package/locales/approvals/yo.json +2 -3
  106. package/locales/approvals/zh-Hans.json +6 -7
  107. package/locales/approvals/zh-Hant.json +5 -6
  108. package/locales/ar.json +45 -21
  109. package/locales/backup/de.json +1 -1
  110. package/locales/backup/ko.json +1 -1
  111. package/locales/backup/pt.json +1 -1
  112. package/locales/backup/zh-Hans.json +1 -1
  113. package/locales/bg.json +41 -21
  114. package/locales/bn.json +40 -20
  115. package/locales/br.json +65 -42
  116. package/locales/brain-local/ja.json +1 -1
  117. package/locales/brain-local/pt.json +3 -3
  118. package/locales/brain-local/zh-Hans.json +1 -1
  119. package/locales/brain-local/zh-Hant.json +3 -3
  120. package/locales/brains/am.json +7 -4
  121. package/locales/brains/ar.json +7 -4
  122. package/locales/brains/bg.json +7 -4
  123. package/locales/brains/bn.json +7 -4
  124. package/locales/brains/br.json +16 -13
  125. package/locales/brains/co.json +18 -15
  126. package/locales/brains/cs.json +7 -4
  127. package/locales/brains/da.json +7 -4
  128. package/locales/brains/de.json +13 -10
  129. package/locales/brains/el.json +7 -4
  130. package/locales/brains/en.json +12 -9
  131. package/locales/brains/es.json +20 -17
  132. package/locales/brains/fa.json +7 -4
  133. package/locales/brains/fi.json +7 -4
  134. package/locales/brains/fr-CA.json +14 -11
  135. package/locales/brains/fr.json +14 -11
  136. package/locales/brains/ha.json +7 -4
  137. package/locales/brains/he.json +7 -4
  138. package/locales/brains/hi.json +7 -4
  139. package/locales/brains/hr.json +7 -4
  140. package/locales/brains/hu.json +7 -4
  141. package/locales/brains/id.json +7 -4
  142. package/locales/brains/it.json +14 -11
  143. package/locales/brains/ja.json +15 -12
  144. package/locales/brains/ko.json +16 -13
  145. package/locales/brains/mr.json +7 -4
  146. package/locales/brains/ms.json +7 -4
  147. package/locales/brains/nl.json +7 -4
  148. package/locales/brains/pl.json +7 -4
  149. package/locales/brains/pt.json +16 -13
  150. package/locales/brains/ro.json +7 -4
  151. package/locales/brains/ru.json +7 -4
  152. package/locales/brains/sk.json +7 -4
  153. package/locales/brains/sv.json +7 -4
  154. package/locales/brains/sw.json +7 -4
  155. package/locales/brains/ta.json +7 -4
  156. package/locales/brains/te.json +7 -4
  157. package/locales/brains/th.json +7 -4
  158. package/locales/brains/tl.json +7 -4
  159. package/locales/brains/tr.json +7 -4
  160. package/locales/brains/uk.json +7 -4
  161. package/locales/brains/ur.json +7 -4
  162. package/locales/brains/vi.json +7 -4
  163. package/locales/brains/yo.json +7 -4
  164. package/locales/brains/zh-Hans.json +13 -10
  165. package/locales/brains/zh-Hant.json +20 -17
  166. package/locales/browser/co.json +2 -2
  167. package/locales/browser/es.json +1 -1
  168. package/locales/browser/it.json +1 -1
  169. package/locales/browser/ja.json +2 -2
  170. package/locales/browser/ko.json +6 -6
  171. package/locales/browser/pt.json +2 -2
  172. package/locales/camera/br.json +1 -1
  173. package/locales/camera/co.json +1 -1
  174. package/locales/camera/de.json +1 -1
  175. package/locales/camera/it.json +1 -1
  176. package/locales/camera/ja.json +2 -2
  177. package/locales/camera/ko.json +2 -2
  178. package/locales/camera/zh-Hant.json +1 -1
  179. package/locales/case/br.json +1 -1
  180. package/locales/case/co.json +10 -10
  181. package/locales/case/de.json +1 -1
  182. package/locales/case/es.json +6 -6
  183. package/locales/case/fr-CA.json +9 -9
  184. package/locales/case/fr.json +9 -9
  185. package/locales/case/it.json +8 -8
  186. package/locales/case/ja.json +6 -6
  187. package/locales/case/ko.json +1 -1
  188. package/locales/case/pt.json +8 -8
  189. package/locales/case/zh-Hant.json +1 -1
  190. package/locales/certificates/co.json +7 -7
  191. package/locales/certificates/es.json +2 -2
  192. package/locales/certificates/fr-CA.json +7 -7
  193. package/locales/certificates/fr.json +7 -7
  194. package/locales/certificates/it.json +3 -3
  195. package/locales/certificates/ja.json +2 -2
  196. package/locales/certificates/ko.json +1 -1
  197. package/locales/certificates/pt.json +2 -2
  198. package/locales/certificates/zh-Hans.json +5 -5
  199. package/locales/certificates/zh-Hant.json +6 -6
  200. package/locales/charts/am.json +2 -0
  201. package/locales/charts/ar.json +2 -0
  202. package/locales/charts/bg.json +2 -0
  203. package/locales/charts/bn.json +2 -0
  204. package/locales/charts/br.json +2 -0
  205. package/locales/charts/co.json +2 -0
  206. package/locales/charts/cs.json +2 -0
  207. package/locales/charts/da.json +2 -0
  208. package/locales/charts/de.json +3 -1
  209. package/locales/charts/el.json +2 -0
  210. package/locales/charts/en.json +2 -0
  211. package/locales/charts/es.json +2 -0
  212. package/locales/charts/fa.json +2 -0
  213. package/locales/charts/fi.json +2 -0
  214. package/locales/charts/fr-CA.json +2 -0
  215. package/locales/charts/fr.json +2 -0
  216. package/locales/charts/ha.json +2 -0
  217. package/locales/charts/he.json +2 -0
  218. package/locales/charts/hi.json +2 -0
  219. package/locales/charts/hr.json +2 -0
  220. package/locales/charts/hu.json +2 -0
  221. package/locales/charts/id.json +2 -0
  222. package/locales/charts/it.json +2 -0
  223. package/locales/charts/ja.json +2 -0
  224. package/locales/charts/ko.json +3 -1
  225. package/locales/charts/mr.json +2 -0
  226. package/locales/charts/ms.json +2 -0
  227. package/locales/charts/nl.json +2 -0
  228. package/locales/charts/pl.json +2 -0
  229. package/locales/charts/pt.json +2 -0
  230. package/locales/charts/ro.json +2 -0
  231. package/locales/charts/ru.json +2 -0
  232. package/locales/charts/sk.json +2 -0
  233. package/locales/charts/sv.json +2 -0
  234. package/locales/charts/sw.json +2 -0
  235. package/locales/charts/ta.json +2 -0
  236. package/locales/charts/te.json +2 -0
  237. package/locales/charts/th.json +2 -0
  238. package/locales/charts/tl.json +2 -0
  239. package/locales/charts/tr.json +2 -0
  240. package/locales/charts/uk.json +2 -0
  241. package/locales/charts/ur.json +2 -0
  242. package/locales/charts/vi.json +2 -0
  243. package/locales/charts/yo.json +2 -0
  244. package/locales/charts/zh-Hans.json +2 -0
  245. package/locales/charts/zh-Hant.json +2 -0
  246. package/locales/co.json +55 -34
  247. package/locales/compact/es.json +1 -1
  248. package/locales/compact/fr-CA.json +1 -1
  249. package/locales/compact/fr.json +1 -1
  250. package/locales/compact/it.json +1 -1
  251. package/locales/compact/pt.json +2 -2
  252. package/locales/computer/br.json +8 -8
  253. package/locales/computer/co.json +14 -14
  254. package/locales/computer/de.json +4 -4
  255. package/locales/computer/en.json +6 -6
  256. package/locales/computer/es.json +10 -10
  257. package/locales/computer/fr-CA.json +17 -17
  258. package/locales/computer/fr.json +17 -17
  259. package/locales/computer/it.json +9 -9
  260. package/locales/computer/ja.json +8 -8
  261. package/locales/computer/ko.json +14 -14
  262. package/locales/computer/pt.json +10 -10
  263. package/locales/computer/zh-Hans.json +8 -8
  264. package/locales/computer/zh-Hant.json +9 -9
  265. package/locales/connections/am.json +4 -2
  266. package/locales/connections/ar.json +4 -2
  267. package/locales/connections/bg.json +4 -2
  268. package/locales/connections/bn.json +4 -2
  269. package/locales/connections/br.json +5 -3
  270. package/locales/connections/co.json +17 -15
  271. package/locales/connections/cs.json +4 -2
  272. package/locales/connections/da.json +4 -2
  273. package/locales/connections/de.json +4 -2
  274. package/locales/connections/el.json +4 -2
  275. package/locales/connections/en.json +5 -3
  276. package/locales/connections/es.json +7 -5
  277. package/locales/connections/fa.json +4 -2
  278. package/locales/connections/fi.json +4 -2
  279. package/locales/connections/fr-CA.json +5 -3
  280. package/locales/connections/fr.json +5 -3
  281. package/locales/connections/ha.json +4 -2
  282. package/locales/connections/he.json +4 -2
  283. package/locales/connections/hi.json +4 -2
  284. package/locales/connections/hr.json +4 -2
  285. package/locales/connections/hu.json +4 -2
  286. package/locales/connections/id.json +4 -2
  287. package/locales/connections/it.json +13 -11
  288. package/locales/connections/ja.json +28 -26
  289. package/locales/connections/ko.json +7 -5
  290. package/locales/connections/mr.json +4 -2
  291. package/locales/connections/ms.json +4 -2
  292. package/locales/connections/nl.json +4 -2
  293. package/locales/connections/pl.json +4 -2
  294. package/locales/connections/pt.json +10 -8
  295. package/locales/connections/ro.json +4 -2
  296. package/locales/connections/ru.json +4 -2
  297. package/locales/connections/sk.json +4 -2
  298. package/locales/connections/sv.json +4 -2
  299. package/locales/connections/sw.json +4 -2
  300. package/locales/connections/ta.json +4 -2
  301. package/locales/connections/te.json +4 -2
  302. package/locales/connections/th.json +4 -2
  303. package/locales/connections/tl.json +4 -2
  304. package/locales/connections/tr.json +4 -2
  305. package/locales/connections/uk.json +4 -2
  306. package/locales/connections/ur.json +4 -2
  307. package/locales/connections/vi.json +4 -2
  308. package/locales/connections/yo.json +4 -2
  309. package/locales/connections/zh-Hans.json +10 -8
  310. package/locales/connections/zh-Hant.json +23 -21
  311. package/locales/creations/am.json +4 -0
  312. package/locales/creations/ar.json +4 -0
  313. package/locales/creations/bg.json +4 -0
  314. package/locales/creations/bn.json +4 -0
  315. package/locales/creations/br.json +18 -14
  316. package/locales/creations/co.json +15 -11
  317. package/locales/creations/cs.json +4 -0
  318. package/locales/creations/da.json +4 -0
  319. package/locales/creations/de.json +5 -1
  320. package/locales/creations/el.json +4 -0
  321. package/locales/creations/en.json +5 -1
  322. package/locales/creations/es.json +13 -9
  323. package/locales/creations/fa.json +4 -0
  324. package/locales/creations/fi.json +4 -0
  325. package/locales/creations/fr-CA.json +5 -1
  326. package/locales/creations/fr.json +13 -9
  327. package/locales/creations/ha.json +4 -0
  328. package/locales/creations/he.json +4 -0
  329. package/locales/creations/hi.json +4 -0
  330. package/locales/creations/hr.json +4 -0
  331. package/locales/creations/hu.json +4 -0
  332. package/locales/creations/id.json +4 -0
  333. package/locales/creations/it.json +12 -8
  334. package/locales/creations/ja.json +5 -1
  335. package/locales/creations/ko.json +5 -1
  336. package/locales/creations/mr.json +4 -0
  337. package/locales/creations/ms.json +4 -0
  338. package/locales/creations/nl.json +4 -0
  339. package/locales/creations/pl.json +4 -0
  340. package/locales/creations/pt.json +12 -8
  341. package/locales/creations/ro.json +4 -0
  342. package/locales/creations/ru.json +4 -0
  343. package/locales/creations/sk.json +4 -0
  344. package/locales/creations/sv.json +4 -0
  345. package/locales/creations/sw.json +4 -0
  346. package/locales/creations/ta.json +4 -0
  347. package/locales/creations/te.json +4 -0
  348. package/locales/creations/th.json +4 -0
  349. package/locales/creations/tl.json +4 -0
  350. package/locales/creations/tr.json +4 -0
  351. package/locales/creations/uk.json +4 -0
  352. package/locales/creations/ur.json +4 -0
  353. package/locales/creations/vi.json +4 -0
  354. package/locales/creations/yo.json +4 -0
  355. package/locales/creations/zh-Hans.json +5 -1
  356. package/locales/creations/zh-Hant.json +5 -1
  357. package/locales/cs.json +43 -21
  358. package/locales/da.json +40 -20
  359. package/locales/data/am.json +5 -1
  360. package/locales/data/ar.json +5 -1
  361. package/locales/data/bg.json +5 -1
  362. package/locales/data/bn.json +5 -1
  363. package/locales/data/br.json +7 -3
  364. package/locales/data/co.json +8 -4
  365. package/locales/data/cs.json +5 -1
  366. package/locales/data/da.json +5 -1
  367. package/locales/data/de.json +5 -1
  368. package/locales/data/el.json +5 -1
  369. package/locales/data/en.json +5 -1
  370. package/locales/data/es.json +9 -5
  371. package/locales/data/fa.json +5 -1
  372. package/locales/data/fi.json +5 -1
  373. package/locales/data/fr-CA.json +5 -1
  374. package/locales/data/fr.json +5 -1
  375. package/locales/data/ha.json +5 -1
  376. package/locales/data/he.json +5 -1
  377. package/locales/data/hi.json +5 -1
  378. package/locales/data/hr.json +5 -1
  379. package/locales/data/hu.json +5 -1
  380. package/locales/data/id.json +5 -1
  381. package/locales/data/it.json +6 -2
  382. package/locales/data/ja.json +13 -9
  383. package/locales/data/ko.json +7 -3
  384. package/locales/data/mr.json +5 -1
  385. package/locales/data/ms.json +5 -1
  386. package/locales/data/nl.json +5 -1
  387. package/locales/data/pl.json +5 -1
  388. package/locales/data/pt.json +10 -6
  389. package/locales/data/ro.json +5 -1
  390. package/locales/data/ru.json +5 -1
  391. package/locales/data/sk.json +5 -1
  392. package/locales/data/sv.json +5 -1
  393. package/locales/data/sw.json +5 -1
  394. package/locales/data/ta.json +5 -1
  395. package/locales/data/te.json +5 -1
  396. package/locales/data/th.json +5 -1
  397. package/locales/data/tl.json +5 -1
  398. package/locales/data/tr.json +5 -1
  399. package/locales/data/uk.json +5 -1
  400. package/locales/data/ur.json +5 -1
  401. package/locales/data/vi.json +5 -1
  402. package/locales/data/yo.json +5 -1
  403. package/locales/data/zh-Hans.json +7 -3
  404. package/locales/data/zh-Hant.json +9 -5
  405. package/locales/de.json +56 -36
  406. package/locales/designs/am.json +0 -13
  407. package/locales/designs/ar.json +0 -13
  408. package/locales/designs/bg.json +0 -13
  409. package/locales/designs/bn.json +0 -13
  410. package/locales/designs/br.json +9 -22
  411. package/locales/designs/co.json +8 -21
  412. package/locales/designs/cs.json +0 -13
  413. package/locales/designs/da.json +0 -13
  414. package/locales/designs/de.json +1 -14
  415. package/locales/designs/el.json +0 -13
  416. package/locales/designs/en.json +3 -16
  417. package/locales/designs/es.json +0 -13
  418. package/locales/designs/fa.json +0 -13
  419. package/locales/designs/fi.json +0 -13
  420. package/locales/designs/fr-CA.json +4 -17
  421. package/locales/designs/fr.json +5 -18
  422. package/locales/designs/ha.json +0 -13
  423. package/locales/designs/he.json +0 -13
  424. package/locales/designs/hi.json +0 -13
  425. package/locales/designs/hr.json +0 -13
  426. package/locales/designs/hu.json +0 -13
  427. package/locales/designs/id.json +0 -13
  428. package/locales/designs/it.json +6 -19
  429. package/locales/designs/ja.json +10 -23
  430. package/locales/designs/ko.json +6 -19
  431. package/locales/designs/mr.json +0 -13
  432. package/locales/designs/ms.json +0 -13
  433. package/locales/designs/nl.json +0 -13
  434. package/locales/designs/pl.json +0 -13
  435. package/locales/designs/pt.json +3 -16
  436. package/locales/designs/ro.json +0 -13
  437. package/locales/designs/ru.json +0 -13
  438. package/locales/designs/sk.json +0 -13
  439. package/locales/designs/sv.json +0 -13
  440. package/locales/designs/sw.json +0 -13
  441. package/locales/designs/ta.json +0 -13
  442. package/locales/designs/te.json +0 -13
  443. package/locales/designs/th.json +0 -13
  444. package/locales/designs/tl.json +0 -13
  445. package/locales/designs/tr.json +0 -13
  446. package/locales/designs/uk.json +0 -13
  447. package/locales/designs/ur.json +0 -13
  448. package/locales/designs/vi.json +0 -13
  449. package/locales/designs/yo.json +0 -13
  450. package/locales/designs/zh-Hans.json +1 -14
  451. package/locales/designs/zh-Hant.json +1 -14
  452. package/locales/devices/am.json +79 -0
  453. package/locales/devices/ar.json +87 -0
  454. package/locales/devices/bg.json +79 -0
  455. package/locales/devices/bn.json +79 -0
  456. package/locales/devices/br.json +85 -0
  457. package/locales/devices/co.json +81 -0
  458. package/locales/devices/cs.json +83 -0
  459. package/locales/devices/da.json +79 -0
  460. package/locales/devices/de.json +79 -0
  461. package/locales/devices/el.json +79 -0
  462. package/locales/devices/en.json +79 -0
  463. package/locales/devices/es.json +81 -0
  464. package/locales/devices/fa.json +79 -0
  465. package/locales/devices/fi.json +79 -0
  466. package/locales/devices/fr-CA.json +81 -0
  467. package/locales/devices/fr.json +81 -0
  468. package/locales/devices/ha.json +79 -0
  469. package/locales/devices/he.json +81 -0
  470. package/locales/devices/hi.json +79 -0
  471. package/locales/devices/hr.json +81 -0
  472. package/locales/devices/hu.json +79 -0
  473. package/locales/devices/id.json +77 -0
  474. package/locales/devices/it.json +81 -0
  475. package/locales/devices/ja.json +77 -0
  476. package/locales/devices/ko.json +77 -0
  477. package/locales/devices/mr.json +79 -0
  478. package/locales/devices/ms.json +77 -0
  479. package/locales/devices/nl.json +79 -0
  480. package/locales/devices/pl.json +83 -0
  481. package/locales/devices/pt.json +81 -0
  482. package/locales/devices/ro.json +81 -0
  483. package/locales/devices/ru.json +83 -0
  484. package/locales/devices/sk.json +83 -0
  485. package/locales/devices/sv.json +79 -0
  486. package/locales/devices/sw.json +79 -0
  487. package/locales/devices/ta.json +79 -0
  488. package/locales/devices/te.json +79 -0
  489. package/locales/devices/th.json +77 -0
  490. package/locales/devices/tl.json +79 -0
  491. package/locales/devices/tr.json +79 -0
  492. package/locales/devices/uk.json +83 -0
  493. package/locales/devices/ur.json +79 -0
  494. package/locales/devices/vi.json +77 -0
  495. package/locales/devices/yo.json +77 -0
  496. package/locales/devices/zh-Hans.json +77 -0
  497. package/locales/devices/zh-Hant.json +77 -0
  498. package/locales/dialogs/am.json +20 -11
  499. package/locales/dialogs/ar.json +20 -11
  500. package/locales/dialogs/bg.json +20 -11
  501. package/locales/dialogs/bn.json +20 -11
  502. package/locales/dialogs/br.json +39 -30
  503. package/locales/dialogs/co.json +39 -30
  504. package/locales/dialogs/cs.json +20 -11
  505. package/locales/dialogs/da.json +20 -11
  506. package/locales/dialogs/de.json +33 -24
  507. package/locales/dialogs/el.json +20 -11
  508. package/locales/dialogs/en.json +28 -19
  509. package/locales/dialogs/es.json +48 -39
  510. package/locales/dialogs/fa.json +20 -11
  511. package/locales/dialogs/fi.json +20 -11
  512. package/locales/dialogs/fr-CA.json +37 -28
  513. package/locales/dialogs/fr.json +37 -28
  514. package/locales/dialogs/ha.json +20 -11
  515. package/locales/dialogs/he.json +20 -11
  516. package/locales/dialogs/hi.json +20 -11
  517. package/locales/dialogs/hr.json +20 -11
  518. package/locales/dialogs/hu.json +20 -11
  519. package/locales/dialogs/id.json +20 -11
  520. package/locales/dialogs/it.json +42 -33
  521. package/locales/dialogs/ja.json +72 -63
  522. package/locales/dialogs/ko.json +43 -34
  523. package/locales/dialogs/mr.json +20 -11
  524. package/locales/dialogs/ms.json +20 -11
  525. package/locales/dialogs/nl.json +20 -11
  526. package/locales/dialogs/pl.json +20 -11
  527. package/locales/dialogs/pt.json +46 -37
  528. package/locales/dialogs/ro.json +20 -11
  529. package/locales/dialogs/ru.json +20 -11
  530. package/locales/dialogs/sk.json +20 -11
  531. package/locales/dialogs/sv.json +20 -11
  532. package/locales/dialogs/sw.json +20 -11
  533. package/locales/dialogs/ta.json +20 -11
  534. package/locales/dialogs/te.json +20 -11
  535. package/locales/dialogs/th.json +20 -11
  536. package/locales/dialogs/tl.json +20 -11
  537. package/locales/dialogs/tr.json +20 -11
  538. package/locales/dialogs/uk.json +20 -11
  539. package/locales/dialogs/ur.json +20 -11
  540. package/locales/dialogs/vi.json +20 -11
  541. package/locales/dialogs/yo.json +20 -11
  542. package/locales/dialogs/zh-Hans.json +41 -32
  543. package/locales/dialogs/zh-Hant.json +49 -40
  544. package/locales/documents/am.json +16 -2
  545. package/locales/documents/ar.json +16 -2
  546. package/locales/documents/bg.json +16 -2
  547. package/locales/documents/bn.json +16 -2
  548. package/locales/documents/br.json +16 -2
  549. package/locales/documents/co.json +18 -4
  550. package/locales/documents/cs.json +16 -2
  551. package/locales/documents/da.json +16 -2
  552. package/locales/documents/de.json +18 -4
  553. package/locales/documents/el.json +16 -2
  554. package/locales/documents/en.json +17 -3
  555. package/locales/documents/es.json +17 -3
  556. package/locales/documents/fa.json +16 -2
  557. package/locales/documents/fi.json +16 -2
  558. package/locales/documents/fr-CA.json +17 -3
  559. package/locales/documents/fr.json +17 -3
  560. package/locales/documents/ha.json +16 -2
  561. package/locales/documents/he.json +16 -2
  562. package/locales/documents/hi.json +16 -2
  563. package/locales/documents/hr.json +16 -2
  564. package/locales/documents/hu.json +16 -2
  565. package/locales/documents/id.json +16 -2
  566. package/locales/documents/it.json +17 -3
  567. package/locales/documents/ja.json +30 -16
  568. package/locales/documents/ko.json +17 -3
  569. package/locales/documents/mr.json +16 -2
  570. package/locales/documents/ms.json +16 -2
  571. package/locales/documents/nl.json +16 -2
  572. package/locales/documents/pl.json +16 -2
  573. package/locales/documents/pt.json +20 -6
  574. package/locales/documents/ro.json +16 -2
  575. package/locales/documents/ru.json +16 -2
  576. package/locales/documents/sk.json +16 -2
  577. package/locales/documents/sv.json +16 -2
  578. package/locales/documents/sw.json +16 -2
  579. package/locales/documents/ta.json +16 -2
  580. package/locales/documents/te.json +16 -2
  581. package/locales/documents/th.json +16 -2
  582. package/locales/documents/tl.json +16 -2
  583. package/locales/documents/tr.json +16 -2
  584. package/locales/documents/uk.json +16 -2
  585. package/locales/documents/ur.json +16 -2
  586. package/locales/documents/vi.json +16 -2
  587. package/locales/documents/yo.json +16 -2
  588. package/locales/documents/zh-Hans.json +18 -4
  589. package/locales/documents/zh-Hant.json +18 -4
  590. package/locales/el.json +41 -21
  591. package/locales/en.json +47 -27
  592. package/locales/enterprise/am.json +29 -1
  593. package/locales/enterprise/ar.json +29 -1
  594. package/locales/enterprise/bg.json +29 -1
  595. package/locales/enterprise/bn.json +29 -1
  596. package/locales/enterprise/br.json +31 -3
  597. package/locales/enterprise/co.json +30 -2
  598. package/locales/enterprise/cs.json +29 -1
  599. package/locales/enterprise/da.json +29 -1
  600. package/locales/enterprise/de.json +30 -2
  601. package/locales/enterprise/el.json +29 -1
  602. package/locales/enterprise/en.json +30 -2
  603. package/locales/enterprise/es.json +30 -2
  604. package/locales/enterprise/fa.json +29 -1
  605. package/locales/enterprise/fi.json +29 -1
  606. package/locales/enterprise/fr-CA.json +31 -3
  607. package/locales/enterprise/fr.json +31 -3
  608. package/locales/enterprise/ha.json +29 -1
  609. package/locales/enterprise/he.json +29 -1
  610. package/locales/enterprise/hi.json +29 -1
  611. package/locales/enterprise/hr.json +29 -1
  612. package/locales/enterprise/hu.json +29 -1
  613. package/locales/enterprise/id.json +29 -1
  614. package/locales/enterprise/it.json +31 -3
  615. package/locales/enterprise/ja.json +37 -9
  616. package/locales/enterprise/ko.json +30 -2
  617. package/locales/enterprise/mr.json +29 -1
  618. package/locales/enterprise/ms.json +29 -1
  619. package/locales/enterprise/nl.json +29 -1
  620. package/locales/enterprise/pl.json +29 -1
  621. package/locales/enterprise/pt.json +30 -2
  622. package/locales/enterprise/ro.json +29 -1
  623. package/locales/enterprise/ru.json +29 -1
  624. package/locales/enterprise/sk.json +29 -1
  625. package/locales/enterprise/sv.json +29 -1
  626. package/locales/enterprise/sw.json +29 -1
  627. package/locales/enterprise/ta.json +29 -1
  628. package/locales/enterprise/te.json +29 -1
  629. package/locales/enterprise/th.json +29 -1
  630. package/locales/enterprise/tl.json +29 -1
  631. package/locales/enterprise/tr.json +29 -1
  632. package/locales/enterprise/uk.json +29 -1
  633. package/locales/enterprise/ur.json +29 -1
  634. package/locales/enterprise/vi.json +29 -1
  635. package/locales/enterprise/yo.json +29 -1
  636. package/locales/enterprise/zh-Hans.json +38 -10
  637. package/locales/enterprise/zh-Hant.json +38 -10
  638. package/locales/es.json +56 -35
  639. package/locales/extensions/am.json +2 -1
  640. package/locales/extensions/ar.json +2 -1
  641. package/locales/extensions/bg.json +2 -1
  642. package/locales/extensions/bn.json +2 -1
  643. package/locales/extensions/br.json +12 -11
  644. package/locales/extensions/co.json +8 -7
  645. package/locales/extensions/cs.json +2 -1
  646. package/locales/extensions/da.json +2 -1
  647. package/locales/extensions/de.json +3 -2
  648. package/locales/extensions/el.json +2 -1
  649. package/locales/extensions/en.json +3 -2
  650. package/locales/extensions/es.json +4 -3
  651. package/locales/extensions/fa.json +2 -1
  652. package/locales/extensions/fi.json +2 -1
  653. package/locales/extensions/fr-CA.json +7 -6
  654. package/locales/extensions/fr.json +7 -6
  655. package/locales/extensions/ha.json +2 -1
  656. package/locales/extensions/he.json +2 -1
  657. package/locales/extensions/hi.json +2 -1
  658. package/locales/extensions/hr.json +2 -1
  659. package/locales/extensions/hu.json +2 -1
  660. package/locales/extensions/id.json +2 -1
  661. package/locales/extensions/it.json +5 -4
  662. package/locales/extensions/ja.json +7 -6
  663. package/locales/extensions/ko.json +24 -23
  664. package/locales/extensions/mr.json +2 -1
  665. package/locales/extensions/ms.json +2 -1
  666. package/locales/extensions/nl.json +2 -1
  667. package/locales/extensions/pl.json +2 -1
  668. package/locales/extensions/pt.json +5 -4
  669. package/locales/extensions/ro.json +2 -1
  670. package/locales/extensions/ru.json +2 -1
  671. package/locales/extensions/sk.json +2 -1
  672. package/locales/extensions/sv.json +2 -1
  673. package/locales/extensions/sw.json +2 -1
  674. package/locales/extensions/ta.json +2 -1
  675. package/locales/extensions/te.json +2 -1
  676. package/locales/extensions/th.json +2 -1
  677. package/locales/extensions/tl.json +2 -1
  678. package/locales/extensions/tr.json +2 -1
  679. package/locales/extensions/uk.json +2 -1
  680. package/locales/extensions/ur.json +2 -1
  681. package/locales/extensions/vi.json +2 -1
  682. package/locales/extensions/yo.json +2 -1
  683. package/locales/extensions/zh-Hans.json +5 -4
  684. package/locales/extensions/zh-Hant.json +9 -8
  685. package/locales/fa.json +40 -20
  686. package/locales/feedback/am.json +7 -0
  687. package/locales/feedback/ar.json +7 -0
  688. package/locales/feedback/bg.json +7 -0
  689. package/locales/feedback/bn.json +7 -0
  690. package/locales/feedback/br.json +7 -0
  691. package/locales/feedback/co.json +7 -0
  692. package/locales/feedback/cs.json +7 -0
  693. package/locales/feedback/da.json +7 -0
  694. package/locales/feedback/de.json +7 -0
  695. package/locales/feedback/el.json +7 -0
  696. package/locales/feedback/en.json +7 -0
  697. package/locales/feedback/es.json +7 -0
  698. package/locales/feedback/fa.json +7 -0
  699. package/locales/feedback/fi.json +7 -0
  700. package/locales/feedback/fr-CA.json +7 -0
  701. package/locales/feedback/fr.json +7 -0
  702. package/locales/feedback/ha.json +7 -0
  703. package/locales/feedback/he.json +7 -0
  704. package/locales/feedback/hi.json +7 -0
  705. package/locales/feedback/hr.json +7 -0
  706. package/locales/feedback/hu.json +7 -0
  707. package/locales/feedback/id.json +7 -0
  708. package/locales/feedback/it.json +7 -0
  709. package/locales/feedback/ja.json +7 -0
  710. package/locales/feedback/ko.json +7 -0
  711. package/locales/feedback/mr.json +7 -0
  712. package/locales/feedback/ms.json +7 -0
  713. package/locales/feedback/nl.json +7 -0
  714. package/locales/feedback/pl.json +7 -0
  715. package/locales/feedback/pt.json +7 -0
  716. package/locales/feedback/ro.json +7 -0
  717. package/locales/feedback/ru.json +7 -0
  718. package/locales/feedback/sk.json +7 -0
  719. package/locales/feedback/sv.json +7 -0
  720. package/locales/feedback/sw.json +7 -0
  721. package/locales/feedback/ta.json +7 -0
  722. package/locales/feedback/te.json +7 -0
  723. package/locales/feedback/th.json +7 -0
  724. package/locales/feedback/tl.json +7 -0
  725. package/locales/feedback/tr.json +7 -0
  726. package/locales/feedback/uk.json +7 -0
  727. package/locales/feedback/ur.json +7 -0
  728. package/locales/feedback/vi.json +7 -0
  729. package/locales/feedback/yo.json +7 -0
  730. package/locales/feedback/zh-Hans.json +7 -0
  731. package/locales/feedback/zh-Hant.json +7 -0
  732. package/locales/fi.json +41 -21
  733. package/locales/files/am.json +10 -0
  734. package/locales/files/ar.json +10 -0
  735. package/locales/files/bg.json +10 -0
  736. package/locales/files/bn.json +10 -0
  737. package/locales/files/br.json +10 -0
  738. package/locales/files/co.json +10 -0
  739. package/locales/files/cs.json +10 -0
  740. package/locales/files/da.json +10 -0
  741. package/locales/files/de.json +10 -0
  742. package/locales/files/el.json +10 -0
  743. package/locales/files/en.json +10 -0
  744. package/locales/files/es.json +10 -0
  745. package/locales/files/fa.json +10 -0
  746. package/locales/files/fi.json +10 -0
  747. package/locales/files/fr-CA.json +10 -0
  748. package/locales/files/fr.json +10 -0
  749. package/locales/files/ha.json +10 -0
  750. package/locales/files/he.json +10 -0
  751. package/locales/files/hi.json +10 -0
  752. package/locales/files/hr.json +10 -0
  753. package/locales/files/hu.json +10 -0
  754. package/locales/files/id.json +10 -0
  755. package/locales/files/it.json +10 -0
  756. package/locales/files/ja.json +10 -0
  757. package/locales/files/ko.json +10 -0
  758. package/locales/files/mr.json +10 -0
  759. package/locales/files/ms.json +10 -0
  760. package/locales/files/nl.json +10 -0
  761. package/locales/files/pl.json +10 -0
  762. package/locales/files/pt.json +10 -0
  763. package/locales/files/ro.json +10 -0
  764. package/locales/files/ru.json +10 -0
  765. package/locales/files/sk.json +10 -0
  766. package/locales/files/sv.json +10 -0
  767. package/locales/files/sw.json +10 -0
  768. package/locales/files/ta.json +10 -0
  769. package/locales/files/te.json +10 -0
  770. package/locales/files/th.json +10 -0
  771. package/locales/files/tl.json +10 -0
  772. package/locales/files/tr.json +10 -0
  773. package/locales/files/uk.json +10 -0
  774. package/locales/files/ur.json +10 -0
  775. package/locales/files/vi.json +10 -0
  776. package/locales/files/yo.json +10 -0
  777. package/locales/files/zh-Hans.json +10 -0
  778. package/locales/files/zh-Hant.json +10 -0
  779. package/locales/first/br.json +5 -5
  780. package/locales/first/co.json +1 -1
  781. package/locales/first/es.json +4 -4
  782. package/locales/first/fr-CA.json +1 -1
  783. package/locales/first/fr.json +1 -1
  784. package/locales/first/it.json +1 -1
  785. package/locales/first/ja.json +7 -7
  786. package/locales/first/ko.json +3 -3
  787. package/locales/first/pt.json +3 -3
  788. package/locales/first/zh-Hans.json +2 -2
  789. package/locales/first/zh-Hant.json +3 -3
  790. package/locales/flows/am.json +3 -0
  791. package/locales/flows/ar.json +3 -0
  792. package/locales/flows/bg.json +3 -0
  793. package/locales/flows/bn.json +3 -0
  794. package/locales/flows/br.json +10 -7
  795. package/locales/flows/co.json +7 -4
  796. package/locales/flows/cs.json +3 -0
  797. package/locales/flows/da.json +3 -0
  798. package/locales/flows/de.json +5 -2
  799. package/locales/flows/el.json +3 -0
  800. package/locales/flows/en.json +3 -0
  801. package/locales/flows/es.json +5 -2
  802. package/locales/flows/fa.json +3 -0
  803. package/locales/flows/fi.json +3 -0
  804. package/locales/flows/fr-CA.json +6 -3
  805. package/locales/flows/fr.json +6 -3
  806. package/locales/flows/ha.json +3 -0
  807. package/locales/flows/he.json +3 -0
  808. package/locales/flows/hi.json +3 -0
  809. package/locales/flows/hr.json +3 -0
  810. package/locales/flows/hu.json +3 -0
  811. package/locales/flows/id.json +3 -0
  812. package/locales/flows/it.json +5 -2
  813. package/locales/flows/ja.json +7 -4
  814. package/locales/flows/ko.json +10 -7
  815. package/locales/flows/mr.json +3 -0
  816. package/locales/flows/ms.json +3 -0
  817. package/locales/flows/nl.json +3 -0
  818. package/locales/flows/pl.json +3 -0
  819. package/locales/flows/pt.json +9 -6
  820. package/locales/flows/ro.json +3 -0
  821. package/locales/flows/ru.json +3 -0
  822. package/locales/flows/sk.json +3 -0
  823. package/locales/flows/sv.json +3 -0
  824. package/locales/flows/sw.json +3 -0
  825. package/locales/flows/ta.json +3 -0
  826. package/locales/flows/te.json +3 -0
  827. package/locales/flows/th.json +3 -0
  828. package/locales/flows/tl.json +3 -0
  829. package/locales/flows/tr.json +3 -0
  830. package/locales/flows/uk.json +3 -0
  831. package/locales/flows/ur.json +3 -0
  832. package/locales/flows/vi.json +3 -0
  833. package/locales/flows/yo.json +3 -0
  834. package/locales/flows/zh-Hans.json +8 -5
  835. package/locales/flows/zh-Hant.json +11 -8
  836. package/locales/folders/br.json +4 -4
  837. package/locales/folders/de.json +1 -1
  838. package/locales/folders/es.json +2 -2
  839. package/locales/folders/ja.json +2 -2
  840. package/locales/folders/ko.json +3 -3
  841. package/locales/folders/pt.json +2 -2
  842. package/locales/folders/zh-Hans.json +2 -2
  843. package/locales/folders/zh-Hant.json +7 -7
  844. package/locales/fr-CA.json +75 -54
  845. package/locales/fr.json +72 -51
  846. package/locales/games/br.json +2 -2
  847. package/locales/ha.json +40 -20
  848. package/locales/he.json +41 -20
  849. package/locales/hi.json +40 -20
  850. package/locales/hr.json +42 -21
  851. package/locales/hu.json +40 -20
  852. package/locales/id.json +40 -21
  853. package/locales/interactive/am.json +8 -1
  854. package/locales/interactive/ar.json +8 -1
  855. package/locales/interactive/bg.json +8 -1
  856. package/locales/interactive/bn.json +8 -1
  857. package/locales/interactive/br.json +11 -4
  858. package/locales/interactive/co.json +11 -4
  859. package/locales/interactive/cs.json +8 -1
  860. package/locales/interactive/da.json +8 -1
  861. package/locales/interactive/de.json +8 -1
  862. package/locales/interactive/el.json +8 -1
  863. package/locales/interactive/en.json +8 -1
  864. package/locales/interactive/es.json +9 -2
  865. package/locales/interactive/fa.json +8 -1
  866. package/locales/interactive/fi.json +8 -1
  867. package/locales/interactive/fr-CA.json +8 -1
  868. package/locales/interactive/fr.json +8 -1
  869. package/locales/interactive/ha.json +8 -1
  870. package/locales/interactive/he.json +8 -1
  871. package/locales/interactive/hi.json +8 -1
  872. package/locales/interactive/hr.json +8 -1
  873. package/locales/interactive/hu.json +8 -1
  874. package/locales/interactive/id.json +8 -1
  875. package/locales/interactive/it.json +9 -2
  876. package/locales/interactive/ja.json +9 -2
  877. package/locales/interactive/ko.json +11 -4
  878. package/locales/interactive/mr.json +8 -1
  879. package/locales/interactive/ms.json +8 -1
  880. package/locales/interactive/nl.json +8 -1
  881. package/locales/interactive/pl.json +8 -1
  882. package/locales/interactive/pt.json +10 -3
  883. package/locales/interactive/ro.json +8 -1
  884. package/locales/interactive/ru.json +8 -1
  885. package/locales/interactive/sk.json +8 -1
  886. package/locales/interactive/sv.json +8 -1
  887. package/locales/interactive/sw.json +8 -1
  888. package/locales/interactive/ta.json +8 -1
  889. package/locales/interactive/te.json +8 -1
  890. package/locales/interactive/th.json +8 -1
  891. package/locales/interactive/tl.json +8 -1
  892. package/locales/interactive/tr.json +8 -1
  893. package/locales/interactive/uk.json +8 -1
  894. package/locales/interactive/ur.json +8 -1
  895. package/locales/interactive/vi.json +8 -1
  896. package/locales/interactive/yo.json +8 -1
  897. package/locales/interactive/zh-Hans.json +8 -1
  898. package/locales/interactive/zh-Hant.json +11 -4
  899. package/locales/it.json +79 -58
  900. package/locales/ja.json +68 -49
  901. package/locales/ko.json +62 -43
  902. package/locales/layouts/ja.json +1 -1
  903. package/locales/layouts/zh-Hans.json +1 -1
  904. package/locales/layouts/zh-Hant.json +1 -1
  905. package/locales/lock/am.json +6 -3
  906. package/locales/lock/ar.json +6 -3
  907. package/locales/lock/bg.json +6 -3
  908. package/locales/lock/bn.json +6 -3
  909. package/locales/lock/br.json +8 -5
  910. package/locales/lock/co.json +8 -5
  911. package/locales/lock/cs.json +6 -3
  912. package/locales/lock/da.json +6 -3
  913. package/locales/lock/de.json +8 -5
  914. package/locales/lock/el.json +6 -3
  915. package/locales/lock/en.json +7 -4
  916. package/locales/lock/es.json +7 -4
  917. package/locales/lock/fa.json +6 -3
  918. package/locales/lock/fi.json +6 -3
  919. package/locales/lock/fr-CA.json +7 -4
  920. package/locales/lock/fr.json +7 -4
  921. package/locales/lock/ha.json +6 -3
  922. package/locales/lock/he.json +6 -3
  923. package/locales/lock/hi.json +6 -3
  924. package/locales/lock/hr.json +6 -3
  925. package/locales/lock/hu.json +6 -3
  926. package/locales/lock/id.json +6 -3
  927. package/locales/lock/it.json +10 -7
  928. package/locales/lock/ja.json +10 -7
  929. package/locales/lock/ko.json +8 -5
  930. package/locales/lock/mr.json +6 -3
  931. package/locales/lock/ms.json +6 -3
  932. package/locales/lock/nl.json +6 -3
  933. package/locales/lock/pl.json +6 -3
  934. package/locales/lock/pt.json +7 -4
  935. package/locales/lock/ro.json +6 -3
  936. package/locales/lock/ru.json +6 -3
  937. package/locales/lock/sk.json +6 -3
  938. package/locales/lock/sv.json +6 -3
  939. package/locales/lock/sw.json +6 -3
  940. package/locales/lock/ta.json +6 -3
  941. package/locales/lock/te.json +6 -3
  942. package/locales/lock/th.json +6 -3
  943. package/locales/lock/tl.json +6 -3
  944. package/locales/lock/tr.json +6 -3
  945. package/locales/lock/uk.json +6 -3
  946. package/locales/lock/ur.json +6 -3
  947. package/locales/lock/vi.json +6 -3
  948. package/locales/lock/yo.json +6 -3
  949. package/locales/lock/zh-Hans.json +7 -4
  950. package/locales/lock/zh-Hant.json +7 -4
  951. package/locales/look/am.json +10 -1
  952. package/locales/look/ar.json +10 -1
  953. package/locales/look/bg.json +10 -1
  954. package/locales/look/bn.json +10 -1
  955. package/locales/look/br.json +17 -8
  956. package/locales/look/co.json +10 -1
  957. package/locales/look/cs.json +10 -1
  958. package/locales/look/da.json +10 -1
  959. package/locales/look/de.json +10 -1
  960. package/locales/look/el.json +10 -1
  961. package/locales/look/en.json +10 -1
  962. package/locales/look/es.json +12 -3
  963. package/locales/look/fa.json +10 -1
  964. package/locales/look/fi.json +10 -1
  965. package/locales/look/fr-CA.json +10 -1
  966. package/locales/look/fr.json +10 -1
  967. package/locales/look/ha.json +10 -1
  968. package/locales/look/he.json +10 -1
  969. package/locales/look/hi.json +10 -1
  970. package/locales/look/hr.json +10 -1
  971. package/locales/look/hu.json +10 -1
  972. package/locales/look/id.json +10 -1
  973. package/locales/look/it.json +10 -1
  974. package/locales/look/ja.json +14 -5
  975. package/locales/look/ko.json +11 -2
  976. package/locales/look/mr.json +10 -1
  977. package/locales/look/ms.json +10 -1
  978. package/locales/look/nl.json +10 -1
  979. package/locales/look/pl.json +10 -1
  980. package/locales/look/pt.json +12 -3
  981. package/locales/look/ro.json +10 -1
  982. package/locales/look/ru.json +10 -1
  983. package/locales/look/sk.json +10 -1
  984. package/locales/look/sv.json +10 -1
  985. package/locales/look/sw.json +10 -1
  986. package/locales/look/ta.json +10 -1
  987. package/locales/look/te.json +10 -1
  988. package/locales/look/th.json +10 -1
  989. package/locales/look/tl.json +10 -1
  990. package/locales/look/tr.json +10 -1
  991. package/locales/look/uk.json +10 -1
  992. package/locales/look/ur.json +10 -1
  993. package/locales/look/vi.json +10 -1
  994. package/locales/look/yo.json +10 -1
  995. package/locales/look/zh-Hans.json +15 -6
  996. package/locales/look/zh-Hant.json +18 -9
  997. package/locales/machine/br.json +5 -5
  998. package/locales/machine/co.json +4 -4
  999. package/locales/machine/de.json +2 -2
  1000. package/locales/machine/en.json +2 -2
  1001. package/locales/machine/es.json +8 -8
  1002. package/locales/machine/fr-CA.json +4 -4
  1003. package/locales/machine/fr.json +4 -4
  1004. package/locales/machine/it.json +9 -9
  1005. package/locales/machine/ja.json +4 -4
  1006. package/locales/machine/ko.json +10 -10
  1007. package/locales/machine/pt.json +4 -4
  1008. package/locales/machine/zh-Hans.json +7 -7
  1009. package/locales/machine/zh-Hant.json +10 -10
  1010. package/locales/made/am.json +5 -1
  1011. package/locales/made/ar.json +5 -1
  1012. package/locales/made/bg.json +5 -1
  1013. package/locales/made/bn.json +5 -1
  1014. package/locales/made/br.json +7 -3
  1015. package/locales/made/co.json +5 -1
  1016. package/locales/made/cs.json +5 -1
  1017. package/locales/made/da.json +5 -1
  1018. package/locales/made/de.json +5 -1
  1019. package/locales/made/el.json +5 -1
  1020. package/locales/made/en.json +5 -1
  1021. package/locales/made/es.json +5 -1
  1022. package/locales/made/fa.json +5 -1
  1023. package/locales/made/fi.json +5 -1
  1024. package/locales/made/fr-CA.json +8 -4
  1025. package/locales/made/fr.json +8 -4
  1026. package/locales/made/ha.json +5 -1
  1027. package/locales/made/he.json +5 -1
  1028. package/locales/made/hi.json +5 -1
  1029. package/locales/made/hr.json +5 -1
  1030. package/locales/made/hu.json +5 -1
  1031. package/locales/made/id.json +5 -1
  1032. package/locales/made/it.json +5 -1
  1033. package/locales/made/ja.json +5 -1
  1034. package/locales/made/ko.json +6 -2
  1035. package/locales/made/mr.json +5 -1
  1036. package/locales/made/ms.json +5 -1
  1037. package/locales/made/nl.json +5 -1
  1038. package/locales/made/pl.json +5 -1
  1039. package/locales/made/pt.json +8 -4
  1040. package/locales/made/ro.json +5 -1
  1041. package/locales/made/ru.json +5 -1
  1042. package/locales/made/sk.json +5 -1
  1043. package/locales/made/sv.json +5 -1
  1044. package/locales/made/sw.json +5 -1
  1045. package/locales/made/ta.json +5 -1
  1046. package/locales/made/te.json +5 -1
  1047. package/locales/made/th.json +5 -1
  1048. package/locales/made/tl.json +5 -1
  1049. package/locales/made/tr.json +5 -1
  1050. package/locales/made/uk.json +5 -1
  1051. package/locales/made/ur.json +5 -1
  1052. package/locales/made/vi.json +5 -1
  1053. package/locales/made/yo.json +5 -1
  1054. package/locales/made/zh-Hans.json +7 -3
  1055. package/locales/made/zh-Hant.json +6 -2
  1056. package/locales/mr.json +40 -20
  1057. package/locales/ms.json +40 -21
  1058. package/locales/{reader → natural-voice}/es.json +1 -1
  1059. package/locales/natural-voice/ja.json +9 -0
  1060. package/locales/{reader → natural-voice}/zh-Hans.json +1 -1
  1061. package/locales/{reader → natural-voice}/zh-Hant.json +2 -2
  1062. package/locales/nl.json +41 -21
  1063. package/locales/notifications/br.json +2 -2
  1064. package/locales/notifications/es.json +4 -4
  1065. package/locales/notifications/it.json +2 -2
  1066. package/locales/notifications/pt.json +2 -2
  1067. package/locales/notifications/zh-Hans.json +1 -1
  1068. package/locales/notifications/zh-Hant.json +2 -2
  1069. package/locales/out/am.json +13 -0
  1070. package/locales/out/ar.json +13 -0
  1071. package/locales/out/bg.json +13 -0
  1072. package/locales/out/bn.json +13 -0
  1073. package/locales/out/br.json +13 -0
  1074. package/locales/out/co.json +13 -0
  1075. package/locales/out/cs.json +13 -0
  1076. package/locales/out/da.json +13 -0
  1077. package/locales/out/de.json +13 -0
  1078. package/locales/out/el.json +13 -0
  1079. package/locales/out/en.json +13 -0
  1080. package/locales/out/es.json +13 -0
  1081. package/locales/out/fa.json +13 -0
  1082. package/locales/out/fi.json +13 -0
  1083. package/locales/out/fr-CA.json +13 -0
  1084. package/locales/out/fr.json +13 -0
  1085. package/locales/out/ha.json +13 -0
  1086. package/locales/out/he.json +13 -0
  1087. package/locales/out/hi.json +13 -0
  1088. package/locales/out/hr.json +13 -0
  1089. package/locales/out/hu.json +13 -0
  1090. package/locales/out/id.json +13 -0
  1091. package/locales/out/it.json +13 -0
  1092. package/locales/out/ja.json +13 -0
  1093. package/locales/out/ko.json +13 -0
  1094. package/locales/out/mr.json +13 -0
  1095. package/locales/out/ms.json +13 -0
  1096. package/locales/out/nl.json +13 -0
  1097. package/locales/out/pl.json +13 -0
  1098. package/locales/out/pt.json +13 -0
  1099. package/locales/out/ro.json +13 -0
  1100. package/locales/out/ru.json +13 -0
  1101. package/locales/out/sk.json +13 -0
  1102. package/locales/out/sv.json +13 -0
  1103. package/locales/out/sw.json +13 -0
  1104. package/locales/out/ta.json +13 -0
  1105. package/locales/out/te.json +13 -0
  1106. package/locales/out/th.json +13 -0
  1107. package/locales/out/tl.json +13 -0
  1108. package/locales/out/tr.json +13 -0
  1109. package/locales/out/uk.json +13 -0
  1110. package/locales/out/ur.json +13 -0
  1111. package/locales/out/vi.json +13 -0
  1112. package/locales/out/yo.json +13 -0
  1113. package/locales/out/zh-Hans.json +13 -0
  1114. package/locales/out/zh-Hant.json +13 -0
  1115. package/locales/pictures/br.json +5 -5
  1116. package/locales/pictures/co.json +5 -5
  1117. package/locales/pictures/de.json +3 -3
  1118. package/locales/pictures/en.json +2 -2
  1119. package/locales/pictures/es.json +4 -4
  1120. package/locales/pictures/fr-CA.json +6 -6
  1121. package/locales/pictures/fr.json +4 -4
  1122. package/locales/pictures/it.json +7 -7
  1123. package/locales/pictures/ja.json +8 -8
  1124. package/locales/pictures/ko.json +8 -8
  1125. package/locales/pictures/pt.json +5 -5
  1126. package/locales/pictures/zh-Hans.json +5 -5
  1127. package/locales/pictures/zh-Hant.json +6 -6
  1128. package/locales/pl.json +42 -20
  1129. package/locales/plan/fr-CA.json +1 -1
  1130. package/locales/plan/fr.json +1 -1
  1131. package/locales/plan/it.json +2 -2
  1132. package/locales/plan/ja.json +3 -3
  1133. package/locales/plan/zh-Hans.json +2 -2
  1134. package/locales/plan/zh-Hant.json +1 -1
  1135. package/locales/policy/am.json +1 -0
  1136. package/locales/policy/ar.json +1 -0
  1137. package/locales/policy/bg.json +1 -0
  1138. package/locales/policy/bn.json +1 -0
  1139. package/locales/policy/br.json +1 -0
  1140. package/locales/policy/co.json +3 -2
  1141. package/locales/policy/cs.json +1 -0
  1142. package/locales/policy/da.json +1 -0
  1143. package/locales/policy/de.json +1 -0
  1144. package/locales/policy/el.json +1 -0
  1145. package/locales/policy/en.json +1 -0
  1146. package/locales/policy/es.json +4 -3
  1147. package/locales/policy/fa.json +1 -0
  1148. package/locales/policy/fi.json +1 -0
  1149. package/locales/policy/fr-CA.json +2 -1
  1150. package/locales/policy/fr.json +2 -1
  1151. package/locales/policy/ha.json +1 -0
  1152. package/locales/policy/he.json +1 -0
  1153. package/locales/policy/hi.json +1 -0
  1154. package/locales/policy/hr.json +1 -0
  1155. package/locales/policy/hu.json +1 -0
  1156. package/locales/policy/id.json +1 -0
  1157. package/locales/policy/it.json +4 -3
  1158. package/locales/policy/ja.json +3 -2
  1159. package/locales/policy/ko.json +1 -0
  1160. package/locales/policy/mr.json +1 -0
  1161. package/locales/policy/ms.json +1 -0
  1162. package/locales/policy/nl.json +1 -0
  1163. package/locales/policy/pl.json +1 -0
  1164. package/locales/policy/pt.json +4 -3
  1165. package/locales/policy/ro.json +1 -0
  1166. package/locales/policy/ru.json +1 -0
  1167. package/locales/policy/sk.json +1 -0
  1168. package/locales/policy/sv.json +1 -0
  1169. package/locales/policy/sw.json +1 -0
  1170. package/locales/policy/ta.json +1 -0
  1171. package/locales/policy/te.json +1 -0
  1172. package/locales/policy/th.json +1 -0
  1173. package/locales/policy/tl.json +1 -0
  1174. package/locales/policy/tr.json +1 -0
  1175. package/locales/policy/uk.json +1 -0
  1176. package/locales/policy/ur.json +1 -0
  1177. package/locales/policy/vi.json +1 -0
  1178. package/locales/policy/yo.json +1 -0
  1179. package/locales/policy/zh-Hans.json +9 -8
  1180. package/locales/policy/zh-Hant.json +17 -16
  1181. package/locales/profiles/am.json +5 -0
  1182. package/locales/profiles/ar.json +5 -0
  1183. package/locales/profiles/bg.json +5 -0
  1184. package/locales/profiles/bn.json +5 -0
  1185. package/locales/profiles/br.json +14 -9
  1186. package/locales/profiles/co.json +12 -7
  1187. package/locales/profiles/cs.json +5 -0
  1188. package/locales/profiles/da.json +5 -0
  1189. package/locales/profiles/de.json +6 -1
  1190. package/locales/profiles/el.json +5 -0
  1191. package/locales/profiles/en.json +7 -2
  1192. package/locales/profiles/es.json +7 -2
  1193. package/locales/profiles/fa.json +5 -0
  1194. package/locales/profiles/fi.json +5 -0
  1195. package/locales/profiles/fr-CA.json +10 -5
  1196. package/locales/profiles/fr.json +10 -5
  1197. package/locales/profiles/ha.json +5 -0
  1198. package/locales/profiles/he.json +5 -0
  1199. package/locales/profiles/hi.json +5 -0
  1200. package/locales/profiles/hr.json +5 -0
  1201. package/locales/profiles/hu.json +5 -0
  1202. package/locales/profiles/id.json +5 -0
  1203. package/locales/profiles/it.json +11 -6
  1204. package/locales/profiles/ja.json +13 -8
  1205. package/locales/profiles/ko.json +25 -20
  1206. package/locales/profiles/mr.json +5 -0
  1207. package/locales/profiles/ms.json +5 -0
  1208. package/locales/profiles/nl.json +5 -0
  1209. package/locales/profiles/pl.json +5 -0
  1210. package/locales/profiles/pt.json +10 -5
  1211. package/locales/profiles/ro.json +5 -0
  1212. package/locales/profiles/ru.json +5 -0
  1213. package/locales/profiles/sk.json +5 -0
  1214. package/locales/profiles/sv.json +5 -0
  1215. package/locales/profiles/sw.json +5 -0
  1216. package/locales/profiles/ta.json +5 -0
  1217. package/locales/profiles/te.json +5 -0
  1218. package/locales/profiles/th.json +5 -0
  1219. package/locales/profiles/tl.json +5 -0
  1220. package/locales/profiles/tr.json +5 -0
  1221. package/locales/profiles/uk.json +5 -0
  1222. package/locales/profiles/ur.json +5 -0
  1223. package/locales/profiles/vi.json +5 -0
  1224. package/locales/profiles/yo.json +5 -0
  1225. package/locales/profiles/zh-Hans.json +18 -13
  1226. package/locales/profiles/zh-Hant.json +13 -8
  1227. package/locales/projects/am.json +4 -0
  1228. package/locales/projects/ar.json +4 -0
  1229. package/locales/projects/bg.json +4 -0
  1230. package/locales/projects/bn.json +4 -0
  1231. package/locales/projects/br.json +4 -0
  1232. package/locales/projects/co.json +4 -0
  1233. package/locales/projects/cs.json +4 -0
  1234. package/locales/projects/da.json +4 -0
  1235. package/locales/projects/de.json +4 -0
  1236. package/locales/projects/el.json +4 -0
  1237. package/locales/projects/en.json +4 -0
  1238. package/locales/projects/es.json +4 -0
  1239. package/locales/projects/fa.json +4 -0
  1240. package/locales/projects/fi.json +4 -0
  1241. package/locales/projects/fr-CA.json +4 -0
  1242. package/locales/projects/fr.json +4 -0
  1243. package/locales/projects/ha.json +4 -0
  1244. package/locales/projects/he.json +4 -0
  1245. package/locales/projects/hi.json +4 -0
  1246. package/locales/projects/hr.json +4 -0
  1247. package/locales/projects/hu.json +4 -0
  1248. package/locales/projects/id.json +4 -0
  1249. package/locales/projects/it.json +4 -0
  1250. package/locales/projects/ja.json +4 -0
  1251. package/locales/projects/ko.json +4 -0
  1252. package/locales/projects/mr.json +4 -0
  1253. package/locales/projects/ms.json +4 -0
  1254. package/locales/projects/nl.json +4 -0
  1255. package/locales/projects/pl.json +4 -0
  1256. package/locales/projects/pt.json +4 -0
  1257. package/locales/projects/ro.json +4 -0
  1258. package/locales/projects/ru.json +4 -0
  1259. package/locales/projects/sk.json +4 -0
  1260. package/locales/projects/sv.json +4 -0
  1261. package/locales/projects/sw.json +4 -0
  1262. package/locales/projects/ta.json +4 -0
  1263. package/locales/projects/te.json +4 -0
  1264. package/locales/projects/th.json +4 -0
  1265. package/locales/projects/tl.json +4 -0
  1266. package/locales/projects/tr.json +4 -0
  1267. package/locales/projects/uk.json +4 -0
  1268. package/locales/projects/ur.json +4 -0
  1269. package/locales/projects/vi.json +4 -0
  1270. package/locales/projects/yo.json +4 -0
  1271. package/locales/projects/zh-Hans.json +4 -0
  1272. package/locales/projects/zh-Hant.json +4 -0
  1273. package/locales/pt.json +65 -44
  1274. package/locales/receipt/am.json +14 -1
  1275. package/locales/receipt/ar.json +14 -1
  1276. package/locales/receipt/bg.json +14 -1
  1277. package/locales/receipt/bn.json +14 -1
  1278. package/locales/receipt/br.json +16 -3
  1279. package/locales/receipt/co.json +16 -3
  1280. package/locales/receipt/cs.json +14 -1
  1281. package/locales/receipt/da.json +14 -1
  1282. package/locales/receipt/de.json +16 -3
  1283. package/locales/receipt/el.json +14 -1
  1284. package/locales/receipt/en.json +16 -3
  1285. package/locales/receipt/es.json +19 -6
  1286. package/locales/receipt/fa.json +14 -1
  1287. package/locales/receipt/fi.json +14 -1
  1288. package/locales/receipt/fr-CA.json +16 -3
  1289. package/locales/receipt/fr.json +16 -3
  1290. package/locales/receipt/ha.json +14 -1
  1291. package/locales/receipt/he.json +14 -1
  1292. package/locales/receipt/hi.json +14 -1
  1293. package/locales/receipt/hr.json +14 -1
  1294. package/locales/receipt/hu.json +14 -1
  1295. package/locales/receipt/id.json +14 -1
  1296. package/locales/receipt/it.json +21 -8
  1297. package/locales/receipt/ja.json +19 -6
  1298. package/locales/receipt/ko.json +15 -2
  1299. package/locales/receipt/mr.json +14 -1
  1300. package/locales/receipt/ms.json +14 -1
  1301. package/locales/receipt/nl.json +14 -1
  1302. package/locales/receipt/pl.json +14 -1
  1303. package/locales/receipt/pt.json +18 -5
  1304. package/locales/receipt/ro.json +14 -1
  1305. package/locales/receipt/ru.json +14 -1
  1306. package/locales/receipt/sk.json +14 -1
  1307. package/locales/receipt/sv.json +14 -1
  1308. package/locales/receipt/sw.json +14 -1
  1309. package/locales/receipt/ta.json +14 -1
  1310. package/locales/receipt/te.json +14 -1
  1311. package/locales/receipt/th.json +14 -1
  1312. package/locales/receipt/tl.json +14 -1
  1313. package/locales/receipt/tr.json +14 -1
  1314. package/locales/receipt/uk.json +14 -1
  1315. package/locales/receipt/ur.json +14 -1
  1316. package/locales/receipt/vi.json +14 -1
  1317. package/locales/receipt/yo.json +14 -1
  1318. package/locales/receipt/zh-Hans.json +17 -4
  1319. package/locales/receipt/zh-Hant.json +25 -12
  1320. package/locales/ro.json +42 -21
  1321. package/locales/routines/am.json +2 -0
  1322. package/locales/routines/ar.json +2 -0
  1323. package/locales/routines/bg.json +2 -0
  1324. package/locales/routines/bn.json +2 -0
  1325. package/locales/routines/br.json +12 -10
  1326. package/locales/routines/co.json +8 -6
  1327. package/locales/routines/cs.json +2 -0
  1328. package/locales/routines/da.json +2 -0
  1329. package/locales/routines/de.json +2 -0
  1330. package/locales/routines/el.json +2 -0
  1331. package/locales/routines/en.json +2 -0
  1332. package/locales/routines/es.json +6 -4
  1333. package/locales/routines/fa.json +2 -0
  1334. package/locales/routines/fi.json +2 -0
  1335. package/locales/routines/fr-CA.json +4 -2
  1336. package/locales/routines/fr.json +4 -2
  1337. package/locales/routines/ha.json +2 -0
  1338. package/locales/routines/he.json +2 -0
  1339. package/locales/routines/hi.json +2 -0
  1340. package/locales/routines/hr.json +2 -0
  1341. package/locales/routines/hu.json +2 -0
  1342. package/locales/routines/id.json +2 -0
  1343. package/locales/routines/it.json +3 -1
  1344. package/locales/routines/ja.json +14 -12
  1345. package/locales/routines/ko.json +3 -1
  1346. package/locales/routines/mr.json +2 -0
  1347. package/locales/routines/ms.json +2 -0
  1348. package/locales/routines/nl.json +2 -0
  1349. package/locales/routines/pl.json +2 -0
  1350. package/locales/routines/pt.json +7 -5
  1351. package/locales/routines/ro.json +2 -0
  1352. package/locales/routines/ru.json +2 -0
  1353. package/locales/routines/sk.json +2 -0
  1354. package/locales/routines/sv.json +2 -0
  1355. package/locales/routines/sw.json +2 -0
  1356. package/locales/routines/ta.json +2 -0
  1357. package/locales/routines/te.json +2 -0
  1358. package/locales/routines/th.json +2 -0
  1359. package/locales/routines/tl.json +2 -0
  1360. package/locales/routines/tr.json +2 -0
  1361. package/locales/routines/uk.json +2 -0
  1362. package/locales/routines/ur.json +2 -0
  1363. package/locales/routines/vi.json +2 -0
  1364. package/locales/routines/yo.json +2 -0
  1365. package/locales/routines/zh-Hans.json +4 -2
  1366. package/locales/routines/zh-Hant.json +5 -3
  1367. package/locales/ru.json +42 -20
  1368. package/locales/scores/am.json +3 -9
  1369. package/locales/scores/ar.json +3 -9
  1370. package/locales/scores/bg.json +3 -9
  1371. package/locales/scores/bn.json +3 -9
  1372. package/locales/scores/br.json +3 -9
  1373. package/locales/scores/co.json +3 -9
  1374. package/locales/scores/cs.json +3 -9
  1375. package/locales/scores/da.json +3 -9
  1376. package/locales/scores/de.json +4 -10
  1377. package/locales/scores/el.json +3 -9
  1378. package/locales/scores/en.json +3 -9
  1379. package/locales/scores/es.json +3 -9
  1380. package/locales/scores/fa.json +3 -9
  1381. package/locales/scores/fi.json +3 -9
  1382. package/locales/scores/fr-CA.json +3 -9
  1383. package/locales/scores/fr.json +3 -9
  1384. package/locales/scores/ha.json +3 -9
  1385. package/locales/scores/he.json +3 -9
  1386. package/locales/scores/hi.json +3 -9
  1387. package/locales/scores/hr.json +3 -9
  1388. package/locales/scores/hu.json +3 -9
  1389. package/locales/scores/id.json +3 -9
  1390. package/locales/scores/it.json +4 -10
  1391. package/locales/scores/ja.json +4 -10
  1392. package/locales/scores/ko.json +4 -10
  1393. package/locales/scores/mr.json +3 -9
  1394. package/locales/scores/ms.json +3 -9
  1395. package/locales/scores/nl.json +3 -9
  1396. package/locales/scores/pl.json +3 -9
  1397. package/locales/scores/pt.json +3 -9
  1398. package/locales/scores/ro.json +3 -9
  1399. package/locales/scores/ru.json +3 -9
  1400. package/locales/scores/sk.json +3 -9
  1401. package/locales/scores/sv.json +3 -9
  1402. package/locales/scores/sw.json +3 -9
  1403. package/locales/scores/ta.json +3 -9
  1404. package/locales/scores/te.json +3 -9
  1405. package/locales/scores/th.json +3 -9
  1406. package/locales/scores/tl.json +3 -9
  1407. package/locales/scores/tr.json +3 -9
  1408. package/locales/scores/uk.json +3 -9
  1409. package/locales/scores/ur.json +3 -9
  1410. package/locales/scores/vi.json +3 -9
  1411. package/locales/scores/yo.json +3 -9
  1412. package/locales/scores/zh-Hans.json +3 -9
  1413. package/locales/scores/zh-Hant.json +3 -9
  1414. package/locales/screen/am.json +11 -0
  1415. package/locales/screen/ar.json +11 -0
  1416. package/locales/screen/bg.json +11 -0
  1417. package/locales/screen/bn.json +11 -0
  1418. package/locales/screen/br.json +11 -0
  1419. package/locales/screen/co.json +11 -0
  1420. package/locales/screen/cs.json +11 -0
  1421. package/locales/screen/da.json +11 -0
  1422. package/locales/screen/de.json +11 -0
  1423. package/locales/screen/el.json +11 -0
  1424. package/locales/screen/en.json +11 -0
  1425. package/locales/screen/es.json +11 -0
  1426. package/locales/screen/fa.json +11 -0
  1427. package/locales/screen/fi.json +11 -0
  1428. package/locales/screen/fr-CA.json +11 -0
  1429. package/locales/screen/fr.json +11 -0
  1430. package/locales/screen/ha.json +11 -0
  1431. package/locales/screen/he.json +11 -0
  1432. package/locales/screen/hi.json +11 -0
  1433. package/locales/screen/hr.json +11 -0
  1434. package/locales/screen/hu.json +11 -0
  1435. package/locales/screen/id.json +11 -0
  1436. package/locales/screen/it.json +11 -0
  1437. package/locales/screen/ja.json +11 -0
  1438. package/locales/screen/ko.json +11 -0
  1439. package/locales/screen/mr.json +11 -0
  1440. package/locales/screen/ms.json +11 -0
  1441. package/locales/screen/nl.json +11 -0
  1442. package/locales/screen/pl.json +11 -0
  1443. package/locales/screen/pt.json +11 -0
  1444. package/locales/screen/ro.json +11 -0
  1445. package/locales/screen/ru.json +11 -0
  1446. package/locales/screen/sk.json +11 -0
  1447. package/locales/screen/sv.json +11 -0
  1448. package/locales/screen/sw.json +11 -0
  1449. package/locales/screen/ta.json +11 -0
  1450. package/locales/screen/te.json +11 -0
  1451. package/locales/screen/th.json +11 -0
  1452. package/locales/screen/tl.json +11 -0
  1453. package/locales/screen/tr.json +11 -0
  1454. package/locales/screen/uk.json +11 -0
  1455. package/locales/screen/ur.json +11 -0
  1456. package/locales/screen/vi.json +11 -0
  1457. package/locales/screen/yo.json +11 -0
  1458. package/locales/screen/zh-Hans.json +11 -0
  1459. package/locales/screen/zh-Hant.json +11 -0
  1460. package/locales/share/br.json +6 -6
  1461. package/locales/share/co.json +4 -4
  1462. package/locales/share/de.json +2 -2
  1463. package/locales/share/es.json +1 -1
  1464. package/locales/share/fr-CA.json +5 -5
  1465. package/locales/share/fr.json +3 -3
  1466. package/locales/share/it.json +4 -4
  1467. package/locales/share/ja.json +15 -15
  1468. package/locales/share/ko.json +4 -4
  1469. package/locales/share/pt.json +2 -2
  1470. package/locales/share/zh-Hans.json +8 -8
  1471. package/locales/share/zh-Hant.json +14 -14
  1472. package/locales/signin/am.json +3 -1
  1473. package/locales/signin/ar.json +3 -1
  1474. package/locales/signin/bg.json +3 -1
  1475. package/locales/signin/bn.json +3 -1
  1476. package/locales/signin/br.json +3 -1
  1477. package/locales/signin/co.json +3 -1
  1478. package/locales/signin/cs.json +3 -1
  1479. package/locales/signin/da.json +3 -1
  1480. package/locales/signin/de.json +3 -1
  1481. package/locales/signin/el.json +3 -1
  1482. package/locales/signin/en.json +3 -1
  1483. package/locales/signin/es.json +4 -2
  1484. package/locales/signin/fa.json +3 -1
  1485. package/locales/signin/fi.json +3 -1
  1486. package/locales/signin/fr-CA.json +3 -1
  1487. package/locales/signin/fr.json +3 -1
  1488. package/locales/signin/ha.json +3 -1
  1489. package/locales/signin/he.json +3 -1
  1490. package/locales/signin/hi.json +3 -1
  1491. package/locales/signin/hr.json +3 -1
  1492. package/locales/signin/hu.json +3 -1
  1493. package/locales/signin/id.json +3 -1
  1494. package/locales/signin/it.json +3 -1
  1495. package/locales/signin/ja.json +3 -1
  1496. package/locales/signin/ko.json +3 -1
  1497. package/locales/signin/mr.json +3 -1
  1498. package/locales/signin/ms.json +3 -1
  1499. package/locales/signin/nl.json +3 -1
  1500. package/locales/signin/pl.json +3 -1
  1501. package/locales/signin/pt.json +3 -1
  1502. package/locales/signin/ro.json +3 -1
  1503. package/locales/signin/ru.json +3 -1
  1504. package/locales/signin/sk.json +3 -1
  1505. package/locales/signin/sv.json +3 -1
  1506. package/locales/signin/sw.json +3 -1
  1507. package/locales/signin/ta.json +3 -1
  1508. package/locales/signin/te.json +3 -1
  1509. package/locales/signin/th.json +3 -1
  1510. package/locales/signin/tl.json +3 -1
  1511. package/locales/signin/tr.json +3 -1
  1512. package/locales/signin/uk.json +3 -1
  1513. package/locales/signin/ur.json +3 -1
  1514. package/locales/signin/vi.json +3 -1
  1515. package/locales/signin/yo.json +3 -1
  1516. package/locales/signin/zh-Hans.json +3 -1
  1517. package/locales/signin/zh-Hant.json +3 -1
  1518. package/locales/sites/am.json +48 -0
  1519. package/locales/sites/ar.json +52 -0
  1520. package/locales/sites/bg.json +48 -0
  1521. package/locales/sites/bn.json +48 -0
  1522. package/locales/sites/br.json +51 -0
  1523. package/locales/sites/co.json +49 -0
  1524. package/locales/sites/cs.json +50 -0
  1525. package/locales/sites/da.json +48 -0
  1526. package/locales/sites/de.json +48 -0
  1527. package/locales/sites/el.json +48 -0
  1528. package/locales/sites/en.json +48 -0
  1529. package/locales/sites/es.json +49 -0
  1530. package/locales/sites/fa.json +48 -0
  1531. package/locales/sites/fi.json +48 -0
  1532. package/locales/sites/fr-CA.json +49 -0
  1533. package/locales/sites/fr.json +49 -0
  1534. package/locales/sites/ha.json +48 -0
  1535. package/locales/sites/he.json +49 -0
  1536. package/locales/sites/hi.json +48 -0
  1537. package/locales/sites/hr.json +49 -0
  1538. package/locales/sites/hu.json +48 -0
  1539. package/locales/sites/id.json +47 -0
  1540. package/locales/sites/it.json +49 -0
  1541. package/locales/sites/ja.json +47 -0
  1542. package/locales/sites/ko.json +47 -0
  1543. package/locales/sites/mr.json +48 -0
  1544. package/locales/sites/ms.json +47 -0
  1545. package/locales/sites/nl.json +48 -0
  1546. package/locales/sites/pl.json +50 -0
  1547. package/locales/sites/pt.json +49 -0
  1548. package/locales/sites/ro.json +49 -0
  1549. package/locales/sites/ru.json +50 -0
  1550. package/locales/sites/sk.json +50 -0
  1551. package/locales/sites/sv.json +48 -0
  1552. package/locales/sites/sw.json +48 -0
  1553. package/locales/sites/ta.json +48 -0
  1554. package/locales/sites/te.json +48 -0
  1555. package/locales/sites/th.json +47 -0
  1556. package/locales/sites/tl.json +48 -0
  1557. package/locales/sites/tr.json +48 -0
  1558. package/locales/sites/uk.json +50 -0
  1559. package/locales/sites/ur.json +48 -0
  1560. package/locales/sites/vi.json +47 -0
  1561. package/locales/sites/yo.json +47 -0
  1562. package/locales/sites/zh-Hans.json +47 -0
  1563. package/locales/sites/zh-Hant.json +47 -0
  1564. package/locales/sk.json +43 -21
  1565. package/locales/skills/am.json +1 -0
  1566. package/locales/skills/ar.json +1 -0
  1567. package/locales/skills/bg.json +1 -0
  1568. package/locales/skills/bn.json +1 -0
  1569. package/locales/skills/br.json +8 -7
  1570. package/locales/skills/co.json +8 -7
  1571. package/locales/skills/cs.json +1 -0
  1572. package/locales/skills/da.json +1 -0
  1573. package/locales/skills/de.json +6 -5
  1574. package/locales/skills/el.json +1 -0
  1575. package/locales/skills/en.json +1 -0
  1576. package/locales/skills/es.json +5 -4
  1577. package/locales/skills/fa.json +1 -0
  1578. package/locales/skills/fi.json +1 -0
  1579. package/locales/skills/fr-CA.json +4 -3
  1580. package/locales/skills/fr.json +4 -3
  1581. package/locales/skills/ha.json +1 -0
  1582. package/locales/skills/he.json +1 -0
  1583. package/locales/skills/hi.json +1 -0
  1584. package/locales/skills/hr.json +1 -0
  1585. package/locales/skills/hu.json +1 -0
  1586. package/locales/skills/id.json +1 -0
  1587. package/locales/skills/it.json +2 -1
  1588. package/locales/skills/ja.json +17 -16
  1589. package/locales/skills/ko.json +2 -1
  1590. package/locales/skills/mr.json +1 -0
  1591. package/locales/skills/ms.json +1 -0
  1592. package/locales/skills/nl.json +1 -0
  1593. package/locales/skills/pl.json +1 -0
  1594. package/locales/skills/pt.json +6 -5
  1595. package/locales/skills/ro.json +1 -0
  1596. package/locales/skills/ru.json +1 -0
  1597. package/locales/skills/sk.json +1 -0
  1598. package/locales/skills/sv.json +1 -0
  1599. package/locales/skills/sw.json +1 -0
  1600. package/locales/skills/ta.json +1 -0
  1601. package/locales/skills/te.json +1 -0
  1602. package/locales/skills/th.json +1 -0
  1603. package/locales/skills/tl.json +1 -0
  1604. package/locales/skills/tr.json +1 -0
  1605. package/locales/skills/uk.json +1 -0
  1606. package/locales/skills/ur.json +1 -0
  1607. package/locales/skills/vi.json +1 -0
  1608. package/locales/skills/yo.json +1 -0
  1609. package/locales/skills/zh-Hans.json +3 -2
  1610. package/locales/skills/zh-Hant.json +5 -4
  1611. package/locales/slides/am.json +16 -11
  1612. package/locales/slides/ar.json +16 -11
  1613. package/locales/slides/bg.json +16 -11
  1614. package/locales/slides/bn.json +16 -11
  1615. package/locales/slides/br.json +26 -21
  1616. package/locales/slides/co.json +41 -36
  1617. package/locales/slides/cs.json +16 -11
  1618. package/locales/slides/da.json +16 -11
  1619. package/locales/slides/de.json +16 -11
  1620. package/locales/slides/el.json +16 -11
  1621. package/locales/slides/en.json +20 -15
  1622. package/locales/slides/es.json +21 -16
  1623. package/locales/slides/fa.json +16 -11
  1624. package/locales/slides/fi.json +16 -11
  1625. package/locales/slides/fr-CA.json +16 -11
  1626. package/locales/slides/fr.json +16 -11
  1627. package/locales/slides/ha.json +16 -11
  1628. package/locales/slides/he.json +16 -11
  1629. package/locales/slides/hi.json +16 -11
  1630. package/locales/slides/hr.json +16 -11
  1631. package/locales/slides/hu.json +16 -11
  1632. package/locales/slides/id.json +16 -11
  1633. package/locales/slides/it.json +20 -15
  1634. package/locales/slides/ja.json +21 -16
  1635. package/locales/slides/ko.json +29 -24
  1636. package/locales/slides/mr.json +16 -11
  1637. package/locales/slides/ms.json +16 -11
  1638. package/locales/slides/nl.json +16 -11
  1639. package/locales/slides/pl.json +16 -11
  1640. package/locales/slides/pt.json +23 -18
  1641. package/locales/slides/ro.json +16 -11
  1642. package/locales/slides/ru.json +16 -11
  1643. package/locales/slides/sk.json +16 -11
  1644. package/locales/slides/sv.json +16 -11
  1645. package/locales/slides/sw.json +16 -11
  1646. package/locales/slides/ta.json +16 -11
  1647. package/locales/slides/te.json +16 -11
  1648. package/locales/slides/th.json +16 -11
  1649. package/locales/slides/tl.json +16 -11
  1650. package/locales/slides/tr.json +16 -11
  1651. package/locales/slides/uk.json +16 -11
  1652. package/locales/slides/ur.json +16 -11
  1653. package/locales/slides/vi.json +16 -11
  1654. package/locales/slides/yo.json +16 -11
  1655. package/locales/slides/zh-Hans.json +20 -15
  1656. package/locales/slides/zh-Hant.json +19 -14
  1657. package/locales/sv.json +40 -20
  1658. package/locales/sw.json +40 -20
  1659. package/locales/sync/br.json +2 -2
  1660. package/locales/sync/de.json +2 -2
  1661. package/locales/sync/es.json +6 -6
  1662. package/locales/sync/it.json +1 -1
  1663. package/locales/sync/ja.json +2 -2
  1664. package/locales/sync/pt.json +1 -1
  1665. package/locales/ta.json +40 -20
  1666. package/locales/tables/am.json +20 -0
  1667. package/locales/tables/ar.json +28 -0
  1668. package/locales/tables/bg.json +20 -0
  1669. package/locales/tables/bn.json +20 -0
  1670. package/locales/tables/br.json +32 -6
  1671. package/locales/tables/co.json +32 -10
  1672. package/locales/tables/cs.json +24 -0
  1673. package/locales/tables/da.json +20 -0
  1674. package/locales/tables/de.json +22 -2
  1675. package/locales/tables/el.json +20 -0
  1676. package/locales/tables/en.json +20 -0
  1677. package/locales/tables/es.json +22 -0
  1678. package/locales/tables/fa.json +20 -0
  1679. package/locales/tables/fi.json +20 -0
  1680. package/locales/tables/fr-CA.json +24 -2
  1681. package/locales/tables/fr.json +23 -1
  1682. package/locales/tables/ha.json +20 -0
  1683. package/locales/tables/he.json +22 -0
  1684. package/locales/tables/hi.json +20 -0
  1685. package/locales/tables/hr.json +22 -0
  1686. package/locales/tables/hu.json +20 -0
  1687. package/locales/tables/id.json +18 -0
  1688. package/locales/tables/it.json +22 -0
  1689. package/locales/tables/ja.json +19 -1
  1690. package/locales/tables/ko.json +22 -4
  1691. package/locales/tables/mr.json +20 -0
  1692. package/locales/tables/ms.json +18 -0
  1693. package/locales/tables/nl.json +20 -0
  1694. package/locales/tables/pl.json +24 -0
  1695. package/locales/tables/pt.json +26 -4
  1696. package/locales/tables/ro.json +22 -0
  1697. package/locales/tables/ru.json +24 -0
  1698. package/locales/tables/sk.json +24 -0
  1699. package/locales/tables/sv.json +20 -0
  1700. package/locales/tables/sw.json +20 -0
  1701. package/locales/tables/ta.json +20 -0
  1702. package/locales/tables/te.json +20 -0
  1703. package/locales/tables/th.json +18 -0
  1704. package/locales/tables/tl.json +20 -0
  1705. package/locales/tables/tr.json +20 -0
  1706. package/locales/tables/uk.json +24 -0
  1707. package/locales/tables/ur.json +20 -0
  1708. package/locales/tables/vi.json +18 -0
  1709. package/locales/tables/yo.json +18 -0
  1710. package/locales/tables/zh-Hans.json +19 -1
  1711. package/locales/tables/zh-Hant.json +19 -1
  1712. package/locales/te.json +40 -20
  1713. package/locales/th.json +39 -20
  1714. package/locales/tl.json +40 -20
  1715. package/locales/tr.json +40 -20
  1716. package/locales/uk.json +42 -20
  1717. package/locales/ur.json +40 -20
  1718. package/locales/vi.json +39 -20
  1719. package/locales/{search → web-search}/am.json +10 -1
  1720. package/locales/{search → web-search}/ar.json +10 -1
  1721. package/locales/{search → web-search}/bg.json +10 -1
  1722. package/locales/{search → web-search}/bn.json +10 -1
  1723. package/locales/{search → web-search}/br.json +14 -5
  1724. package/locales/{search → web-search}/co.json +14 -5
  1725. package/locales/{search → web-search}/cs.json +10 -1
  1726. package/locales/{search → web-search}/da.json +10 -1
  1727. package/locales/{search → web-search}/de.json +10 -1
  1728. package/locales/{search → web-search}/el.json +10 -1
  1729. package/locales/{search → web-search}/en.json +10 -1
  1730. package/locales/{search → web-search}/es.json +13 -4
  1731. package/locales/{search → web-search}/fa.json +10 -1
  1732. package/locales/{search → web-search}/fi.json +10 -1
  1733. package/locales/{search → web-search}/fr-CA.json +10 -1
  1734. package/locales/{search → web-search}/fr.json +10 -1
  1735. package/locales/{search → web-search}/ha.json +10 -1
  1736. package/locales/{search → web-search}/he.json +10 -1
  1737. package/locales/{search → web-search}/hi.json +10 -1
  1738. package/locales/{search → web-search}/hr.json +10 -1
  1739. package/locales/{search → web-search}/hu.json +10 -1
  1740. package/locales/{search → web-search}/id.json +10 -1
  1741. package/locales/{search → web-search}/it.json +10 -1
  1742. package/locales/{search → web-search}/ja.json +15 -6
  1743. package/locales/{search → web-search}/ko.json +10 -1
  1744. package/locales/{search → web-search}/mr.json +10 -1
  1745. package/locales/{search → web-search}/ms.json +10 -1
  1746. package/locales/{search → web-search}/nl.json +10 -1
  1747. package/locales/{search → web-search}/pl.json +10 -1
  1748. package/locales/{search → web-search}/pt.json +10 -1
  1749. package/locales/{search → web-search}/ro.json +10 -1
  1750. package/locales/{search → web-search}/ru.json +10 -1
  1751. package/locales/{search → web-search}/sk.json +10 -1
  1752. package/locales/{search → web-search}/sv.json +10 -1
  1753. package/locales/{search → web-search}/sw.json +10 -1
  1754. package/locales/{search → web-search}/ta.json +10 -1
  1755. package/locales/{search → web-search}/te.json +10 -1
  1756. package/locales/{search → web-search}/th.json +10 -1
  1757. package/locales/{search → web-search}/tl.json +10 -1
  1758. package/locales/{search → web-search}/tr.json +10 -1
  1759. package/locales/{search → web-search}/uk.json +10 -1
  1760. package/locales/{search → web-search}/ur.json +10 -1
  1761. package/locales/{search → web-search}/vi.json +10 -1
  1762. package/locales/{search → web-search}/yo.json +10 -1
  1763. package/locales/{search → web-search}/zh-Hans.json +12 -3
  1764. package/locales/web-search/zh-Hant.json +55 -0
  1765. package/locales/yo.json +39 -20
  1766. package/locales/you/br.json +13 -13
  1767. package/locales/you/co.json +2 -2
  1768. package/locales/you/de.json +1 -1
  1769. package/locales/you/en.json +1 -1
  1770. package/locales/you/es.json +2 -2
  1771. package/locales/you/fr-CA.json +3 -3
  1772. package/locales/you/fr.json +3 -3
  1773. package/locales/you/it.json +10 -10
  1774. package/locales/you/ja.json +9 -9
  1775. package/locales/you/pt.json +11 -11
  1776. package/locales/you/zh-Hans.json +3 -3
  1777. package/locales/you/zh-Hant.json +3 -3
  1778. package/locales/zh-Hans.json +58 -39
  1779. package/locales/zh-Hant.json +68 -49
  1780. package/package.json +1 -1
  1781. package/preview.html +8 -2
  1782. package/ui/base.js +33 -0
  1783. package/ui/caps.js +12 -5
  1784. package/ui/csp.js +1 -1
  1785. package/ui/export.js +2 -2
  1786. package/ui/icons.js +4 -4
  1787. package/ui/kit.js +49 -13
  1788. package/ui/language.js +172 -0
  1789. package/ui/looks/classic.css +3 -1
  1790. package/ui/looks/human.css +6 -5
  1791. package/ui/looks/mail.css +1 -1
  1792. package/ui/looks.js +3 -6
  1793. package/ui/markdown.js +36 -21
  1794. package/ui/menu-icons.js +9 -5
  1795. package/ui/model.js +4 -4
  1796. package/ui/pointed.js +22 -0
  1797. package/ui/reader-state.js +5 -4
  1798. package/ui/reader.js +1 -1
  1799. package/ui/review.js +1 -1
  1800. package/ui/save.js +16 -0
  1801. package/ui/seal.js +67 -6
  1802. package/ui/sheet.js +21 -2
  1803. package/ui/shown.js +53 -0
  1804. package/ui/style.css +58 -39
  1805. package/ui/touches.js +26 -1
  1806. package/ui/view.css +27 -1
  1807. package/ui/view.js +44 -21
  1808. package/vendor/deck/deck.css +2 -2
  1809. package/vendor/deck/deck.mjs +37 -37
  1810. package/vendor/deck/pptx.mjs +1 -1
  1811. package/vendor/pele/lazy.d.ts +1 -0
  1812. package/locales/reader/ja.json +0 -9
  1813. package/locales/search/zh-Hant.json +0 -46
  1814. package/ui/acts.js +0 -12
  1815. package/ui/looks/mondrian.css +0 -90
  1816. package/ui/looks/paper.css +0 -51
  1817. /package/locales/{reader → natural-voice}/am.json +0 -0
  1818. /package/locales/{reader → natural-voice}/ar.json +0 -0
  1819. /package/locales/{reader → natural-voice}/bg.json +0 -0
  1820. /package/locales/{reader → natural-voice}/bn.json +0 -0
  1821. /package/locales/{reader → natural-voice}/br.json +0 -0
  1822. /package/locales/{reader → natural-voice}/co.json +0 -0
  1823. /package/locales/{reader → natural-voice}/cs.json +0 -0
  1824. /package/locales/{reader → natural-voice}/da.json +0 -0
  1825. /package/locales/{reader → natural-voice}/de.json +0 -0
  1826. /package/locales/{reader → natural-voice}/el.json +0 -0
  1827. /package/locales/{reader → natural-voice}/en.json +0 -0
  1828. /package/locales/{reader → natural-voice}/fa.json +0 -0
  1829. /package/locales/{reader → natural-voice}/fi.json +0 -0
  1830. /package/locales/{reader → natural-voice}/fr-CA.json +0 -0
  1831. /package/locales/{reader → natural-voice}/fr.json +0 -0
  1832. /package/locales/{reader → natural-voice}/ha.json +0 -0
  1833. /package/locales/{reader → natural-voice}/he.json +0 -0
  1834. /package/locales/{reader → natural-voice}/hi.json +0 -0
  1835. /package/locales/{reader → natural-voice}/hr.json +0 -0
  1836. /package/locales/{reader → natural-voice}/hu.json +0 -0
  1837. /package/locales/{reader → natural-voice}/id.json +0 -0
  1838. /package/locales/{reader → natural-voice}/it.json +0 -0
  1839. /package/locales/{reader → natural-voice}/ko.json +0 -0
  1840. /package/locales/{reader → natural-voice}/mr.json +0 -0
  1841. /package/locales/{reader → natural-voice}/ms.json +0 -0
  1842. /package/locales/{reader → natural-voice}/nl.json +0 -0
  1843. /package/locales/{reader → natural-voice}/pl.json +0 -0
  1844. /package/locales/{reader → natural-voice}/pt.json +0 -0
  1845. /package/locales/{reader → natural-voice}/ro.json +0 -0
  1846. /package/locales/{reader → natural-voice}/ru.json +0 -0
  1847. /package/locales/{reader → natural-voice}/sk.json +0 -0
  1848. /package/locales/{reader → natural-voice}/sv.json +0 -0
  1849. /package/locales/{reader → natural-voice}/sw.json +0 -0
  1850. /package/locales/{reader → natural-voice}/ta.json +0 -0
  1851. /package/locales/{reader → natural-voice}/te.json +0 -0
  1852. /package/locales/{reader → natural-voice}/th.json +0 -0
  1853. /package/locales/{reader → natural-voice}/tl.json +0 -0
  1854. /package/locales/{reader → natural-voice}/tr.json +0 -0
  1855. /package/locales/{reader → natural-voice}/uk.json +0 -0
  1856. /package/locales/{reader → natural-voice}/ur.json +0 -0
  1857. /package/locales/{reader → natural-voice}/vi.json +0 -0
  1858. /package/locales/{reader → natural-voice}/yo.json +0 -0
@@ -1,73 +1,39 @@
1
- // Save (D591, D593): the deck beside the conversation, as it is on show, taken out four ways: as PowerPoint, made in the browser
2
- // from the deck as drawn (deck's toPptx and PptxGenJS, loaded only then), its words, lists, tables and charts PowerPoint's own, a
3
- // layout of PowerPoint's for each of the deck's; as a PDF, printed a slide a page, on a page of a slide's size; as its file, a
4
- // page any browser presents, its pictures inside it (caps/skills/decks.js); or as a link to a copy (Share, D361).
5
- import { html, nothing } from 'lit-html'
1
+ // How a deck leaves (D591, D593, D683), through the pane's one button (ui/out.js), as it is on show: as a link to a copy (Share, D361);
2
+ // as PowerPoint, made in the browser from the deck as drawn (deck's toPptx and PptxGenJS, loaded only then), its words, lists, tables and
3
+ // charts PowerPoint's own, a layout of PowerPoint's for each of the deck's; as its file, a page any browser presents, its pictures inside it
4
+ // (caps/skills/decks.js); or printed as a PDF, a slide a page, on a page of a slide's size.
6
5
  import { createDeck } from '@codename/deck'
7
- import { app, notify } from '../../ui/state.js'
8
- import { save } from '../../ui/save.js'
9
- import { act } from '../../ui/acts.js'
10
- import { loaded } from '../../ui/caps.js'
6
+ import { notify } from '../../ui/state.js'
7
+ import { save, printAlone, copyDrawing } from '../../ui/save.js'
11
8
  import { icons } from '../../ui/menu-icons.js'
12
9
  import { t } from '../../core/i18n.js'
13
10
  import { BLOCKS } from './slides.js'
14
11
 
15
- /** The deck on show beside the conversation. */
16
- const here = () => /** @type {(HTMLElement & { view: ReturnType<typeof import('@codename/deck').createDeck> | null, resolve: (src: string) => string | null }) | null} */ (document.querySelector('app-preview app-slides.beside'))
12
+ /** The deck in a pane. @param {Element} pane */
13
+ const here = (pane) => /** @type {(HTMLElement & { view: ReturnType<typeof import('@codename/deck').createDeck>, resolve: (src: string) => string | null, picture: () => Promise<Blob> }) | null} */ (pane.querySelector('app-slides.beside'))
17
14
 
18
- /** Printed alone, a slide a page, drawn for the printer out of sight, then gone, the room's own page size given back. @param {ReturnType<typeof import('@codename/deck').createDeck>} view */
19
- async function print(view) {
15
+ /** Printed alone, a slide a page, drawn for the printer out of sight, then gone, the room's own page size given back. @param {ReturnType<typeof import('@codename/deck').createDeck>} view @param {(src: string) => string | null} [resolve] */
16
+ async function print(view, resolve) {
20
17
  const holder = document.body.appendChild(Object.assign(document.createElement('div'), { className: 'deck-print' }))
21
- const printed = createDeck(holder, { source: view.source, kit: view.kit, scheme: 'light', blocks: BLOCKS, resolve: here()?.resolve, headings: 'aria', editable: false })
18
+ const printed = createDeck(holder, { source: view.source, kit: view.kit, scheme: 'light', blocks: BLOCKS, resolve, headings: 'aria', editable: false })
22
19
  for (const slide of printed.slides()) slide.querySelectorAll('.deck-step').forEach((step) => step.classList.add('is-on'))
23
20
  // Its pictures, which deck reads when they come near the screen, read now, out of sight as they are.
24
21
  for (const picture of holder.querySelectorAll('img')) picture.loading = 'eager'
25
- const page = new CSSStyleSheet()
26
- page.replaceSync('@page { size: 13.333in 7.5in; margin: 0 }')
27
- document.adoptedStyleSheets = [...document.adoptedStyleSheets, page]
28
- document.documentElement.classList.add('is-printing-deck')
29
- // Its charts drawn and still, its diagrams and pictures in, its faces too, a few seconds at most.
22
+ // Its charts drawn and still, its diagrams and pictures in, its faces too.
30
23
  const blocks = () => [...holder.querySelectorAll('.deck-block, .deck-picture')]
31
- for (let wait = 0; wait < 60 && blocks().some((box) => !(/** @type {any} */ (box).chart || box.querySelector('img')?.complete || box.classList.contains('is-failed'))); wait++) await new Promise((resolve) => setTimeout(resolve, 50))
32
- for (const box of blocks()) /** @type {any} */ (box).chart?.setOption({ animation: false })
33
- await document.fonts.ready
34
- printed.fitAll()
35
- addEventListener('afterprint', () => { document.documentElement.classList.remove('is-printing-deck'); document.adoptedStyleSheets = document.adoptedStyleSheets.filter((one) => one !== page); printed.destroy(); holder.remove() }, { once: true })
36
- window.print()
24
+ await printAlone(holder, 'is-printing-deck', { page: '@page { size: 13.333in 7.5in; margin: 0 }', drawing: () => blocks().some((box) => !(/** @type {{ chart?: import('echarts').ECharts | null }} */ (box).chart || box.querySelector('img')?.complete || box.classList.contains('is-failed'))),
25
+ ready: () => { for (const box of blocks()) /** @type {{ chart?: import('echarts').ECharts | null }} */ (box).chart?.setOption({ animation: false }); printed.fitAll() }, gone: () => printed.destroy() })
37
26
  }
38
27
 
39
- /** What Save does with each choice. @param {string} how @param {{ uri: string, name: string }} file */
40
- async function out(how, file) {
41
- const view = here()?.view
42
- if (!view) return
43
- try {
44
- if (how === 'pptx') {
45
- const [{ toPptx }, { default: PptxGenJS }, { withNames }] = await Promise.all([import(new URL('../../vendor/deck/pptx.mjs', import.meta.url).href), import(new URL('../../vendor/pptxgenjs/pptxgen.mjs', import.meta.url).href), import('./kit.js')])
28
+ /** What a deck can do (ui/out.js): the one in this pane, as it is on show when pressed. @param {{ uri: string, name: string }} file @param {Element} pane @returns {import('../../ui/out.js').Ways | null} */
29
+ export function ways(file, pane) {
30
+ const shown = () => /** @type {NonNullable<ReturnType<typeof here>>} */ (here(pane)), page = async () => /** @type {BlobPart} */ (await (await import('../skills/decks.js')).bytesOf(file.uri, shown().view.source)), named = `${file.name}.deck.html`
31
+ return { share: () => ({ text: `\`\`\`\`deck\n${shown().view.source}\n\`\`\`\`` }),
32
+ send: { file: named, type: 'text/html', make: async () => ({ title: file.name, files: [new File([await page()], named, { type: 'text/html' })] }) },
33
+ copy: { id: 'copy', label: t('slides.out.copy'), run: () => copyDrawing(shown().view.source, shown().picture()).then(() => notify(t('toast.copied'))) },
34
+ files: [{ id: 'pptx', glyph: icons.slides, label: t('slides.out.pptx'), run: async () => {
35
+ const [{ toPptx }, { default: PptxGenJS }, { withNames }] = await Promise.all([import(new URL('../../vendor/deck/pptx.mjs', import.meta.url).href), import(new URL('../../vendor/pptxgenjs/pptxgen.mjs', import.meta.url).href), import('./kit.js')]), { view } = shown()
46
36
  save((await toPptx({ ...view, kit: withNames(view.kit) }, { PptxGenJS, JSZip: /** @type {any} */ (globalThis).JSZip })).blob, `${file.name}.pptx`)
47
- } else if (how === 'pdf') await print(view)
48
- else if (how === 'file') save(new Blob([/** @type {BlobPart} */ (await (await import('../skills/decks.js')).bytesOf(file.uri, view.source))], { type: 'text/html' }), `${file.name}.deck.html`)
49
- else {
50
- const task = app.current.peek()?.path ?? (await (await import('../skills/decks.js')).load(file.uri))?.meta.source
51
- if (!task) return
52
- const { openShare } = await import('../share/share.js')
53
- return openShare({ path: task, title: file.name, item: { text: `\`\`\`\`deck\n${view.source}\n\`\`\`\`` } }, document.querySelector('.slides-save'))
54
- }
55
- act('file.save', { task: app.current.peek()?.path, path: file.uri, format: how })
56
- } catch (error) {
57
- console.warn('Save', error)
58
- notify(t('slides.notSaved'))
59
- }
60
- }
61
-
62
- /** Save and its menu, at the top of the pane while a deck is on show. @param {{ uri: string, name: string }} file */
63
- export function saveMenu(file) {
64
- const item = (/** @type {string} */ how, /** @type {unknown} */ glyph, /** @type {string} */ label, /** @type {string} */ about) => html`<button type="button" popovertarget="slides-save" popovertargetaction="hide"
65
- @click=${() => out(how, file)}>${glyph}<span><b>${label}</b><small>${about}</small></span></button>`
66
- return html`<button type="button" class="button slides-save" popovertarget="slides-save">${t('slides.save')}${icons.chevron}</button>
67
- <div id="slides-save" class="menu slides-out" role="menu" popover>
68
- ${item('pptx', icons.slides, t('slides.out.pptx'), t('slides.out.pptxAbout'))}
69
- ${item('pdf', icons.print, t('slides.out.pdf'), t('slides.out.pdfAbout'))}
70
- ${item('file', icons.download, t('slides.out.file'), t('slides.out.fileAbout'))}
71
- ${loaded.value.has('share') ? item('share', icons.share, t('slides.out.share'), t('slides.out.shareAbout')) : nothing}
72
- </div>`
37
+ } }, { id: 'file', glyph: icons.download, label: t('out.webPage'), run: async () => save(new Blob([await page()], { type: 'text/html' }), named) }],
38
+ print: { id: 'pdf', run: () => print(shown().view, shown().resolve) }, kit: true }
73
39
  }
@@ -2,17 +2,22 @@
2
2
  the room's, Jean's version of a slide ringed in the flame, the words pointed at outlined; beside the conversation, the
3
3
  deck's Markdown under its slides, as the pane is narrow; on a card, its first slide alone. */
4
4
  app-slides { display: block; }
5
+ /* deck names its stage for its slides' transitions: named only while one pages, so that through Jean's own (the drawer's, a
6
+ first answer's) it stays in the page rather than over its top bar, and two decks on screen don't share a name, which ends them. */
7
+ :root:not([data-deck-transition]) .deck-stage { view-transition-name: none; }
5
8
  app-slides .deck { gap: 0.4rem; }
6
- app-slides .deck-bar { gap: 0.15rem; color: var(--ink-soft); font: inherit; font-size: 0.85rem; }
9
+ app-slides .deck-bar { flex-wrap: wrap; gap: 0.15rem; color: var(--ink-soft); font: inherit; font-size: 0.85rem; }
7
10
  app-slides .deck-bar button { min-inline-size: 2.1rem; min-block-size: 2.1rem; border-radius: 50%; color: var(--ink-soft); }
8
- app-slides .deck-bar button:hover, app-slides .deck-bar button[aria-pressed='true'] { background: var(--line); color: var(--ink); }
11
+ app-slides .deck-bar button:hover, app-slides .deck-bar button[aria-pressed='true'] { background: var(--line); color: var(--ink); } app-slides .deck-bar button[aria-pressed='true'] { box-shadow: inset 0 0 0 1.5px currentColor; }
12
+ .deck-slide .drawn-words { position: absolute; z-index: 2; inset-block-end: 0; inset-inline-start: 0; margin: 0; font-size: 0.75rem; } .deck-slide .drawn-words summary { color: var(--ink-soft); cursor: pointer; } .deck-slide .drawn-words[open] { inset: 0; overflow: auto; padding: 0.5rem; background: var(--room); }
13
+ @media print { .deck-slide .drawn-words { display: none; } }
9
14
  app-slides .deck-bar button:focus-visible { outline: 2px solid var(--flame); }
10
15
  app-slides .deck-bar svg { inline-size: var(--icon-m); block-size: var(--icon-m); stroke-width: var(--pen); }
11
16
  app-slides .deck-bar svg * { vector-effect: non-scaling-stroke; }
12
17
  app-slides .deck-bar [data-act='scheme'] { display: none; }
13
18
  app-slides .slides-more { display: contents; }
14
- app-slides .deck-block app-chart, app-slides .deck-block app-chart .chart { position: absolute; inset: 0; block-size: auto; margin: 0; padding: 0; border: 0; }
15
- app-slides .deck-block app-chart .drawn-foot { display: none; }
19
+ :is(app-slides, .deck-print) .deck-block :is(app-chart, app-chart .chart) { position: absolute; inset: 0; block-size: auto; margin: 0; padding: 0; border: 0; }
20
+ :is(app-slides, .deck-print) .deck-block app-chart .drawn-foot { display: none; }
16
21
  app-slides .deck-slide.is-jean { box-shadow: 0 0 0 2px var(--flame); }
17
22
  app-slides .is-pointed { outline: 0.12em dashed var(--flame); outline-offset: 0.12em; }
18
23
  #slides-layouts { position-anchor: auto; position-area: block-start span-inline-start; position-try: most-block-size flip-block; margin: 0.25rem 0; max-block-size: min(100% - 0.5rem, 28rem); overflow-y: auto; }
@@ -29,8 +34,6 @@ app-slides .slides-change span { margin-inline-end: auto; }
29
34
  .creation-preview app-slides .deck-bar { display: none; }
30
35
  @media (forced-colors: active) { app-slides .deck-slide.is-jean { outline: 2px solid Highlight; } }
31
36
  /* Save's menu, each way out with a line of what it gives. */
32
- .slides-out { position-anchor: auto; position-area: block-end span-inline-start; position-try-fallbacks: flip-block, flip-inline; margin: 0.25rem 0; inline-size: min(22rem, 92vw); }
33
- .slides-out button > span { display: grid; } .slides-out small { color: var(--ink-soft); white-space: normal; }
34
- /* Printed alone (Save › PDF): the deck drawn for the printer, a slide a page, nothing of the room. */
35
- .deck-print { display: none; }
36
- @media print { html.is-printing-deck body > :not(.deck-print) { display: none !important; } html.is-printing-deck .deck-print { display: block; } }
37
+ /* Printed alone: the deck drawn for the printer, a slide a page, nothing of the room; until then out of sight, at a page's width, as its charts and key figures are measured before it prints. */
38
+ .deck-print { position: fixed; inset-block-start: 0; inset-inline-start: 100vw; inline-size: 13.333in; visibility: hidden; }
39
+ @media print { html.is-printing-deck body > :not(.deck-print) { display: none !important; } html.is-printing-deck .deck-print { position: static; inline-size: auto; visibility: visible; } }
@@ -4,13 +4,13 @@
4
4
  // conversation, a deck kept as a file of the project's (caps/skills/decks.js), changed three ways: by typing on a slide (a double
5
5
  // click on its words), as its Markdown beside the slides (Source), or by asking Jean, whose version waits for the user to accept
6
6
  // or reject it slide by slide (D505), the brain told of the deck on show, its slide and the part pointed at; its Slide layout menu
7
- // lays a slide out again from the deck's kit (./kit.js), and Save takes it out (./save.js). A chart is Charts' own, drawn in SVG
7
+ // lays a slide out again from the deck's kit (./kit.js), and the pane's one button takes it out (./save.js, ui/out.js). A chart is Charts' own, drawn in SVG
8
8
  // for PowerPoint's writer to read; a diagram Pele's, as an answer's is (../interactive/diagram.js, D592), shown as a picture in
9
- // the deck's colours; a picture, one of the project's files, which the brain names by the name it made it under (D599), read for it.
9
+ // the deck's colours; a picture, one of the project's files, which the brain names by the name it made it under, read for it.
10
10
  // Loaded by the first deck shown; until then it shows as code.
11
11
  import { html, render, nothing, svg } from 'lit-html'
12
12
  import { effect, signal } from '@preact/signals-core'
13
- import { createDeck, labelOf } from '@codename/deck'
13
+ import { createDeck, labelOf, parseDeck } from '@codename/deck'
14
14
  import { Marked } from 'marked'
15
15
  import { app, theme, notify } from '../../ui/state.js'
16
16
  import { copyDrawing, pictureOf } from '../../ui/save.js'
@@ -22,12 +22,14 @@ import { styleSheet } from '../../ui/sheet.js'
22
22
  import { reviewBar } from '../../ui/review.js'
23
23
  import { noteRecord, linkedFiles, filesMade, callsIn } from '../../core/events.js'
24
24
  import { t, useStrings, locale, intlLocales } from '../../core/i18n.js'
25
- import { kitHere, withNames } from './kit.js'
25
+ import { languageOf } from '../../ui/language.js'
26
+ import { kitHere, withNames, words } from './kit.js'
27
+ import { kitSlot } from './kit-slot.js'
26
28
  import { cjk } from '../layouts/shapes.js'
27
- import { drawing, coloured, wordsOf } from '../interactive/diagram.js'
29
+ import { drawing, coloured, told, wordsBelow } from '../interactive/diagram.js'
28
30
  import { withLayout, withoutKit, changesOf, swapped, withPictures, namedIn, placeIn } from './edit.js'
29
31
 
30
- await Promise.all([useStrings('slides'), styleSheet(new URL('../../vendor/deck/deck.css', import.meta.url)), styleSheet(new URL('slides.css', import.meta.url))])
32
+ await Promise.all([useStrings('slides'), useStrings('interactive'), styleSheet(new URL('../../vendor/deck/deck.css', import.meta.url)), styleSheet(new URL('slides.css', import.meta.url))])
31
33
 
32
34
  /** A deck kept, as its pane opens it (caps/skills/decks.js): its place, name and Markdown, Jean's version waiting, and how either is written. @typedef {{ path: string, name: string, source: string, theirs: string | null, keep: (mine: string, theirs: string | null) => Promise<unknown> }} Kept */
33
35
  /** @typedef {ReturnType<typeof import('@codename/deck').createDeck>} DeckView */
@@ -35,11 +37,9 @@ await Promise.all([useStrings('slides'), styleSheet(new URL('../../vendor/deck/d
35
37
  /** The deck on show beside the conversation, which the brain hears of, its slide and the words pointed at. */
36
38
  export const shown = signal(/** @type {{ path: string, name: string, source: string, at: number, count: number, part: string } | null} */ (null))
37
39
 
38
- /** A slide's Markdown read as an answer's is, emphasis beside the punctuation of Chinese, Japanese and Korean too (D590). */
40
+ /** A slide's Markdown read as an answer's is, emphasis beside the punctuation of Chinese, Japanese and Korean too. */
39
41
  const reader = new Marked({ gfm: true }, cjk)
40
- /** The bar's words, deck's names for them (its scheme's and PowerPoint's buttons aren't shown: the room says light or dark, Save says the rest). */
41
- /** deck's words in the user's language: its bar's, its views', a slide's. */
42
- export const words = () => Object.fromEntries(['deck', 'previous', 'next', 'where', 'present', 'presenter', 'overview', 'edit', 'source', 'notes', 'noNotes', 'upNext', 'last', 'slide', 'carousel'].map((key) => [key, t(`slides.${key}`)]))
42
+ /** The bar's words, deck's names for them (its scheme's and PowerPoint's buttons aren't shown: the room says light or dark, the pane's button the rest). */
43
43
  const LAYOUT = icon(svg`<rect x="3.5" y="5.5" width="17" height="13" rx="2.5"/><path d="M3.5 9.5h17M12 9.5v9"/>`)
44
44
 
45
45
  /** A diagram's picture in the deck's colours, a pie's and a chart's in its series, its words the picture's text; kept, to colour again. @param {HTMLImageElement} picture @param {string} drawn Pele's SVG */
@@ -70,9 +70,10 @@ export const BLOCKS = {
70
70
  mermaid: async (box, source, { scale, theme, ...config } = {}) => {
71
71
  const look = getComputedStyle(box), font = look.getPropertyValue('--deck-body').trim() || 'system-ui, sans-serif'
72
72
  const { svg: drawn } = await drawing(source, { fontFamily: font, links: false, images: false, autoDirection: true, maxWidth: Math.max(320, box.clientWidth * 1.4), ...(Object.keys(config).length && { config }) }, look.direction === 'rtl')
73
- const picture = Object.assign(document.createElement('img'), { alt: wordsOf(drawn) }), place = Object.assign(document.createElement('div'), { className: 'deck-diagram' })
73
+ const words = told(source, drawn), picture = Object.assign(document.createElement('img'), { alt: words.alt, lang: document.documentElement.lang }), place = Object.assign(document.createElement('div'), { className: 'deck-diagram' })
74
74
  if (scale > 0 && scale < 1) for (const side of ['max-inline-size', 'max-block-size']) picture.style.setProperty(side, `${scale * 100}%`)
75
75
  box.appendChild(place).append(picture)
76
+ box.append(wordsBelow(words))
76
77
  colour(picture, drawn)
77
78
  },
78
79
  }
@@ -98,7 +99,7 @@ class AppSlides extends HTMLElement {
98
99
  timer = 0
99
100
  /** @type {(() => void) | undefined} */
100
101
  unwatch
101
- /** The pictures it names, each read once from the project, by the place or name the deck gives it (D599). @type {Map<string, string>} */
102
+ /** The pictures it names, each read once from the project, by the place or name the deck gives it. @type {Map<string, string>} */
102
103
  urls = new Map()
103
104
  /** A picture's address as the page loads it: one of the project's, read; the web's or one held inside, as it is; no other. @param {string} src */
104
105
  resolve = (src) => this.urls.get(src) || (/^[a-z][\w+.-]*:/i.test(src) ? src : null)
@@ -150,31 +151,36 @@ class AppSlides extends HTMLElement {
150
151
  this.made = [app.look.peek(), app.settings.peek().look?.accent, locale.peek()].join(' ')
151
152
  const kit = await kitHere(), deciding = Boolean(this.file?.theirs)
152
153
  if (this.view || !this.isConnected) return
153
- render(html`${this.file ? html`<div class="slides-review"></div>` : nothing}<div class="slides-deck"></div><div class="slides-more"></div>`, /** @type {HTMLElement} */ (this))
154
+ render(html`${this.closest('.msg-jean') ? html`<h2 class="visually-hidden" lang=${locale.peek()}>${t('slides.deck')}</h2>` : nothing}${this.file ? html`<div class="slides-review"></div>` : nothing}<div class="slides-deck"></div><div class="slides-more"></div>`, /** @type {HTMLElement} */ (this))
154
155
  // Jean's own buttons, taken before deck makes its bar anew (made again in another look or language, they are in the last one).
155
156
  const root = /** @type {HTMLElement} */ (this.querySelector('.slides-deck')), more = /** @type {HTMLElement} */ (this.querySelector('.slides-more'))
156
157
  this.view = createDeck(root, { source: this.source, kit, scheme: theme.peek() === 'dark' ? 'dark' : 'light', blocks: BLOCKS, resolve: this.resolve, strings: words(), headings: 'aria', lex: (markdown) => reader.lexer(markdown),
157
158
  editable: Boolean(this.file) && !deciding, ...(this.file && !deciding && { onChange: (text) => this.typed(text) }) })
158
159
  root.addEventListener('deck-scheme', () => { for (const picture of root.querySelectorAll('img')) { const drawn = pictures.get(picture); if (drawn) colour(picture, drawn) } })
159
- root.addEventListener('deck-move', () => this.moved())
160
+ root.addEventListener('deck-move', () => { this.speak(); this.moved() })
160
161
  for (const kind of ['pointerdown', 'keydown']) root.addEventListener(kind, () => { this.paged = true })
161
162
  root.querySelector('.deck-stage')?.addEventListener('click', (event) => this.pointed(event))
163
+ root.querySelector('.deck-where')?.setAttribute('role', 'status')
162
164
  // deck's bar after its paging: full screen, by Play, the presenter's view, all slides, Jean's own buttons, then the Markdown;
163
165
  // a button deck leaves out (no full screen, a deck not to change) is an empty fragment.
164
166
  const bar = /** @type {HTMLElement} */ (root.querySelector('.deck-bar')), act = (/** @type {string} */ name) => /** @type {HTMLElement | DocumentFragment} */ (bar.querySelector(`[data-act='${name}']`) ?? new DocumentFragment()), present = act('present')
165
167
  bar.append(present, act('presenter'), act('grid'), more, act('edit')); present.replaceChildren(); render(icons.play, present)
166
168
  }
167
169
  if (!this.paged) this.view.go(this.hasAttribute('open') ? this.view.deck.slides.length - 1 : this.file?.theirs ? this.firstChange() : 0)
170
+ this.speak()
168
171
  this.paint()
169
172
  }
170
173
 
174
+ /** Its slides in the deck's language, and what is around them, Jean's, in the person's. */
175
+ speak() { this.querySelector('.slides-deck')?.setAttribute('lang', locale.peek()); for (const canvas of this.querySelectorAll('.deck-canvas')) canvas.setAttribute('lang', String(parseDeck(this.source).settings.lang ?? languageOf(this.source, locale.peek()))) }
176
+
171
177
  /** Jean's buttons, and the bar over Jean's version: each slide it changes, adds or takes away, accepted or rejected. */
172
178
  paint() {
173
179
  const { view, file } = this
174
180
  if (!view) return
175
181
  const source = view.source, more = this.querySelector('.slides-more'), review = this.querySelector('.slides-review')
176
182
  if (more instanceof HTMLElement) render(file ? html`${this.layouts()}` : html`<button type="button" class="icon-button subtle" aria-label=${t('action.copy')}
177
- @click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed')))}>${icons.copy}</button>
183
+ @click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed'), { alert: true }))}>${icons.copy}</button>
178
184
  ${drawnActions('deck', source)}`, more)
179
185
  if (!(review instanceof HTMLElement) || !file) return
180
186
  const changes = file.theirs ? changesOf(file.source, file.theirs) : [], at = view.at
@@ -299,17 +305,11 @@ drawn.value = { ...drawn.peek(), deck, markdown: fenced, md: fenced, slidev: fen
299
305
  function notes(records) {
300
306
  const one = shown.peek()
301
307
  if (!one) return []
302
- const text = `The deck ${one.name} (${one.path}) is open beside the conversation, on slide ${one.at + 1} of ${one.count}.${one.part ? ` The user points at its words "${one.part}".` : ''} As it is now:\n\n\`\`\`\`deck\n${one.source.trim()}\n\`\`\`\`\n\nTo change it, write it again whole in a \`\`\`\`deck block with only what is asked changed: the user accepts or rejects each slide you change.`
308
+ const text = `The deck ${one.name} (${one.path}) is open beside the conversation, on slide ${one.at + 1} of ${one.count}.${one.part ? ` The user points at its words "${one.part}".` : ''} As it is now:\n\n\`\`\`\`deck\n${one.source.trim()}\n\`\`\`\`\n\nTo change it, write it again whole in a \`\`\`\`deck block with only what is asked changed: the user accepts or rejects each slide you change. A deck about something else is a new one, with a title of its own.`
303
309
  const last = records.findLast(({ update }) => update?.sessionUpdate === '_system_note' && update.data?.kind === 'deck')
304
310
  return last?.update?.sessionUpdate === '_system_note' && last.update.text === text ? [] : [noteRecord(text, { kind: 'deck', uri: one.path })]
305
311
  }
306
312
 
307
- /** Save's menu, once its module is in (./save.js). */
308
- const saving = signal(/** @type {((file: { uri: string, name: string }) => unknown) | null} */ (null))
309
- /** Settings › Appearance › Design system (D602), its page loaded the first time Appearance shows its row. @type {import('@preact/signals-core').Signal<typeof import('./kit-page.js') | null>} */
310
- const kitPage = signal(null)
311
- const kitPart = () => kitPage.value ?? (void import('./kit-page.js').then((module) => { kitPage.value = module }), null)
312
-
313
313
  register({ id: 'slides', slots: { modes: { at: 12, draw: () => null, notes },
314
- look: { at: 0, draw: () => kitPart()?.entry() ?? nothing, page: (/** @type {string} */ name) => (/^kit(-project)?$/.test(name) ? kitPart()?.page() ?? nothing : null) },
315
- head: { at: 2, draw: (/** @type {{ uri: string, name: string }} */ file) => (/^decks\//.test(file.uri) ? (saving.value ?? (import('./save.js').then((module) => { saving.value = module.saveMenu }), () => nothing))(file) : nothing) } } })
314
+ look: kitSlot,
315
+ out: { at: 2, draw: () => null, of: (/** @type {{ uri: string }} */ { uri }) => /^decks\//.test(uri), load: () => import('./save.js') } } })
@@ -0,0 +1,133 @@
1
+ // A Formula column's cells: one formula for the column, worked out for each row from its other cells as the collection is read
2
+ // (`worked()`), so that sorting, filters, the foot, the workbook and the brain see them as any other. Jean reads it itself, never with eval:
3
+ // numbers, "text", the row's columns by their names as written (the longest name first, as it is cased before in any case), + - * / % and ** or ^, = != < <= > >=, brackets,
4
+ // if(test, yes, no) and every function and constant of Math by its name alone (round, max, sqrt, PI…). Renamed, a column keeps its formulas (`renamed()`). A page's
5
+ // parts read their formulas with it too (../interactive/live.js). Pure, so Node's tests run it.
6
+
7
+ /** @import { Table, Property } from './table.js' */
8
+ /** @import { Row } from './changes.js' */
9
+ /** @typedef {{ text: string, at: number, column?: Property }} Token */
10
+ /** @typedef {(cells: Record<string, unknown>) => any} Part */
11
+
12
+ /** Math's own names, by their lower case: round, pi, log10… */
13
+ const MATH = new Map(Object.getOwnPropertyNames(Math).map((name) => [name.toLowerCase(), name]))
14
+ const OPS = /** @type {Record<string, (a: any, b: any) => unknown>} */ ({ '+': (a, b) => a + b, '-': (a, b) => a - b, '*': (a, b) => a * b, '/': (a, b) => a / b, '%': (a, b) => a % b, '**': (a, b) => a ** b, '^': (a, b) => a ** b,
15
+ '=': (a, b) => a == b, '!=': (a, b) => a != b, '<': (a, b) => a < b, '<=': (a, b) => a <= b, '>': (a, b) => a > b, '>=': (a, b) => a >= b })
16
+ const TOKEN = /^(?:(?:\d+\.?\d*|\.\d+)(?:e[+-]?\d+)?|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|[\p{L}_][\p{L}\p{N}_]*|\*\*|[<>!]=|[-+*/%^(),=<>])/iu
17
+ const wrong = () => new Error('This formula can\'t be worked out.')
18
+
19
+ /** A formula's tokens, a column's where its name is written, the longest first, as a word of its own. @param {string} text @param {Property[]} columns @returns {Token[]} */
20
+ function tokens(text, columns) {
21
+ const named = [...columns].sort((a, b) => b.name.length - a.name.length), out = []
22
+ for (let at = 0; at < text.length;) {
23
+ const rest = text.slice(at), space = /^\s+/u.exec(rest)?.[0].length
24
+ if (space) { at += space; continue }
25
+ /** The longest name written here, as a word of its own, not a function's. @param {(said: string, name: string) => boolean} same */
26
+ const written = (same) => named.find(({ name }) => same(rest.slice(0, name.length), name) && !/^(?:[\p{L}\p{N}_]|\s*\()/u.test(rest.slice(name.length)))
27
+ const column = written((said, name) => said === name) ?? written((said, name) => said.toLocaleLowerCase() === name.toLocaleLowerCase())
28
+ const found = column ? rest.slice(0, column.name.length) : TOKEN.exec(rest)?.[0]
29
+ if (!found) throw wrong()
30
+ out.push({ text: found, at, column })
31
+ at += found.length
32
+ }
33
+ return out
34
+ }
35
+
36
+ /**
37
+ * A formula as a function of a row's cells; throws when it can't be read. An empty cell is 0 in a number column, unticked in a box's, else "".
38
+ * @param {string} text @param {Property[]} columns @returns {Part}
39
+ */
40
+ export function compile(text, columns) {
41
+ const list = tokens(text, columns)
42
+ let i = 0
43
+ const take = (/** @type {string} */ what) => list[i]?.text === what && ++i > 0
44
+ /** Parts joined by these operators, from the left. @param {() => Part} next @param {string[]} ops @returns {() => Part} */
45
+ const chain = (next, ops) => () => {
46
+ let left = next()
47
+ for (let op = list[i]?.text; ops.includes(op); op = list[i]?.text) {
48
+ i++
49
+ const [a, b] = [left, next()]
50
+ left = (cells) => OPS[op](a(cells), b(cells))
51
+ }
52
+ return left
53
+ }
54
+ /** @returns {Part} */
55
+ const power = () => {
56
+ const base = unary(), exponent = take('**') || take('^') ? power() : null
57
+ return exponent ? (cells) => base(cells) ** exponent(cells) : base
58
+ }
59
+ /** @returns {Part} */
60
+ const unary = () => {
61
+ const sign = take('-') ? -1 : take('+') ? 1 : 0
62
+ if (!sign) return atom()
63
+ const part = unary()
64
+ return (cells) => sign * part(cells)
65
+ }
66
+ const compare = chain(chain(chain(power, ['*', '/', '%']), ['+', '-']), ['=', '!=', '<', '<=', '>', '>='])
67
+ /** @returns {Part} */
68
+ const atom = () => {
69
+ const token = list[i++]
70
+ if (!token) throw wrong()
71
+ if (token.column) {
72
+ const { id, type } = token.column, empty = type === 'number' ? 0 : type === 'checkbox' ? false : /** @type {string} */ (type) === 'live' ? NaN : ''
73
+ return (cells) => cells[id] ?? empty
74
+ }
75
+ if (token.text === '(') {
76
+ const inner = compare()
77
+ if (!take(')')) throw wrong()
78
+ return inner
79
+ }
80
+ if (/^[\d.]/.test(token.text)) return ((number) => () => number)(Number(token.text))
81
+ if (/^["']/.test(token.text)) return ((words) => () => words)(token.text.slice(1, -1).replace(/\\(.)/gu, '$1'))
82
+ if (token.text.toLowerCase() === 'if' && take('(')) {
83
+ const test = compare(), yes = take(',') && compare(), no = take(',') && compare()
84
+ if (!yes || !no || !take(')')) throw wrong()
85
+ return (cells) => (test(cells) ? yes(cells) : no(cells))
86
+ }
87
+ const member = /** @type {Record<string, unknown>} */ (/** @type {unknown} */ (Math))[MATH.get(token.text.toLowerCase()) ?? '']
88
+ if (member === undefined) throw wrong()
89
+ if (typeof member !== 'function') return () => member
90
+ if (!take('(')) throw wrong()
91
+ /** @type {Part[]} */
92
+ const args = []
93
+ if (!take(')')) {
94
+ do args.push(compare()); while (take(','))
95
+ if (!take(')')) throw wrong()
96
+ }
97
+ return (cells) => member(...args.map((arg) => arg(cells)))
98
+ }
99
+ const whole = compare()
100
+ if (i < list.length) throw wrong()
101
+ return whole
102
+ }
103
+
104
+ /** A result as a cell holds it: a finite number, text or a box's value; anything else none. @param {Part} part @param {Record<string, unknown>} cells */
105
+ const result = (part, cells) => {
106
+ let value
107
+ try { value = part(cells) } catch { return null }
108
+ return typeof value === 'number' ? (Number.isFinite(value) ? value : null) : typeof value === 'string' || typeof value === 'boolean' ? value : null
109
+ }
110
+
111
+ /** A Formula's function, none for one empty or that can't be read. @param {Property} property @param {Property[]} columns @returns {Part} */
112
+ const partOf = (property, columns) => { try { return property.formula?.trim() ? compile(property.formula, columns) : () => null } catch { return () => null } }
113
+
114
+ /**
115
+ * The rows with each formula's cell worked out, twice over, so that a formula naming a later one sees it; one empty or that can't be read
116
+ * leaves its cells empty, whatever they held as another kind.
117
+ * @param {Table} table @param {Row[]} rows @returns {Row[]}
118
+ */
119
+ export function worked(table, rows) {
120
+ const columns = table.properties.filter((property) => !property.deleted)
121
+ const formulas = columns.flatMap((property) => (property.type === 'formula' ? [/** @type {const} */ ([property.id, partOf(property, columns)])] : []))
122
+ if (!formulas.length) return rows
123
+ return rows.map((row) => {
124
+ const cells = { ...row.cells }
125
+ for (const _ of [1, 2]) for (const [id, part] of formulas) cells[id] = result(part, cells)
126
+ return { ...row, cells }
127
+ })
128
+ }
129
+
130
+ /** A formula with a column's name written anew where it names it; as it was when it can't be read. @param {string} text @param {Property[]} columns @param {string} id @param {string} name */
131
+ export function renamed(text, columns, id, name) {
132
+ try { return tokens(text, columns).reduceRight((out, token) => (token.column?.id === id ? `${out.slice(0, token.at)}${name}${out.slice(token.at + token.text.length)}` : out), text) } catch { return text }
133
+ }
package/core/anthropic.js CHANGED
@@ -4,7 +4,7 @@ import { LLMError, headersFor, post, endpoint, sseEvents, parseData, parseArgs,
4
4
  /**
5
5
  * @import { ChatMessage, SystemNote, StreamEvent, StopReason, Usage, Connection, Prompt, WireRequest } from './types.js'
6
6
  * @import { SSEEvent } from './sse.js'
7
- * @typedef {{ role: 'user'|'assistant', content: any[] }} AnthropicMessage
7
+ * @import { AnthropicMessage, AnthropicBlock, AnthropicRequestBody, AnthropicStreamBlock, AnthropicDelta, AnthropicCitation, AnthropicUsage } from './wire.js'
8
8
  */
9
9
 
10
10
  // Adaptive thinking exists from Claude 4.6 on, except Haiku; older models reject it.
@@ -81,7 +81,7 @@ export function minimumCacheable(model) {
81
81
  /** @param {Connection & Prompt} options @returns {WireRequest} */
82
82
  function anthropicRequest({ brain, apiKey, system, messages, tools = [], maxTokens, effort }) {
83
83
  const headers = headersFor(brain, apiKey)
84
- /** @type {Record<string, any>} */
84
+ /** @type {AnthropicRequestBody} */
85
85
  const body = { model: brain.model, max_tokens: maxTokens ?? 64000, stream: true }
86
86
  // One breakpoint at the end of the frozen system prompt (tools come before it), and
87
87
  // automatic caching for the growing conversation (D49).
@@ -126,7 +126,7 @@ function toAnthropic(messages, model) {
126
126
  if (!next.content.length) continue
127
127
  const prev = out.at(-1)
128
128
  // Roles must alternate: consecutive tool results become one user message.
129
- if (prev?.role === next.role) /** @type {AnthropicMessage} */ (prev).content = [.../** @type {any[]} */ (prev.content), ...next.content]
129
+ if (prev?.role === next.role) /** @type {AnthropicMessage} */ (prev).content = [.../** @type {AnthropicMessage['content']} */ (prev.content), ...next.content]
130
130
  else out.push(next)
131
131
  if (message.role === 'user' && notes.length) {
132
132
  if (native) for (const text of notes) out.push({ role: 'system', content: text })
@@ -148,7 +148,7 @@ function toAnthropicMessage(m, model) {
148
148
  }
149
149
  // Thinking blocks must come back exactly as they were received, to the model that made them.
150
150
  if (Array.isArray(m.raw) && (!m.rawModel || m.rawModel === model)) return { role: 'assistant', content: m.raw }
151
- /** @type {any[]} */
151
+ /** @type {AnthropicBlock[]} */
152
152
  const content = m.content ? [{ type: 'text', text: m.content }] : []
153
153
  for (const c of m.toolCalls ?? []) content.push({ type: 'tool_use', id: c.id, name: c.name, input: c.args ?? {} })
154
154
  return { role: 'assistant', content }
@@ -173,8 +173,8 @@ async function* readAnthropic(events) {
173
173
  if (out) yield out
174
174
  }
175
175
  // Text that cites web pages: the sources follow it, as [n] once numbered.
176
- const cited = type === 'content_block_stop' ? blocks[d.index]?.citations?.filter((/** @type {any} */ c) => c.url) : null
177
- if (cited?.length) yield { type: 'cite', sources: cited.map((/** @type {any} */ c) => ({ title: c.title || c.url, url: c.url, quote: c.cited_text })) }
176
+ const cited = type === 'content_block_stop' ? blocks[d.index]?.citations?.filter((/** @type {AnthropicCitation} */ c) => c.url) : null
177
+ if (cited?.length) yield { type: 'cite', sources: cited.map((/** @type {AnthropicCitation & { url: string }} */ c) => ({ title: c.title || c.url, url: c.url, quote: c.cited_text })) }
178
178
  if (type === 'message_delta') {
179
179
  stop = d.delta?.stop_reason ?? stop
180
180
  // Later counts are cumulative and may restate earlier ones.
@@ -191,7 +191,7 @@ async function* readAnthropic(events) {
191
191
  yield doneEvent(STOP.get(stop) ?? 'other', anthropicUsage(usage), text, toolCalls, raw)
192
192
  }
193
193
 
194
- /** @param {any} block */
194
+ /** @param {any} block @returns {AnthropicStreamBlock} */
195
195
  function startBlock(block = {}) {
196
196
  switch (block.type) {
197
197
  case 'text': return { type: 'text', text: block.text ?? '' }
@@ -203,7 +203,7 @@ function startBlock(block = {}) {
203
203
  }
204
204
  }
205
205
 
206
- /** @param {any} block @param {any} delta @returns {StreamEvent|null} */
206
+ /** @param {any} block @param {AnthropicDelta | undefined} delta @returns {StreamEvent|null} */
207
207
  function applyDelta(block, delta) {
208
208
  if (!block || !delta) return null
209
209
  if (delta.type === 'signature_delta') block.signature += delta.signature
@@ -219,7 +219,7 @@ function applyDelta(block, delta) {
219
219
  /**
220
220
  * After a mid-output refusal, the API keeps the declined partial and marks the switch with a
221
221
  * 'fallback' block. Only its text may be echoed back; thinking and tool calls before it are dropped.
222
- * @param {any[]} blocks
222
+ * @template {{ type: string }} T @param {T[]} blocks
223
223
  */
224
224
  function keepAfterFallback(blocks) {
225
225
  const cut = blocks.map((b) => b.type).lastIndexOf('fallback')
@@ -239,7 +239,7 @@ function finishBlock(block) {
239
239
  }
240
240
  }
241
241
 
242
- /** Anthropic counts cached input apart; Usage.inputTokens counts all of it. @param {any} u @returns {Usage} */
242
+ /** Anthropic counts cached input apart; Usage.inputTokens counts all of it. @param {AnthropicUsage} u @returns {Usage} */
243
243
  function anthropicUsage(u) {
244
244
  const read = u.cache_read_input_tokens ?? 0
245
245
  const write = u.cache_creation_input_tokens ?? 0
@@ -59,14 +59,12 @@ export async function rewriteRecords(fs, path, records) {
59
59
  }
60
60
 
61
61
  /** @param {string | undefined} line @returns {any} the parsed object, or null when the line is not a JSON object */
62
- function parseLine(line) {
62
+ export function parseLine(line) {
63
63
  if (line === undefined) return null
64
64
  try {
65
65
  const value = JSON.parse(line)
66
66
  return value && typeof value === 'object' && !Array.isArray(value) ? value : null
67
- } catch {
68
- return null
69
- }
67
+ } catch { return null }
70
68
  }
71
69
 
72
70
  /** @param {FS} fs @param {string} path @returns {Promise<Conversation | null>} null when the file does not exist */
package/core/deferred.js CHANGED
@@ -1,20 +1,41 @@
1
1
  // Deferred tools (D47): the conversation declares only the tools it started with; the
2
2
  // rest are found with find_tools. With codemode declared, they are called from a script;
3
3
  // otherwise the tools found are declared from the next request on (one cache miss).
4
- import { bm25 } from './search.js'
4
+ import { bm25, words } from './search.js'
5
5
 
6
6
  /** @typedef {import('./loop.js').Tool} Tool */
7
7
 
8
8
  /** A tool name a script can write as `tools.<name>`: `notion-search` would read as a subtraction (D106). @param {string} name */
9
9
  export const identifier = (name) => name.replace(/\W/g, '_').replace(/^\d/, '_$&')
10
10
 
11
- /** One line a brain can call from:`name({ file: string, pages?: string }): what it does`. @param {Tool} tool */
12
- export function signature({ spec }) {
13
- const { properties = {}, required = [] } = /** @type {any} */ (spec.parameters)
14
- const args = Object.entries(properties).map(([name, schema]) => `${name}${required.includes(name) ? '' : '?'}: ${/** @type {any} */ (schema).type ?? 'any'}`)
15
- return `${spec.name}({ ${args.join(', ')} }): ${spec.description}`
11
+ /** The words of a tool's name, which the search's own words keep as one: `query_data_sources`. @param {string} text */
12
+ const spaced = (text) => text.replace(/_/g, ' ')
13
+
14
+ /** `name: type, other?: type` of an object's properties. @param {any} schema @param {(property: any) => string} each */
15
+ const fields = ({ properties = {}, required = [] }, each) => Object.entries(properties).map(([name, property]) => `${name}${required.includes(name) ? '' : '?'}: ${each(property)}`).join(', ')
16
+
17
+ /**
18
+ * A schema as a brain reads it, `{ mode: "rows", url: string } | string[]`, saying `object` past its depth.
19
+ * @param {any} schema @param {any} root what a `$ref` points into @param {number} depth @returns {string}
20
+ */
21
+ function shape(schema, root, depth) {
22
+ const { $ref, anyOf, oneOf, enum: values, type, items, properties } = schema ?? {}
23
+ const either = (/** @type {string[]} */ list) => [...new Set(list)].join(' | ')
24
+ if ($ref) return depth ? shape((root.$defs ?? root.definitions)?.[$ref.split('/').pop()], root, depth - 1) : 'object'
25
+ if (schema?.const !== undefined || values) return either((values ?? [schema.const]).map((/** @type {unknown} */ value) => JSON.stringify(value)))
26
+ if (anyOf ?? oneOf) return either((anyOf ?? oneOf).map((/** @type {unknown} */ one) => shape(one, root, depth)))
27
+ if (Array.isArray(type)) return either(type.map((one) => shape({ ...schema, type: one }, root, depth)))
28
+ if (type === 'array' && items && depth) return shape(items, root, depth - 1).replace(/^.* \| .*$/, '($&)') + '[]'
29
+ if (properties && depth) return `{ ${fields(schema, (property) => shape(property, root, depth - 1))} }`
30
+ return type ?? (properties ? 'object' : 'any')
16
31
  }
17
32
 
33
+ /** What a tool takes, `{ file: string, pages?: string }`: each argument in full, or less when that would be long. @param {Tool['spec']} spec */
34
+ export const takes = ({ parameters }) => `{ ${fields(parameters, (schema) => [3, 2, 1, 0].map((depth) => shape(schema, parameters, depth)).find((text) => text.length <= 800) ?? schema.type ?? 'any')} }`
35
+
36
+ /** One line a brain can call from:`name({ file: string, pages?: string }): what it does`. @param {Tool} tool */
37
+ export const signature = ({ spec }) => `${spec.name}(${takes(spec)}): ${spec.description}`
38
+
18
39
  /**
19
40
  * Tools the brain can't call directly yet, reached by a shared step: `reach` declares them
20
41
  * when there is no `run` to call them from, and says how to call them either way.
@@ -27,22 +48,22 @@ export function reach(names, ctx) {
27
48
  return 'You can call them directly from your next step.'
28
49
  }
29
50
 
30
- /** @param {{ tools: () => Tool[] }} options @returns {Tool} */
31
- export function findTools({ tools }) {
51
+ /** @param {{ tools: () => Tool[], none?: string }} options none: what it says when there are no others @returns {Tool} */
52
+ export function findTools({ tools, none = 'There are no other tools.' }) {
32
53
  return {
33
- spec: {
34
- name: 'find_tools',
35
- description: 'Find tools that are not listed yet, by what they do, and learn how to call them.',
36
- parameters: { type: 'object', properties: { query: { type: 'string', description: 'What the tool should do, in English' } }, required: ['query'] },
37
- },
54
+ spec: { name: 'find_tools', description: 'Find tools that are not listed yet, by what they do, and learn how to call them.', parameters: { type: 'object', properties: { query: { type: 'string', description: 'What the tool should do, in English' } }, required: ['query'] } },
38
55
  kind: 'search',
39
56
  title: (args) => `Find tools: ${args?.query ?? ''}`,
40
57
  run: async (args, ctx) => {
41
58
  const deferred = tools().filter((tool) => !tool.hidden && !tool.off && (tool.for?.(ctx.brain) ?? true) && !ctx.declared.includes(tool.spec.name))
42
- if (!deferred.length) return 'There are no other tools.'
43
- const hits = bm25(deferred.map((tool) => `${tool.spec.name.replace(/_/g, ' ')} ${tool.spec.description}`), String(args?.query ?? ''))
44
- const found = (hits.length ? hits.map((hit) => deferred[hit.index]) : deferred).slice(0, 5)
45
- return `${found.map(signature).join('\n')}\n\n${reach(found.map((tool) => tool.spec.name), ctx)}`
59
+ if (!deferred.length) return none
60
+ const query = spaced(String(args?.query ?? ''))
61
+ // A tool asked for by name comes before those that mention it, the name that says least first.
62
+ const named = deferred.filter((tool) => words(query).length && words(query).every((word) => words(spaced(tool.spec.name)).includes(word))).sort((a, b) => a.spec.name.length - b.spec.name.length)
63
+ const hits = bm25(deferred.map((tool) => `${spaced(tool.spec.name)} ${tool.spec.description}`), query).map((hit) => deferred[hit.index])
64
+ // Nothing that does it is said so, with what can be asked for by name, and nothing is declared.
65
+ const found = [...new Set([...named, ...hits])].slice(0, 5)
66
+ return found.length ? `${found.map(signature).join('\n')}\n\n${reach(found.map((tool) => tool.spec.name), ctx)}` : `No tool does that. Those that can be found: ${deferred.map((tool) => tool.spec.name).join(', ')}.`
46
67
  },
47
68
  }
48
69
  }