@jean-is/render 0.8.0-r76d96f3bc93c → 0.8.0-r7db1ea955b63

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 (1848) hide show
  1. package/brand.js +2 -1
  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/office.js +17 -10
  6. package/caps/files/pdf.js +3 -0
  7. package/caps/games/shell.js +2 -2
  8. package/caps/interactive/apps.js +14 -7
  9. package/caps/interactive/diagram.js +97 -23
  10. package/caps/interactive/interactive.css +7 -1
  11. package/caps/interactive/interactive.js +58 -18
  12. package/caps/interactive/live.js +96 -0
  13. package/caps/interactive/map.js +30 -4
  14. package/caps/interactive/mode.js +9 -6
  15. package/caps/interactive/page-diagram.js +6 -2
  16. package/caps/interactive/parts.js +20 -12
  17. package/caps/interactive/starts.js +15 -0
  18. package/caps/interactive/test.js +76 -0
  19. package/caps/interactive/view-parts.js +54 -31
  20. package/caps/layouts/layouts.css +6 -7
  21. package/caps/layouts/layouts.js +48 -39
  22. package/caps/layouts/shapes.js +49 -33
  23. package/caps/layouts/types.d.ts +8 -0
  24. package/caps/made/formats.js +19 -17
  25. package/caps/made/paper.js +13 -44
  26. package/caps/math/math.js +2 -2
  27. package/caps/receipt/der.js +1 -1
  28. package/caps/scores/scores.css +3 -3
  29. package/caps/scores/scores.js +41 -49
  30. package/caps/share/view.js +1 -1
  31. package/caps/skills/directory.js +4 -0
  32. package/caps/slides/edit.js +13 -3
  33. package/caps/slides/kit-page.js +24 -23
  34. package/caps/slides/kit-sample.js +1 -1
  35. package/caps/slides/save.js +24 -58
  36. package/caps/slides/slides.css +9 -9
  37. package/caps/slides/slides.js +18 -14
  38. package/caps/tables/formula.js +133 -0
  39. package/core/anthropic.js +10 -10
  40. package/core/conversations.js +2 -4
  41. package/core/deferred.js +35 -14
  42. package/core/events.js +4 -4
  43. package/core/files.js +1 -1
  44. package/core/fs.js +3 -7
  45. package/core/hooks.js +5 -5
  46. package/core/i18n.js +4 -4
  47. package/core/llm.js +36 -30
  48. package/core/loop.js +20 -18
  49. package/core/rules.js +1 -1
  50. package/core/settings.js +5 -59
  51. package/core/skills.js +1 -1
  52. package/core/vertex.js +1 -1
  53. package/core/zip.js +1 -1
  54. package/locales/am.json +40 -21
  55. package/locales/approvals/am.json +2 -3
  56. package/locales/approvals/ar.json +2 -3
  57. package/locales/approvals/bg.json +2 -3
  58. package/locales/approvals/bn.json +2 -3
  59. package/locales/approvals/br.json +8 -9
  60. package/locales/approvals/co.json +19 -20
  61. package/locales/approvals/cs.json +2 -3
  62. package/locales/approvals/da.json +2 -3
  63. package/locales/approvals/de.json +7 -8
  64. package/locales/approvals/el.json +2 -3
  65. package/locales/approvals/en.json +4 -5
  66. package/locales/approvals/es.json +8 -9
  67. package/locales/approvals/fa.json +2 -3
  68. package/locales/approvals/fi.json +2 -3
  69. package/locales/approvals/fr-CA.json +6 -7
  70. package/locales/approvals/fr.json +6 -7
  71. package/locales/approvals/ha.json +2 -3
  72. package/locales/approvals/he.json +2 -3
  73. package/locales/approvals/hi.json +2 -3
  74. package/locales/approvals/hr.json +2 -3
  75. package/locales/approvals/hu.json +2 -3
  76. package/locales/approvals/id.json +2 -3
  77. package/locales/approvals/it.json +11 -12
  78. package/locales/approvals/ja.json +9 -10
  79. package/locales/approvals/ko.json +21 -22
  80. package/locales/approvals/mr.json +2 -3
  81. package/locales/approvals/ms.json +2 -3
  82. package/locales/approvals/nl.json +2 -3
  83. package/locales/approvals/pl.json +2 -3
  84. package/locales/approvals/pt.json +7 -8
  85. package/locales/approvals/ro.json +2 -3
  86. package/locales/approvals/ru.json +2 -3
  87. package/locales/approvals/sk.json +2 -3
  88. package/locales/approvals/sv.json +2 -3
  89. package/locales/approvals/sw.json +2 -3
  90. package/locales/approvals/ta.json +2 -3
  91. package/locales/approvals/te.json +2 -3
  92. package/locales/approvals/th.json +2 -3
  93. package/locales/approvals/tl.json +2 -3
  94. package/locales/approvals/tr.json +2 -3
  95. package/locales/approvals/uk.json +2 -3
  96. package/locales/approvals/ur.json +2 -3
  97. package/locales/approvals/vi.json +2 -3
  98. package/locales/approvals/yo.json +2 -3
  99. package/locales/approvals/zh-Hans.json +6 -7
  100. package/locales/approvals/zh-Hant.json +5 -6
  101. package/locales/ar.json +44 -21
  102. package/locales/backup/de.json +1 -1
  103. package/locales/backup/ko.json +1 -1
  104. package/locales/backup/pt.json +1 -1
  105. package/locales/backup/zh-Hans.json +1 -1
  106. package/locales/bg.json +40 -21
  107. package/locales/bn.json +39 -20
  108. package/locales/br.json +64 -42
  109. package/locales/brain-local/ja.json +1 -1
  110. package/locales/brain-local/pt.json +3 -3
  111. package/locales/brain-local/zh-Hans.json +1 -1
  112. package/locales/brain-local/zh-Hant.json +3 -3
  113. package/locales/brains/am.json +3 -1
  114. package/locales/brains/ar.json +3 -1
  115. package/locales/brains/bg.json +3 -1
  116. package/locales/brains/bn.json +3 -1
  117. package/locales/brains/br.json +12 -10
  118. package/locales/brains/co.json +14 -12
  119. package/locales/brains/cs.json +3 -1
  120. package/locales/brains/da.json +3 -1
  121. package/locales/brains/de.json +9 -7
  122. package/locales/brains/el.json +3 -1
  123. package/locales/brains/en.json +8 -6
  124. package/locales/brains/es.json +16 -14
  125. package/locales/brains/fa.json +3 -1
  126. package/locales/brains/fi.json +3 -1
  127. package/locales/brains/fr-CA.json +10 -8
  128. package/locales/brains/fr.json +10 -8
  129. package/locales/brains/ha.json +3 -1
  130. package/locales/brains/he.json +3 -1
  131. package/locales/brains/hi.json +3 -1
  132. package/locales/brains/hr.json +3 -1
  133. package/locales/brains/hu.json +3 -1
  134. package/locales/brains/id.json +3 -1
  135. package/locales/brains/it.json +10 -8
  136. package/locales/brains/ja.json +11 -9
  137. package/locales/brains/ko.json +14 -12
  138. package/locales/brains/mr.json +3 -1
  139. package/locales/brains/ms.json +3 -1
  140. package/locales/brains/nl.json +3 -1
  141. package/locales/brains/pl.json +3 -1
  142. package/locales/brains/pt.json +13 -11
  143. package/locales/brains/ro.json +3 -1
  144. package/locales/brains/ru.json +3 -1
  145. package/locales/brains/sk.json +3 -1
  146. package/locales/brains/sv.json +3 -1
  147. package/locales/brains/sw.json +3 -1
  148. package/locales/brains/ta.json +3 -1
  149. package/locales/brains/te.json +3 -1
  150. package/locales/brains/th.json +3 -1
  151. package/locales/brains/tl.json +3 -1
  152. package/locales/brains/tr.json +3 -1
  153. package/locales/brains/uk.json +3 -1
  154. package/locales/brains/ur.json +3 -1
  155. package/locales/brains/vi.json +3 -1
  156. package/locales/brains/yo.json +3 -1
  157. package/locales/brains/zh-Hans.json +9 -7
  158. package/locales/brains/zh-Hant.json +16 -14
  159. package/locales/browser/co.json +2 -2
  160. package/locales/browser/es.json +1 -1
  161. package/locales/browser/it.json +1 -1
  162. package/locales/browser/ja.json +2 -2
  163. package/locales/browser/ko.json +6 -6
  164. package/locales/browser/pt.json +2 -2
  165. package/locales/camera/br.json +1 -1
  166. package/locales/camera/co.json +1 -1
  167. package/locales/camera/de.json +1 -1
  168. package/locales/camera/it.json +1 -1
  169. package/locales/camera/ja.json +2 -2
  170. package/locales/camera/ko.json +2 -2
  171. package/locales/camera/zh-Hant.json +1 -1
  172. package/locales/case/br.json +1 -1
  173. package/locales/case/co.json +5 -5
  174. package/locales/case/de.json +1 -1
  175. package/locales/case/es.json +1 -1
  176. package/locales/case/it.json +2 -2
  177. package/locales/case/ja.json +6 -6
  178. package/locales/case/ko.json +1 -1
  179. package/locales/case/pt.json +6 -6
  180. package/locales/case/zh-Hant.json +1 -1
  181. package/locales/certificates/co.json +7 -7
  182. package/locales/certificates/es.json +2 -2
  183. package/locales/certificates/fr-CA.json +7 -7
  184. package/locales/certificates/fr.json +7 -7
  185. package/locales/certificates/it.json +3 -3
  186. package/locales/certificates/ja.json +2 -2
  187. package/locales/certificates/ko.json +1 -1
  188. package/locales/certificates/pt.json +2 -2
  189. package/locales/certificates/zh-Hans.json +5 -5
  190. package/locales/certificates/zh-Hant.json +6 -6
  191. package/locales/charts/am.json +2 -0
  192. package/locales/charts/ar.json +2 -0
  193. package/locales/charts/bg.json +2 -0
  194. package/locales/charts/bn.json +2 -0
  195. package/locales/charts/br.json +2 -0
  196. package/locales/charts/co.json +2 -0
  197. package/locales/charts/cs.json +2 -0
  198. package/locales/charts/da.json +2 -0
  199. package/locales/charts/de.json +3 -1
  200. package/locales/charts/el.json +2 -0
  201. package/locales/charts/en.json +2 -0
  202. package/locales/charts/es.json +2 -0
  203. package/locales/charts/fa.json +2 -0
  204. package/locales/charts/fi.json +2 -0
  205. package/locales/charts/fr-CA.json +2 -0
  206. package/locales/charts/fr.json +2 -0
  207. package/locales/charts/ha.json +2 -0
  208. package/locales/charts/he.json +2 -0
  209. package/locales/charts/hi.json +2 -0
  210. package/locales/charts/hr.json +2 -0
  211. package/locales/charts/hu.json +2 -0
  212. package/locales/charts/id.json +2 -0
  213. package/locales/charts/it.json +2 -0
  214. package/locales/charts/ja.json +2 -0
  215. package/locales/charts/ko.json +3 -1
  216. package/locales/charts/mr.json +2 -0
  217. package/locales/charts/ms.json +2 -0
  218. package/locales/charts/nl.json +2 -0
  219. package/locales/charts/pl.json +2 -0
  220. package/locales/charts/pt.json +2 -0
  221. package/locales/charts/ro.json +2 -0
  222. package/locales/charts/ru.json +2 -0
  223. package/locales/charts/sk.json +2 -0
  224. package/locales/charts/sv.json +2 -0
  225. package/locales/charts/sw.json +2 -0
  226. package/locales/charts/ta.json +2 -0
  227. package/locales/charts/te.json +2 -0
  228. package/locales/charts/th.json +2 -0
  229. package/locales/charts/tl.json +2 -0
  230. package/locales/charts/tr.json +2 -0
  231. package/locales/charts/uk.json +2 -0
  232. package/locales/charts/ur.json +2 -0
  233. package/locales/charts/vi.json +2 -0
  234. package/locales/charts/yo.json +2 -0
  235. package/locales/charts/zh-Hans.json +2 -0
  236. package/locales/charts/zh-Hant.json +2 -0
  237. package/locales/co.json +54 -34
  238. package/locales/compact/es.json +1 -1
  239. package/locales/compact/fr-CA.json +1 -1
  240. package/locales/compact/fr.json +1 -1
  241. package/locales/compact/it.json +1 -1
  242. package/locales/compact/pt.json +2 -2
  243. package/locales/computer/br.json +8 -8
  244. package/locales/computer/co.json +14 -14
  245. package/locales/computer/de.json +4 -4
  246. package/locales/computer/en.json +6 -6
  247. package/locales/computer/es.json +10 -10
  248. package/locales/computer/fr-CA.json +6 -6
  249. package/locales/computer/fr.json +6 -6
  250. package/locales/computer/it.json +9 -9
  251. package/locales/computer/ja.json +8 -8
  252. package/locales/computer/ko.json +14 -14
  253. package/locales/computer/pt.json +10 -10
  254. package/locales/computer/zh-Hans.json +8 -8
  255. package/locales/computer/zh-Hant.json +9 -9
  256. package/locales/connections/am.json +4 -2
  257. package/locales/connections/ar.json +4 -2
  258. package/locales/connections/bg.json +4 -2
  259. package/locales/connections/bn.json +4 -2
  260. package/locales/connections/br.json +5 -3
  261. package/locales/connections/co.json +17 -15
  262. package/locales/connections/cs.json +4 -2
  263. package/locales/connections/da.json +4 -2
  264. package/locales/connections/de.json +4 -2
  265. package/locales/connections/el.json +4 -2
  266. package/locales/connections/en.json +5 -3
  267. package/locales/connections/es.json +7 -5
  268. package/locales/connections/fa.json +4 -2
  269. package/locales/connections/fi.json +4 -2
  270. package/locales/connections/fr-CA.json +5 -3
  271. package/locales/connections/fr.json +5 -3
  272. package/locales/connections/ha.json +4 -2
  273. package/locales/connections/he.json +4 -2
  274. package/locales/connections/hi.json +4 -2
  275. package/locales/connections/hr.json +4 -2
  276. package/locales/connections/hu.json +4 -2
  277. package/locales/connections/id.json +4 -2
  278. package/locales/connections/it.json +13 -11
  279. package/locales/connections/ja.json +28 -26
  280. package/locales/connections/ko.json +7 -5
  281. package/locales/connections/mr.json +4 -2
  282. package/locales/connections/ms.json +4 -2
  283. package/locales/connections/nl.json +4 -2
  284. package/locales/connections/pl.json +4 -2
  285. package/locales/connections/pt.json +10 -8
  286. package/locales/connections/ro.json +4 -2
  287. package/locales/connections/ru.json +4 -2
  288. package/locales/connections/sk.json +4 -2
  289. package/locales/connections/sv.json +4 -2
  290. package/locales/connections/sw.json +4 -2
  291. package/locales/connections/ta.json +4 -2
  292. package/locales/connections/te.json +4 -2
  293. package/locales/connections/th.json +4 -2
  294. package/locales/connections/tl.json +4 -2
  295. package/locales/connections/tr.json +4 -2
  296. package/locales/connections/uk.json +4 -2
  297. package/locales/connections/ur.json +4 -2
  298. package/locales/connections/vi.json +4 -2
  299. package/locales/connections/yo.json +4 -2
  300. package/locales/connections/zh-Hans.json +10 -8
  301. package/locales/connections/zh-Hant.json +23 -21
  302. package/locales/creations/am.json +4 -0
  303. package/locales/creations/ar.json +4 -0
  304. package/locales/creations/bg.json +4 -0
  305. package/locales/creations/bn.json +4 -0
  306. package/locales/creations/br.json +18 -14
  307. package/locales/creations/co.json +15 -11
  308. package/locales/creations/cs.json +4 -0
  309. package/locales/creations/da.json +4 -0
  310. package/locales/creations/de.json +5 -1
  311. package/locales/creations/el.json +4 -0
  312. package/locales/creations/en.json +5 -1
  313. package/locales/creations/es.json +13 -9
  314. package/locales/creations/fa.json +4 -0
  315. package/locales/creations/fi.json +4 -0
  316. package/locales/creations/fr-CA.json +5 -1
  317. package/locales/creations/fr.json +13 -9
  318. package/locales/creations/ha.json +4 -0
  319. package/locales/creations/he.json +4 -0
  320. package/locales/creations/hi.json +4 -0
  321. package/locales/creations/hr.json +4 -0
  322. package/locales/creations/hu.json +4 -0
  323. package/locales/creations/id.json +4 -0
  324. package/locales/creations/it.json +12 -8
  325. package/locales/creations/ja.json +5 -1
  326. package/locales/creations/ko.json +5 -1
  327. package/locales/creations/mr.json +4 -0
  328. package/locales/creations/ms.json +4 -0
  329. package/locales/creations/nl.json +4 -0
  330. package/locales/creations/pl.json +4 -0
  331. package/locales/creations/pt.json +12 -8
  332. package/locales/creations/ro.json +4 -0
  333. package/locales/creations/ru.json +4 -0
  334. package/locales/creations/sk.json +4 -0
  335. package/locales/creations/sv.json +4 -0
  336. package/locales/creations/sw.json +4 -0
  337. package/locales/creations/ta.json +4 -0
  338. package/locales/creations/te.json +4 -0
  339. package/locales/creations/th.json +4 -0
  340. package/locales/creations/tl.json +4 -0
  341. package/locales/creations/tr.json +4 -0
  342. package/locales/creations/uk.json +4 -0
  343. package/locales/creations/ur.json +4 -0
  344. package/locales/creations/vi.json +4 -0
  345. package/locales/creations/yo.json +4 -0
  346. package/locales/creations/zh-Hans.json +5 -1
  347. package/locales/creations/zh-Hant.json +5 -1
  348. package/locales/cs.json +42 -21
  349. package/locales/da.json +39 -20
  350. package/locales/data/am.json +5 -1
  351. package/locales/data/ar.json +5 -1
  352. package/locales/data/bg.json +5 -1
  353. package/locales/data/bn.json +5 -1
  354. package/locales/data/br.json +7 -3
  355. package/locales/data/co.json +8 -4
  356. package/locales/data/cs.json +5 -1
  357. package/locales/data/da.json +5 -1
  358. package/locales/data/de.json +5 -1
  359. package/locales/data/el.json +5 -1
  360. package/locales/data/en.json +5 -1
  361. package/locales/data/es.json +9 -5
  362. package/locales/data/fa.json +5 -1
  363. package/locales/data/fi.json +5 -1
  364. package/locales/data/fr-CA.json +5 -1
  365. package/locales/data/fr.json +5 -1
  366. package/locales/data/ha.json +5 -1
  367. package/locales/data/he.json +5 -1
  368. package/locales/data/hi.json +5 -1
  369. package/locales/data/hr.json +5 -1
  370. package/locales/data/hu.json +5 -1
  371. package/locales/data/id.json +5 -1
  372. package/locales/data/it.json +6 -2
  373. package/locales/data/ja.json +13 -9
  374. package/locales/data/ko.json +7 -3
  375. package/locales/data/mr.json +5 -1
  376. package/locales/data/ms.json +5 -1
  377. package/locales/data/nl.json +5 -1
  378. package/locales/data/pl.json +5 -1
  379. package/locales/data/pt.json +10 -6
  380. package/locales/data/ro.json +5 -1
  381. package/locales/data/ru.json +5 -1
  382. package/locales/data/sk.json +5 -1
  383. package/locales/data/sv.json +5 -1
  384. package/locales/data/sw.json +5 -1
  385. package/locales/data/ta.json +5 -1
  386. package/locales/data/te.json +5 -1
  387. package/locales/data/th.json +5 -1
  388. package/locales/data/tl.json +5 -1
  389. package/locales/data/tr.json +5 -1
  390. package/locales/data/uk.json +5 -1
  391. package/locales/data/ur.json +5 -1
  392. package/locales/data/vi.json +5 -1
  393. package/locales/data/yo.json +5 -1
  394. package/locales/data/zh-Hans.json +7 -3
  395. package/locales/data/zh-Hant.json +9 -5
  396. package/locales/de.json +55 -36
  397. package/locales/designs/am.json +0 -13
  398. package/locales/designs/ar.json +0 -13
  399. package/locales/designs/bg.json +0 -13
  400. package/locales/designs/bn.json +0 -13
  401. package/locales/designs/br.json +9 -22
  402. package/locales/designs/co.json +8 -21
  403. package/locales/designs/cs.json +0 -13
  404. package/locales/designs/da.json +0 -13
  405. package/locales/designs/de.json +1 -14
  406. package/locales/designs/el.json +0 -13
  407. package/locales/designs/en.json +3 -16
  408. package/locales/designs/es.json +0 -13
  409. package/locales/designs/fa.json +0 -13
  410. package/locales/designs/fi.json +0 -13
  411. package/locales/designs/fr-CA.json +4 -17
  412. package/locales/designs/fr.json +5 -18
  413. package/locales/designs/ha.json +0 -13
  414. package/locales/designs/he.json +0 -13
  415. package/locales/designs/hi.json +0 -13
  416. package/locales/designs/hr.json +0 -13
  417. package/locales/designs/hu.json +0 -13
  418. package/locales/designs/id.json +0 -13
  419. package/locales/designs/it.json +6 -19
  420. package/locales/designs/ja.json +10 -23
  421. package/locales/designs/ko.json +6 -19
  422. package/locales/designs/mr.json +0 -13
  423. package/locales/designs/ms.json +0 -13
  424. package/locales/designs/nl.json +0 -13
  425. package/locales/designs/pl.json +0 -13
  426. package/locales/designs/pt.json +3 -16
  427. package/locales/designs/ro.json +0 -13
  428. package/locales/designs/ru.json +0 -13
  429. package/locales/designs/sk.json +0 -13
  430. package/locales/designs/sv.json +0 -13
  431. package/locales/designs/sw.json +0 -13
  432. package/locales/designs/ta.json +0 -13
  433. package/locales/designs/te.json +0 -13
  434. package/locales/designs/th.json +0 -13
  435. package/locales/designs/tl.json +0 -13
  436. package/locales/designs/tr.json +0 -13
  437. package/locales/designs/uk.json +0 -13
  438. package/locales/designs/ur.json +0 -13
  439. package/locales/designs/vi.json +0 -13
  440. package/locales/designs/yo.json +0 -13
  441. package/locales/designs/zh-Hans.json +1 -14
  442. package/locales/designs/zh-Hant.json +1 -14
  443. package/locales/devices/am.json +72 -0
  444. package/locales/devices/ar.json +80 -0
  445. package/locales/devices/bg.json +72 -0
  446. package/locales/devices/bn.json +72 -0
  447. package/locales/devices/br.json +78 -0
  448. package/locales/devices/co.json +74 -0
  449. package/locales/devices/cs.json +76 -0
  450. package/locales/devices/da.json +72 -0
  451. package/locales/devices/de.json +72 -0
  452. package/locales/devices/el.json +72 -0
  453. package/locales/devices/en.json +72 -0
  454. package/locales/devices/es.json +74 -0
  455. package/locales/devices/fa.json +72 -0
  456. package/locales/devices/fi.json +72 -0
  457. package/locales/devices/fr-CA.json +74 -0
  458. package/locales/devices/fr.json +74 -0
  459. package/locales/devices/ha.json +72 -0
  460. package/locales/devices/he.json +74 -0
  461. package/locales/devices/hi.json +72 -0
  462. package/locales/devices/hr.json +74 -0
  463. package/locales/devices/hu.json +72 -0
  464. package/locales/devices/id.json +70 -0
  465. package/locales/devices/it.json +74 -0
  466. package/locales/devices/ja.json +70 -0
  467. package/locales/devices/ko.json +70 -0
  468. package/locales/devices/mr.json +72 -0
  469. package/locales/devices/ms.json +70 -0
  470. package/locales/devices/nl.json +72 -0
  471. package/locales/devices/pl.json +76 -0
  472. package/locales/devices/pt.json +74 -0
  473. package/locales/devices/ro.json +74 -0
  474. package/locales/devices/ru.json +76 -0
  475. package/locales/devices/sk.json +76 -0
  476. package/locales/devices/sv.json +72 -0
  477. package/locales/devices/sw.json +72 -0
  478. package/locales/devices/ta.json +72 -0
  479. package/locales/devices/te.json +72 -0
  480. package/locales/devices/th.json +70 -0
  481. package/locales/devices/tl.json +72 -0
  482. package/locales/devices/tr.json +72 -0
  483. package/locales/devices/uk.json +76 -0
  484. package/locales/devices/ur.json +72 -0
  485. package/locales/devices/vi.json +70 -0
  486. package/locales/devices/yo.json +70 -0
  487. package/locales/devices/zh-Hans.json +70 -0
  488. package/locales/devices/zh-Hant.json +70 -0
  489. package/locales/dialogs/am.json +19 -11
  490. package/locales/dialogs/ar.json +19 -11
  491. package/locales/dialogs/bg.json +19 -11
  492. package/locales/dialogs/bn.json +19 -11
  493. package/locales/dialogs/br.json +38 -30
  494. package/locales/dialogs/co.json +34 -26
  495. package/locales/dialogs/cs.json +19 -11
  496. package/locales/dialogs/da.json +19 -11
  497. package/locales/dialogs/de.json +32 -24
  498. package/locales/dialogs/el.json +19 -11
  499. package/locales/dialogs/en.json +27 -19
  500. package/locales/dialogs/es.json +43 -35
  501. package/locales/dialogs/fa.json +19 -11
  502. package/locales/dialogs/fi.json +19 -11
  503. package/locales/dialogs/fr-CA.json +30 -22
  504. package/locales/dialogs/fr.json +30 -22
  505. package/locales/dialogs/ha.json +19 -11
  506. package/locales/dialogs/he.json +19 -11
  507. package/locales/dialogs/hi.json +19 -11
  508. package/locales/dialogs/hr.json +19 -11
  509. package/locales/dialogs/hu.json +19 -11
  510. package/locales/dialogs/id.json +19 -11
  511. package/locales/dialogs/it.json +37 -29
  512. package/locales/dialogs/ja.json +71 -63
  513. package/locales/dialogs/ko.json +42 -34
  514. package/locales/dialogs/mr.json +19 -11
  515. package/locales/dialogs/ms.json +19 -11
  516. package/locales/dialogs/nl.json +19 -11
  517. package/locales/dialogs/pl.json +19 -11
  518. package/locales/dialogs/pt.json +42 -34
  519. package/locales/dialogs/ro.json +19 -11
  520. package/locales/dialogs/ru.json +19 -11
  521. package/locales/dialogs/sk.json +19 -11
  522. package/locales/dialogs/sv.json +19 -11
  523. package/locales/dialogs/sw.json +19 -11
  524. package/locales/dialogs/ta.json +19 -11
  525. package/locales/dialogs/te.json +19 -11
  526. package/locales/dialogs/th.json +19 -11
  527. package/locales/dialogs/tl.json +19 -11
  528. package/locales/dialogs/tr.json +19 -11
  529. package/locales/dialogs/uk.json +19 -11
  530. package/locales/dialogs/ur.json +19 -11
  531. package/locales/dialogs/vi.json +19 -11
  532. package/locales/dialogs/yo.json +19 -11
  533. package/locales/dialogs/zh-Hans.json +40 -32
  534. package/locales/dialogs/zh-Hant.json +48 -40
  535. package/locales/documents/am.json +16 -2
  536. package/locales/documents/ar.json +16 -2
  537. package/locales/documents/bg.json +16 -2
  538. package/locales/documents/bn.json +16 -2
  539. package/locales/documents/br.json +16 -2
  540. package/locales/documents/co.json +18 -4
  541. package/locales/documents/cs.json +16 -2
  542. package/locales/documents/da.json +16 -2
  543. package/locales/documents/de.json +18 -4
  544. package/locales/documents/el.json +16 -2
  545. package/locales/documents/en.json +17 -3
  546. package/locales/documents/es.json +17 -3
  547. package/locales/documents/fa.json +16 -2
  548. package/locales/documents/fi.json +16 -2
  549. package/locales/documents/fr-CA.json +17 -3
  550. package/locales/documents/fr.json +17 -3
  551. package/locales/documents/ha.json +16 -2
  552. package/locales/documents/he.json +16 -2
  553. package/locales/documents/hi.json +16 -2
  554. package/locales/documents/hr.json +16 -2
  555. package/locales/documents/hu.json +16 -2
  556. package/locales/documents/id.json +16 -2
  557. package/locales/documents/it.json +17 -3
  558. package/locales/documents/ja.json +30 -16
  559. package/locales/documents/ko.json +17 -3
  560. package/locales/documents/mr.json +16 -2
  561. package/locales/documents/ms.json +16 -2
  562. package/locales/documents/nl.json +16 -2
  563. package/locales/documents/pl.json +16 -2
  564. package/locales/documents/pt.json +20 -6
  565. package/locales/documents/ro.json +16 -2
  566. package/locales/documents/ru.json +16 -2
  567. package/locales/documents/sk.json +16 -2
  568. package/locales/documents/sv.json +16 -2
  569. package/locales/documents/sw.json +16 -2
  570. package/locales/documents/ta.json +16 -2
  571. package/locales/documents/te.json +16 -2
  572. package/locales/documents/th.json +16 -2
  573. package/locales/documents/tl.json +16 -2
  574. package/locales/documents/tr.json +16 -2
  575. package/locales/documents/uk.json +16 -2
  576. package/locales/documents/ur.json +16 -2
  577. package/locales/documents/vi.json +16 -2
  578. package/locales/documents/yo.json +16 -2
  579. package/locales/documents/zh-Hans.json +18 -4
  580. package/locales/documents/zh-Hant.json +18 -4
  581. package/locales/el.json +40 -21
  582. package/locales/en.json +46 -27
  583. package/locales/enterprise/am.json +29 -1
  584. package/locales/enterprise/ar.json +29 -1
  585. package/locales/enterprise/bg.json +29 -1
  586. package/locales/enterprise/bn.json +29 -1
  587. package/locales/enterprise/br.json +31 -3
  588. package/locales/enterprise/co.json +30 -2
  589. package/locales/enterprise/cs.json +29 -1
  590. package/locales/enterprise/da.json +29 -1
  591. package/locales/enterprise/de.json +30 -2
  592. package/locales/enterprise/el.json +29 -1
  593. package/locales/enterprise/en.json +30 -2
  594. package/locales/enterprise/es.json +30 -2
  595. package/locales/enterprise/fa.json +29 -1
  596. package/locales/enterprise/fi.json +29 -1
  597. package/locales/enterprise/fr-CA.json +31 -3
  598. package/locales/enterprise/fr.json +31 -3
  599. package/locales/enterprise/ha.json +29 -1
  600. package/locales/enterprise/he.json +29 -1
  601. package/locales/enterprise/hi.json +29 -1
  602. package/locales/enterprise/hr.json +29 -1
  603. package/locales/enterprise/hu.json +29 -1
  604. package/locales/enterprise/id.json +29 -1
  605. package/locales/enterprise/it.json +31 -3
  606. package/locales/enterprise/ja.json +37 -9
  607. package/locales/enterprise/ko.json +30 -2
  608. package/locales/enterprise/mr.json +29 -1
  609. package/locales/enterprise/ms.json +29 -1
  610. package/locales/enterprise/nl.json +29 -1
  611. package/locales/enterprise/pl.json +29 -1
  612. package/locales/enterprise/pt.json +30 -2
  613. package/locales/enterprise/ro.json +29 -1
  614. package/locales/enterprise/ru.json +29 -1
  615. package/locales/enterprise/sk.json +29 -1
  616. package/locales/enterprise/sv.json +29 -1
  617. package/locales/enterprise/sw.json +29 -1
  618. package/locales/enterprise/ta.json +29 -1
  619. package/locales/enterprise/te.json +29 -1
  620. package/locales/enterprise/th.json +29 -1
  621. package/locales/enterprise/tl.json +29 -1
  622. package/locales/enterprise/tr.json +29 -1
  623. package/locales/enterprise/uk.json +29 -1
  624. package/locales/enterprise/ur.json +29 -1
  625. package/locales/enterprise/vi.json +29 -1
  626. package/locales/enterprise/yo.json +29 -1
  627. package/locales/enterprise/zh-Hans.json +38 -10
  628. package/locales/enterprise/zh-Hant.json +38 -10
  629. package/locales/es.json +55 -35
  630. package/locales/extensions/am.json +2 -1
  631. package/locales/extensions/ar.json +2 -1
  632. package/locales/extensions/bg.json +2 -1
  633. package/locales/extensions/bn.json +2 -1
  634. package/locales/extensions/br.json +12 -11
  635. package/locales/extensions/co.json +8 -7
  636. package/locales/extensions/cs.json +2 -1
  637. package/locales/extensions/da.json +2 -1
  638. package/locales/extensions/de.json +3 -2
  639. package/locales/extensions/el.json +2 -1
  640. package/locales/extensions/en.json +3 -2
  641. package/locales/extensions/es.json +4 -3
  642. package/locales/extensions/fa.json +2 -1
  643. package/locales/extensions/fi.json +2 -1
  644. package/locales/extensions/fr-CA.json +7 -6
  645. package/locales/extensions/fr.json +7 -6
  646. package/locales/extensions/ha.json +2 -1
  647. package/locales/extensions/he.json +2 -1
  648. package/locales/extensions/hi.json +2 -1
  649. package/locales/extensions/hr.json +2 -1
  650. package/locales/extensions/hu.json +2 -1
  651. package/locales/extensions/id.json +2 -1
  652. package/locales/extensions/it.json +5 -4
  653. package/locales/extensions/ja.json +7 -6
  654. package/locales/extensions/ko.json +24 -23
  655. package/locales/extensions/mr.json +2 -1
  656. package/locales/extensions/ms.json +2 -1
  657. package/locales/extensions/nl.json +2 -1
  658. package/locales/extensions/pl.json +2 -1
  659. package/locales/extensions/pt.json +5 -4
  660. package/locales/extensions/ro.json +2 -1
  661. package/locales/extensions/ru.json +2 -1
  662. package/locales/extensions/sk.json +2 -1
  663. package/locales/extensions/sv.json +2 -1
  664. package/locales/extensions/sw.json +2 -1
  665. package/locales/extensions/ta.json +2 -1
  666. package/locales/extensions/te.json +2 -1
  667. package/locales/extensions/th.json +2 -1
  668. package/locales/extensions/tl.json +2 -1
  669. package/locales/extensions/tr.json +2 -1
  670. package/locales/extensions/uk.json +2 -1
  671. package/locales/extensions/ur.json +2 -1
  672. package/locales/extensions/vi.json +2 -1
  673. package/locales/extensions/yo.json +2 -1
  674. package/locales/extensions/zh-Hans.json +5 -4
  675. package/locales/extensions/zh-Hant.json +9 -8
  676. package/locales/fa.json +39 -20
  677. package/locales/feedback/am.json +7 -0
  678. package/locales/feedback/ar.json +7 -0
  679. package/locales/feedback/bg.json +7 -0
  680. package/locales/feedback/bn.json +7 -0
  681. package/locales/feedback/br.json +7 -0
  682. package/locales/feedback/co.json +7 -0
  683. package/locales/feedback/cs.json +7 -0
  684. package/locales/feedback/da.json +7 -0
  685. package/locales/feedback/de.json +7 -0
  686. package/locales/feedback/el.json +7 -0
  687. package/locales/feedback/en.json +7 -0
  688. package/locales/feedback/es.json +7 -0
  689. package/locales/feedback/fa.json +7 -0
  690. package/locales/feedback/fi.json +7 -0
  691. package/locales/feedback/fr-CA.json +7 -0
  692. package/locales/feedback/fr.json +7 -0
  693. package/locales/feedback/ha.json +7 -0
  694. package/locales/feedback/he.json +7 -0
  695. package/locales/feedback/hi.json +7 -0
  696. package/locales/feedback/hr.json +7 -0
  697. package/locales/feedback/hu.json +7 -0
  698. package/locales/feedback/id.json +7 -0
  699. package/locales/feedback/it.json +7 -0
  700. package/locales/feedback/ja.json +7 -0
  701. package/locales/feedback/ko.json +7 -0
  702. package/locales/feedback/mr.json +7 -0
  703. package/locales/feedback/ms.json +7 -0
  704. package/locales/feedback/nl.json +7 -0
  705. package/locales/feedback/pl.json +7 -0
  706. package/locales/feedback/pt.json +7 -0
  707. package/locales/feedback/ro.json +7 -0
  708. package/locales/feedback/ru.json +7 -0
  709. package/locales/feedback/sk.json +7 -0
  710. package/locales/feedback/sv.json +7 -0
  711. package/locales/feedback/sw.json +7 -0
  712. package/locales/feedback/ta.json +7 -0
  713. package/locales/feedback/te.json +7 -0
  714. package/locales/feedback/th.json +7 -0
  715. package/locales/feedback/tl.json +7 -0
  716. package/locales/feedback/tr.json +7 -0
  717. package/locales/feedback/uk.json +7 -0
  718. package/locales/feedback/ur.json +7 -0
  719. package/locales/feedback/vi.json +7 -0
  720. package/locales/feedback/yo.json +7 -0
  721. package/locales/feedback/zh-Hans.json +7 -0
  722. package/locales/feedback/zh-Hant.json +7 -0
  723. package/locales/fi.json +40 -21
  724. package/locales/files/am.json +10 -0
  725. package/locales/files/ar.json +10 -0
  726. package/locales/files/bg.json +10 -0
  727. package/locales/files/bn.json +10 -0
  728. package/locales/files/br.json +10 -0
  729. package/locales/files/co.json +10 -0
  730. package/locales/files/cs.json +10 -0
  731. package/locales/files/da.json +10 -0
  732. package/locales/files/de.json +10 -0
  733. package/locales/files/el.json +10 -0
  734. package/locales/files/en.json +10 -0
  735. package/locales/files/es.json +10 -0
  736. package/locales/files/fa.json +10 -0
  737. package/locales/files/fi.json +10 -0
  738. package/locales/files/fr-CA.json +10 -0
  739. package/locales/files/fr.json +10 -0
  740. package/locales/files/ha.json +10 -0
  741. package/locales/files/he.json +10 -0
  742. package/locales/files/hi.json +10 -0
  743. package/locales/files/hr.json +10 -0
  744. package/locales/files/hu.json +10 -0
  745. package/locales/files/id.json +10 -0
  746. package/locales/files/it.json +10 -0
  747. package/locales/files/ja.json +10 -0
  748. package/locales/files/ko.json +10 -0
  749. package/locales/files/mr.json +10 -0
  750. package/locales/files/ms.json +10 -0
  751. package/locales/files/nl.json +10 -0
  752. package/locales/files/pl.json +10 -0
  753. package/locales/files/pt.json +10 -0
  754. package/locales/files/ro.json +10 -0
  755. package/locales/files/ru.json +10 -0
  756. package/locales/files/sk.json +10 -0
  757. package/locales/files/sv.json +10 -0
  758. package/locales/files/sw.json +10 -0
  759. package/locales/files/ta.json +10 -0
  760. package/locales/files/te.json +10 -0
  761. package/locales/files/th.json +10 -0
  762. package/locales/files/tl.json +10 -0
  763. package/locales/files/tr.json +10 -0
  764. package/locales/files/uk.json +10 -0
  765. package/locales/files/ur.json +10 -0
  766. package/locales/files/vi.json +10 -0
  767. package/locales/files/yo.json +10 -0
  768. package/locales/files/zh-Hans.json +10 -0
  769. package/locales/files/zh-Hant.json +10 -0
  770. package/locales/first/br.json +5 -5
  771. package/locales/first/co.json +1 -1
  772. package/locales/first/es.json +4 -4
  773. package/locales/first/fr-CA.json +1 -1
  774. package/locales/first/fr.json +1 -1
  775. package/locales/first/it.json +1 -1
  776. package/locales/first/ja.json +7 -7
  777. package/locales/first/ko.json +3 -3
  778. package/locales/first/pt.json +3 -3
  779. package/locales/first/zh-Hans.json +2 -2
  780. package/locales/first/zh-Hant.json +3 -3
  781. package/locales/flows/am.json +3 -0
  782. package/locales/flows/ar.json +3 -0
  783. package/locales/flows/bg.json +3 -0
  784. package/locales/flows/bn.json +3 -0
  785. package/locales/flows/br.json +10 -7
  786. package/locales/flows/co.json +7 -4
  787. package/locales/flows/cs.json +3 -0
  788. package/locales/flows/da.json +3 -0
  789. package/locales/flows/de.json +5 -2
  790. package/locales/flows/el.json +3 -0
  791. package/locales/flows/en.json +3 -0
  792. package/locales/flows/es.json +5 -2
  793. package/locales/flows/fa.json +3 -0
  794. package/locales/flows/fi.json +3 -0
  795. package/locales/flows/fr-CA.json +6 -3
  796. package/locales/flows/fr.json +6 -3
  797. package/locales/flows/ha.json +3 -0
  798. package/locales/flows/he.json +3 -0
  799. package/locales/flows/hi.json +3 -0
  800. package/locales/flows/hr.json +3 -0
  801. package/locales/flows/hu.json +3 -0
  802. package/locales/flows/id.json +3 -0
  803. package/locales/flows/it.json +5 -2
  804. package/locales/flows/ja.json +7 -4
  805. package/locales/flows/ko.json +10 -7
  806. package/locales/flows/mr.json +3 -0
  807. package/locales/flows/ms.json +3 -0
  808. package/locales/flows/nl.json +3 -0
  809. package/locales/flows/pl.json +3 -0
  810. package/locales/flows/pt.json +9 -6
  811. package/locales/flows/ro.json +3 -0
  812. package/locales/flows/ru.json +3 -0
  813. package/locales/flows/sk.json +3 -0
  814. package/locales/flows/sv.json +3 -0
  815. package/locales/flows/sw.json +3 -0
  816. package/locales/flows/ta.json +3 -0
  817. package/locales/flows/te.json +3 -0
  818. package/locales/flows/th.json +3 -0
  819. package/locales/flows/tl.json +3 -0
  820. package/locales/flows/tr.json +3 -0
  821. package/locales/flows/uk.json +3 -0
  822. package/locales/flows/ur.json +3 -0
  823. package/locales/flows/vi.json +3 -0
  824. package/locales/flows/yo.json +3 -0
  825. package/locales/flows/zh-Hans.json +8 -5
  826. package/locales/flows/zh-Hant.json +11 -8
  827. package/locales/folders/br.json +4 -4
  828. package/locales/folders/de.json +1 -1
  829. package/locales/folders/es.json +2 -2
  830. package/locales/folders/ja.json +2 -2
  831. package/locales/folders/ko.json +3 -3
  832. package/locales/folders/pt.json +2 -2
  833. package/locales/folders/zh-Hans.json +2 -2
  834. package/locales/folders/zh-Hant.json +7 -7
  835. package/locales/fr-CA.json +74 -54
  836. package/locales/fr.json +71 -51
  837. package/locales/games/br.json +2 -2
  838. package/locales/ha.json +39 -20
  839. package/locales/he.json +40 -20
  840. package/locales/hi.json +39 -20
  841. package/locales/hr.json +41 -21
  842. package/locales/hu.json +39 -20
  843. package/locales/id.json +39 -21
  844. package/locales/interactive/am.json +8 -1
  845. package/locales/interactive/ar.json +8 -1
  846. package/locales/interactive/bg.json +8 -1
  847. package/locales/interactive/bn.json +8 -1
  848. package/locales/interactive/br.json +11 -4
  849. package/locales/interactive/co.json +11 -4
  850. package/locales/interactive/cs.json +8 -1
  851. package/locales/interactive/da.json +8 -1
  852. package/locales/interactive/de.json +8 -1
  853. package/locales/interactive/el.json +8 -1
  854. package/locales/interactive/en.json +8 -1
  855. package/locales/interactive/es.json +9 -2
  856. package/locales/interactive/fa.json +8 -1
  857. package/locales/interactive/fi.json +8 -1
  858. package/locales/interactive/fr-CA.json +8 -1
  859. package/locales/interactive/fr.json +8 -1
  860. package/locales/interactive/ha.json +8 -1
  861. package/locales/interactive/he.json +8 -1
  862. package/locales/interactive/hi.json +8 -1
  863. package/locales/interactive/hr.json +8 -1
  864. package/locales/interactive/hu.json +8 -1
  865. package/locales/interactive/id.json +8 -1
  866. package/locales/interactive/it.json +9 -2
  867. package/locales/interactive/ja.json +9 -2
  868. package/locales/interactive/ko.json +11 -4
  869. package/locales/interactive/mr.json +8 -1
  870. package/locales/interactive/ms.json +8 -1
  871. package/locales/interactive/nl.json +8 -1
  872. package/locales/interactive/pl.json +8 -1
  873. package/locales/interactive/pt.json +10 -3
  874. package/locales/interactive/ro.json +8 -1
  875. package/locales/interactive/ru.json +8 -1
  876. package/locales/interactive/sk.json +8 -1
  877. package/locales/interactive/sv.json +8 -1
  878. package/locales/interactive/sw.json +8 -1
  879. package/locales/interactive/ta.json +8 -1
  880. package/locales/interactive/te.json +8 -1
  881. package/locales/interactive/th.json +8 -1
  882. package/locales/interactive/tl.json +8 -1
  883. package/locales/interactive/tr.json +8 -1
  884. package/locales/interactive/uk.json +8 -1
  885. package/locales/interactive/ur.json +8 -1
  886. package/locales/interactive/vi.json +8 -1
  887. package/locales/interactive/yo.json +8 -1
  888. package/locales/interactive/zh-Hans.json +8 -1
  889. package/locales/interactive/zh-Hant.json +11 -4
  890. package/locales/it.json +78 -58
  891. package/locales/ja.json +67 -49
  892. package/locales/ko.json +61 -43
  893. package/locales/layouts/ja.json +1 -1
  894. package/locales/layouts/zh-Hans.json +1 -1
  895. package/locales/layouts/zh-Hant.json +1 -1
  896. package/locales/lock/am.json +6 -3
  897. package/locales/lock/ar.json +6 -3
  898. package/locales/lock/bg.json +6 -3
  899. package/locales/lock/bn.json +6 -3
  900. package/locales/lock/br.json +8 -5
  901. package/locales/lock/co.json +8 -5
  902. package/locales/lock/cs.json +6 -3
  903. package/locales/lock/da.json +6 -3
  904. package/locales/lock/de.json +8 -5
  905. package/locales/lock/el.json +6 -3
  906. package/locales/lock/en.json +7 -4
  907. package/locales/lock/es.json +7 -4
  908. package/locales/lock/fa.json +6 -3
  909. package/locales/lock/fi.json +6 -3
  910. package/locales/lock/fr-CA.json +7 -4
  911. package/locales/lock/fr.json +7 -4
  912. package/locales/lock/ha.json +6 -3
  913. package/locales/lock/he.json +6 -3
  914. package/locales/lock/hi.json +6 -3
  915. package/locales/lock/hr.json +6 -3
  916. package/locales/lock/hu.json +6 -3
  917. package/locales/lock/id.json +6 -3
  918. package/locales/lock/it.json +10 -7
  919. package/locales/lock/ja.json +10 -7
  920. package/locales/lock/ko.json +8 -5
  921. package/locales/lock/mr.json +6 -3
  922. package/locales/lock/ms.json +6 -3
  923. package/locales/lock/nl.json +6 -3
  924. package/locales/lock/pl.json +6 -3
  925. package/locales/lock/pt.json +7 -4
  926. package/locales/lock/ro.json +6 -3
  927. package/locales/lock/ru.json +6 -3
  928. package/locales/lock/sk.json +6 -3
  929. package/locales/lock/sv.json +6 -3
  930. package/locales/lock/sw.json +6 -3
  931. package/locales/lock/ta.json +6 -3
  932. package/locales/lock/te.json +6 -3
  933. package/locales/lock/th.json +6 -3
  934. package/locales/lock/tl.json +6 -3
  935. package/locales/lock/tr.json +6 -3
  936. package/locales/lock/uk.json +6 -3
  937. package/locales/lock/ur.json +6 -3
  938. package/locales/lock/vi.json +6 -3
  939. package/locales/lock/yo.json +6 -3
  940. package/locales/lock/zh-Hans.json +7 -4
  941. package/locales/lock/zh-Hant.json +7 -4
  942. package/locales/look/am.json +10 -1
  943. package/locales/look/ar.json +10 -1
  944. package/locales/look/bg.json +10 -1
  945. package/locales/look/bn.json +10 -1
  946. package/locales/look/br.json +17 -8
  947. package/locales/look/co.json +10 -1
  948. package/locales/look/cs.json +10 -1
  949. package/locales/look/da.json +10 -1
  950. package/locales/look/de.json +10 -1
  951. package/locales/look/el.json +10 -1
  952. package/locales/look/en.json +10 -1
  953. package/locales/look/es.json +12 -3
  954. package/locales/look/fa.json +10 -1
  955. package/locales/look/fi.json +10 -1
  956. package/locales/look/fr-CA.json +10 -1
  957. package/locales/look/fr.json +10 -1
  958. package/locales/look/ha.json +10 -1
  959. package/locales/look/he.json +10 -1
  960. package/locales/look/hi.json +10 -1
  961. package/locales/look/hr.json +10 -1
  962. package/locales/look/hu.json +10 -1
  963. package/locales/look/id.json +10 -1
  964. package/locales/look/it.json +10 -1
  965. package/locales/look/ja.json +14 -5
  966. package/locales/look/ko.json +11 -2
  967. package/locales/look/mr.json +10 -1
  968. package/locales/look/ms.json +10 -1
  969. package/locales/look/nl.json +10 -1
  970. package/locales/look/pl.json +10 -1
  971. package/locales/look/pt.json +12 -3
  972. package/locales/look/ro.json +10 -1
  973. package/locales/look/ru.json +10 -1
  974. package/locales/look/sk.json +10 -1
  975. package/locales/look/sv.json +10 -1
  976. package/locales/look/sw.json +10 -1
  977. package/locales/look/ta.json +10 -1
  978. package/locales/look/te.json +10 -1
  979. package/locales/look/th.json +10 -1
  980. package/locales/look/tl.json +10 -1
  981. package/locales/look/tr.json +10 -1
  982. package/locales/look/uk.json +10 -1
  983. package/locales/look/ur.json +10 -1
  984. package/locales/look/vi.json +10 -1
  985. package/locales/look/yo.json +10 -1
  986. package/locales/look/zh-Hans.json +15 -6
  987. package/locales/look/zh-Hant.json +18 -9
  988. package/locales/machine/br.json +5 -5
  989. package/locales/machine/co.json +4 -4
  990. package/locales/machine/de.json +2 -2
  991. package/locales/machine/en.json +2 -2
  992. package/locales/machine/es.json +8 -8
  993. package/locales/machine/fr-CA.json +4 -4
  994. package/locales/machine/fr.json +4 -4
  995. package/locales/machine/it.json +9 -9
  996. package/locales/machine/ja.json +4 -4
  997. package/locales/machine/ko.json +10 -10
  998. package/locales/machine/pt.json +4 -4
  999. package/locales/machine/zh-Hans.json +7 -7
  1000. package/locales/machine/zh-Hant.json +10 -10
  1001. package/locales/made/am.json +4 -1
  1002. package/locales/made/ar.json +4 -1
  1003. package/locales/made/bg.json +4 -1
  1004. package/locales/made/bn.json +4 -1
  1005. package/locales/made/br.json +6 -3
  1006. package/locales/made/co.json +4 -1
  1007. package/locales/made/cs.json +4 -1
  1008. package/locales/made/da.json +4 -1
  1009. package/locales/made/de.json +4 -1
  1010. package/locales/made/el.json +4 -1
  1011. package/locales/made/en.json +4 -1
  1012. package/locales/made/es.json +4 -1
  1013. package/locales/made/fa.json +4 -1
  1014. package/locales/made/fi.json +4 -1
  1015. package/locales/made/fr-CA.json +7 -4
  1016. package/locales/made/fr.json +7 -4
  1017. package/locales/made/ha.json +4 -1
  1018. package/locales/made/he.json +4 -1
  1019. package/locales/made/hi.json +4 -1
  1020. package/locales/made/hr.json +4 -1
  1021. package/locales/made/hu.json +4 -1
  1022. package/locales/made/id.json +4 -1
  1023. package/locales/made/it.json +4 -1
  1024. package/locales/made/ja.json +4 -1
  1025. package/locales/made/ko.json +5 -2
  1026. package/locales/made/mr.json +4 -1
  1027. package/locales/made/ms.json +4 -1
  1028. package/locales/made/nl.json +4 -1
  1029. package/locales/made/pl.json +4 -1
  1030. package/locales/made/pt.json +7 -4
  1031. package/locales/made/ro.json +4 -1
  1032. package/locales/made/ru.json +4 -1
  1033. package/locales/made/sk.json +4 -1
  1034. package/locales/made/sv.json +4 -1
  1035. package/locales/made/sw.json +4 -1
  1036. package/locales/made/ta.json +4 -1
  1037. package/locales/made/te.json +4 -1
  1038. package/locales/made/th.json +4 -1
  1039. package/locales/made/tl.json +4 -1
  1040. package/locales/made/tr.json +4 -1
  1041. package/locales/made/uk.json +4 -1
  1042. package/locales/made/ur.json +4 -1
  1043. package/locales/made/vi.json +4 -1
  1044. package/locales/made/yo.json +4 -1
  1045. package/locales/made/zh-Hans.json +6 -3
  1046. package/locales/made/zh-Hant.json +5 -2
  1047. package/locales/mr.json +39 -20
  1048. package/locales/ms.json +39 -21
  1049. package/locales/{reader → natural-voice}/es.json +1 -1
  1050. package/locales/natural-voice/ja.json +9 -0
  1051. package/locales/{reader → natural-voice}/zh-Hans.json +1 -1
  1052. package/locales/{reader → natural-voice}/zh-Hant.json +2 -2
  1053. package/locales/nl.json +40 -21
  1054. package/locales/notifications/br.json +2 -2
  1055. package/locales/notifications/es.json +4 -4
  1056. package/locales/notifications/it.json +2 -2
  1057. package/locales/notifications/pt.json +2 -2
  1058. package/locales/notifications/zh-Hans.json +1 -1
  1059. package/locales/notifications/zh-Hant.json +2 -2
  1060. package/locales/out/am.json +13 -0
  1061. package/locales/out/ar.json +13 -0
  1062. package/locales/out/bg.json +13 -0
  1063. package/locales/out/bn.json +13 -0
  1064. package/locales/out/br.json +13 -0
  1065. package/locales/out/co.json +13 -0
  1066. package/locales/out/cs.json +13 -0
  1067. package/locales/out/da.json +13 -0
  1068. package/locales/out/de.json +13 -0
  1069. package/locales/out/el.json +13 -0
  1070. package/locales/out/en.json +13 -0
  1071. package/locales/out/es.json +13 -0
  1072. package/locales/out/fa.json +13 -0
  1073. package/locales/out/fi.json +13 -0
  1074. package/locales/out/fr-CA.json +13 -0
  1075. package/locales/out/fr.json +13 -0
  1076. package/locales/out/ha.json +13 -0
  1077. package/locales/out/he.json +13 -0
  1078. package/locales/out/hi.json +13 -0
  1079. package/locales/out/hr.json +13 -0
  1080. package/locales/out/hu.json +13 -0
  1081. package/locales/out/id.json +13 -0
  1082. package/locales/out/it.json +13 -0
  1083. package/locales/out/ja.json +13 -0
  1084. package/locales/out/ko.json +13 -0
  1085. package/locales/out/mr.json +13 -0
  1086. package/locales/out/ms.json +13 -0
  1087. package/locales/out/nl.json +13 -0
  1088. package/locales/out/pl.json +13 -0
  1089. package/locales/out/pt.json +13 -0
  1090. package/locales/out/ro.json +13 -0
  1091. package/locales/out/ru.json +13 -0
  1092. package/locales/out/sk.json +13 -0
  1093. package/locales/out/sv.json +13 -0
  1094. package/locales/out/sw.json +13 -0
  1095. package/locales/out/ta.json +13 -0
  1096. package/locales/out/te.json +13 -0
  1097. package/locales/out/th.json +13 -0
  1098. package/locales/out/tl.json +13 -0
  1099. package/locales/out/tr.json +13 -0
  1100. package/locales/out/uk.json +13 -0
  1101. package/locales/out/ur.json +13 -0
  1102. package/locales/out/vi.json +13 -0
  1103. package/locales/out/yo.json +13 -0
  1104. package/locales/out/zh-Hans.json +13 -0
  1105. package/locales/out/zh-Hant.json +13 -0
  1106. package/locales/pictures/br.json +5 -5
  1107. package/locales/pictures/co.json +5 -5
  1108. package/locales/pictures/de.json +3 -3
  1109. package/locales/pictures/en.json +2 -2
  1110. package/locales/pictures/es.json +4 -4
  1111. package/locales/pictures/fr-CA.json +6 -6
  1112. package/locales/pictures/fr.json +4 -4
  1113. package/locales/pictures/it.json +7 -7
  1114. package/locales/pictures/ja.json +8 -8
  1115. package/locales/pictures/ko.json +8 -8
  1116. package/locales/pictures/pt.json +5 -5
  1117. package/locales/pictures/zh-Hans.json +5 -5
  1118. package/locales/pictures/zh-Hant.json +6 -6
  1119. package/locales/pl.json +41 -20
  1120. package/locales/plan/fr-CA.json +1 -1
  1121. package/locales/plan/fr.json +1 -1
  1122. package/locales/plan/it.json +2 -2
  1123. package/locales/plan/ja.json +3 -3
  1124. package/locales/plan/zh-Hans.json +2 -2
  1125. package/locales/plan/zh-Hant.json +1 -1
  1126. package/locales/policy/am.json +1 -0
  1127. package/locales/policy/ar.json +1 -0
  1128. package/locales/policy/bg.json +1 -0
  1129. package/locales/policy/bn.json +1 -0
  1130. package/locales/policy/br.json +1 -0
  1131. package/locales/policy/co.json +3 -2
  1132. package/locales/policy/cs.json +1 -0
  1133. package/locales/policy/da.json +1 -0
  1134. package/locales/policy/de.json +1 -0
  1135. package/locales/policy/el.json +1 -0
  1136. package/locales/policy/en.json +1 -0
  1137. package/locales/policy/es.json +4 -3
  1138. package/locales/policy/fa.json +1 -0
  1139. package/locales/policy/fi.json +1 -0
  1140. package/locales/policy/fr-CA.json +2 -1
  1141. package/locales/policy/fr.json +2 -1
  1142. package/locales/policy/ha.json +1 -0
  1143. package/locales/policy/he.json +1 -0
  1144. package/locales/policy/hi.json +1 -0
  1145. package/locales/policy/hr.json +1 -0
  1146. package/locales/policy/hu.json +1 -0
  1147. package/locales/policy/id.json +1 -0
  1148. package/locales/policy/it.json +4 -3
  1149. package/locales/policy/ja.json +3 -2
  1150. package/locales/policy/ko.json +1 -0
  1151. package/locales/policy/mr.json +1 -0
  1152. package/locales/policy/ms.json +1 -0
  1153. package/locales/policy/nl.json +1 -0
  1154. package/locales/policy/pl.json +1 -0
  1155. package/locales/policy/pt.json +4 -3
  1156. package/locales/policy/ro.json +1 -0
  1157. package/locales/policy/ru.json +1 -0
  1158. package/locales/policy/sk.json +1 -0
  1159. package/locales/policy/sv.json +1 -0
  1160. package/locales/policy/sw.json +1 -0
  1161. package/locales/policy/ta.json +1 -0
  1162. package/locales/policy/te.json +1 -0
  1163. package/locales/policy/th.json +1 -0
  1164. package/locales/policy/tl.json +1 -0
  1165. package/locales/policy/tr.json +1 -0
  1166. package/locales/policy/uk.json +1 -0
  1167. package/locales/policy/ur.json +1 -0
  1168. package/locales/policy/vi.json +1 -0
  1169. package/locales/policy/yo.json +1 -0
  1170. package/locales/policy/zh-Hans.json +9 -8
  1171. package/locales/policy/zh-Hant.json +17 -16
  1172. package/locales/profiles/am.json +5 -0
  1173. package/locales/profiles/ar.json +5 -0
  1174. package/locales/profiles/bg.json +5 -0
  1175. package/locales/profiles/bn.json +5 -0
  1176. package/locales/profiles/br.json +14 -9
  1177. package/locales/profiles/co.json +12 -7
  1178. package/locales/profiles/cs.json +5 -0
  1179. package/locales/profiles/da.json +5 -0
  1180. package/locales/profiles/de.json +6 -1
  1181. package/locales/profiles/el.json +5 -0
  1182. package/locales/profiles/en.json +7 -2
  1183. package/locales/profiles/es.json +7 -2
  1184. package/locales/profiles/fa.json +5 -0
  1185. package/locales/profiles/fi.json +5 -0
  1186. package/locales/profiles/fr-CA.json +10 -5
  1187. package/locales/profiles/fr.json +10 -5
  1188. package/locales/profiles/ha.json +5 -0
  1189. package/locales/profiles/he.json +5 -0
  1190. package/locales/profiles/hi.json +5 -0
  1191. package/locales/profiles/hr.json +5 -0
  1192. package/locales/profiles/hu.json +5 -0
  1193. package/locales/profiles/id.json +5 -0
  1194. package/locales/profiles/it.json +11 -6
  1195. package/locales/profiles/ja.json +13 -8
  1196. package/locales/profiles/ko.json +25 -20
  1197. package/locales/profiles/mr.json +5 -0
  1198. package/locales/profiles/ms.json +5 -0
  1199. package/locales/profiles/nl.json +5 -0
  1200. package/locales/profiles/pl.json +5 -0
  1201. package/locales/profiles/pt.json +10 -5
  1202. package/locales/profiles/ro.json +5 -0
  1203. package/locales/profiles/ru.json +5 -0
  1204. package/locales/profiles/sk.json +5 -0
  1205. package/locales/profiles/sv.json +5 -0
  1206. package/locales/profiles/sw.json +5 -0
  1207. package/locales/profiles/ta.json +5 -0
  1208. package/locales/profiles/te.json +5 -0
  1209. package/locales/profiles/th.json +5 -0
  1210. package/locales/profiles/tl.json +5 -0
  1211. package/locales/profiles/tr.json +5 -0
  1212. package/locales/profiles/uk.json +5 -0
  1213. package/locales/profiles/ur.json +5 -0
  1214. package/locales/profiles/vi.json +5 -0
  1215. package/locales/profiles/yo.json +5 -0
  1216. package/locales/profiles/zh-Hans.json +18 -13
  1217. package/locales/profiles/zh-Hant.json +13 -8
  1218. package/locales/projects/am.json +4 -0
  1219. package/locales/projects/ar.json +4 -0
  1220. package/locales/projects/bg.json +4 -0
  1221. package/locales/projects/bn.json +4 -0
  1222. package/locales/projects/br.json +4 -0
  1223. package/locales/projects/co.json +4 -0
  1224. package/locales/projects/cs.json +4 -0
  1225. package/locales/projects/da.json +4 -0
  1226. package/locales/projects/de.json +4 -0
  1227. package/locales/projects/el.json +4 -0
  1228. package/locales/projects/en.json +4 -0
  1229. package/locales/projects/es.json +4 -0
  1230. package/locales/projects/fa.json +4 -0
  1231. package/locales/projects/fi.json +4 -0
  1232. package/locales/projects/fr-CA.json +4 -0
  1233. package/locales/projects/fr.json +4 -0
  1234. package/locales/projects/ha.json +4 -0
  1235. package/locales/projects/he.json +4 -0
  1236. package/locales/projects/hi.json +4 -0
  1237. package/locales/projects/hr.json +4 -0
  1238. package/locales/projects/hu.json +4 -0
  1239. package/locales/projects/id.json +4 -0
  1240. package/locales/projects/it.json +4 -0
  1241. package/locales/projects/ja.json +4 -0
  1242. package/locales/projects/ko.json +4 -0
  1243. package/locales/projects/mr.json +4 -0
  1244. package/locales/projects/ms.json +4 -0
  1245. package/locales/projects/nl.json +4 -0
  1246. package/locales/projects/pl.json +4 -0
  1247. package/locales/projects/pt.json +4 -0
  1248. package/locales/projects/ro.json +4 -0
  1249. package/locales/projects/ru.json +4 -0
  1250. package/locales/projects/sk.json +4 -0
  1251. package/locales/projects/sv.json +4 -0
  1252. package/locales/projects/sw.json +4 -0
  1253. package/locales/projects/ta.json +4 -0
  1254. package/locales/projects/te.json +4 -0
  1255. package/locales/projects/th.json +4 -0
  1256. package/locales/projects/tl.json +4 -0
  1257. package/locales/projects/tr.json +4 -0
  1258. package/locales/projects/uk.json +4 -0
  1259. package/locales/projects/ur.json +4 -0
  1260. package/locales/projects/vi.json +4 -0
  1261. package/locales/projects/yo.json +4 -0
  1262. package/locales/projects/zh-Hans.json +4 -0
  1263. package/locales/projects/zh-Hant.json +4 -0
  1264. package/locales/pt.json +64 -44
  1265. package/locales/receipt/am.json +14 -1
  1266. package/locales/receipt/ar.json +14 -1
  1267. package/locales/receipt/bg.json +14 -1
  1268. package/locales/receipt/bn.json +14 -1
  1269. package/locales/receipt/br.json +16 -3
  1270. package/locales/receipt/co.json +16 -3
  1271. package/locales/receipt/cs.json +14 -1
  1272. package/locales/receipt/da.json +14 -1
  1273. package/locales/receipt/de.json +16 -3
  1274. package/locales/receipt/el.json +14 -1
  1275. package/locales/receipt/en.json +16 -3
  1276. package/locales/receipt/es.json +19 -6
  1277. package/locales/receipt/fa.json +14 -1
  1278. package/locales/receipt/fi.json +14 -1
  1279. package/locales/receipt/fr-CA.json +16 -3
  1280. package/locales/receipt/fr.json +16 -3
  1281. package/locales/receipt/ha.json +14 -1
  1282. package/locales/receipt/he.json +14 -1
  1283. package/locales/receipt/hi.json +14 -1
  1284. package/locales/receipt/hr.json +14 -1
  1285. package/locales/receipt/hu.json +14 -1
  1286. package/locales/receipt/id.json +14 -1
  1287. package/locales/receipt/it.json +21 -8
  1288. package/locales/receipt/ja.json +19 -6
  1289. package/locales/receipt/ko.json +15 -2
  1290. package/locales/receipt/mr.json +14 -1
  1291. package/locales/receipt/ms.json +14 -1
  1292. package/locales/receipt/nl.json +14 -1
  1293. package/locales/receipt/pl.json +14 -1
  1294. package/locales/receipt/pt.json +18 -5
  1295. package/locales/receipt/ro.json +14 -1
  1296. package/locales/receipt/ru.json +14 -1
  1297. package/locales/receipt/sk.json +14 -1
  1298. package/locales/receipt/sv.json +14 -1
  1299. package/locales/receipt/sw.json +14 -1
  1300. package/locales/receipt/ta.json +14 -1
  1301. package/locales/receipt/te.json +14 -1
  1302. package/locales/receipt/th.json +14 -1
  1303. package/locales/receipt/tl.json +14 -1
  1304. package/locales/receipt/tr.json +14 -1
  1305. package/locales/receipt/uk.json +14 -1
  1306. package/locales/receipt/ur.json +14 -1
  1307. package/locales/receipt/vi.json +14 -1
  1308. package/locales/receipt/yo.json +14 -1
  1309. package/locales/receipt/zh-Hans.json +17 -4
  1310. package/locales/receipt/zh-Hant.json +25 -12
  1311. package/locales/ro.json +41 -21
  1312. package/locales/routines/am.json +1 -0
  1313. package/locales/routines/ar.json +1 -0
  1314. package/locales/routines/bg.json +1 -0
  1315. package/locales/routines/bn.json +1 -0
  1316. package/locales/routines/br.json +11 -10
  1317. package/locales/routines/co.json +7 -6
  1318. package/locales/routines/cs.json +1 -0
  1319. package/locales/routines/da.json +1 -0
  1320. package/locales/routines/de.json +1 -0
  1321. package/locales/routines/el.json +1 -0
  1322. package/locales/routines/en.json +1 -0
  1323. package/locales/routines/es.json +5 -4
  1324. package/locales/routines/fa.json +1 -0
  1325. package/locales/routines/fi.json +1 -0
  1326. package/locales/routines/fr-CA.json +3 -2
  1327. package/locales/routines/fr.json +3 -2
  1328. package/locales/routines/ha.json +1 -0
  1329. package/locales/routines/he.json +1 -0
  1330. package/locales/routines/hi.json +1 -0
  1331. package/locales/routines/hr.json +1 -0
  1332. package/locales/routines/hu.json +1 -0
  1333. package/locales/routines/id.json +1 -0
  1334. package/locales/routines/it.json +2 -1
  1335. package/locales/routines/ja.json +13 -12
  1336. package/locales/routines/ko.json +2 -1
  1337. package/locales/routines/mr.json +1 -0
  1338. package/locales/routines/ms.json +1 -0
  1339. package/locales/routines/nl.json +1 -0
  1340. package/locales/routines/pl.json +1 -0
  1341. package/locales/routines/pt.json +6 -5
  1342. package/locales/routines/ro.json +1 -0
  1343. package/locales/routines/ru.json +1 -0
  1344. package/locales/routines/sk.json +1 -0
  1345. package/locales/routines/sv.json +1 -0
  1346. package/locales/routines/sw.json +1 -0
  1347. package/locales/routines/ta.json +1 -0
  1348. package/locales/routines/te.json +1 -0
  1349. package/locales/routines/th.json +1 -0
  1350. package/locales/routines/tl.json +1 -0
  1351. package/locales/routines/tr.json +1 -0
  1352. package/locales/routines/uk.json +1 -0
  1353. package/locales/routines/ur.json +1 -0
  1354. package/locales/routines/vi.json +1 -0
  1355. package/locales/routines/yo.json +1 -0
  1356. package/locales/routines/zh-Hans.json +3 -2
  1357. package/locales/routines/zh-Hant.json +4 -3
  1358. package/locales/ru.json +41 -20
  1359. package/locales/scores/am.json +3 -9
  1360. package/locales/scores/ar.json +3 -9
  1361. package/locales/scores/bg.json +3 -9
  1362. package/locales/scores/bn.json +3 -9
  1363. package/locales/scores/br.json +3 -9
  1364. package/locales/scores/co.json +3 -9
  1365. package/locales/scores/cs.json +3 -9
  1366. package/locales/scores/da.json +3 -9
  1367. package/locales/scores/de.json +4 -10
  1368. package/locales/scores/el.json +3 -9
  1369. package/locales/scores/en.json +3 -9
  1370. package/locales/scores/es.json +3 -9
  1371. package/locales/scores/fa.json +3 -9
  1372. package/locales/scores/fi.json +3 -9
  1373. package/locales/scores/fr-CA.json +3 -9
  1374. package/locales/scores/fr.json +3 -9
  1375. package/locales/scores/ha.json +3 -9
  1376. package/locales/scores/he.json +3 -9
  1377. package/locales/scores/hi.json +3 -9
  1378. package/locales/scores/hr.json +3 -9
  1379. package/locales/scores/hu.json +3 -9
  1380. package/locales/scores/id.json +3 -9
  1381. package/locales/scores/it.json +4 -10
  1382. package/locales/scores/ja.json +4 -10
  1383. package/locales/scores/ko.json +4 -10
  1384. package/locales/scores/mr.json +3 -9
  1385. package/locales/scores/ms.json +3 -9
  1386. package/locales/scores/nl.json +3 -9
  1387. package/locales/scores/pl.json +3 -9
  1388. package/locales/scores/pt.json +3 -9
  1389. package/locales/scores/ro.json +3 -9
  1390. package/locales/scores/ru.json +3 -9
  1391. package/locales/scores/sk.json +3 -9
  1392. package/locales/scores/sv.json +3 -9
  1393. package/locales/scores/sw.json +3 -9
  1394. package/locales/scores/ta.json +3 -9
  1395. package/locales/scores/te.json +3 -9
  1396. package/locales/scores/th.json +3 -9
  1397. package/locales/scores/tl.json +3 -9
  1398. package/locales/scores/tr.json +3 -9
  1399. package/locales/scores/uk.json +3 -9
  1400. package/locales/scores/ur.json +3 -9
  1401. package/locales/scores/vi.json +3 -9
  1402. package/locales/scores/yo.json +3 -9
  1403. package/locales/scores/zh-Hans.json +3 -9
  1404. package/locales/scores/zh-Hant.json +3 -9
  1405. package/locales/screen/am.json +11 -0
  1406. package/locales/screen/ar.json +11 -0
  1407. package/locales/screen/bg.json +11 -0
  1408. package/locales/screen/bn.json +11 -0
  1409. package/locales/screen/br.json +11 -0
  1410. package/locales/screen/co.json +11 -0
  1411. package/locales/screen/cs.json +11 -0
  1412. package/locales/screen/da.json +11 -0
  1413. package/locales/screen/de.json +11 -0
  1414. package/locales/screen/el.json +11 -0
  1415. package/locales/screen/en.json +11 -0
  1416. package/locales/screen/es.json +11 -0
  1417. package/locales/screen/fa.json +11 -0
  1418. package/locales/screen/fi.json +11 -0
  1419. package/locales/screen/fr-CA.json +11 -0
  1420. package/locales/screen/fr.json +11 -0
  1421. package/locales/screen/ha.json +11 -0
  1422. package/locales/screen/he.json +11 -0
  1423. package/locales/screen/hi.json +11 -0
  1424. package/locales/screen/hr.json +11 -0
  1425. package/locales/screen/hu.json +11 -0
  1426. package/locales/screen/id.json +11 -0
  1427. package/locales/screen/it.json +11 -0
  1428. package/locales/screen/ja.json +11 -0
  1429. package/locales/screen/ko.json +11 -0
  1430. package/locales/screen/mr.json +11 -0
  1431. package/locales/screen/ms.json +11 -0
  1432. package/locales/screen/nl.json +11 -0
  1433. package/locales/screen/pl.json +11 -0
  1434. package/locales/screen/pt.json +11 -0
  1435. package/locales/screen/ro.json +11 -0
  1436. package/locales/screen/ru.json +11 -0
  1437. package/locales/screen/sk.json +11 -0
  1438. package/locales/screen/sv.json +11 -0
  1439. package/locales/screen/sw.json +11 -0
  1440. package/locales/screen/ta.json +11 -0
  1441. package/locales/screen/te.json +11 -0
  1442. package/locales/screen/th.json +11 -0
  1443. package/locales/screen/tl.json +11 -0
  1444. package/locales/screen/tr.json +11 -0
  1445. package/locales/screen/uk.json +11 -0
  1446. package/locales/screen/ur.json +11 -0
  1447. package/locales/screen/vi.json +11 -0
  1448. package/locales/screen/yo.json +11 -0
  1449. package/locales/screen/zh-Hans.json +11 -0
  1450. package/locales/screen/zh-Hant.json +11 -0
  1451. package/locales/share/br.json +6 -6
  1452. package/locales/share/co.json +4 -4
  1453. package/locales/share/de.json +2 -2
  1454. package/locales/share/es.json +1 -1
  1455. package/locales/share/fr-CA.json +5 -5
  1456. package/locales/share/fr.json +3 -3
  1457. package/locales/share/it.json +4 -4
  1458. package/locales/share/ja.json +15 -15
  1459. package/locales/share/ko.json +4 -4
  1460. package/locales/share/pt.json +2 -2
  1461. package/locales/share/zh-Hans.json +8 -8
  1462. package/locales/share/zh-Hant.json +14 -14
  1463. package/locales/signin/am.json +3 -1
  1464. package/locales/signin/ar.json +3 -1
  1465. package/locales/signin/bg.json +3 -1
  1466. package/locales/signin/bn.json +3 -1
  1467. package/locales/signin/br.json +3 -1
  1468. package/locales/signin/co.json +3 -1
  1469. package/locales/signin/cs.json +3 -1
  1470. package/locales/signin/da.json +3 -1
  1471. package/locales/signin/de.json +3 -1
  1472. package/locales/signin/el.json +3 -1
  1473. package/locales/signin/en.json +3 -1
  1474. package/locales/signin/es.json +4 -2
  1475. package/locales/signin/fa.json +3 -1
  1476. package/locales/signin/fi.json +3 -1
  1477. package/locales/signin/fr-CA.json +3 -1
  1478. package/locales/signin/fr.json +3 -1
  1479. package/locales/signin/ha.json +3 -1
  1480. package/locales/signin/he.json +3 -1
  1481. package/locales/signin/hi.json +3 -1
  1482. package/locales/signin/hr.json +3 -1
  1483. package/locales/signin/hu.json +3 -1
  1484. package/locales/signin/id.json +3 -1
  1485. package/locales/signin/it.json +3 -1
  1486. package/locales/signin/ja.json +3 -1
  1487. package/locales/signin/ko.json +3 -1
  1488. package/locales/signin/mr.json +3 -1
  1489. package/locales/signin/ms.json +3 -1
  1490. package/locales/signin/nl.json +3 -1
  1491. package/locales/signin/pl.json +3 -1
  1492. package/locales/signin/pt.json +3 -1
  1493. package/locales/signin/ro.json +3 -1
  1494. package/locales/signin/ru.json +3 -1
  1495. package/locales/signin/sk.json +3 -1
  1496. package/locales/signin/sv.json +3 -1
  1497. package/locales/signin/sw.json +3 -1
  1498. package/locales/signin/ta.json +3 -1
  1499. package/locales/signin/te.json +3 -1
  1500. package/locales/signin/th.json +3 -1
  1501. package/locales/signin/tl.json +3 -1
  1502. package/locales/signin/tr.json +3 -1
  1503. package/locales/signin/uk.json +3 -1
  1504. package/locales/signin/ur.json +3 -1
  1505. package/locales/signin/vi.json +3 -1
  1506. package/locales/signin/yo.json +3 -1
  1507. package/locales/signin/zh-Hans.json +3 -1
  1508. package/locales/signin/zh-Hant.json +3 -1
  1509. package/locales/sites/am.json +48 -0
  1510. package/locales/sites/ar.json +52 -0
  1511. package/locales/sites/bg.json +48 -0
  1512. package/locales/sites/bn.json +48 -0
  1513. package/locales/sites/br.json +51 -0
  1514. package/locales/sites/co.json +49 -0
  1515. package/locales/sites/cs.json +50 -0
  1516. package/locales/sites/da.json +48 -0
  1517. package/locales/sites/de.json +48 -0
  1518. package/locales/sites/el.json +48 -0
  1519. package/locales/sites/en.json +48 -0
  1520. package/locales/sites/es.json +49 -0
  1521. package/locales/sites/fa.json +48 -0
  1522. package/locales/sites/fi.json +48 -0
  1523. package/locales/sites/fr-CA.json +49 -0
  1524. package/locales/sites/fr.json +49 -0
  1525. package/locales/sites/ha.json +48 -0
  1526. package/locales/sites/he.json +49 -0
  1527. package/locales/sites/hi.json +48 -0
  1528. package/locales/sites/hr.json +49 -0
  1529. package/locales/sites/hu.json +48 -0
  1530. package/locales/sites/id.json +47 -0
  1531. package/locales/sites/it.json +49 -0
  1532. package/locales/sites/ja.json +47 -0
  1533. package/locales/sites/ko.json +47 -0
  1534. package/locales/sites/mr.json +48 -0
  1535. package/locales/sites/ms.json +47 -0
  1536. package/locales/sites/nl.json +48 -0
  1537. package/locales/sites/pl.json +50 -0
  1538. package/locales/sites/pt.json +49 -0
  1539. package/locales/sites/ro.json +49 -0
  1540. package/locales/sites/ru.json +50 -0
  1541. package/locales/sites/sk.json +50 -0
  1542. package/locales/sites/sv.json +48 -0
  1543. package/locales/sites/sw.json +48 -0
  1544. package/locales/sites/ta.json +48 -0
  1545. package/locales/sites/te.json +48 -0
  1546. package/locales/sites/th.json +47 -0
  1547. package/locales/sites/tl.json +48 -0
  1548. package/locales/sites/tr.json +48 -0
  1549. package/locales/sites/uk.json +50 -0
  1550. package/locales/sites/ur.json +48 -0
  1551. package/locales/sites/vi.json +47 -0
  1552. package/locales/sites/yo.json +47 -0
  1553. package/locales/sites/zh-Hans.json +47 -0
  1554. package/locales/sites/zh-Hant.json +47 -0
  1555. package/locales/sk.json +42 -21
  1556. package/locales/skills/am.json +1 -0
  1557. package/locales/skills/ar.json +1 -0
  1558. package/locales/skills/bg.json +1 -0
  1559. package/locales/skills/bn.json +1 -0
  1560. package/locales/skills/br.json +8 -7
  1561. package/locales/skills/co.json +8 -7
  1562. package/locales/skills/cs.json +1 -0
  1563. package/locales/skills/da.json +1 -0
  1564. package/locales/skills/de.json +6 -5
  1565. package/locales/skills/el.json +1 -0
  1566. package/locales/skills/en.json +1 -0
  1567. package/locales/skills/es.json +5 -4
  1568. package/locales/skills/fa.json +1 -0
  1569. package/locales/skills/fi.json +1 -0
  1570. package/locales/skills/fr-CA.json +4 -3
  1571. package/locales/skills/fr.json +4 -3
  1572. package/locales/skills/ha.json +1 -0
  1573. package/locales/skills/he.json +1 -0
  1574. package/locales/skills/hi.json +1 -0
  1575. package/locales/skills/hr.json +1 -0
  1576. package/locales/skills/hu.json +1 -0
  1577. package/locales/skills/id.json +1 -0
  1578. package/locales/skills/it.json +2 -1
  1579. package/locales/skills/ja.json +17 -16
  1580. package/locales/skills/ko.json +2 -1
  1581. package/locales/skills/mr.json +1 -0
  1582. package/locales/skills/ms.json +1 -0
  1583. package/locales/skills/nl.json +1 -0
  1584. package/locales/skills/pl.json +1 -0
  1585. package/locales/skills/pt.json +6 -5
  1586. package/locales/skills/ro.json +1 -0
  1587. package/locales/skills/ru.json +1 -0
  1588. package/locales/skills/sk.json +1 -0
  1589. package/locales/skills/sv.json +1 -0
  1590. package/locales/skills/sw.json +1 -0
  1591. package/locales/skills/ta.json +1 -0
  1592. package/locales/skills/te.json +1 -0
  1593. package/locales/skills/th.json +1 -0
  1594. package/locales/skills/tl.json +1 -0
  1595. package/locales/skills/tr.json +1 -0
  1596. package/locales/skills/uk.json +1 -0
  1597. package/locales/skills/ur.json +1 -0
  1598. package/locales/skills/vi.json +1 -0
  1599. package/locales/skills/yo.json +1 -0
  1600. package/locales/skills/zh-Hans.json +3 -2
  1601. package/locales/skills/zh-Hant.json +5 -4
  1602. package/locales/slides/am.json +2 -10
  1603. package/locales/slides/ar.json +2 -10
  1604. package/locales/slides/bg.json +2 -10
  1605. package/locales/slides/bn.json +2 -10
  1606. package/locales/slides/br.json +13 -21
  1607. package/locales/slides/co.json +29 -37
  1608. package/locales/slides/cs.json +2 -10
  1609. package/locales/slides/da.json +2 -10
  1610. package/locales/slides/de.json +2 -10
  1611. package/locales/slides/el.json +2 -10
  1612. package/locales/slides/en.json +6 -14
  1613. package/locales/slides/es.json +9 -17
  1614. package/locales/slides/fa.json +2 -10
  1615. package/locales/slides/fi.json +2 -10
  1616. package/locales/slides/fr-CA.json +2 -10
  1617. package/locales/slides/fr.json +2 -10
  1618. package/locales/slides/ha.json +2 -10
  1619. package/locales/slides/he.json +2 -10
  1620. package/locales/slides/hi.json +2 -10
  1621. package/locales/slides/hr.json +2 -10
  1622. package/locales/slides/hu.json +2 -10
  1623. package/locales/slides/id.json +2 -10
  1624. package/locales/slides/it.json +8 -16
  1625. package/locales/slides/ja.json +7 -15
  1626. package/locales/slides/ko.json +16 -24
  1627. package/locales/slides/mr.json +2 -10
  1628. package/locales/slides/ms.json +2 -10
  1629. package/locales/slides/nl.json +2 -10
  1630. package/locales/slides/pl.json +2 -10
  1631. package/locales/slides/pt.json +11 -19
  1632. package/locales/slides/ro.json +2 -10
  1633. package/locales/slides/ru.json +2 -10
  1634. package/locales/slides/sk.json +2 -10
  1635. package/locales/slides/sv.json +2 -10
  1636. package/locales/slides/sw.json +2 -10
  1637. package/locales/slides/ta.json +2 -10
  1638. package/locales/slides/te.json +2 -10
  1639. package/locales/slides/th.json +2 -10
  1640. package/locales/slides/tl.json +2 -10
  1641. package/locales/slides/tr.json +2 -10
  1642. package/locales/slides/uk.json +2 -10
  1643. package/locales/slides/ur.json +2 -10
  1644. package/locales/slides/vi.json +2 -10
  1645. package/locales/slides/yo.json +2 -10
  1646. package/locales/slides/zh-Hans.json +6 -14
  1647. package/locales/slides/zh-Hant.json +5 -13
  1648. package/locales/sv.json +39 -20
  1649. package/locales/sw.json +39 -20
  1650. package/locales/sync/br.json +2 -2
  1651. package/locales/sync/de.json +2 -2
  1652. package/locales/sync/es.json +6 -6
  1653. package/locales/sync/it.json +1 -1
  1654. package/locales/sync/ja.json +2 -2
  1655. package/locales/sync/pt.json +1 -1
  1656. package/locales/ta.json +39 -20
  1657. package/locales/tables/am.json +18 -0
  1658. package/locales/tables/ar.json +26 -0
  1659. package/locales/tables/bg.json +18 -0
  1660. package/locales/tables/bn.json +18 -0
  1661. package/locales/tables/br.json +30 -6
  1662. package/locales/tables/co.json +30 -10
  1663. package/locales/tables/cs.json +22 -0
  1664. package/locales/tables/da.json +18 -0
  1665. package/locales/tables/de.json +20 -2
  1666. package/locales/tables/el.json +18 -0
  1667. package/locales/tables/en.json +18 -0
  1668. package/locales/tables/es.json +20 -0
  1669. package/locales/tables/fa.json +18 -0
  1670. package/locales/tables/fi.json +18 -0
  1671. package/locales/tables/fr-CA.json +22 -2
  1672. package/locales/tables/fr.json +21 -1
  1673. package/locales/tables/ha.json +18 -0
  1674. package/locales/tables/he.json +20 -0
  1675. package/locales/tables/hi.json +18 -0
  1676. package/locales/tables/hr.json +20 -0
  1677. package/locales/tables/hu.json +18 -0
  1678. package/locales/tables/id.json +16 -0
  1679. package/locales/tables/it.json +20 -0
  1680. package/locales/tables/ja.json +17 -1
  1681. package/locales/tables/ko.json +20 -4
  1682. package/locales/tables/mr.json +18 -0
  1683. package/locales/tables/ms.json +16 -0
  1684. package/locales/tables/nl.json +18 -0
  1685. package/locales/tables/pl.json +22 -0
  1686. package/locales/tables/pt.json +24 -4
  1687. package/locales/tables/ro.json +20 -0
  1688. package/locales/tables/ru.json +22 -0
  1689. package/locales/tables/sk.json +22 -0
  1690. package/locales/tables/sv.json +18 -0
  1691. package/locales/tables/sw.json +18 -0
  1692. package/locales/tables/ta.json +18 -0
  1693. package/locales/tables/te.json +18 -0
  1694. package/locales/tables/th.json +16 -0
  1695. package/locales/tables/tl.json +18 -0
  1696. package/locales/tables/tr.json +18 -0
  1697. package/locales/tables/uk.json +22 -0
  1698. package/locales/tables/ur.json +18 -0
  1699. package/locales/tables/vi.json +16 -0
  1700. package/locales/tables/yo.json +16 -0
  1701. package/locales/tables/zh-Hans.json +17 -1
  1702. package/locales/tables/zh-Hant.json +17 -1
  1703. package/locales/te.json +39 -20
  1704. package/locales/th.json +38 -20
  1705. package/locales/tl.json +39 -20
  1706. package/locales/tr.json +39 -20
  1707. package/locales/uk.json +41 -20
  1708. package/locales/ur.json +39 -20
  1709. package/locales/vi.json +38 -20
  1710. package/locales/{search → web-search}/am.json +10 -1
  1711. package/locales/{search → web-search}/ar.json +10 -1
  1712. package/locales/{search → web-search}/bg.json +10 -1
  1713. package/locales/{search → web-search}/bn.json +10 -1
  1714. package/locales/{search → web-search}/br.json +14 -5
  1715. package/locales/{search → web-search}/co.json +14 -5
  1716. package/locales/{search → web-search}/cs.json +10 -1
  1717. package/locales/{search → web-search}/da.json +10 -1
  1718. package/locales/{search → web-search}/de.json +10 -1
  1719. package/locales/{search → web-search}/el.json +10 -1
  1720. package/locales/{search → web-search}/en.json +10 -1
  1721. package/locales/{search → web-search}/es.json +13 -4
  1722. package/locales/{search → web-search}/fa.json +10 -1
  1723. package/locales/{search → web-search}/fi.json +10 -1
  1724. package/locales/{search → web-search}/fr-CA.json +10 -1
  1725. package/locales/{search → web-search}/fr.json +10 -1
  1726. package/locales/{search → web-search}/ha.json +10 -1
  1727. package/locales/{search → web-search}/he.json +10 -1
  1728. package/locales/{search → web-search}/hi.json +10 -1
  1729. package/locales/{search → web-search}/hr.json +10 -1
  1730. package/locales/{search → web-search}/hu.json +10 -1
  1731. package/locales/{search → web-search}/id.json +10 -1
  1732. package/locales/{search → web-search}/it.json +10 -1
  1733. package/locales/{search → web-search}/ja.json +15 -6
  1734. package/locales/{search → web-search}/ko.json +10 -1
  1735. package/locales/{search → web-search}/mr.json +10 -1
  1736. package/locales/{search → web-search}/ms.json +10 -1
  1737. package/locales/{search → web-search}/nl.json +10 -1
  1738. package/locales/{search → web-search}/pl.json +10 -1
  1739. package/locales/{search → web-search}/pt.json +10 -1
  1740. package/locales/{search → web-search}/ro.json +10 -1
  1741. package/locales/{search → web-search}/ru.json +10 -1
  1742. package/locales/{search → web-search}/sk.json +10 -1
  1743. package/locales/{search → web-search}/sv.json +10 -1
  1744. package/locales/{search → web-search}/sw.json +10 -1
  1745. package/locales/{search → web-search}/ta.json +10 -1
  1746. package/locales/{search → web-search}/te.json +10 -1
  1747. package/locales/{search → web-search}/th.json +10 -1
  1748. package/locales/{search → web-search}/tl.json +10 -1
  1749. package/locales/{search → web-search}/tr.json +10 -1
  1750. package/locales/{search → web-search}/uk.json +10 -1
  1751. package/locales/{search → web-search}/ur.json +10 -1
  1752. package/locales/{search → web-search}/vi.json +10 -1
  1753. package/locales/{search → web-search}/yo.json +10 -1
  1754. package/locales/{search → web-search}/zh-Hans.json +12 -3
  1755. package/locales/web-search/zh-Hant.json +55 -0
  1756. package/locales/yo.json +38 -20
  1757. package/locales/you/br.json +13 -13
  1758. package/locales/you/co.json +2 -2
  1759. package/locales/you/de.json +1 -1
  1760. package/locales/you/en.json +1 -1
  1761. package/locales/you/es.json +2 -2
  1762. package/locales/you/fr-CA.json +3 -3
  1763. package/locales/you/fr.json +3 -3
  1764. package/locales/you/it.json +10 -10
  1765. package/locales/you/ja.json +9 -9
  1766. package/locales/you/pt.json +11 -11
  1767. package/locales/you/zh-Hans.json +3 -3
  1768. package/locales/you/zh-Hant.json +3 -3
  1769. package/locales/zh-Hans.json +57 -39
  1770. package/locales/zh-Hant.json +67 -49
  1771. package/package.json +1 -1
  1772. package/preview.html +8 -2
  1773. package/ui/base.js +33 -0
  1774. package/ui/caps.js +12 -5
  1775. package/ui/csp.js +1 -1
  1776. package/ui/export.js +1 -1
  1777. package/ui/icons.js +4 -4
  1778. package/ui/kit.js +9 -7
  1779. package/ui/language.js +172 -0
  1780. package/ui/looks/classic.css +3 -1
  1781. package/ui/looks/human.css +4 -3
  1782. package/ui/looks.js +2 -5
  1783. package/ui/markdown.js +34 -19
  1784. package/ui/menu-icons.js +9 -5
  1785. package/ui/model.js +4 -4
  1786. package/ui/pointed.js +22 -0
  1787. package/ui/reader-state.js +4 -3
  1788. package/ui/reader.js +1 -1
  1789. package/ui/review.js +1 -1
  1790. package/ui/save.js +16 -0
  1791. package/ui/seal.js +67 -6
  1792. package/ui/sheet.js +20 -1
  1793. package/ui/shown.js +53 -0
  1794. package/ui/style.css +47 -30
  1795. package/ui/touches.js +25 -0
  1796. package/ui/view.css +27 -1
  1797. package/ui/view.js +40 -17
  1798. package/vendor/deck/deck.css +2 -2
  1799. package/vendor/deck/deck.mjs +37 -37
  1800. package/vendor/deck/pptx.mjs +1 -1
  1801. package/vendor/pele/lazy.d.ts +1 -0
  1802. package/locales/reader/ja.json +0 -9
  1803. package/locales/search/zh-Hant.json +0 -46
  1804. package/ui/acts.js +0 -12
  1805. package/ui/looks/mondrian.css +0 -90
  1806. package/ui/looks/paper.css +0 -51
  1807. /package/locales/{reader → natural-voice}/am.json +0 -0
  1808. /package/locales/{reader → natural-voice}/ar.json +0 -0
  1809. /package/locales/{reader → natural-voice}/bg.json +0 -0
  1810. /package/locales/{reader → natural-voice}/bn.json +0 -0
  1811. /package/locales/{reader → natural-voice}/br.json +0 -0
  1812. /package/locales/{reader → natural-voice}/co.json +0 -0
  1813. /package/locales/{reader → natural-voice}/cs.json +0 -0
  1814. /package/locales/{reader → natural-voice}/da.json +0 -0
  1815. /package/locales/{reader → natural-voice}/de.json +0 -0
  1816. /package/locales/{reader → natural-voice}/el.json +0 -0
  1817. /package/locales/{reader → natural-voice}/en.json +0 -0
  1818. /package/locales/{reader → natural-voice}/fa.json +0 -0
  1819. /package/locales/{reader → natural-voice}/fi.json +0 -0
  1820. /package/locales/{reader → natural-voice}/fr-CA.json +0 -0
  1821. /package/locales/{reader → natural-voice}/fr.json +0 -0
  1822. /package/locales/{reader → natural-voice}/ha.json +0 -0
  1823. /package/locales/{reader → natural-voice}/he.json +0 -0
  1824. /package/locales/{reader → natural-voice}/hi.json +0 -0
  1825. /package/locales/{reader → natural-voice}/hr.json +0 -0
  1826. /package/locales/{reader → natural-voice}/hu.json +0 -0
  1827. /package/locales/{reader → natural-voice}/id.json +0 -0
  1828. /package/locales/{reader → natural-voice}/it.json +0 -0
  1829. /package/locales/{reader → natural-voice}/ko.json +0 -0
  1830. /package/locales/{reader → natural-voice}/mr.json +0 -0
  1831. /package/locales/{reader → natural-voice}/ms.json +0 -0
  1832. /package/locales/{reader → natural-voice}/nl.json +0 -0
  1833. /package/locales/{reader → natural-voice}/pl.json +0 -0
  1834. /package/locales/{reader → natural-voice}/pt.json +0 -0
  1835. /package/locales/{reader → natural-voice}/ro.json +0 -0
  1836. /package/locales/{reader → natural-voice}/ru.json +0 -0
  1837. /package/locales/{reader → natural-voice}/sk.json +0 -0
  1838. /package/locales/{reader → natural-voice}/sv.json +0 -0
  1839. /package/locales/{reader → natural-voice}/sw.json +0 -0
  1840. /package/locales/{reader → natural-voice}/ta.json +0 -0
  1841. /package/locales/{reader → natural-voice}/te.json +0 -0
  1842. /package/locales/{reader → natural-voice}/th.json +0 -0
  1843. /package/locales/{reader → natural-voice}/tl.json +0 -0
  1844. /package/locales/{reader → natural-voice}/tr.json +0 -0
  1845. /package/locales/{reader → natural-voice}/uk.json +0 -0
  1846. /package/locales/{reader → natural-voice}/ur.json +0 -0
  1847. /package/locales/{reader → natural-voice}/vi.json +0 -0
  1848. /package/locales/{reader → natural-voice}/yo.json +0 -0
package/brand.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // The only place the name lives. Display only: never use it in storage keys,
2
2
  // file paths, cache names, CSS classes or element names (see AGENTS.md).
3
- export const BRAND = Object.freeze({
3
+ export const BRAND = Object.seal({
4
4
  name: 'Jean',
5
5
  domain: 'jean.is',
6
6
  })
@@ -9,6 +9,7 @@ export const BRAND = Object.freeze({
9
9
  export const PAGES = Object.freeze({
10
10
  home: { en: '', ar: 'ar', fr: 'fr', ja: 'ja', ko: 'ko' },
11
11
  help: { en: 'help', fr: 'fr/aide' },
12
+ 'site-map': { en: 'site-map', fr: 'fr/plan-du-site' },
12
13
  'help/key-refused': { en: 'help/key-refused', fr: 'fr/aide/cle-refusee' },
13
14
  'help/couldnt-reach': { en: 'help/couldnt-reach', fr: 'fr/aide/injoignable' },
14
15
  'help/plan-stopped': { en: 'help/plan-stopped', fr: 'fr/aide/forfait-arrete' },
@@ -1,10 +1,13 @@
1
1
  /* Charts (D196): the chart in its frame, Copy at its top corner, shown on hover. */
2
2
  app-chart { position: relative; }
3
- app-chart .chart { block-size: clamp(15rem, 55vw, 22rem); }
3
+ /* `dir="ltr"` on the box keeps ECharts' anchors in place. In SVG (on a slide), each word then reads from its first letter, or a mixed one would flip; on a canvas, by `sideOf()`. */
4
+ app-chart .chart { block-size: clamp(15rem, 55vw, 22rem); } app-chart .chart > div { transform-origin: 0 0; } app-chart .chart text { unicode-bidi: plaintext; }
4
5
  app-chart .drawn-foot { position: absolute; z-index: 1; inset-block-start: 0.4rem; inset-inline-end: 0.4rem; transition: opacity 0.2s; }
5
6
  app-chart .drawn-foot .icon-button { background: var(--glass); }
6
7
  @media (hover: hover) { app-chart:not(:hover, :focus-within) .drawn-foot { opacity: 0; } }
7
- @media print { app-chart .drawn-foot { display: none; } }
8
+ @media print { app-chart :is(.drawn-foot, .chart-data) { display: none; } }
9
+ .chart-data { margin-block-start: 0.35rem; font-size: 0.875rem; } .chart-data summary { color: var(--ink-soft); cursor: pointer; }
10
+ .deck-slide .chart-data { position: absolute; z-index: 2; inset-block-end: 0; inset-inline-start: 0; font-size: 0.75rem; } .deck-slide .chart-data[open] { inset: 0; overflow: auto; padding: 0.5rem; background: var(--room); }
8
11
  /* While the answer is written, the chart's place; once it's written, why there is none. */
9
12
  app-chart .drawn-status { margin: 0 0 0.6rem; }
10
13
  .is-streaming app-chart .drawn-status { display: grid; place-items: center; min-block-size: clamp(15rem, 55vw, 22rem); margin: 0; }
@@ -1,10 +1,10 @@
1
1
  // Charts (D196): a ```echarts block in an answer, drawn by ECharts on a canvas, with the theme's
2
- // light or dark, the room's type and numbers in the user's language; drawn again as its box, the
2
+ // light or dark (on a slide, its paper's), the room's type and numbers in the user's language; drawn again as its box, the
3
3
  // theme, the look or the language changes; copied as its source and its picture, on light paper,
4
4
  // at once. The block is data (./option.js). While it is written, what is whole of it so far is
5
5
  // drawn, and the chart grows as more comes. Loaded by the first chart an answer holds; until then,
6
6
  // or when it isn't a chart, it shows as code.
7
- import { html, render } from 'lit-html'
7
+ import { html, nothing, render } from 'lit-html'
8
8
  import { effect } from '@preact/signals-core'
9
9
  import { app, theme, notify } from '../../ui/state.js'
10
10
  import { copyDrawing } from '../../ui/save.js'
@@ -12,18 +12,17 @@ import { drawn } from '../../ui/markdown.js'
12
12
  import { drawnActions } from '../../ui/caps.js'
13
13
  import { icons } from '../../ui/icons.js'
14
14
  import { styleSheet, still } from '../../ui/sheet.js'
15
- import { t, locale, intlLocales, useStrings } from '../../core/i18n.js'
16
- import { readOption, localize, titleOf } from './option.js'
15
+ import { t, dir, locale, intlLocales, useStrings } from '../../core/i18n.js'
16
+ import { readOption, localize, titleOf, namesIn, paperTheme, paperLabels, sideOf } from './option.js'
17
17
 
18
18
  /** @typedef {import('./option.js').Option} Option */
19
19
 
20
- const [echarts] = await Promise.all([
21
- import(new URL('../../vendor/echarts/echarts.mjs', import.meta.url).href),
22
- useStrings('charts'),
23
- styleSheet(new URL('charts.css', import.meta.url)),
24
- ])
20
+ const [echarts] = await Promise.all([import(new URL('../../vendor/echarts/echarts.mjs', import.meta.url).href), useStrings('charts'), styleSheet(new URL('charts.css', import.meta.url))])
25
21
 
26
- const contrast = matchMedia('(prefers-contrast: more), (forced-colors: active)')
22
+ const [contrast, forced] = [matchMedia('(prefers-contrast: more)'), matchMedia('(forced-colors: active)')]
23
+ let charts = 0
24
+ // Escape hides a tip.
25
+ addEventListener('keydown', (event) => { if (event.key === 'Escape') for (const one of document.querySelectorAll('app-chart')) /** @type {{ chart?: import('echarts').ECharts | null }} */ (one).chart?.dispatchAction({ type: 'hideTip' }) })
27
26
 
28
27
  /**
29
28
  * The option as drawn here: numbers in the user's language, the room's type, no animation for
@@ -35,13 +34,23 @@ function dressed(option, font) {
35
34
  ...localize(option, new Intl.NumberFormat(intlLocales(locale.peek())).format),
36
35
  textStyle: { fontFamily: font, ...option.textStyle },
37
36
  ...(still() && { animation: false }),
38
- ...(contrast.matches && { aria: { enabled: true, decal: { show: true } } }),
37
+ ...((forced.matches || ({ more: true, usual: false }[document.documentElement.dataset.contrast ?? ''] ?? contrast.matches)) && { aria: { enabled: true, decal: { show: true } } }),
39
38
  }
40
39
  }
41
40
 
41
+ /** A chart's numbers as a table, its categories down the side and a column for each series; its source where it has neither. @param {Option} option @param {string} source */
42
+ function figures(option, source) {
43
+ const series = [option.series].flat().filter((one) => Array.isArray(one?.data)), axis = [option.xAxis, option.yAxis].flat().find((one) => Array.isArray(one?.data))?.data, value = (/** @type {any} */ one) => [one?.value ?? one].flat().join(', '), rows = Math.max(0, ...series.map((one) => one.data.length))
44
+ const links = [option.series].flat().flatMap((one) => one?.links ?? one?.edges ?? []), set = [option.dataset].flat()[0]?.source; if (links.length) return html`<ul>${links.map((/** @type {any} */ one) => html`<li dir="auto">${one.source} → ${one.target}${one.value == null ? '' : ` (${one.value})`}</li>`)}</ul>`
45
+ if (Array.isArray(set?.[0])) return html`<div class="table" tabindex="0"><table><thead><tr>${set[0].map((/** @type {any} */ head) => html`<th scope="col" dir="auto">${head}</th>`)}</tr></thead><tbody>${set.slice(1).map((/** @type {any[]} */ row) => html`<tr>${row.map((one, i) => (i ? html`<td>${one}</td>` : html`<th scope="row" dir="auto">${one}</th>`))}</tr>`)}</tbody></table></div>`
46
+ return rows ? html`<div class="table" tabindex="0"><table><thead><tr><td></td>${series.map((one) => html`<th scope="col" dir="auto">${one.name ?? titleOf(option)}</th>`)}</tr></thead><tbody>${Array.from({ length: rows }, (_, i) => html`<tr><th scope="row" dir="auto">${value(axis?.[i] ?? series[0].data[i]?.name ?? i + 1)}</th>${series.map((one) => html`<td>${value(one.data[i])}</td>`)}</tr>`)}</tbody></table></div>` : html`<pre dir="ltr" tabindex="0">${source}</pre>`
47
+ }
48
+
42
49
  class AppChart extends HTMLElement {
43
50
  /** `open` while its block's closing fence isn't written yet: the answer is still writing it. */
44
51
  static observedAttributes = ['source', 'open']
52
+ /** Its figures' id, which its picture is described by. */
53
+ wordsId = `chart-words-${++charts}`
45
54
  /** @type {any} ECharts' instance, while a chart is drawn */
46
55
  chart = null
47
56
  /** @type {Option | null} what it draws */
@@ -53,7 +62,7 @@ class AppChart extends HTMLElement {
53
62
  /** @type {string | null} what the block held when last drawn while open, which more of it grows from */
54
63
  growing = null
55
64
  frame = 0
56
- sized = new ResizeObserver(() => this.chart?.resize())
65
+ sized = new ResizeObserver(() => this.chart && this.fit())
57
66
  /** @type {(() => void) | undefined} */
58
67
  unwatch
59
68
 
@@ -76,19 +85,17 @@ class AppChart extends HTMLElement {
76
85
  this.growing = null
77
86
  }
78
87
 
79
- attributeChangedCallback() {
80
- if (this.isConnected) this.draw()
81
- }
88
+ attributeChangedCallback() { if (this.isConnected) this.draw() }
82
89
 
83
90
  draw() {
84
91
  const source = this.getAttribute('source') ?? ''
85
92
  const open = this.hasAttribute('open')
86
- const look = [theme.peek(), app.look.peek(), locale.peek()].join('\n')
93
+ const paper = this.paper(), look = [theme.peek(), app.look.peek(), locale.peek(), paper?.textStyle.color].join('\n')
87
94
  const key = [look, open, source].join('\n')
88
95
  if (key === this.drawn) return
89
96
  this.drawn = key
90
- // More of a block being written goes on the chart already drawn.
91
- const more = Boolean(this.chart) && this.made === look && this.growing !== null && source.startsWith(this.growing)
97
+ // More of a block being written, or a page's chart that follows its form (`live`, D670), goes on the chart already drawn.
98
+ const more = Boolean(this.chart) && this.made === look && (this.hasAttribute('live') || (this.growing !== null && source.startsWith(this.growing)))
92
99
  this.growing = open ? source : null
93
100
  const option = readOption(source, open)
94
101
  // Nothing whole has come since: what is drawn stays.
@@ -103,10 +110,11 @@ class AppChart extends HTMLElement {
103
110
  if (!option || !box) return
104
111
  try {
105
112
  // In SVG on a slide (`svg`), which a deck saved as PowerPoint reads as it is drawn (D593).
106
- this.chart ??= echarts.init(box, theme.peek() === 'dark' ? 'dark' : undefined, { renderer: this.hasAttribute('svg') ? 'svg' : 'canvas' })
113
+ this.chart ??= echarts.init(box, paper ?? (theme.peek() === 'dark' ? 'dark' : undefined), { renderer: this.hasAttribute('svg') ? 'svg' : 'canvas' })
114
+ if (!more) this.fit()
107
115
  this.made = look
108
116
  // Without animation while it grows: each would start again with the next few values.
109
- this.chart.setOption({ ...dressed(option, getComputedStyle(this).fontFamily), ...(open && { animation: false }) })
117
+ this.chart.setOption({ ...dressed(paper ? { ...option, series: paperLabels(option.series, paper.textStyle.color) } : option, getComputedStyle(this).fontFamily), ...(open && { animation: false }) })
110
118
  this.sized.observe(box)
111
119
  } catch (error) {
112
120
  // Half an option may not draw yet; a whole one that doesn't is worth a word.
@@ -117,16 +125,36 @@ class AppChart extends HTMLElement {
117
125
  }
118
126
  }
119
127
 
128
+ /** On a slide (`svg`), ECharts' theme for the paper under the chart, which a tile or a part may have over the slide's. */
129
+ paper() {
130
+ if (!this.hasAttribute('svg')) return null
131
+ /** @type {Element} */
132
+ let under = this
133
+ while (under.parentElement && !getComputedStyle(under).backgroundColor.startsWith('rgb(')) under = under.parentElement
134
+ return paperTheme(getComputedStyle(this).color, getComputedStyle(under).backgroundColor)
135
+ }
136
+
137
+ /**
138
+ * The chart to its box. On a slide (`svg`), drawn at a size of its own and scaled up to it, so that its words, lines and margins
139
+ * grow with the slide's as they all do, at any size of slide: ECharts' 12px as six tenths of the slide's type, or less in a short
140
+ * box (a tile, a node), for it never to be drawn under the 240px high that ECharts' margins, fixed in height, leave its marks room in.
141
+ */
142
+ fit() {
143
+ const box = /** @type {HTMLElement} */ (this.querySelector('.chart')), scale = this.hasAttribute('svg') ? Math.min(parseFloat(getComputedStyle(box).fontSize) / 20, box.clientHeight / 240) : 1
144
+ this.chart.resize({ width: box.clientWidth / scale, height: box.clientHeight / scale })
145
+ box.querySelector('div')?.style.setProperty('scale', String(scale))
146
+ }
147
+
120
148
  /** @param {string} source @param {Option | null} option */
121
149
  paint(source, option) {
122
- const title = option ? titleOf(option) : ''
123
- render(option ? html`<div class="chart" dir="ltr" role="img" aria-label=${title || t('charts.chart')}></div>
124
- <div class="drawn-foot">
150
+ const title = option ? titleOf(option) : '', names = option ? namesIn(option) : []
151
+ render(option ? html`<div class="chart" dir="ltr" role="img" aria-describedby=${this.wordsId} lang=${title ? nothing : locale.value} aria-label=${title || (names.length ? t('charts.of', { names: new Intl.ListFormat(intlLocales(), { type: 'unit' }).format(names) }) : t('charts.chart'))}></div>
152
+ <div class="drawn-foot" lang=${locale.value}>
125
153
  <button class="icon-button subtle" aria-label=${t('action.copy')}
126
- @click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed')))}>${icons.copy}</button>
154
+ @click=${() => copyDrawing(source, this.picture()).then(() => notify(t('toast.copied')), () => notify(t('made.copyFailed'), { alert: true }))}>${icons.copy}</button>
127
155
  ${drawnActions('echarts', source)}
128
- </div>`
129
- : html`<p class="drawn-status muted small" role="status"><span class="while">${t('charts.drawing')}</span><span class="failed">${t('charts.failed')}</span></p>
156
+ </div><details class="chart-data" id=${this.wordsId}><summary lang=${locale.value} dir=${dir()}>${t('charts.data')}</summary>${figures(option, source)}</details>`
157
+ : html`<p class="drawn-status muted small" role="status"><span class="while">${t('charts.drawing')}</span><span class="failed" role="alert">${t('charts.failed')}</span></p>
130
158
  <pre dir="ltr" tabindex="0"><code>${source}</code></pre>`, this)
131
159
  }
132
160
 
@@ -136,8 +164,7 @@ class AppChart extends HTMLElement {
136
164
  * @returns {Promise<Blob>}
137
165
  */
138
166
  async picture() {
139
- const { option } = this
140
- const box = this.querySelector('.chart')
167
+ const { option } = this, box = this.querySelector('.chart')
141
168
  if (!option || !box) throw new Error('No chart')
142
169
  const paper = echarts.init(document.createElement('div'), undefined, { renderer: 'canvas', width: box.clientWidth, height: box.clientHeight })
143
170
  try {
@@ -150,5 +177,8 @@ class AppChart extends HTMLElement {
150
177
  }
151
178
  }
152
179
 
180
+ // A canvas draws its words in the one direction it is given: each is given its own, for the box's `dir="ltr"` not to flip a mixed one (in SVG: charts.css).
181
+ echarts.setPlatformAPI({ createCanvas() { const canvas = document.createElement('canvas'), context = /** @type {any} */ (canvas.getContext('2d')); for (const draw of /** @type {const} */ (['fillText', 'strokeText'])) context[draw] = (/** @type {string} */ word, /** @type {[number, number]} */ ...at) => { context.direction = sideOf(word); CanvasRenderingContext2D.prototype[draw].call(context, word, ...at) }; return canvas } })
182
+
153
183
  customElements.define('app-chart', AppChart)
154
184
  drawn.value = { ...drawn.peek(), echarts: (source, open) => html`<app-chart source=${source} ?open=${open}></app-chart>` }
@@ -31,12 +31,13 @@ export function readOption(source, open = false) {
31
31
  const one = (/** @type {any} */ item) => (Array.isArray(item) && item.length === 1 ? item[0] : Array.isArray(item?.value) && item.value.length === 1 ? { ...item, value: item.value[0] } : item)
32
32
  for (const series of all(option.series)) if (/^(bar|line)$/.test(series?.type) && Array.isArray(series.data)) series.data = series.data.map(one)
33
33
  delete option.toolbox
34
+ for (const legend of all(option.legend)) legend.selectedMode = false
34
35
  option.backgroundColor = 'transparent'
35
36
  for (const title of all(option.title)) {
36
37
  delete title.link
37
38
  delete title.sublink
38
39
  }
39
- const tooltip = (/** @type {Option} */ given) => ({ ...given, renderMode: 'richText' })
40
+ const tooltip = (/** @type {Option} */ given) => ({ ...given, renderMode: 'richText', triggerOn: 'click' })
40
41
  option.tooltip = Array.isArray(option.tooltip) ? option.tooltip.map(tooltip) : tooltip(option.tooltip)
41
42
  return option
42
43
  }
@@ -121,6 +122,9 @@ export function soFar(source) {
121
122
  return end ? source.slice(0, end) + closing : ''
122
123
  }
123
124
 
125
+ /** A word's direction by its first letter, in the scripts written right to left (Hebrew, Arabic, Syriac, Thaana, N'Ko, their forms), as `unicode-bidi: plaintext` finds it; left to right without one. @param {string} word @returns {'rtl' | 'ltr'} */
126
+ export const sideOf = (word) => (/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/.test(/\p{L}/u.exec(word)?.[0] ?? '') ? 'rtl' : 'ltr')
127
+
124
128
  /**
125
129
  * Numbers as the user's language writes them, on value axes and in tooltips, unless the chart
126
130
  * gives its own formatter. A y axis is a value axis, and an x axis a category one, unless they say.
@@ -137,5 +141,28 @@ export function localize(option, format) {
137
141
  return option
138
142
  }
139
143
 
144
+ /**
145
+ * ECharts' theme on a slide, whose paper isn't the room's: every word in the slide's colour where that reads on the paper under
146
+ * the chart at AA, else in black or white, whichever does. A theme, so that what the chart names itself stays. Colours as CSS
147
+ * computes them, `rgb(…)`. @param {string} words @param {string} paper
148
+ */
149
+ export function paperTheme(words, paper) {
150
+ const luminance = (/** @type {string} */ colour) => (colour.match(/[\d.]+/g) ?? []).slice(0, 3).map((c) => Number(c) / 255).map((s) => (s <= 0.04045 ? s / 12.92 : ((s + 0.055) / 1.055) ** 2.4)).reduce((sum, s, i) => sum + s * [0.2126, 0.7152, 0.0722][i], 0)
151
+ const under = luminance(paper), over = luminance(words), dark = under < 0.179
152
+ const color = (Math.max(under, over) + 0.05) / (Math.min(under, over) + 0.05) >= 4.5 ? words : dark ? 'rgb(255, 255, 255)' : 'rgb(0, 0, 0)'
153
+ const axis = { axisLine: { lineStyle: { color } }, axisLabel: { color }, splitLine: { lineStyle: { color: color.replace('rgb(', 'rgba(').replace(')', ', 0.2)') } } }
154
+ return { darkMode: dark, textStyle: { color }, title: { textStyle: { color }, subtextStyle: { color } }, legend: { textStyle: { color }, pageTextStyle: { color } }, visualMap: { textStyle: { color } }, dataZoom: { textStyle: { color } }, timeline: { label: { color } },
155
+ calendar: { dayLabel: { color }, monthLabel: { color }, yearLabel: { color } }, matrix: { x: { label: { color } }, y: { label: { color } } }, gauge: { title: { color }, axisLabel: { color }, detail: { color } }, radar: { ...axis, axisName: { color } }, categoryAxis: axis, valueAxis: axis, timeAxis: axis, logAxis: axis }
156
+ }
157
+
158
+ /** The series with their labels in `color` where they stand on the paper, not on their marks, as a bar's do unless it says. @param {unknown} series @param {string} color */
159
+ export const paperLabels = (series, color) => all(series).map((one) => (/in|center/.test(one.label?.position ?? (/^(bar|pictorialBar|heatmap|treemap|sunburst|graph|map)$/.test(one.type) ? 'in' : '')) ? one : { ...one, label: { color, ...one.label } }))
160
+
140
161
  /** What a chart is called: its first title. @param {Option} option */
141
162
  export const titleOf = (option) => String(all(option.title).find((title) => title.text)?.text ?? '')
163
+
164
+ /** What a chart with no title shows, to name it by: its series, else what its series or axes list. @param {Option} option @returns {string[]} */
165
+ export function namesIn(option) {
166
+ const series = all(option.series), named = series.map((one) => one?.name).filter(Boolean), listed = [...series.flatMap((one) => (Array.isArray(one?.data) ? one.data.map((/** @type {any} */ item) => item?.name) : [])), ...[option.xAxis, option.yAxis].flat().flatMap((axis) => axis?.data ?? [])]
167
+ return [...new Set((named.length ? named : listed).filter((name) => name && typeof name === 'string'))].slice(0, 5)
168
+ }
@@ -1,14 +1,15 @@
1
1
  // Word, Excel and PowerPoint files as Office draws them (D183), in a file's pane and the browser: by
2
2
  // @silurus/ooxml, its parsers WebAssembly, its viewers drawing on a canvas, so nothing of the file
3
3
  // becomes markup, in a frame of a file pane's kind (an opaque origin with no network), in a page made
4
- // here: modules as data: addresses under an import map, the parser and the file as data too.
4
+ // here: its modules as text the page makes blob: addresses of, under an import map it writes, the
5
+ // parser and the file as data.
5
6
  import { encode } from '../../ui/seal.js'
6
7
  import { t } from '../../core/i18n.js'
7
8
 
8
9
  const BASE = new URL('../../vendor/ooxml/', import.meta.url)
9
10
  const VIEWERS = /** @type {Record<string, string>} */ ({ docx: 'DocxScrollViewer', pptx: 'PptxScrollViewer', xlsx: 'XlsxViewer' })
10
- /** A file of vendor/ooxml as a data: address. @param {string} path @param {string} [type] */
11
- const data = async (path, type = 'text/javascript') => `data:${type};base64,${encode(new Uint8Array(await (await fetch(new URL(path, BASE))).arrayBuffer()))}`
11
+ /** A file of vendor/ooxml. @param {string} path */
12
+ const read = (path) => fetch(new URL(path, BASE))
12
13
  let graph = /** @type {Promise<Record<string, string[]>> | undefined} */ (undefined)
13
14
 
14
15
  /** Where a workbook was being looked at: its sheet, how far it was scrolled, the cell chosen. @typedef {{ sheet: number, x: number, y: number, ref: string }} Place */
@@ -16,7 +17,9 @@ let graph = /** @type {Promise<Record<string, string[]>> | undefined} */ (undefi
16
17
  // A workbook's cells changed where they are (D229): a double click, F2 or typing opens a box over the cell
17
18
  // chosen (Enter is the viewer's, for comments); Enter, Tab or leaving it sends Jean what it is to hold, and
18
19
  // Jean keeps a new version and shows it again where it was; Escape leaves the box, as does Jean's answer
19
- // that the cell can't change. Closed from the keyboard, the box gives the keys back to the sheet.
20
+ // that the cell can't change. Closed from the keyboard, the box gives the keys back to the sheet. A sheet is
21
+ // drawn before the viewer has read it whole, and can't say what a cell holds until then: the box waits for
22
+ // that, 10 s at most, unless another box opened meanwhile.
20
23
  const CELLS = `
21
24
  const box = Object.assign(document.createElement('input'), { dir: 'auto', spellcheck: false, autocomplete: 'off' })
22
25
  box.style.cssText = 'position: fixed; display: none; box-sizing: border-box; margin: 0; padding: 0 4px; border: 2px solid #1a73e8; background: #fff; color: #111; font: 13px system-ui, sans-serif'
@@ -26,17 +29,19 @@ let was = ''
26
29
  let back = null
27
30
  const ref = ({ row, col }) => { let name = ''; for (let n = col; n > 0; n = Math.floor((n - 1) / 26)) name = String.fromCharCode(65 + ((n - 1) % 26)) + name; return name + row }
28
31
  const close = (keys) => { cell = null; box.readOnly = false; box.style.display = 'none'; if (keys) back?.focus() }
29
- const open = (typed) => {
32
+ const open = (typed, tries = 0) => {
30
33
  const active = viewer.selectionState?.activeCell
31
34
  const rect = active && viewer.getCellViewportRect(active)
32
35
  if (!rect) return
33
- const known = viewer.getSelectionContext()?.cells?.find(({ address }) => address.row === active.row && address.col === active.col)
36
+ const context = viewer.getSelectionContext()
37
+ if (!context) return void (tries < 200 && setTimeout(() => cell || open(typed, tries + 1), 50))
38
+ const known = context.cells?.find(({ address }) => address.row === active.row && address.col === active.col)
34
39
  const grid = viewer.canvasElement.getBoundingClientRect()
35
40
  cell = active
36
41
  back = document.activeElement
37
42
  was = known?.formula ? '=' + known.formula.replace(/^=/, '') : String(known?.value ?? '')
38
43
  box.value = typed ?? was
39
- box.setAttribute('aria-label', ref(active))
44
+ box.title = ref(active)
40
45
  Object.assign(box.style, { display: 'block', left: grid.left + rect.x + 'px', top: grid.top + rect.y + 'px', width: rect.width + 'px', height: rect.height + 'px' })
41
46
  box.focus()
42
47
  }
@@ -73,16 +78,18 @@ addEventListener('message', ({ source, data }) => { if (source === parent && dat
73
78
  */
74
79
  export async function officePage(ext, bytes, name, cells, words) {
75
80
  graph ??= fetch(new URL('graph.json', BASE)).then((response) => response.json())
76
- const imports = Object.fromEntries(await Promise.all((await graph)[ext].map(async (file) => [`ooxml/${file}`, await data(file)])))
81
+ // Its modules as blob: addresses the page makes, never data: ones: Chromium took 2.6 s over the 1.6 MB data: address of a Word
82
+ // document's largest module, on a fast computer, and fourteen on a busy one, and Jean's page, whose thread the frame shares, froze with it.
83
+ const modules = Object.fromEntries(await Promise.all((await graph)[ext].map(async (file) => [`ooxml/${file}`, await (await read(file)).text()])))
77
84
  const failed = JSON.stringify(t('files.failed', { name })).replace(/</g, '\\u003c')
78
85
  const at = JSON.stringify(cells?.at ?? null).replace(/</g, '\\u003c')
79
86
  const find = words && JSON.stringify(words.replace(/^#+ /gm, '').split('\n').map((line) => line.trim()).sort((a, b) => b.length - a.length)[0]).replace(/</g, '\\u003c')
80
87
  return /* html */ `<meta charset="utf-8"><style>html, body { block-size: 100%; margin: 0; background: #ececef; font: 0.9rem system-ui, sans-serif; } main { block-size: 100vh; } p { margin: 2rem; text-align: center; }</style>
81
- <script type="importmap">${JSON.stringify({ imports })}</script><main></main>
88
+ <script>document.head.append(Object.assign(document.createElement('script'), { type: 'importmap', textContent: JSON.stringify({ imports: Object.fromEntries(Object.entries(${JSON.stringify(modules).replace(/</g, '\\u003c')}).map(([name, text]) => [name, URL.createObjectURL(new Blob([text], { type: 'text/javascript' }))])) }) }))</script><main></main>
82
89
  <script type="module">
83
90
  import { ${VIEWERS[ext]} as Viewer } from 'ooxml/${ext}.mjs'
84
91
  const main = document.querySelector('main')
85
- const viewer = new Viewer(main, { wasmUrl: '${await data(`${ext}_parser_bg.wasm`, 'application/wasm')}', enableTextSelection: true, background: '#ececef' })
92
+ const viewer = new Viewer(main, { wasmUrl: 'data:application/wasm;base64,${encode(new Uint8Array(await (await read(`${ext}_parser_bg.wasm`)).arrayBuffer()))}', enableTextSelection: true, background: '#ececef' })
86
93
  viewer.load(Uint8Array.from(atob('${encode(bytes)}'), (char) => char.charCodeAt(0)).buffer)${find ? `
87
94
  .then(() => viewer.findText(${find}).then(() => viewer.findNext()).catch(() => {}))` : ''}${ext === 'xlsx' && cells ? `
88
95
  .then(async () => {
package/caps/files/pdf.js CHANGED
@@ -22,6 +22,9 @@ function pdfjs() {
22
22
  return library
23
23
  }
24
24
 
25
+ /** pdf.js's words of a page, laid over it to select (D690). */
26
+ export const textLayer = async () => (await pdfjs()).TextLayer
27
+
25
28
  /** A PDF, opened: its text is read here, its pages drawn where a file shows (ui/view.js, D126). @param {Uint8Array} bytes */
26
29
  export async function openPdf(bytes) {
27
30
  return (await pdfjs()).getDocument({
@@ -48,7 +48,7 @@
48
48
  Object.defineProperties(document, { hidden: { get: () => false }, visibilityState: { get: () => 'visible' } })
49
49
  }
50
50
  win.Date = class extends RealDate {
51
- constructor(/** @type {any[]} */ ...args) { if (args.length) super(.../** @type {[any]} */ (args)); else super(start + now) }
51
+ constructor(/** @type {unknown[]} */ ...args) { if (args.length) super(.../** @type {[string | number | Date]} */ (args)); else super(start + now) }
52
52
  static now() { return start + now }
53
53
  }
54
54
  performance.now = () => now
@@ -56,7 +56,7 @@
56
56
  const timers = /** @type {Map<number, { at: number, every?: number, fn: unknown, args: unknown[] }>} */ (new Map())
57
57
  win.requestAnimationFrame = (/** @type {Function} */ fn) => (frames.set(++ids, fn), ids)
58
58
  win.cancelAnimationFrame = (/** @type {number} */ id) => frames.delete(id)
59
- win.setTimeout = (/** @type {any} */ fn, ms = 0, /** @type {unknown[]} */ ...args) => (running ? (timers.set(++ids, { at: now + Math.max(0, Number(ms) || 0), fn, args }), ids) : real.later(fn, ms, ...args))
59
+ win.setTimeout = (/** @type {TimerHandler} */ fn, ms = 0, /** @type {unknown[]} */ ...args) => (running ? (timers.set(++ids, { at: now + Math.max(0, Number(ms) || 0), fn, args }), ids) : real.later(fn, ms, ...args))
60
60
  win.setInterval = (/** @type {unknown} */ fn, ms = 0, /** @type {unknown[]} */ ...args) => ((every) => (timers.set(++ids, { at: now + every, every, fn, args }), ids))(Math.max(1, Number(ms) || 0))
61
61
  win.clearTimeout = win.clearInterval = (/** @type {number} */ id) => (id > 1e6 ? timers.delete(id) : real.clear(id))
62
62
  const step = (/** @type {number} */ ms) => {
@@ -8,17 +8,15 @@ import { html, svg } from 'lit-html'
8
8
  import { signal, effect } from '@preact/signals-core'
9
9
  import { app } from '../../ui/state.js'
10
10
  import { register } from '../../ui/caps.js'
11
- import { icon } from '../../ui/menu-icons.js'
11
+ import { icon, icons } from '../../ui/menu-icons.js'
12
+ import { t } from '../../core/i18n.js'
12
13
  import { ask, page } from '../../ui/creations.js'
13
14
  import { held } from '../../ui/held.js'
14
- import { capability, page as drawn } from './interactive.js'
15
+ import { capability, named, page as drawn } from './interactive.js'
15
16
  import { frozen } from './parts.js'
16
17
 
17
18
  /** Four tiles, the last turned on its corner: what is made to be used. */
18
19
  const GLYPH = icon(svg`<rect x="4" y="4" width="6.5" height="6.5" rx="1.5"/><rect x="4" y="13.5" width="6.5" height="6.5" rx="1.5"/><rect x="13.5" y="13.5" width="6.5" height="6.5" rx="1.5"/><g transform="rotate(45 16.75 7.25)"><rect x="14" y="4.5" width="5.5" height="5.5" rx="1.5"/></g>`, 'flip-rtl')
19
- /** What a page calls itself, as text: its title, else its first heading. @param {string} source */
20
- const named = (source) => ((/<title[^>]*>([^<]*)</i.exec(source) ?? /<h[12][^>]*>([\s\S]*?)<\/h[12]>/i.exec(source))?.[1] ?? '')
21
- .replace(/<[^>]*>/g, '').replaceAll('&amp;', '&').replace(/\s+/g, ' ').trim()
22
20
 
23
21
  const { kept, find, metaOf, pin, rename, hide } = held({ fence: 'html', record: 'app', at: 'app-', latest: true, named, extension: 'html', mimeType: 'text/html' })
24
22
  /** An app's page as the pane's Download gives it, what it shows of the project's collections written in (D633). @param {string} uri */
@@ -31,11 +29,20 @@ export const editor = async ({ uri }) => ((one) => (one ? shown(one, 'beside') :
31
29
  const shown = ({ source, link }, kind) => html`<div class="prose">${drawn(source, false, kind, link.uri)}</div>`
32
30
 
33
31
  export const apps = { id: 'apps', at: 6, draw: () => GLYPH, kept,
34
- open: (/** @type {{ path: string, name: string, link: { name: string } }} */ { path, name, link }) => import('../../ui/preview.js').then(({ preview }) => preview({ uri: path, name: link.name, title: name, mimeType: 'text/html' })),
32
+ open: (/** @type {{ path: string, name: string, link: { name: string } }} */ { path, name, link }) => import('../../ui/preview.js').then(({ preview }) => preview({ uri: path, name: link.name, title: name, mimeType: 'text/html' }, true)),
35
33
  pin, rename, hide, like: async () => {},
36
34
  preview: (/** @type {{ source: string, link: { uri: string } }} */ one) => shown(one),
37
35
  make: () => ask('interactive.askApp', 'interactive.appExample') }
38
36
 
37
+ /**
38
+ * What an app can do (ui/out.js): a link holds its page as an answer's does, the system's sheet and Download its page on its own, and paper what it shows now.
39
+ * @param {{ uri: string, name: string, title: string }} file @param {Element} pane @returns {import('../../ui/out.js').Ways}
40
+ */
41
+ const ways = (file, pane) => ({ share: async () => ({ text: `\`\`\`html\n${(await find(file.uri))?.source ?? ''}\n\`\`\`` }),
42
+ send: { file: file.name, type: 'text/html', make: async () => ({ title: file.title, files: [new File([await bytesOf(file.uri)], file.name, { type: 'text/html' })] }) },
43
+ files: [{ id: '', glyph: icons.download, label: t('out.webPage'), run: async () => (await import('../../ui/preview.js')).download(file) }],
44
+ print: { id: 'print', run: async () => (await import('../made/paper.js')).printPage(/** @type {HTMLElement} */ (pane.querySelector('.view .prose'))) } })
45
+
39
46
  /** Its slots, Creations' page among them, once the project holds an app; until then only its card to start one, on the page another kind opens (D553). */
40
47
  const joined = signal(/** @type {Record<string, unknown>} */ ({ starts: apps }))
41
48
  let here = ''
@@ -44,4 +51,4 @@ effect(() => {
44
51
  if (dir !== here) (here = dir, (joined.value = { starts: apps }))
45
52
  if (!joined.peek().creations) kept().then((list) => { if (here === dir && list.length) joined.value = { creations: apps, main: page } }, console.warn)
46
53
  })
47
- effect(() => register({ ...capability, slots: { ...capability.slots, ...joined.value } }))
54
+ effect(() => register({ ...capability, slots: { ...capability.slots, ...joined.value, out: { at: 2, draw: () => null, of: (/** @type {{ uri: string }} */ { uri }) => /#app-\d+$/.test(uri), load: async () => ({ ways }) } } }))
@@ -5,6 +5,7 @@
5
5
  // in the room's colours (or a deck's) as Pele's own properties inside it, its words the picture's text. <app-diagram> draws
6
6
  // one in an answer or a file, one Pele can't read once whole saying so (`unread`); a page holds its own (./page-diagram.js),
7
7
  // which asks Jean for the picture. Mermaid itself is a 1.6 MB library that needs a DOM.
8
+ import { t } from '../../core/i18n.js'
8
9
  import { pictureOf } from '../../ui/save.js'
9
10
  import { scriptURL } from '../../ui/trusted.js'
10
11
 
@@ -38,7 +39,7 @@ function box(rest) {
38
39
  return [id, after]
39
40
  }
40
41
 
41
- /** Boxes joined by &, at the start of `rest`. @param {string} rest @returns {[string, string] | null} */
42
+ /** Boxes joined by &, at the start of `rest`, and what follows them. @param {string} rest @returns {[string[], string] | null} */
42
43
  function group(rest) {
43
44
  const found = []
44
45
  for (let left = rest.trimStart(); ;) {
@@ -46,11 +47,28 @@ function group(rest) {
46
47
  if (!next) return null
47
48
  const named = /^:::\w+/.exec(next[1])?.[0] ?? '', rest = next[1].slice(named.length), more = /^\s*&\s*/.exec(rest)
48
49
  found.push(next[0] + named)
49
- if (!more) return [found.join(' & '), rest]
50
+ if (!more) return [found, rest]
50
51
  left = rest.slice(more[0].length)
51
52
  }
52
53
  }
53
54
 
55
+ /** A flowchart's statement as boxes and the arrows between them; null for what this can't read, and what holds no box. @param {string} text */
56
+ function chain(text) {
57
+ if (!text.trim() || /^\s*(%%|(classDef|class|style|linkStyle|click|subgraph|end|direction)\b)/.test(text)) return null
58
+ let read = group(text)
59
+ if (!read) return null
60
+ const groups = [read[0]], arrows = []
61
+ for (let rest = read[1]; rest.trim();) {
62
+ const arrow = ARROW.exec(rest)
63
+ read = arrow && /[-=.]/.test(arrow[3]) ? group(rest.slice(arrow[0].length)) : null
64
+ if (!arrow || !read) return null
65
+ groups.push(read[0])
66
+ arrows.push(arrow)
67
+ rest = read[1]
68
+ }
69
+ return { groups, arrows, indent: /^\s*/.exec(text)?.[0] ?? '' }
70
+ }
71
+
54
72
  /**
55
73
  * A flowchart with its boxes and the words on its arrows written as Mermaid reads them; a statement this can't read, and any
56
74
  * other kind of diagram, as it was.
@@ -63,29 +81,84 @@ export function mended(source) {
63
81
  const statement = (/** @type {string} */ text) => {
64
82
  const titled = /^(\s*subgraph\s+[\p{L}\p{N}_]+\s*)\[(.*)\]\s*$/u.exec(text)
65
83
  if (titled) return `${titled[1]}[${quoted(titled[2])}]`
66
- if (!text.trim() || /^\s*(%%|(classDef|class|style|linkStyle|click|subgraph|end|direction)\b)/.test(text)) return text
67
- let read = group(text)
84
+ const read = chain(text)
68
85
  if (!read) return text
69
- let out = `${/^\s*/.exec(text)?.[0]}${read[0]}`
70
- for (let rest = read[1]; rest.trim();) {
71
- const arrow = ARROW.exec(rest)
72
- const to = arrow && /[-=.]/.test(arrow[3]) ? group(rest.slice(arrow[0].length)) : null
73
- if (!arrow || !to) return text
74
- const words = arrow[4] ?? arrow[2]
75
- out += ` ${arrow[1] === '-.' ? `-${arrow[3]}` : arrow[3]}${words ? `|${quoted(words)}|` : ''} ${to[0]}`
76
- read = to
77
- rest = to[1]
78
- }
79
- return out
86
+ return read.indent + read.groups.map((boxes, i) => {
87
+ const arrow = read.arrows[i - 1], words = arrow && (arrow[4] ?? arrow[2])
88
+ return `${arrow ? ` ${arrow[1] === '-.' ? `-${arrow[3]}` : arrow[3]}${words ? `|${quoted(words)}|` : ''} ` : ''}${boxes.join(' & ')}`
89
+ }).join('')
80
90
  }
81
91
  // What follows its first word and direction, on its first line too (graph LR; A --> B).
82
92
  const mend = (/** @type {string} */ line) => line.split(';').map(statement).join(';')
83
93
  return [head + mend(first.slice(head.length)), ...lines.map(mend)].join('\n')
84
94
  }
85
95
 
86
- /** The words a diagram shows, for those who can't see it. @param {string} svg */
87
- export const wordsOf = (svg) => [...svg.matchAll(/<text\b[^>]*>([\s\S]*?)<\/text>/g)].map(([, inner]) => inner.replace(/<[^>]+>/g, ' ')
88
- .replace(/&(amp|lt|gt|quot|apos|#39);/g, (_, name) => ({ amp: '&', lt: '<', gt: '>', quot: '"' })[/** @type {'amp'} */ (name)] ?? "'").replace(/\s+/g, ' ').trim()).filter(Boolean).join(', ')
96
+ /** The words a diagram shows, each on its own, in the order drawn. @param {string} svg */
97
+ const textsOf = (svg) => [...svg.matchAll(/<text\b[^>]*>([\s\S]*?)<\/text>/g)].map(([, inner]) => inner.replace(/<[^>]+>/g, ' ')
98
+ .replace(/&(amp|lt|gt|quot|apos|#39);/g, (_, name) => ({ amp: '&', lt: '<', gt: '>', quot: '"' })[/** @type {'amp'} */ (name)] ?? "'").replace(/\s+/g, ' ').trim()).filter(Boolean)
99
+ /** @param {string} svg */
100
+ export const wordsOf = (svg) => textsOf(svg).join(', ')
101
+
102
+ // An arrow of a sequence or a state diagram (Alice->>Bob: Hello, Idle --> Busy: start); a sequence's note; a name it gives one of them.
103
+ const ACROSS = /^\s*([^\s:<>-][^:<>]*?)\s*<*-{1,2}(?:>>?|\)|x)\s*[+-]?\s*([^:]+?)\s*(?::\s*(.*))?$/
104
+ const NOTE = /^\s*note\b[^:]*:\s*(.+)$/i
105
+ const ALIAS = /^\s*(?:participant|actor)\s+(\S+)\s+as\s+(.+)$/
106
+
107
+ /**
108
+ * What a diagram's arrows say, for those who can't see them: its boxes in the order written, each with what it leads to, an arrow's
109
+ * words first ("Yes: Take an umbrella"); a sequence's in turn, as a box may speak more than once. None for another kind of diagram.
110
+ * @param {string} source @returns {{ box: string, next: string[] }[]}
111
+ */
112
+ export function stepsOf(source) {
113
+ const [first = '', ...lines] = source.split('\n'), steps = /** @type {{ box: string, next: string[] }[]} */ ([])
114
+ /** The step of a box: in a flowchart its one, in a sequence the last said if it is its. @param {string} box @param {boolean} [any] */
115
+ const step = (box, any) => (any ? steps.find((one) => one.box === box) : steps.at(-1)?.box === box && steps.at(-1)) || steps[steps.push({ box, next: [] }) - 1]
116
+ const head = /^\s*(flowchart|graph)\b[^;]*/i.exec(first)?.[0]
117
+ if (head) {
118
+ const chains = [first.slice(head.length), ...lines].flatMap((line) => line.split(';')).map(chain).filter((one) => one !== null), names = new Map()
119
+ for (const entry of chains.flatMap(({ groups }) => groups.flat())) {
120
+ const id = ID.exec(entry)?.[0], words = /"(.*)"/s.exec(entry)?.[1]
121
+ if (words || !names.has(id)) names.set(id, words?.replace(/#quot;/g, '"').replace(/<br\s*\/?>|\\n/gi, ' ') ?? id)
122
+ }
123
+ const name = (/** @type {string} */ entry) => names.get(ID.exec(entry)?.[0])
124
+ for (const { groups, arrows } of chains) {
125
+ for (const entry of groups.flat()) step(name(entry), true)
126
+ arrows.forEach((arrow, i) => { for (const from of groups[i]) for (const to of groups[i + 1]) step(name(from), true).next.push(`${(arrow[4] ?? arrow[2]) ? `${(arrow[4] ?? arrow[2]).trim().replace(/^"(.*)"$/, '$1')}: ` : ''}${name(to)}`) })
127
+ }
128
+ } else if (/^\s*(sequenceDiagram|stateDiagram)/.test(first)) {
129
+ const names = new Map(lines.map((line) => ALIAS.exec(line)).filter((one) => one !== null).map(([, id, name]) => [id, name.trim()]))
130
+ for (const line of lines) {
131
+ const note = NOTE.exec(line)?.[1], [, from, to, words] = ACROSS.exec(line) ?? []
132
+ if (note) steps.push({ box: note, next: [] })
133
+ else if (from && !`${from}${to}`.includes('[*]')) step(names.get(from) ?? from).next.push(`${words ? `${words}: ` : ''}${names.get(to) ?? to}`)
134
+ }
135
+ }
136
+ return steps
137
+ }
138
+
139
+ /**
140
+ * A diagram told in words: its picture's short text, which says that the words follow; what opens them; and them, its steps or, for a
141
+ * kind whose arrows this can't read, what it shows. @param {string} source @param {string} svg
142
+ */
143
+ export function told(source, svg) {
144
+ const steps = stepsOf(source), first = steps[0]?.box
145
+ return steps.length ? { alt: t('interactive.diagramFrom', { first: first.length > 40 ? `${first.slice(0, 39)}…` : first }), summary: t('interactive.diagramSteps'), steps }
146
+ : { alt: t('interactive.diagramWords'), summary: t('interactive.inWords'), steps: textsOf(svg).map((box) => ({ box, next: [] })) }
147
+ }
148
+
149
+ /**
150
+ * Those words under the picture, folded, the opening in the person's language though the diagram's are its own.
151
+ * @param {ReturnType<typeof told>} words @param {boolean} [open]
152
+ */
153
+ export function wordsBelow({ summary, steps }, open = false) {
154
+ const made = (/** @type {string} */ tag, /** @type {string} */ text = '') => Object.assign(document.createElement(tag), { textContent: text })
155
+ const list = (/** @type {{ box: string, next?: string[] }[]} */ items) => { const all = made('ul'); all.append(...items.map(({ box, next = [] }) => { const item = made('li', box); if (next.length) item.append(list(next.map((one) => ({ box: one })))); return item })); return all }
156
+ const held = /** @type {HTMLDetailsElement} */ (made('details')), head = made('summary', summary)
157
+ Object.assign(head, { lang: document.documentElement.lang, dir: document.documentElement.dir || 'ltr' })
158
+ Object.assign(held, { className: 'drawn-words', open })
159
+ held.append(head, list(steps))
160
+ return held
161
+ }
89
162
 
90
163
  /** Pele's SVG in the colours given as its own properties (`fg`, `accent`, `series-1`…). @param {string} svg @param {Record<string, string>} props */
91
164
  export const coloured = (svg, props) => svg.replace(/^(<svg\b[^>]*>)/, `$1<style>svg{${Object.entries(props).map(([name, value]) => `--pele-${name}:${value.replace(/[<>;{}"]/g, '')}`).join(';')}}</style>`)
@@ -93,7 +166,7 @@ export const coloured = (svg, props) => svg.replace(/^(<svg\b[^>]*>)/, `$1<style
93
166
  /** The room's colours, as Pele names them: its ink and lines, and each of a chart's or a mind map's series a hue of its accent. @param {CSSStyleDeclaration} style */
94
167
  function tones(style) {
95
168
  const own = (/** @type {string} */ name) => style.getPropertyValue(`--${name}`).trim()
96
- return { bg: 'transparent', fg: own('ink'), muted: own('ink-soft'), line: own('ink-soft'), surface: own('glass'), 'surface-alt': own('line'), border: own('line-strong'), accent: own('flame'),
169
+ return { bg: 'transparent', fg: own('ink'), muted: own('ink-soft'), line: own('ink-soft'), surface: own('glass'), 'surface-alt': own('line'), border: own('ink-soft'), accent: own('flame'),
97
170
  font: style.fontFamily, ...Object.fromEntries([0, 1, 2, 3, 4, 5, 6, 7].map((n) => [`series-${n + 1}`, `oklch(from ${own('flame')} l max(c, 0.12) calc(h + ${n * 57}))`])) }
98
171
  }
99
172
 
@@ -101,7 +174,7 @@ function tones(style) {
101
174
  let worker
102
175
  let count = 0
103
176
  const asked = /** @type {Map<number, { source: string, options: object, resolve: (drawn: Drawn) => void, reject: (error: Error) => void }>} */ (new Map())
104
- /** Pele beside the page. @type {Promise<any> | undefined} */
177
+ /** Pele beside the page. @type {Promise<typeof import('pele/lazy')> | undefined} */
105
178
  let here
106
179
 
107
180
  /** Mermaid as Pele draws it. @param {string} source @param {object} options @returns {Promise<Drawn>} */
@@ -135,14 +208,14 @@ export const drawing = (source, options, rtl = false) => {
135
208
  }
136
209
 
137
210
  /**
138
- * A diagram as a picture in an element's colours, at most as wide as given: its SVG and size, its address and its words.
211
+ * A diagram as a picture in an element's colours, at most as wide as given: its SVG and size, its address, and it told in words.
139
212
  * @param {string} source @param {Element} element @param {number} width
140
213
  */
141
214
  export async function picture(source, element, width) {
142
215
  const style = getComputedStyle(element)
143
216
  const drawn = await drawing(source, { fontFamily: style.fontFamily, links: false, images: false, autoDirection: true, maxWidth: Math.max(320, width) }, style.direction === 'rtl')
144
217
  const svg = coloured(drawn.svg, tones(style))
145
- return { ...drawn, svg, url: `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`, words: wordsOf(drawn.svg) }
218
+ return { ...drawn, svg, url: `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`, words: told(source, drawn.svg) }
146
219
  }
147
220
 
148
221
  const AppDiagram = typeof HTMLElement === 'undefined' ? null : class extends HTMLElement {
@@ -177,7 +250,8 @@ const AppDiagram = typeof HTMLElement === 'undefined' ? null : class extends HTM
177
250
  this.drawn = key
178
251
  try {
179
252
  const drawn = (this.shown = await picture(source, this, this.clientWidth))
180
- this.replaceChildren(Object.assign(document.createElement('img'), { src: drawn.url, alt: drawn.words }))
253
+ // Its words once it is whole, folded as they were if the room drew it again.
254
+ this.replaceChildren(Object.assign(document.createElement('img'), { src: drawn.url, alt: drawn.words.alt, lang: document.documentElement.lang }), ...(open ? [] : [wordsBelow(drawn.words, this.querySelector('details')?.open)]))
181
255
  } catch {
182
256
  // While it is written, a last line not whole yet can't be read: what was drawn stays.
183
257
  if (!open) this.dispatchEvent(new Event('unread'))