create-nextjs-cms 0.5.21 → 0.5.24

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 (309) hide show
  1. package/package.json +3 -5
  2. package/templates/default/_gitignore +1 -1
  3. package/templates/default/app/(auth)/auth/login/LoginPage.tsx +5 -5
  4. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/LICENSE +191 -0
  5. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/README.md +118 -0
  6. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/install/build.js +38 -0
  7. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/install/check.js +14 -0
  8. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/channel.js +177 -0
  9. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/colour.js +195 -0
  10. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/composite.js +212 -0
  11. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/constructor.js +499 -0
  12. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/index.d.ts +1971 -0
  13. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/index.js +16 -0
  14. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/input.js +809 -0
  15. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/is.js +143 -0
  16. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/libvips.js +207 -0
  17. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/operation.js +1016 -0
  18. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/output.js +1666 -0
  19. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/resize.js +595 -0
  20. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/sharp.js +121 -0
  21. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/lib/utility.js +291 -0
  22. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/package.json +202 -0
  23. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/binding.gyp +298 -0
  24. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/common.cc +1130 -0
  25. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/common.h +402 -0
  26. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/metadata.cc +346 -0
  27. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/metadata.h +90 -0
  28. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/operations.cc +499 -0
  29. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/operations.h +137 -0
  30. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/pipeline.cc +1814 -0
  31. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/pipeline.h +408 -0
  32. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/sharp.cc +43 -0
  33. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/stats.cc +186 -0
  34. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/stats.h +62 -0
  35. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/utilities.cc +288 -0
  36. package/templates/default/apps/cms/node_modules/next/node_modules/sharp/src/utilities.h +22 -0
  37. package/templates/default/apps/cms/node_modules/sharp/LICENSE +191 -0
  38. package/templates/default/apps/cms/node_modules/sharp/README.md +118 -0
  39. package/templates/default/apps/cms/node_modules/sharp/install/check.js +41 -0
  40. package/templates/default/apps/cms/node_modules/sharp/lib/channel.js +174 -0
  41. package/templates/default/apps/cms/node_modules/sharp/lib/colour.js +180 -0
  42. package/templates/default/apps/cms/node_modules/sharp/lib/composite.js +210 -0
  43. package/templates/default/apps/cms/node_modules/sharp/lib/constructor.js +452 -0
  44. package/templates/default/apps/cms/node_modules/sharp/lib/index.d.ts +1754 -0
  45. package/templates/default/apps/cms/node_modules/sharp/lib/index.js +16 -0
  46. package/templates/default/apps/cms/node_modules/sharp/lib/input.js +658 -0
  47. package/templates/default/apps/cms/node_modules/sharp/lib/is.js +169 -0
  48. package/templates/default/apps/cms/node_modules/sharp/lib/libvips.js +203 -0
  49. package/templates/default/apps/cms/node_modules/sharp/lib/operation.js +958 -0
  50. package/templates/default/apps/cms/node_modules/sharp/lib/output.js +1587 -0
  51. package/templates/default/apps/cms/node_modules/sharp/lib/resize.js +587 -0
  52. package/templates/default/apps/cms/node_modules/sharp/lib/sharp.js +114 -0
  53. package/templates/default/apps/cms/node_modules/sharp/lib/utility.js +296 -0
  54. package/templates/default/apps/cms/node_modules/sharp/package.json +222 -0
  55. package/templates/default/apps/cms/node_modules/sharp/src/binding.gyp +280 -0
  56. package/templates/default/apps/cms/node_modules/sharp/src/common.cc +1091 -0
  57. package/templates/default/apps/cms/node_modules/sharp/src/common.h +393 -0
  58. package/templates/default/apps/cms/node_modules/sharp/src/metadata.cc +320 -0
  59. package/templates/default/apps/cms/node_modules/sharp/src/metadata.h +85 -0
  60. package/templates/default/apps/cms/node_modules/sharp/src/operations.cc +475 -0
  61. package/templates/default/apps/cms/node_modules/sharp/src/operations.h +125 -0
  62. package/templates/default/apps/cms/node_modules/sharp/src/pipeline.cc +1758 -0
  63. package/templates/default/apps/cms/node_modules/sharp/src/pipeline.h +393 -0
  64. package/templates/default/apps/cms/node_modules/sharp/src/sharp.cc +40 -0
  65. package/templates/default/apps/cms/node_modules/sharp/src/stats.cc +183 -0
  66. package/templates/default/apps/cms/node_modules/sharp/src/stats.h +59 -0
  67. package/templates/default/apps/cms/node_modules/sharp/src/utilities.cc +269 -0
  68. package/templates/default/apps/cms/node_modules/sharp/src/utilities.h +19 -0
  69. package/templates/default/components/AdminCard.tsx +1 -1
  70. package/templates/default/components/AdminsPage.tsx +1 -1
  71. package/templates/default/components/AdvancedSettingsPage.tsx +1 -1
  72. package/templates/default/components/AnalyticsPage.tsx +1 -1
  73. package/templates/default/components/BrowsePage.tsx +2 -2
  74. package/templates/default/components/CategorizedSectionPage.tsx +3 -3
  75. package/templates/default/components/CategoryDeleteConfirmPage.tsx +4 -4
  76. package/templates/default/components/CategorySectionSelectInput.tsx +1 -1
  77. package/templates/default/components/ContainerBox.tsx +1 -1
  78. package/templates/default/components/DashboardPage.tsx +1 -1
  79. package/templates/default/components/EmailCard.tsx +1 -1
  80. package/templates/default/components/EmailPasswordForm.tsx +2 -2
  81. package/templates/default/components/EmailQuotaForm.tsx +1 -1
  82. package/templates/default/components/EmailsPage.tsx +1 -1
  83. package/templates/default/components/GalleryPhoto.tsx +1 -1
  84. package/templates/default/components/ItemEditPage.tsx +2 -2
  85. package/templates/default/components/Layout.tsx +1 -1
  86. package/templates/default/components/LogPage.tsx +1 -1
  87. package/templates/default/components/Navbar.tsx +2 -2
  88. package/templates/default/components/NavbarAlt.tsx +6 -6
  89. package/templates/default/components/NewAdminForm.tsx +2 -2
  90. package/templates/default/components/NewEmailForm.tsx +3 -3
  91. package/templates/default/components/NewPage.tsx +2 -2
  92. package/templates/default/components/NewVariantComponent.tsx +1 -1
  93. package/templates/default/components/ProgressBar.tsx +46 -22
  94. package/templates/default/components/SectionItemCard.tsx +1 -1
  95. package/templates/default/components/SectionItemStatusBadge.tsx +1 -1
  96. package/templates/default/components/SectionPage.tsx +2 -2
  97. package/templates/default/components/SelectBox.tsx +2 -2
  98. package/templates/default/components/SettingsPage.tsx +1 -1
  99. package/templates/default/components/Sidebar.tsx +3 -3
  100. package/templates/default/components/VariantEditPage.tsx +2 -2
  101. package/templates/default/components/form/DateRangeFormInput.tsx +8 -6
  102. package/templates/default/components/form/Form.tsx +1 -1
  103. package/templates/default/components/form/FormInputElement.tsx +1 -1
  104. package/templates/default/components/form/helpers/{_section-hot-reload.ts → _section-hot-reload.js} +1 -1
  105. package/templates/default/components/form/helpers/util.ts +1 -1
  106. package/templates/default/components/form/inputs/ColorFormInput.tsx +1 -1
  107. package/templates/default/components/form/inputs/DateFormInput.tsx +82 -34
  108. package/templates/default/components/form/inputs/DocumentFormInput.tsx +3 -3
  109. package/templates/default/components/form/inputs/MultipleSelectFormInput.tsx +40 -107
  110. package/templates/default/components/form/inputs/NumberFormInput.tsx +1 -1
  111. package/templates/default/components/form/inputs/PasswordFormInput.tsx +1 -1
  112. package/templates/default/components/form/inputs/PhotoFormInput.tsx +4 -4
  113. package/templates/default/components/form/inputs/RichTextFormInput.tsx +2 -0
  114. package/templates/default/components/form/inputs/SelectFormInput.tsx +1 -1
  115. package/templates/default/components/form/inputs/TagsFormInput.tsx +115 -26
  116. package/templates/default/components/form/inputs/TextFormInput.tsx +1 -1
  117. package/templates/default/components/form/inputs/TextareaFormInput.tsx +1 -1
  118. package/templates/default/components/form/inputs/VideoFormInput.tsx +3 -3
  119. package/templates/default/components/multi-select.tsx +1144 -0
  120. package/templates/default/components/ui/badge.tsx +16 -12
  121. package/templates/default/components/ui/button.tsx +35 -30
  122. package/templates/default/components/ui/calendar.tsx +145 -47
  123. package/templates/default/components/ui/card.tsx +1 -1
  124. package/templates/default/components/ui/checkbox.tsx +1 -1
  125. package/templates/default/components/ui/command.tsx +184 -0
  126. package/templates/default/components/ui/dialog.tsx +143 -0
  127. package/templates/default/components/ui/dropdown-menu.tsx +6 -6
  128. package/templates/default/components/ui/input.tsx +1 -1
  129. package/templates/default/components/ui/popover.tsx +39 -22
  130. package/templates/default/components/ui/progress.tsx +31 -0
  131. package/templates/default/components/ui/scroll-area.tsx +2 -2
  132. package/templates/default/components/ui/select.tsx +150 -149
  133. package/templates/default/components/ui/separator.tsx +28 -0
  134. package/templates/default/components/ui/sheet.tsx +1 -1
  135. package/templates/default/components/ui/switch.tsx +1 -1
  136. package/templates/default/components/ui/table.tsx +3 -3
  137. package/templates/default/components/ui/tabs.tsx +2 -2
  138. package/templates/default/components/ui/toast.tsx +4 -4
  139. package/templates/default/components.json +8 -3
  140. package/templates/default/{postinstall.js → lib/postinstall.js} +1 -1
  141. package/templates/default/lib/utils.ts +6 -0
  142. package/templates/default/package.json +27 -47
  143. package/templates/default/postcss.config.mjs +7 -0
  144. package/templates/default/public/tinymce/CHANGELOG.md +155 -0
  145. package/templates/default/public/tinymce/README.md +12 -12
  146. package/templates/default/public/tinymce/bower.json +1 -1
  147. package/templates/default/public/tinymce/composer.json +2 -2
  148. package/templates/default/public/tinymce/icons/default/icons.js +40 -32
  149. package/templates/default/public/tinymce/icons/default/icons.min.js +1 -1
  150. package/templates/default/public/tinymce/license.md +7 -4
  151. package/templates/default/public/tinymce/models/dom/model.js +36 -50
  152. package/templates/default/public/tinymce/models/dom/model.min.js +1 -1
  153. package/templates/default/public/tinymce/notices.txt +2 -2
  154. package/templates/default/public/tinymce/package.json +2 -2
  155. package/templates/default/public/tinymce/plugins/accordion/plugin.js +45 -21
  156. package/templates/default/public/tinymce/plugins/accordion/plugin.min.js +1 -1
  157. package/templates/default/public/tinymce/plugins/advlist/plugin.js +8 -6
  158. package/templates/default/public/tinymce/plugins/advlist/plugin.min.js +1 -1
  159. package/templates/default/public/tinymce/plugins/anchor/plugin.js +1 -1
  160. package/templates/default/public/tinymce/plugins/autolink/plugin.js +3 -6
  161. package/templates/default/public/tinymce/plugins/autolink/plugin.min.js +1 -1
  162. package/templates/default/public/tinymce/plugins/autoresize/plugin.js +4 -6
  163. package/templates/default/public/tinymce/plugins/autoresize/plugin.min.js +1 -1
  164. package/templates/default/public/tinymce/plugins/autosave/plugin.js +4 -7
  165. package/templates/default/public/tinymce/plugins/autosave/plugin.min.js +1 -1
  166. package/templates/default/public/tinymce/plugins/charmap/plugin.js +8 -8
  167. package/templates/default/public/tinymce/plugins/charmap/plugin.min.js +1 -1
  168. package/templates/default/public/tinymce/plugins/code/plugin.js +3 -2
  169. package/templates/default/public/tinymce/plugins/code/plugin.min.js +1 -1
  170. package/templates/default/public/tinymce/plugins/codesample/plugin.js +11 -10
  171. package/templates/default/public/tinymce/plugins/codesample/plugin.min.js +2 -2
  172. package/templates/default/public/tinymce/plugins/directionality/plugin.js +9 -11
  173. package/templates/default/public/tinymce/plugins/directionality/plugin.min.js +1 -1
  174. package/templates/default/public/tinymce/plugins/emoticons/plugin.js +7 -7
  175. package/templates/default/public/tinymce/plugins/emoticons/plugin.min.js +1 -1
  176. package/templates/default/public/tinymce/plugins/fullscreen/plugin.js +11 -13
  177. package/templates/default/public/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  178. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/bg-BG.js +93 -0
  179. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/fr-FR.js +93 -0
  180. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/he-IL.js +93 -0
  181. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/hu-HU.js +93 -0
  182. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/ko-KR.js +93 -0
  183. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/nb-NO.js +93 -0
  184. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/pt-BR.js +93 -0
  185. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/pt-PT.js +93 -0
  186. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/sl-SI.js +93 -0
  187. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/sv-SE.js +93 -0
  188. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/th-TH.js +93 -0
  189. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/zh-CN.js +87 -0
  190. package/templates/default/public/tinymce/plugins/help/js/i18n/keynav/zh-TW.js +93 -0
  191. package/templates/default/public/tinymce/plugins/help/plugin.js +15 -17
  192. package/templates/default/public/tinymce/plugins/help/plugin.min.js +1 -1
  193. package/templates/default/public/tinymce/plugins/image/plugin.js +34 -32
  194. package/templates/default/public/tinymce/plugins/image/plugin.min.js +1 -1
  195. package/templates/default/public/tinymce/plugins/importcss/plugin.js +4 -6
  196. package/templates/default/public/tinymce/plugins/importcss/plugin.min.js +1 -1
  197. package/templates/default/public/tinymce/plugins/insertdatetime/plugin.js +4 -3
  198. package/templates/default/public/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  199. package/templates/default/public/tinymce/plugins/link/plugin.js +170 -38
  200. package/templates/default/public/tinymce/plugins/link/plugin.min.js +1 -1
  201. package/templates/default/public/tinymce/plugins/lists/plugin.js +111 -2053
  202. package/templates/default/public/tinymce/plugins/lists/plugin.min.js +1 -1
  203. package/templates/default/public/tinymce/plugins/media/plugin.js +15 -23
  204. package/templates/default/public/tinymce/plugins/media/plugin.min.js +1 -1
  205. package/templates/default/public/tinymce/plugins/nonbreaking/plugin.js +1 -1
  206. package/templates/default/public/tinymce/plugins/pagebreak/plugin.js +1 -1
  207. package/templates/default/public/tinymce/plugins/preview/plugin.js +88 -10
  208. package/templates/default/public/tinymce/plugins/preview/plugin.min.js +1 -1
  209. package/templates/default/public/tinymce/plugins/quickbars/plugin.js +9 -9
  210. package/templates/default/public/tinymce/plugins/quickbars/plugin.min.js +1 -1
  211. package/templates/default/public/tinymce/plugins/save/plugin.js +1 -1
  212. package/templates/default/public/tinymce/plugins/searchreplace/plugin.js +10 -13
  213. package/templates/default/public/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  214. package/templates/default/public/tinymce/plugins/table/plugin.js +13 -24
  215. package/templates/default/public/tinymce/plugins/table/plugin.min.js +1 -1
  216. package/templates/default/public/tinymce/plugins/visualblocks/plugin.js +1 -1
  217. package/templates/default/public/tinymce/plugins/visualchars/plugin.js +9 -10
  218. package/templates/default/public/tinymce/plugins/visualchars/plugin.min.js +1 -1
  219. package/templates/default/public/tinymce/plugins/wordcount/plugin.js +1 -1
  220. package/templates/default/public/tinymce/skins/content/dark/content.min.ts +3 -0
  221. package/templates/default/public/tinymce/skins/content/dark/content.ts +3 -0
  222. package/templates/default/public/tinymce/skins/content/default/content.min.ts +3 -0
  223. package/templates/default/public/tinymce/skins/content/default/content.ts +3 -0
  224. package/templates/default/public/tinymce/skins/content/document/content.min.ts +3 -0
  225. package/templates/default/public/tinymce/skins/content/document/content.ts +3 -0
  226. package/templates/default/public/tinymce/skins/content/tinymce-5/content.min.ts +3 -0
  227. package/templates/default/public/tinymce/skins/content/tinymce-5/content.ts +3 -0
  228. package/templates/default/public/tinymce/skins/content/tinymce-5-dark/content.min.ts +3 -0
  229. package/templates/default/public/tinymce/skins/content/tinymce-5-dark/content.ts +3 -0
  230. package/templates/default/public/tinymce/skins/content/writer/content.min.ts +3 -0
  231. package/templates/default/public/tinymce/skins/content/writer/content.ts +3 -0
  232. package/templates/default/public/tinymce/skins/ui/oxide/content.css +144 -0
  233. package/templates/default/public/tinymce/skins/ui/oxide/content.inline.css +144 -0
  234. package/templates/default/public/tinymce/skins/ui/oxide/content.inline.js +1 -1
  235. package/templates/default/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
  236. package/templates/default/public/tinymce/skins/ui/oxide/content.inline.min.ts +116 -0
  237. package/templates/default/public/tinymce/skins/ui/oxide/content.inline.ts +116 -0
  238. package/templates/default/public/tinymce/skins/ui/oxide/content.js +1 -1
  239. package/templates/default/public/tinymce/skins/ui/oxide/content.min.css +1 -1
  240. package/templates/default/public/tinymce/skins/ui/oxide/content.min.ts +116 -0
  241. package/templates/default/public/tinymce/skins/ui/oxide/content.ts +116 -0
  242. package/templates/default/public/tinymce/skins/ui/oxide/skin.css +923 -449
  243. package/templates/default/public/tinymce/skins/ui/oxide/skin.js +1 -1
  244. package/templates/default/public/tinymce/skins/ui/oxide/skin.min.css +1 -1
  245. package/templates/default/public/tinymce/skins/ui/oxide/skin.min.ts +507 -0
  246. package/templates/default/public/tinymce/skins/ui/oxide/skin.shadowdom.min.ts +9 -0
  247. package/templates/default/public/tinymce/skins/ui/oxide/skin.shadowdom.ts +9 -0
  248. package/templates/default/public/tinymce/skins/ui/oxide/skin.ts +507 -0
  249. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.css +144 -0
  250. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.css +144 -0
  251. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.js +1 -1
  252. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
  253. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.min.ts +116 -0
  254. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.inline.ts +116 -0
  255. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.js +1 -1
  256. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
  257. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.min.ts +116 -0
  258. package/templates/default/public/tinymce/skins/ui/oxide-dark/content.ts +116 -0
  259. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.css +926 -452
  260. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.js +1 -1
  261. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  262. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.min.ts +507 -0
  263. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.ts +9 -0
  264. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.ts +9 -0
  265. package/templates/default/public/tinymce/skins/ui/oxide-dark/skin.ts +507 -0
  266. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.css +144 -0
  267. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.css +144 -0
  268. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.js +1 -1
  269. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
  270. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.min.ts +116 -0
  271. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.inline.ts +116 -0
  272. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.js +1 -1
  273. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
  274. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.min.ts +116 -0
  275. package/templates/default/public/tinymce/skins/ui/tinymce-5/content.ts +116 -0
  276. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.css +924 -450
  277. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.js +1 -1
  278. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  279. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.min.ts +508 -0
  280. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.ts +9 -0
  281. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.shadowdom.ts +9 -0
  282. package/templates/default/public/tinymce/skins/ui/tinymce-5/skin.ts +508 -0
  283. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.css +144 -0
  284. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.css +144 -0
  285. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.js +1 -1
  286. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
  287. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.min.ts +116 -0
  288. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.inline.ts +116 -0
  289. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.js +1 -1
  290. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
  291. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.min.ts +116 -0
  292. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/content.ts +116 -0
  293. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.css +925 -451
  294. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.js +1 -1
  295. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  296. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.min.ts +508 -0
  297. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.ts +9 -0
  298. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.ts +9 -0
  299. package/templates/default/public/tinymce/skins/ui/tinymce-5-dark/skin.ts +508 -0
  300. package/templates/default/public/tinymce/themes/silver/theme.js +543 -593
  301. package/templates/default/public/tinymce/themes/silver/theme.min.js +1 -1
  302. package/templates/default/public/tinymce/tinymce.d.ts +559 -496
  303. package/templates/default/public/tinymce/tinymce.js +6788 -3964
  304. package/templates/default/public/tinymce/tinymce.min.js +3 -4
  305. package/templates/default/styles/globals.css +131 -3
  306. package/templates/default/tsconfig.json +1 -0
  307. package/templates/default/.prettierrc.json +0 -19
  308. package/templates/default/postcss.config.js +0 -6
  309. package/templates/default/tailwind.config.js +0 -95
@@ -1 +1 @@
1
- !function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>t===e,o=e(null),n=e(void 0),r=t=>"function"==typeof t;const s=()=>{},a=()=>!1;class i{constructor(t,e){this.tag=t,this.value=e}static some(t){return new i(!0,t)}static none(){return i.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?i.some(t(this.value)):i.none()}bind(t){return this.tag?t(this.value):i.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:i.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(null!=t?t:"Called getOrDie on None")}static from(t){return null==t?i.none():i.some(t)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}i.singletonNone=new i(!1),Array.prototype.slice;const l=(t,e)=>{const o=t.length,n=new Array(o);for(let r=0;r<o;r++){const o=t[r];n[r]=e(o,r)}return n};r(Array.from)&&Array.from;const c=Object.keys,u=Object.hasOwnProperty,g=(t,e)=>{const o=c(t);for(let n=0,r=o.length;n<r;n++){const r=o[n];e(t[r],r)}},m=(t,e)=>u.call(t,e),d=t=>{let e=t;return{get:()=>e,set:t=>{e=t}}},h=(p=(t,e)=>e,(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const e={};for(let o=0;o<t.length;o++){const n=t[o];for(const t in n)m(n,t)&&(e[t]=p(e[t],n[t]))}return e});var p;const y=()=>{const t=(t=>{const e=d(i.none()),o=()=>e.get().each(t);return{clear:()=>{o(),e.set(i.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:t=>{o(),e.set(i.some(t))}}})(s);return{...t,on:e=>t.get().each(e)}},f=(t,e,o=0,r)=>{const s=t.indexOf(e,o);return-1!==s&&(!!n(r)||s+e.length<=r)};var v=tinymce.util.Tools.resolve("tinymce.Resource");const b=t=>e=>e.options.get(t),w=b("emoticons_database"),j=b("emoticons_database_url"),C=b("emoticons_database_id"),_=b("emoticons_append"),A=b("emoticons_images_url"),k="All",O={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},x=(t,e)=>m(t,e)?t[e]:e,E=t=>{const e=_(t);return o=t=>({keywords:[],category:"user",...t}),((t,e)=>{const o={};return g(t,((t,n)=>{const r=e(t,n);o[r.k]=r.v})),o})(e,((t,e)=>({k:e,v:o(t)})));var o},L=(t,e)=>f(t.title.toLowerCase(),e)||(t=>{for(let n=0,r=t.length;n<r;n++)if(o=t[n],f(o.toLowerCase(),e))return!0;var o;return!1})(t.keywords),S=(t,e,o)=>{const n=[],r=e.toLowerCase(),s=o.fold((()=>a),(t=>e=>e>=t));for(let o=0;o<t.length&&(0!==e.length&&!L(t[o],r)||(n.push({value:t[o].char,text:t[o].title,icon:t[o].char}),!s(n.length)));o++);return n},N="pattern",T=(t,e)=>{const n={pattern:"",results:S(e.listAll(),"",i.some(300))},r=d(k),s=(t=>{let e=null;const n=()=>{o(e)||(clearTimeout(e),e=null)};return{cancel:n,throttle:(...o)=>{n(),e=setTimeout((()=>{e=null,t.apply(null,o)}),200)}}})((t=>{(t=>{const o=t.getData(),n=r.get(),s=e.listCategory(n),a=S(s,o[N],n===k?i.some(300):i.none());t.setData({results:a})})(t)})),a={label:"Search",type:"input",name:N},c={type:"collection",name:"results"},u=()=>({title:"Emojis",size:"normal",body:{type:"tabpanel",tabs:l(e.listCategories(),(t=>({title:t,name:t,items:[a,c]})))},initialData:n,onTabChange:(t,e)=>{r.set(e.newTabName),s.throttle(t)},onChange:s.throttle,onAction:(e,o)=>{"results"===o.name&&(((t,e)=>{t.insertContent(e)})(t,o.value),e.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}),g=t.windowManager.open(u());g.focus(N),e.hasLoaded()||(g.block("Loading emojis..."),e.waitForLoad().then((()=>{g.redial(u()),s.throttle(g),g.focus(N),g.unblock()})).catch((t=>{g.redial({title:"Emojis",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"Could not load emojis"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),g.focus(N),g.unblock()})))},D=t=>e=>{const o=()=>{e.setEnabled(t.selection.isEditable())};return t.on("NodeChange",o),o(),()=>{t.off("NodeChange",o)}};t.add("emoticons",((t,e)=>{((t,e)=>{const o=t.options.register;o("emoticons_database",{processor:"string",default:"emojis"}),o("emoticons_database_url",{processor:"string",default:`${e}/js/${w(t)}${t.suffix}.js`}),o("emoticons_database_id",{processor:"string",default:"tinymce.plugins.emoticons"}),o("emoticons_append",{processor:"object",default:{}}),o("emoticons_images_url",{processor:"string",default:"https://cdnjs.cloudflare.com/ajax/libs/twemoji/15.1.0/72x72/"})})(t,e);const o=((t,e,o)=>{const n=y(),r=y(),s=A(t),a=t=>{return o="<img",(e=t.char).length>=4&&e.substr(0,4)===o?t.char.replace(/src="([^"]+)"/,((t,e)=>`src="${s}${e}"`)):t.char;var e,o};t.on("init",(()=>{v.load(o,e).then((e=>{const o=E(t);(t=>{const e={},o=[];g(t,((t,n)=>{const r={title:n,keywords:t.keywords,char:a(t),category:x(O,t.category)},s=void 0!==e[r.category]?e[r.category]:[];e[r.category]=s.concat([r]),o.push(r)})),n.set(e),r.set(o)})(h(e,o))}),(t=>{console.log(`Failed to load emojis: ${t}`),n.set({}),r.set([])}))}));const l=()=>r.get().getOr([]),u=()=>n.isSet()&&r.isSet();return{listCategories:()=>[k].concat(c(n.get().getOr({}))),hasLoaded:u,waitForLoad:()=>u()?Promise.resolve(!0):new Promise(((t,o)=>{let n=15;const r=setInterval((()=>{u()?(clearInterval(r),t(!0)):(n--,n<0&&(console.log("Could not load emojis from url: "+e),clearInterval(r),o(!1)))}),100)})),listAll:l,listCategory:t=>t===k?l():n.get().bind((e=>i.from(e[t]))).getOr([])}})(t,j(t),C(t));return((t,e)=>{t.addCommand("mceEmoticons",(()=>T(t,e)))})(t,o),(t=>{const e=()=>t.execCommand("mceEmoticons");t.ui.registry.addButton("emoticons",{tooltip:"Emojis",icon:"emoji",onAction:e,onSetup:D(t)}),t.ui.registry.addMenuItem("emoticons",{text:"Emojis...",icon:"emoji",onAction:e,onSetup:D(t)})})(t),((t,e)=>{t.ui.registry.addAutocompleter("emoticons",{trigger:":",columns:"auto",minChars:2,fetch:(t,o)=>e.waitForLoad().then((()=>{const n=e.listAll();return S(n,t,i.some(o))})),onAction:(e,o,n)=>{t.selection.setRng(o),t.insertContent(n),e.hide()}})})(t,o),(t=>{t.on("PreInit",(()=>{t.parser.addAttributeFilter("data-emoticon",(t=>{(t=>{for(let o=0,n=t.length;o<n;o++)(e=t[o]).attr("data-mce-resize","false"),e.attr("data-mce-placeholder","1");var e})(t)}))}))})(t),{getAllEmojis:()=>o.waitForLoad().then((()=>o.listAll()))}}))}();
1
+ !function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const e=t=>e=>t===e,o=e(null),n=e(void 0),s=t=>"function"==typeof t;const r=()=>{},a=()=>!1;class i{tag;value;static singletonNone=new i(!1);constructor(t,e){this.tag=t,this.value=e}static some(t){return new i(!0,t)}static none(){return i.singletonNone}fold(t,e){return this.tag?e(this.value):t()}isSome(){return this.tag}isNone(){return!this.tag}map(t){return this.tag?i.some(t(this.value)):i.none()}bind(t){return this.tag?t(this.value):i.none()}exists(t){return this.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:i.none()}getOr(t){return this.tag?this.value:t}or(t){return this.tag?this:t}getOrThunk(t){return this.tag?this.value:t()}orThunk(t){return this.tag?this:t()}getOrDie(t){if(this.tag)return this.value;throw new Error(t??"Called getOrDie on None")}static from(t){return null==t?i.none():i.some(t)}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(t){this.tag&&t(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}Array.prototype.slice;const l=(t,e)=>{const o=t.length,n=new Array(o);for(let s=0;s<o;s++){const o=t[s];n[s]=e(o,s)}return n};s(Array.from)&&Array.from;const c=Object.keys,u=Object.hasOwnProperty,g=(t,e)=>{const o=c(t);for(let n=0,s=o.length;n<s;n++){const s=o[n];e(t[s],s)}},m=(t,e)=>u.call(t,e),d=t=>{let e=t;return{get:()=>e,set:t=>{e=t}}},h=(p=(t,e)=>e,(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const e={};for(let o=0;o<t.length;o++){const n=t[o];for(const t in n)m(n,t)&&(e[t]=p(e[t],n[t]))}return e});var p;const y=()=>{const t=(t=>{const e=d(i.none()),o=()=>e.get().each(t);return{clear:()=>{o(),e.set(i.none())},isSet:()=>e.get().isSome(),get:()=>e.get(),set:t=>{o(),e.set(i.some(t))}}})(r);return{...t,on:e=>t.get().each(e)}},f=(t,e,o=0,s)=>{const r=t.indexOf(e,o);return-1!==r&&(!!n(s)||r+e.length<=s)};var v=tinymce.util.Tools.resolve("tinymce.Resource");const b=t=>e=>e.options.get(t),w=b("emoticons_database"),j=b("emoticons_database_url"),C=b("emoticons_database_id"),_=b("emoticons_append"),A=b("emoticons_images_url"),k="All",O={symbols:"Symbols",people:"People",animals_and_nature:"Animals and Nature",food_and_drink:"Food and Drink",activity:"Activity",travel_and_places:"Travel and Places",objects:"Objects",flags:"Flags",user:"User Defined"},x=(t,e)=>m(t,e)?t[e]:e,E=t=>{const e=_(t);return o=t=>({keywords:[],category:"user",...t}),((t,e)=>{const o={};return g(t,((t,n)=>{const s=e(t,n);o[s.k]=s.v})),o})(e,((t,e)=>({k:e,v:o(t)})));var o},L=(t,e)=>f(t.title.toLowerCase(),e)||(t=>{for(let n=0,s=t.length;n<s;n++)if(o=t[n],f(o.toLowerCase(),e))return!0;var o;return!1})(t.keywords),S=(t,e,o)=>{const n=[],s=e.toLowerCase(),r=o.fold((()=>a),(t=>e=>e>=t));for(let o=0;o<t.length&&(0!==e.length&&!L(t[o],s)||(n.push({value:t[o].char,text:t[o].title,icon:t[o].char}),!r(n.length)));o++);return n},N="pattern",T=(t,e)=>{const n={pattern:"",results:S(e.listAll(),"",i.some(300))},s=d(k),r=(t=>{let e=null;const n=()=>{o(e)||(clearTimeout(e),e=null)};return{cancel:n,throttle:(...o)=>{n(),e=setTimeout((()=>{e=null,t.apply(null,o)}),200)}}})((t=>{(t=>{const o=t.getData(),n=s.get(),r=e.listCategory(n),a=S(r,o[N],n===k?i.some(300):i.none());t.setData({results:a})})(t)})),a={label:"Search",type:"input",name:N},c={type:"collection",name:"results"},u=()=>({title:"Emojis",size:"normal",body:{type:"tabpanel",tabs:l(e.listCategories(),(t=>({title:t,name:t,items:[a,c]})))},initialData:n,onTabChange:(t,e)=>{s.set(e.newTabName),r.throttle(t)},onChange:r.throttle,onAction:(e,o)=>{"results"===o.name&&(((t,e)=>{t.insertContent(e)})(t,o.value),e.close())},buttons:[{type:"cancel",text:"Close",primary:!0}]}),g=t.windowManager.open(u());g.focus(N),e.hasLoaded()||(g.block("Loading emojis..."),e.waitForLoad().then((()=>{g.redial(u()),r.throttle(g),g.focus(N),g.unblock()})).catch((t=>{g.redial({title:"Emojis",body:{type:"panel",items:[{type:"alertbanner",level:"error",icon:"warning",text:"Could not load emojis"}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),g.focus(N),g.unblock()})))},D=t=>e=>{const o=()=>{e.setEnabled(t.selection.isEditable())};return t.on("NodeChange",o),o(),()=>{t.off("NodeChange",o)}};t.add("emoticons",((t,e)=>{((t,e)=>{const o=t.options.register;o("emoticons_database",{processor:"string",default:"emojis"}),o("emoticons_database_url",{processor:"string",default:`${e}/js/${w(t)}${t.suffix}.js`}),o("emoticons_database_id",{processor:"string",default:"tinymce.plugins.emoticons"}),o("emoticons_append",{processor:"object",default:{}}),o("emoticons_images_url",{processor:"string",default:"https://cdnjs.cloudflare.com/ajax/libs/twemoji/15.1.0/72x72/"})})(t,e);const o=((t,e,o)=>{const n=y(),s=y(),r=A(t),a=t=>{return o="<img",(e=t.char).length>=4&&e.substr(0,4)===o?t.char.replace(/src="([^"]+)"/,((t,e)=>`src="${r}${e}"`)):t.char;var e,o};t.on("init",(()=>{v.load(o,e).then((e=>{const o=E(t);(t=>{const e={},o=[];g(t,((t,n)=>{const s={title:n,keywords:t.keywords,char:a(t),category:x(O,t.category)},r=void 0!==e[s.category]?e[s.category]:[];e[s.category]=r.concat([s]),o.push(s)})),n.set(e),s.set(o)})(h(e,o))}),(t=>{console.log(`Failed to load emojis: ${t}`),n.set({}),s.set([])}))}));const l=()=>s.get().getOr([]),u=()=>n.isSet()&&s.isSet();return{listCategories:()=>[k].concat(c(n.get().getOr({}))),hasLoaded:u,waitForLoad:()=>u()?Promise.resolve(!0):new Promise(((t,o)=>{let n=15;const s=setInterval((()=>{u()?(clearInterval(s),t(!0)):(n--,n<0&&(console.log("Could not load emojis from url: "+e),clearInterval(s),o(!1)))}),100)})),listAll:l,listCategory:t=>t===k?l():n.get().bind((e=>i.from(e[t]))).getOr([])}})(t,j(t),C(t));return((t,e)=>{t.addCommand("mceEmoticons",(()=>T(t,e)))})(t,o),(t=>{const e=()=>t.execCommand("mceEmoticons");t.ui.registry.addButton("emoticons",{tooltip:"Emojis",icon:"emoji",onAction:e,onSetup:D(t)}),t.ui.registry.addMenuItem("emoticons",{text:"Emojis...",icon:"emoji",onAction:e,onSetup:D(t)})})(t),((t,e)=>{t.ui.registry.addAutocompleter("emoticons",{trigger:":",columns:"auto",minChars:2,fetch:(t,o)=>e.waitForLoad().then((()=>{const n=e.listAll();return S(n,t,i.some(o))})),onAction:(e,o,n)=>{t.selection.setRng(o),t.insertContent(n),e.hide()}})})(t,o),(t=>{t.on("PreInit",(()=>{t.parser.addAttributeFilter("data-emoticon",(t=>{(t=>{for(let o=0,n=t.length;o<n;o++)(e=t[o]).attr("data-mce-resize","false"),e.attr("data-mce-placeholder","1");var e})(t)}))}))})(t),{getAllEmojis:()=>o.waitForLoad().then((()=>o.listAll()))}}))}();
@@ -1,5 +1,5 @@
1
1
  /**
2
- * TinyMCE version 7.9.1 (2025-05-29)
2
+ * TinyMCE version 8.3.1 (2025-12-17)
3
3
  */
4
4
 
5
5
  (function () {
@@ -7,13 +7,12 @@
7
7
 
8
8
  /* eslint-disable @typescript-eslint/no-wrapper-object-types */
9
9
  const hasProto = (v, constructor, predicate) => {
10
- var _a;
11
10
  if (predicate(v, constructor.prototype)) {
12
11
  return true;
13
12
  }
14
13
  else {
15
14
  // String-based fallback time
16
- return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
15
+ return v.constructor?.name === constructor.name;
17
16
  }
18
17
  };
19
18
  const typeOf = (x) => {
@@ -59,7 +58,6 @@
59
58
  return value;
60
59
  };
61
60
  };
62
- // eslint-disable-next-line prefer-arrow/prefer-arrow-functions
63
61
  function curry(fn, ...initialArgs) {
64
62
  return (...restArgs) => {
65
63
  const all = initialArgs.concat(restArgs);
@@ -85,6 +83,11 @@
85
83
  * strict-null-checks
86
84
  */
87
85
  class Optional {
86
+ tag;
87
+ value;
88
+ // Sneaky optimisation: every instance of Optional.none is identical, so just
89
+ // reuse the same object
90
+ static singletonNone = new Optional(false);
88
91
  // The internal representation has a `tag` and a `value`, but both are
89
92
  // private: able to be console.logged, but not able to be accessed by code
90
93
  constructor(tag, value) {
@@ -252,7 +255,7 @@
252
255
  */
253
256
  getOrDie(message) {
254
257
  if (!this.tag) {
255
- throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
258
+ throw new Error(message ?? 'Called getOrDie on None');
256
259
  }
257
260
  else {
258
261
  return this.value;
@@ -316,9 +319,6 @@
316
319
  return this.tag ? `some(${this.value})` : 'none()';
317
320
  }
318
321
  }
319
- // Sneaky optimisation: every instance of Optional.none is identical, so just
320
- // reuse the same object
321
- Optional.singletonNone = new Optional(false);
322
322
 
323
323
  const nativePush = Array.prototype.push;
324
324
  const map = (xs, f) => {
@@ -677,7 +677,7 @@
677
677
  const detectBrowser$1 = (browsers, userAgentData) => {
678
678
  return findMap(userAgentData.brands, (uaBrand) => {
679
679
  const lcBrand = uaBrand.brand.toLowerCase();
680
- return find$1(browsers, (browser) => { var _a; return lcBrand === ((_a = browser.brand) === null || _a === void 0 ? void 0 : _a.toLowerCase()); })
680
+ return find$1(browsers, (browser) => lcBrand === browser.brand?.toLowerCase())
681
681
  .map((info) => ({
682
682
  current: info.name,
683
683
  version: Version.nu(parseInt(uaBrand.version, 10), 0)
@@ -1108,9 +1108,7 @@
1108
1108
 
1109
1109
  // some elements, such as mathml, don't have style attributes
1110
1110
  // others, such as angular elements, have style attributes that aren't a CSSStyleDeclaration
1111
- const isSupported = (dom) =>
1112
- // eslint-disable-next-line @typescript-eslint/unbound-method
1113
- dom.style !== undefined && isFunction(dom.style.getPropertyValue);
1111
+ const isSupported = (dom) => dom.style !== undefined && isFunction(dom.style.getPropertyValue);
1114
1112
 
1115
1113
  // Node.contains() is very, very, very good performance
1116
1114
  // http://jsperf.com/closest-vs-contains/5
@@ -1461,7 +1459,7 @@
1461
1459
  const isTouch = global$1.deviceType.isTouch();
1462
1460
  const editorContainerStyle = editorContainer.style;
1463
1461
  const iframe = editor.iframeElement;
1464
- const iframeStyle = iframe === null || iframe === void 0 ? void 0 : iframe.style;
1462
+ const iframeStyle = iframe?.style;
1465
1463
  const handleClasses = (handler) => {
1466
1464
  handler(body, 'tox-fullscreen');
1467
1465
  handler(documentElement, 'tox-fullscreen');
@@ -1 +1 @@
1
- !function(){"use strict";const e=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,(o=String).prototype.isPrototypeOf(n)||(null===(s=r.constructor)||void 0===s?void 0:s.name)===o.name)?"string":t;var n,r,o,s})(t)===e,t=e=>t=>typeof t===e,n=e=>t=>e===t,r=e("string"),o=e("object"),s=e("array"),i=n(null),l=t("boolean"),a=n(void 0),c=e=>!(e=>null==e)(e),u=t("function"),d=t("number"),m=()=>{},h=e=>()=>e;function g(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const p=h(!1),f=h(!0);class v{constructor(e,t){this.tag=e,this.value=t}static some(e){return new v(!0,e)}static none(){return v.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?v.some(e(this.value)):v.none()}bind(e){return this.tag?e(this.value):v.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:v.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return c(e)?v.some(e):v.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}v.singletonNone=new v(!1);const w=Array.prototype.push,y=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},b=(e,t)=>{for(let n=0,r=e.length;n<r;n++)t(e[n],n)},S=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},x=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return v.some(o);if(n(o,r))break}return v.none()})(e,t,p),E=Object.keys,F=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},O="undefined"!=typeof window?window:Function("return this;")(),k=(e,t)=>((e,t)=>{let n=null!=t?t:O;for(let t=0;t<e.length&&null!=n;++t)n=n[e[t]];return n})(e.split("."),t),T=e=>{const t=F(v.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(v.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(v.some(e))}}},C=()=>T((e=>e.unbind())),A=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!a(r)||o+t.length<=r)};var R=tinymce.util.Tools.resolve("tinymce.PluginManager");const L=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},M=L,P=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},D=()=>N(0,0),N=(e,t)=>({major:e,minor:t}),H={nu:N,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?D():((e,t)=>{const n=((e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];if(r.test(t))return r}})(e,t);if(!n)return{major:0,minor:0};const r=e=>Number(t.replace(n,"$"+e));return N(r(1),r(2))})(e,n)},unknown:D},V=(e,t)=>{const n=String(t).toLowerCase();return x(e,(e=>e.search(n)))},W=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,q=e=>t=>A(t,e),B=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>A(e,"edge/")&&A(e,"chrome")&&A(e,"safari")&&A(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,W],search:e=>A(e,"chrome")&&!A(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>A(e,"msie")||A(e,"trident")},{name:"Opera",versionRegexes:[W,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:q("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:q("firefox")},{name:"Safari",versionRegexes:[W,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(A(e,"safari")||A(e,"mobile/"))&&A(e,"applewebkit")}],I=[{name:"Windows",search:q("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>A(e,"iphone")||A(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:q("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:q("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:q("linux"),versionRegexes:[]},{name:"Solaris",search:q("sunos"),versionRegexes:[]},{name:"FreeBSD",search:q("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:q("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],j={browsers:h(B),oses:h(I)},_="Edge",z="Chromium",K="Opera",$="Firefox",U="Safari",X=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(_),isChromium:r(z),isIE:r("IE"),isOpera:r(K),isFirefox:r($),isSafari:r(U)}},Y=()=>X({current:void 0,version:H.unknown()}),G=X,J=(h(_),h(z),h("IE"),h(K),h($),h(U),"Windows"),Q="Android",Z="Linux",ee="macOS",te="Solaris",ne="FreeBSD",re="ChromeOS",oe=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(J),isiOS:r("iOS"),isAndroid:r(Q),isMacOS:r(ee),isLinux:r(Z),isSolaris:r(te),isFreeBSD:r(ne),isChromeOS:r(re)}},se=()=>oe({current:void 0,version:H.unknown()}),ie=oe,le=(h(J),h("iOS"),h(Q),h(Z),h(ee),h(te),h(ne),h(re),(e,t,n)=>{const r=j.browsers(),o=j.oses(),s=t.bind((e=>((e,t)=>((e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n]);if(r.isSome())return r}return v.none()})(t.brands,(t=>{const n=t.brand.toLowerCase();return x(e,(e=>{var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:H.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>V(e,t).map((e=>{const n=H.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(Y,G),i=((e,t)=>V(e,t).map((e=>{const n=H.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(se,ie),l=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),s=e.isiOS()&&!o,i=e.isiOS()||e.isAndroid(),l=i||r("(pointer:coarse)"),a=o||!s&&i&&r("(min-device-width:768px)"),c=s||i&&!a,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!a&&!u;return{isiPad:h(o),isiPhone:h(s),isTablet:h(a),isPhone:h(c),isTouch:h(l),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:h(u),isDesktop:h(d)}})(i,s,e,n);return{browser:s,os:i,deviceType:l}}),ae=e=>window.matchMedia(e).matches;let ce=(e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)})((()=>le(window.navigator.userAgent,v.from(window.navigator.userAgentData),ae)));const ue=Object.getPrototypeOf,de=e=>{const t=k("ownerDocument.defaultView",e);return o(e)&&((e=>((e,t)=>{const n=((e,t)=>k(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(ue(e).constructor.name))},me=e=>t=>(e=>e.dom.nodeType)(t)===e,he=me(1),ge=me(3),pe=me(11),fe=e=>M(e.dom.ownerDocument),ve=e=>y(e.dom.childNodes,M),we=e=>{const t=(e=>M(e.dom.getRootNode()))(e);return pe(n=t)&&c(n.dom.host)?v.some(t):v.none();var n},ye=e=>M(e.dom.host),be=e=>{const t=M((e=>{if(c(e.target)){const t=M(e.target);if(he(t)&&c(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return(e=>0<e.length?v.some(e[0]):v.none())(t)}}return v.from(e.target)})(e).getOr(e.target)),n=()=>e.stopPropagation(),r=()=>e.preventDefault(),o=(s=r,i=n,(...e)=>s(i.apply(null,e)));var s,i;return((e,t,n,r,o,s,i)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:s,raw:i}))(t,e.clientX,e.clientY,n,r,o,e)},Se=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},xe=f,Ee=(e,t,n)=>((e,t,n,r)=>((e,t,n,r,o)=>{const s=((e,t)=>n=>{e(n)&&t(be(n))})(n,r);return e.dom.addEventListener(t,s,o),{unbind:g(Se,e,t,s,o)}})(e,t,n,r,!1))(e,t,xe,n),Fe=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},Oe=(e,t)=>{e.dom.removeAttribute(t)},ke=e=>void 0!==e.style&&u(e.style.getPropertyValue),Te=e=>{const t=ge(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return we(M(t)).fold((()=>n.body.contains(t)),(r=Te,o=ye,e=>r(o(e))));var r,o},Ce=(e,t,n)=>{if(!r(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);ke(e)&&e.style.setProperty(t,n)},Ae=(e,t,n)=>{const r=e.dom;Ce(r,t,n)},Re=(e,t)=>{const n=e.dom;((e,t)=>{const n=E(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}})(t,((e,t)=>{Ce(n,t,e)}))},Le=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||Te(e)?r:Me(n,t)},Me=(e,t)=>ke(e)?e.style.getPropertyValue(t):"",Pe=(e,t)=>({left:e,top:t,translate:(n,r)=>Pe(e+n,t+r)}),De=Pe,Ne=(e,t,n)=>((e,t,n)=>S(((e,t)=>{const n=u(t)?t:p;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=M(e);if(o.push(t),!0===n(t))break;r=e}return o})(e,n),t))(e,(e=>P(e,t)),n),He=(e,t)=>(e=>{return S((e=>v.from(e.dom.parentNode).map(M))(n=e).map(ve).map((e=>S(e,(e=>{return t=e,!(n.dom===t.dom);var t})))).getOr([]),(e=>P(e,t)));var n})(e),Ve=e=>{const t=void 0===e?window:e;return ce().browser.isFirefox()?v.none():v.from(t.visualViewport)},We=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),qe=e=>{const t=void 0===e?window:e,n=t.document,r=(e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return De(n,r)})(M(n));return Ve(t).fold((()=>{const e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return We(r.left,r.top,n,o)}),(e=>We(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)))},Be=(e,t,n)=>Ve(n).map((n=>{const r=e=>t(be(e));return n.addEventListener(e,r),{unbind:()=>n.removeEventListener(e,r)}})).getOrThunk((()=>({unbind:m})));var Ie=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),je=tinymce.util.Tools.resolve("tinymce.Env");const _e=(e,t)=>{e.dispatch("FullscreenStateChanged",{state:t}),e.dispatch("ResizeEditor")},ze=e=>e.options.get("fullscreen_native");const Ke=e=>{return e.dom===(void 0!==(t=fe(e).dom).fullscreenElement?t.fullscreenElement:void 0!==t.msFullscreenElement?t.msFullscreenElement:void 0!==t.webkitFullscreenElement?t.webkitFullscreenElement:null);var t},$e="data-ephox-mobile-fullscreen-style",Ue="position:absolute!important;",Xe="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",Ye=je.os.isAndroid(),Ge=(e,t,n)=>{const o=t=>n=>{const o=Fe(n,"style"),s=void 0===o?"no-styles":o.trim();s!==t&&(((e,t,n)=>{((e,t,n)=>{if(!(r(n)||l(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(e.dom,t,n)})(n,$e,s),Re(n,e.parseStyle(t)))},i=Ne(t,"*"),a=(e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!s(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);w.apply(t,e[n])}return t})(y(i,(e=>He(e,"*:not(.tox-silver-sink)")))),c=(e=>{const t=Le(e,"background-color");return void 0!==t&&""!==t?"background-color:"+t+"!important":"background-color:rgb(255,255,255)!important;"})(n);b(a,o("display:none!important;")),b(i,o(Ue+Xe+c)),o((!0===Ye?"":Ue)+Xe+c)(t)},Je=Ie.DOM,Qe=Ve().fold((()=>({bind:m,unbind:m})),(e=>{const t=(()=>{const e=T(m);return{...e,on:t=>e.get().each(t)}})(),n=C(),r=C(),o=(e=>{let t=null;return{cancel:()=>{i(t)||(clearTimeout(t),t=null)},throttle:(...n)=>{i(t)&&(t=setTimeout((()=>{t=null,e.apply(null,n)}),50))}}})((()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0,window.requestAnimationFrame((()=>{t.on((t=>Re(t,{top:e.offsetTop+"px",left:e.offsetLeft+"px",height:e.height+"px",width:e.width+"px"})))}))}));return{bind:e=>{t.set(e),o.throttle(),n.set(Be("resize",o.throttle)),r.set(Be("scroll",o.throttle))},unbind:()=>{t.on((()=>{n.clear(),r.clear()})),t.clear()}}})),Ze=(e,t)=>{const n=document.body,r=document.documentElement,o=e.getContainer(),s=M(o),i=(l=s,v.from(l.dom.nextSibling).map(M)).filter((e=>(e=>he(e)&&de(e.dom))(e)&&(e=>(e=>void 0!==e.dom.classList)(e)&&e.dom.classList.contains("tox-silver-sink"))(e)));var l;const a=(e=>{const t=M(e.getElement());return we(t).map(ye).getOrThunk((()=>(e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return M(t)})(fe(t))))})(e),c=t.get(),u=M(e.getBody()),d=je.deviceType.isTouch(),m=o.style,h=e.iframeElement,g=null==h?void 0:h.style,p=e=>{e(n,"tox-fullscreen"),e(r,"tox-fullscreen"),e(o,"tox-fullscreen"),we(s).map((e=>ye(e).dom)).each((t=>{e(t,"tox-fullscreen"),e(t,"tox-shadowhost")}))},f=()=>{d&&(e=>{const t=(e=>{const t=document;return 1!==(n=t).nodeType&&9!==n.nodeType&&11!==n.nodeType||0===n.childElementCount?[]:y(t.querySelectorAll(e),M);var n})("["+$e+"]");b(t,(t=>{const n=Fe(t,$e);n&&"no-styles"!==n?Re(t,e.parseStyle(n)):Oe(t,"style"),Oe(t,$e)}))})(e.dom),p(Je.removeClass),Qe.unbind(),v.from(t.get()).each((e=>e.fullscreenChangeHandler.unbind()))};if(c)c.fullscreenChangeHandler.unbind(),ze(e)&&Ke(a)&&(e=>{const t=e.dom;t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitCancelFullScreen&&t.webkitCancelFullScreen()})(fe(a)),g.width=c.iframeWidth,g.height=c.iframeHeight,m.width=c.containerWidth,m.height=c.containerHeight,m.top=c.containerTop,m.left=c.containerLeft,S=i,x=c.sinkCssPosition,E=(e,t)=>{Ae(e,"position",t)},S.isSome()&&x.isSome()?v.some(E(S.getOrDie(),x.getOrDie())):v.none(),f(),w=c.scrollPos,window.scrollTo(w.x,w.y),t.set(null),_e(e,!1),e.off("remove",f);else{const n=Ee(fe(a),void 0!==document.fullscreenElement?"fullscreenchange":void 0!==document.msFullscreenElement?"MSFullscreenChange":void 0!==document.webkitFullscreenElement?"webkitfullscreenchange":"fullscreenchange",(n=>{ze(e)&&(Ke(a)||null===t.get()||Ze(e,t))})),r={scrollPos:qe(window),containerWidth:m.width,containerHeight:m.height,containerTop:m.top,containerLeft:m.left,iframeWidth:g.width,iframeHeight:g.height,fullscreenChangeHandler:n,sinkCssPosition:i.map((e=>Le(e,"position")))};d&&Ge(e.dom,s,u),g.width=g.height="100%",m.width=m.height="",p(Je.addClass),i.each((e=>{Ae(e,"position","fixed")})),Qe.bind(s),e.on("remove",f),t.set(r),ze(e)&&(e=>{const t=e.dom;t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()})(a),_e(e,!0)}var w,S,x,E};var et=tinymce.util.Tools.resolve("tinymce.util.VK");const tt=(e,t)=>n=>{n.setActive(null!==t.get());const r=e=>n.setActive(e.state);return e.on("FullscreenStateChanged",r),()=>e.off("FullscreenStateChanged",r)};R.add("fullscreen",(e=>{const t=F(null);return e.inline||((e=>{(0,e.options.register)("fullscreen_native",{processor:"boolean",default:!1})})(e),((e,t)=>{e.addCommand("mceFullScreen",(()=>{Ze(e,t)}))})(e,t),((e,t)=>{const n=()=>e.execCommand("mceFullScreen");e.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",icon:"fullscreen",shortcut:"Meta+Shift+F",onAction:n,onSetup:tt(e,t),context:"any"}),e.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:n,onSetup:tt(e,t),shortcut:"Meta+Shift+F",context:"any"})})(e,t),((e,t)=>{e.on("init",(()=>{e.on("keydown",(e=>{e.keyCode!==et.TAB||e.metaKey||e.ctrlKey||!t.get()||e.preventDefault()}))}))})(e,t),e.addShortcut("Meta+Shift+F","","mceFullScreen")),(e=>({isFullscreen:()=>null!==e.get()}))(t)}))}();
1
+ !function(){"use strict";const e=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&(n=r=e,(o=String).prototype.isPrototypeOf(n)||r.constructor?.name===o.name)?"string":t;var n,r,o})(t)===e,t=e=>t=>typeof t===e,n=e=>t=>e===t,r=e("string"),o=e("object"),s=e("array"),i=n(null),l=t("boolean"),a=n(void 0),c=e=>!(e=>null==e)(e),u=t("function"),d=t("number"),m=()=>{},h=e=>()=>e;function g(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const p=h(!1),f=h(!0);class v{tag;value;static singletonNone=new v(!1);constructor(e,t){this.tag=e,this.value=t}static some(e){return new v(!0,e)}static none(){return v.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?v.some(e(this.value)):v.none()}bind(e){return this.tag?e(this.value):v.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:v.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(e??"Called getOrDie on None")}static from(e){return c(e)?v.some(e):v.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}const w=Array.prototype.push,y=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},b=(e,t)=>{for(let n=0,r=e.length;n<r;n++)t(e[n],n)},S=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},x=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return v.some(o);if(n(o,r))break}return v.none()})(e,t,p),E=Object.keys,F=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},O="undefined"!=typeof window?window:Function("return this;")(),k=(e,t)=>((e,t)=>{let n=null!=t?t:O;for(let t=0;t<e.length&&null!=n;++t)n=n[e[t]];return n})(e.split("."),t),T=e=>{const t=F(v.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(v.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(v.some(e))}}},C=()=>T((e=>e.unbind())),A=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!a(r)||o+t.length<=r)};var R=tinymce.util.Tools.resolve("tinymce.PluginManager");const L=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},M=L,P=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},D=()=>N(0,0),N=(e,t)=>({major:e,minor:t}),H={nu:N,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?D():((e,t)=>{const n=((e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];if(r.test(t))return r}})(e,t);if(!n)return{major:0,minor:0};const r=e=>Number(t.replace(n,"$"+e));return N(r(1),r(2))})(e,n)},unknown:D},V=(e,t)=>{const n=String(t).toLowerCase();return x(e,(e=>e.search(n)))},W=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,q=e=>t=>A(t,e),B=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>A(e,"edge/")&&A(e,"chrome")&&A(e,"safari")&&A(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,W],search:e=>A(e,"chrome")&&!A(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>A(e,"msie")||A(e,"trident")},{name:"Opera",versionRegexes:[W,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:q("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:q("firefox")},{name:"Safari",versionRegexes:[W,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(A(e,"safari")||A(e,"mobile/"))&&A(e,"applewebkit")}],I=[{name:"Windows",search:q("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>A(e,"iphone")||A(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:q("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:q("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:q("linux"),versionRegexes:[]},{name:"Solaris",search:q("sunos"),versionRegexes:[]},{name:"FreeBSD",search:q("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:q("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],j={browsers:h(B),oses:h(I)},_="Edge",z="Chromium",K="Opera",$="Firefox",U="Safari",X=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(_),isChromium:r(z),isIE:r("IE"),isOpera:r(K),isFirefox:r($),isSafari:r(U)}},Y=()=>X({current:void 0,version:H.unknown()}),G=X,J=(h(_),h(z),h("IE"),h(K),h($),h(U),"Windows"),Q="Android",Z="Linux",ee="macOS",te="Solaris",ne="FreeBSD",re="ChromeOS",oe=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(J),isiOS:r("iOS"),isAndroid:r(Q),isMacOS:r(ee),isLinux:r(Z),isSolaris:r(te),isFreeBSD:r(ne),isChromeOS:r(re)}},se=()=>oe({current:void 0,version:H.unknown()}),ie=oe,le=(h(J),h("iOS"),h(Q),h(Z),h(ee),h(te),h(ne),h(re),(e,t,n)=>{const r=j.browsers(),o=j.oses(),s=t.bind((e=>((e,t)=>((e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n]);if(r.isSome())return r}return v.none()})(t.brands,(t=>{const n=t.brand.toLowerCase();return x(e,(e=>n===e.brand?.toLowerCase())).map((e=>({current:e.name,version:H.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>V(e,t).map((e=>{const n=H.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(Y,G),i=((e,t)=>V(e,t).map((e=>{const n=H.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(se,ie),l=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),s=e.isiOS()&&!o,i=e.isiOS()||e.isAndroid(),l=i||r("(pointer:coarse)"),a=o||!s&&i&&r("(min-device-width:768px)"),c=s||i&&!a,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!a&&!u;return{isiPad:h(o),isiPhone:h(s),isTablet:h(a),isPhone:h(c),isTouch:h(l),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:h(u),isDesktop:h(d)}})(i,s,e,n);return{browser:s,os:i,deviceType:l}}),ae=e=>window.matchMedia(e).matches;let ce=(e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)})((()=>le(window.navigator.userAgent,v.from(window.navigator.userAgentData),ae)));const ue=Object.getPrototypeOf,de=e=>{const t=k("ownerDocument.defaultView",e);return o(e)&&((e=>((e,t)=>{const n=((e,t)=>k(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n})("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(ue(e).constructor.name))},me=e=>t=>(e=>e.dom.nodeType)(t)===e,he=me(1),ge=me(3),pe=me(11),fe=e=>M(e.dom.ownerDocument),ve=e=>y(e.dom.childNodes,M),we=e=>{const t=(e=>M(e.dom.getRootNode()))(e);return pe(n=t)&&c(n.dom.host)?v.some(t):v.none();var n},ye=e=>M(e.dom.host),be=e=>{const t=M((e=>{if(c(e.target)){const t=M(e.target);if(he(t)&&c(t.dom.shadowRoot)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return(e=>0<e.length?v.some(e[0]):v.none())(t)}}return v.from(e.target)})(e).getOr(e.target)),n=()=>e.stopPropagation(),r=()=>e.preventDefault(),o=(s=r,i=n,(...e)=>s(i.apply(null,e)));var s,i;return((e,t,n,r,o,s,i)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:s,raw:i}))(t,e.clientX,e.clientY,n,r,o,e)},Se=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},xe=f,Ee=(e,t,n)=>((e,t,n,r)=>((e,t,n,r,o)=>{const s=((e,t)=>n=>{e(n)&&t(be(n))})(n,r);return e.dom.addEventListener(t,s,o),{unbind:g(Se,e,t,s,o)}})(e,t,n,r,!1))(e,t,xe,n),Fe=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},Oe=(e,t)=>{e.dom.removeAttribute(t)},ke=e=>void 0!==e.style&&u(e.style.getPropertyValue),Te=e=>{const t=ge(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return we(M(t)).fold((()=>n.body.contains(t)),(r=Te,o=ye,e=>r(o(e))));var r,o},Ce=(e,t,n)=>{if(!r(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);ke(e)&&e.style.setProperty(t,n)},Ae=(e,t,n)=>{const r=e.dom;Ce(r,t,n)},Re=(e,t)=>{const n=e.dom;((e,t)=>{const n=E(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}})(t,((e,t)=>{Ce(n,t,e)}))},Le=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||Te(e)?r:Me(n,t)},Me=(e,t)=>ke(e)?e.style.getPropertyValue(t):"",Pe=(e,t)=>({left:e,top:t,translate:(n,r)=>Pe(e+n,t+r)}),De=Pe,Ne=(e,t,n)=>((e,t,n)=>S(((e,t)=>{const n=u(t)?t:p;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=M(e);if(o.push(t),!0===n(t))break;r=e}return o})(e,n),t))(e,(e=>P(e,t)),n),He=(e,t)=>(e=>{return S((e=>v.from(e.dom.parentNode).map(M))(n=e).map(ve).map((e=>S(e,(e=>{return t=e,!(n.dom===t.dom);var t})))).getOr([]),(e=>P(e,t)));var n})(e),Ve=e=>{const t=void 0===e?window:e;return ce().browser.isFirefox()?v.none():v.from(t.visualViewport)},We=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),qe=e=>{const t=void 0===e?window:e,n=t.document,r=(e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return De(n,r)})(M(n));return Ve(t).fold((()=>{const e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return We(r.left,r.top,n,o)}),(e=>We(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)))},Be=(e,t,n)=>Ve(n).map((n=>{const r=e=>t(be(e));return n.addEventListener(e,r),{unbind:()=>n.removeEventListener(e,r)}})).getOrThunk((()=>({unbind:m})));var Ie=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),je=tinymce.util.Tools.resolve("tinymce.Env");const _e=(e,t)=>{e.dispatch("FullscreenStateChanged",{state:t}),e.dispatch("ResizeEditor")},ze=e=>e.options.get("fullscreen_native");const Ke=e=>{return e.dom===(void 0!==(t=fe(e).dom).fullscreenElement?t.fullscreenElement:void 0!==t.msFullscreenElement?t.msFullscreenElement:void 0!==t.webkitFullscreenElement?t.webkitFullscreenElement:null);var t},$e="data-ephox-mobile-fullscreen-style",Ue="position:absolute!important;",Xe="top:0!important;left:0!important;margin:0!important;padding:0!important;width:100%!important;height:100%!important;overflow:visible!important;",Ye=je.os.isAndroid(),Ge=(e,t,n)=>{const o=t=>n=>{const o=Fe(n,"style"),s=void 0===o?"no-styles":o.trim();s!==t&&(((e,t,n)=>{((e,t,n)=>{if(!(r(n)||l(n)||d(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(e.dom,t,n)})(n,$e,s),Re(n,e.parseStyle(t)))},i=Ne(t,"*"),a=(e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!s(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);w.apply(t,e[n])}return t})(y(i,(e=>He(e,"*:not(.tox-silver-sink)")))),c=(e=>{const t=Le(e,"background-color");return void 0!==t&&""!==t?"background-color:"+t+"!important":"background-color:rgb(255,255,255)!important;"})(n);b(a,o("display:none!important;")),b(i,o(Ue+Xe+c)),o((!0===Ye?"":Ue)+Xe+c)(t)},Je=Ie.DOM,Qe=Ve().fold((()=>({bind:m,unbind:m})),(e=>{const t=(()=>{const e=T(m);return{...e,on:t=>e.get().each(t)}})(),n=C(),r=C(),o=(e=>{let t=null;return{cancel:()=>{i(t)||(clearTimeout(t),t=null)},throttle:(...n)=>{i(t)&&(t=setTimeout((()=>{t=null,e.apply(null,n)}),50))}}})((()=>{document.body.scrollTop=0,document.documentElement.scrollTop=0,window.requestAnimationFrame((()=>{t.on((t=>Re(t,{top:e.offsetTop+"px",left:e.offsetLeft+"px",height:e.height+"px",width:e.width+"px"})))}))}));return{bind:e=>{t.set(e),o.throttle(),n.set(Be("resize",o.throttle)),r.set(Be("scroll",o.throttle))},unbind:()=>{t.on((()=>{n.clear(),r.clear()})),t.clear()}}})),Ze=(e,t)=>{const n=document.body,r=document.documentElement,o=e.getContainer(),s=M(o),i=(l=s,v.from(l.dom.nextSibling).map(M)).filter((e=>(e=>he(e)&&de(e.dom))(e)&&(e=>(e=>void 0!==e.dom.classList)(e)&&e.dom.classList.contains("tox-silver-sink"))(e)));var l;const a=(e=>{const t=M(e.getElement());return we(t).map(ye).getOrThunk((()=>(e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return M(t)})(fe(t))))})(e),c=t.get(),u=M(e.getBody()),d=je.deviceType.isTouch(),m=o.style,h=e.iframeElement,g=h?.style,p=e=>{e(n,"tox-fullscreen"),e(r,"tox-fullscreen"),e(o,"tox-fullscreen"),we(s).map((e=>ye(e).dom)).each((t=>{e(t,"tox-fullscreen"),e(t,"tox-shadowhost")}))},f=()=>{d&&(e=>{const t=(e=>{const t=document;return 1!==(n=t).nodeType&&9!==n.nodeType&&11!==n.nodeType||0===n.childElementCount?[]:y(t.querySelectorAll(e),M);var n})("["+$e+"]");b(t,(t=>{const n=Fe(t,$e);n&&"no-styles"!==n?Re(t,e.parseStyle(n)):Oe(t,"style"),Oe(t,$e)}))})(e.dom),p(Je.removeClass),Qe.unbind(),v.from(t.get()).each((e=>e.fullscreenChangeHandler.unbind()))};if(c)c.fullscreenChangeHandler.unbind(),ze(e)&&Ke(a)&&(e=>{const t=e.dom;t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.webkitCancelFullScreen&&t.webkitCancelFullScreen()})(fe(a)),g.width=c.iframeWidth,g.height=c.iframeHeight,m.width=c.containerWidth,m.height=c.containerHeight,m.top=c.containerTop,m.left=c.containerLeft,S=i,x=c.sinkCssPosition,E=(e,t)=>{Ae(e,"position",t)},S.isSome()&&x.isSome()?v.some(E(S.getOrDie(),x.getOrDie())):v.none(),f(),w=c.scrollPos,window.scrollTo(w.x,w.y),t.set(null),_e(e,!1),e.off("remove",f);else{const n=Ee(fe(a),void 0!==document.fullscreenElement?"fullscreenchange":void 0!==document.msFullscreenElement?"MSFullscreenChange":void 0!==document.webkitFullscreenElement?"webkitfullscreenchange":"fullscreenchange",(n=>{ze(e)&&(Ke(a)||null===t.get()||Ze(e,t))})),r={scrollPos:qe(window),containerWidth:m.width,containerHeight:m.height,containerTop:m.top,containerLeft:m.left,iframeWidth:g.width,iframeHeight:g.height,fullscreenChangeHandler:n,sinkCssPosition:i.map((e=>Le(e,"position")))};d&&Ge(e.dom,s,u),g.width=g.height="100%",m.width=m.height="",p(Je.addClass),i.each((e=>{Ae(e,"position","fixed")})),Qe.bind(s),e.on("remove",f),t.set(r),ze(e)&&(e=>{const t=e.dom;t.requestFullscreen?t.requestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen()})(a),_e(e,!0)}var w,S,x,E};var et=tinymce.util.Tools.resolve("tinymce.util.VK");const tt=(e,t)=>n=>{n.setActive(null!==t.get());const r=e=>n.setActive(e.state);return e.on("FullscreenStateChanged",r),()=>e.off("FullscreenStateChanged",r)};R.add("fullscreen",(e=>{const t=F(null);return e.inline||((e=>{(0,e.options.register)("fullscreen_native",{processor:"boolean",default:!1})})(e),((e,t)=>{e.addCommand("mceFullScreen",(()=>{Ze(e,t)}))})(e,t),((e,t)=>{const n=()=>e.execCommand("mceFullScreen");e.ui.registry.addToggleMenuItem("fullscreen",{text:"Fullscreen",icon:"fullscreen",shortcut:"Meta+Shift+F",onAction:n,onSetup:tt(e,t),context:"any"}),e.ui.registry.addToggleButton("fullscreen",{tooltip:"Fullscreen",icon:"fullscreen",onAction:n,onSetup:tt(e,t),shortcut:"Meta+Shift+F",context:"any"})})(e,t),((e,t)=>{e.on("init",(()=>{e.on("keydown",(e=>{e.keyCode!==et.TAB||e.metaKey||e.ctrlKey||!t.get()||e.preventDefault()}))}))})(e,t),e.addShortcut("Meta+Shift+F","","mceFullScreen")),(e=>({isFullscreen:()=>null!==e.get()}))(t)}))}();
@@ -0,0 +1,93 @@
1
+ tinymce.Resource.add('tinymce.html-i18n.help-keynav.bg-BG',
2
+ '<h1>Начало на навигацията с клавиатурата</h1>\n' +
3
+ '\n' +
4
+ '<dl>\n' +
5
+ ' <dt>Фокусиране върху лентата с менюта</dt>\n' +
6
+ ' <dd>Windows или Linux: Alt+F9</dd>\n' +
7
+ ' <dd>macOS: &#x2325;F9</dd>\n' +
8
+ ' <dt>Фокусиране върху лентата с инструменти</dt>\n' +
9
+ ' <dd>Windows или Linux: Alt+F10</dd>\n' +
10
+ ' <dd>macOS: &#x2325;F10</dd>\n' +
11
+ ' <dt>Фокусиране върху долния колонтитул</dt>\n' +
12
+ ' <dd>Windows или Linux: Alt+F11</dd>\n' +
13
+ ' <dd>macOS: &#x2325;F11</dd>\n' +
14
+ ' <dt>Фокусиране на известието</dt>\n' +
15
+ ' <dd>Windows или Linux: Alt+F12</dd>\n' +
16
+ ' <dd>macOS: &#x2325;F12</dd>\n' +
17
+ ' <dt>Фокусиране върху контекстуалната лента с инструменти</dt>\n' +
18
+ ' <dd>Windows, Linux или macOS: Ctrl+F9</dd>\n' +
19
+ '</dl>\n' +
20
+ '\n' +
21
+ '<p>Навигацията ще започне с първия елемент на ПИ, който ще бъде маркиран или подчертан в случая на първия елемент в\n' +
22
+ ' пътя до елемента в долния колонтитул.</p>\n' +
23
+ '\n' +
24
+ '<h1>Навигиране между раздели на ПИ</h1>\n' +
25
+ '\n' +
26
+ '<p>За да преминете от един раздел на ПИ към следващия, натиснете <strong>Tab</strong>.</p>\n' +
27
+ '\n' +
28
+ '<p>За да преминете от един раздел на ПИ към предишния, натиснете <strong>Shift+Tab</strong>.</p>\n' +
29
+ '\n' +
30
+ '<p>Редът за <strong>обхождане с табулация</strong> на тези раздели на ПИ е:</p>\n' +
31
+ '\n' +
32
+ '<ol>\n' +
33
+ ' <li>Лентата с менюта</li>\n' +
34
+ ' <li>Всяка група на лентата с инструменти</li>\n' +
35
+ ' <li>Страничната лента</li>\n' +
36
+ ' <li>Пътят до елемента в долния колонтитул</li>\n' +
37
+ ' <li>Бутонът за превключване на броя на думите в долния колонтитул</li>\n' +
38
+ ' <li>Връзката за търговска марка в долния колонтитул</li>\n' +
39
+ ' <li>Манипулаторът за преоразмеряване на редактора в долния колонтитул</li>\n' +
40
+ '</ol>\n' +
41
+ '\n' +
42
+ '<p>Ако някой раздел на ПИ липсва, той се пропуска.</p>\n' +
43
+ '\n' +
44
+ '<p>Ако долният колонтитул има фокус за навигация с клавиатурата и няма странична лента, натискането на <strong>Shift+Tab</strong>\n' +
45
+ ' премества фокуса към първата група на лентата с инструменти, а не към последната.</p>\n' +
46
+ '\n' +
47
+ '<h1>Навигиране в разделите на ПИ</h1>\n' +
48
+ '\n' +
49
+ '<p>За да преминете от един елемент на ПИ към следващия, натиснете съответния клавиш със <strong>стрелка</strong>.</p>\n' +
50
+ '\n' +
51
+ '<p>С клавишите със стрелка <strong>наляво</strong> и <strong>надясно</strong></p>\n' +
52
+ '\n' +
53
+ '<ul>\n' +
54
+ ' <li>се придвижвате между менютата в лентата с менюто;</li>\n' +
55
+ ' <li>отваряте подменю в меню;</li>\n' +
56
+ ' <li>се придвижвате между бутоните в група на лентата с инструменти;</li>\n' +
57
+ ' <li>се придвижвате между елементи в пътя до елемент в долния колонтитул.</li>\n' +
58
+ '</ul>\n' +
59
+ '\n' +
60
+ '<p>С клавишите със стрелка <strong>надолу</strong> и <strong>нагоре</strong></p>\n' +
61
+ '\n' +
62
+ '<ul>\n' +
63
+ ' <li>се придвижвате между елементите от менюто в дадено меню;</li>\n' +
64
+ ' <li>се придвижвате между елементите в изскачащо меню на лентата с инструменти.</li>\n' +
65
+ '</ul>\n' +
66
+ '\n' +
67
+ '<p>Клавишите със <strong>стрелки</strong> се придвижват в рамките на фокусирания раздел на ПИ.</p>\n' +
68
+ '\n' +
69
+ '<p>За да затворите отворено меню, подменю или изскачащо меню, натиснете клавиша <strong>Esc</strong>.</p>\n' +
70
+ '\n' +
71
+ '<p>Ако текущият фокус е върху „горната част“ на конкретен раздел на ПИ, натискането на клавиша <strong>Esc</strong> също излиза\n' +
72
+ ' напълно от навигацията с клавиатурата.</p>\n' +
73
+ '\n' +
74
+ '<h1>Изпълнение на елемент от менюто или бутон от лентата с инструменти</h1>\n' +
75
+ '\n' +
76
+ '<p>Когато желаният елемент от менюто или бутон от лентата с инструменти е маркиран, натиснете <strong>Return</strong>, <strong>Enter</strong>\n' +
77
+ ' или <strong>клавиша за интервал</strong>, за да изпълните елемента.</p>\n' +
78
+ '\n' +
79
+ '<h1>Навигиране в диалогови прозорци без раздели</h1>\n' +
80
+ '\n' +
81
+ '<p>В диалоговите прозорци без раздели първият интерактивен компонент се фокусира, когато се отвори диалоговият прозорец.</p>\n' +
82
+ '\n' +
83
+ '<p>Навигирайте между интерактивните компоненти на диалоговия прозорец, като натиснете <strong>Tab</strong> или <strong>Shift+Tab</strong>.</p>\n' +
84
+ '\n' +
85
+ '<h1>Навигиране в диалогови прозорци с раздели</h1>\n' +
86
+ '\n' +
87
+ '<p>В диалоговите прозорци с раздели първият бутон в менюто с раздели се фокусира, когато се отвори диалоговият прозорец.</p>\n' +
88
+ '\n' +
89
+ '<p>Навигирайте между интерактивните компоненти на този диалогов раздел, като натиснете <strong>Tab</strong> или\n' +
90
+ ' <strong>Shift+Tab</strong>.</p>\n' +
91
+ '\n' +
92
+ '<p>Превключете към друг диалогов раздел, като фокусирате върху менюто с раздели и след това натиснете съответния клавиш със <strong>стрелка</strong>,\n' +
93
+ ' за да преминете през наличните раздели.</p>\n');
@@ -0,0 +1,93 @@
1
+ tinymce.Resource.add('tinymce.html-i18n.help-keynav.fr-FR',
2
+ '<h1>Débuter la navigation au clavier</h1>\n' +
3
+ '\n' +
4
+ '<dl>\n' +
5
+ ' <dt>Cibler la barre du menu</dt>\n' +
6
+ ' <dd>Windows ou Linux : Alt+F9</dd>\n' +
7
+ ' <dd>macOS : &#x2325;F9</dd>\n' +
8
+ " <dt>Cibler la barre d'outils</dt>\n" +
9
+ ' <dd>Windows ou Linux : Alt+F10</dd>\n' +
10
+ ' <dd>macOS : &#x2325;F10</dd>\n' +
11
+ ' <dt>Cibler le pied de page</dt>\n' +
12
+ ' <dd>Windows ou Linux : Alt+F11</dd>\n' +
13
+ ' <dd>macOS : &#x2325;F11</dd>\n' +
14
+ ' <dt>Cibler la notification</dt>\n' +
15
+ ' <dd>Windows ou Linux : Alt+F12</dd>\n' +
16
+ ' <dd>macOS : &#x2325;F12</dd>\n' +
17
+ " <dt>Cibler une barre d'outils contextuelle</dt>\n" +
18
+ ' <dd>Windows, Linux ou macOS : Ctrl+F9</dd>\n' +
19
+ '</dl>\n' +
20
+ '\n' +
21
+ "<p>La navigation débutera sur le premier élément de l'interface utilisateur, qui sera mis en surbrillance ou bien souligné dans le cas du premier élément du\n" +
22
+ " chemin d'éléments du pied de page.</p>\n" +
23
+ '\n' +
24
+ "<h1>Naviguer entre les sections de l'interface utilisateur</h1>\n" +
25
+ '\n' +
26
+ "<p>Pour passer d'une section de l'interface utilisateur à la suivante, appuyez sur <strong>Tabulation</strong>.</p>\n" +
27
+ '\n' +
28
+ "<p>Pour passer d'une section de l'interface utilisateur à la précédente, appuyez sur <strong>Maj+Tabulation</strong>.</p>\n" +
29
+ '\n' +
30
+ "<p>L'ordre de <strong>Tabulation</strong> de ces sections de l'interface utilisateur est le suivant :</p>\n" +
31
+ '\n' +
32
+ '<ol>\n' +
33
+ ' <li>Barre du menu</li>\n' +
34
+ " <li>Chaque groupe de barres d'outils</li>\n" +
35
+ ' <li>Barre latérale</li>\n' +
36
+ " <li>Chemin d'éléments du pied de page</li>\n" +
37
+ " <li>Bouton d'activation du compteur de mots dans le pied de page</li>\n" +
38
+ ' <li>Lien de marque dans le pied de page</li>\n' +
39
+ " <li>Poignée de redimensionnement de l'éditeur dans le pied de page</li>\n" +
40
+ '</ol>\n' +
41
+ '\n' +
42
+ "<p>Si une section de l'interface utilisateur n'est pas présente, elle sera ignorée.</p>\n" +
43
+ '\n' +
44
+ "<p>Si le pied de page comporte un ciblage par navigation au clavier et qu'il n'y a aucune barre latérale visible, appuyer sur <strong>Maj+Tabulation</strong>\n" +
45
+ " déplace le ciblage vers le premier groupe de barres d'outils et non le dernier.</p>\n" +
46
+ '\n' +
47
+ "<h1>Naviguer au sein des sections de l'interface utilisateur</h1>\n" +
48
+ '\n' +
49
+ "<p>Pour passer d'un élément de l'interface utilisateur au suivant, appuyez sur la <strong>Flèche</strong> appropriée.</p>\n" +
50
+ '\n' +
51
+ '<p>Les touches fléchées <strong>Gauche</strong> et <strong>Droite</strong></p>\n' +
52
+ '\n' +
53
+ '<ul>\n' +
54
+ ' <li>se déplacent entre les menus de la barre des menus.</li>\n' +
55
+ " <li>ouvrent un sous-menu au sein d'un menu.</li>\n" +
56
+ " <li>se déplacent entre les boutons d'un groupe de barres d'outils.</li>\n" +
57
+ " <li>se déplacent entre les éléments du chemin d'éléments du pied de page.</li>\n" +
58
+ '</ul>\n' +
59
+ '\n' +
60
+ '<p>Les touches fléchées <strong>Bas</strong> et <strong>Haut</strong></p>\n' +
61
+ '\n' +
62
+ '<ul>\n' +
63
+ " <li>se déplacent entre les éléments de menu au sein d'un menu.</li>\n" +
64
+ " <li>se déplacent entre les éléments au sein d'un menu contextuel de barre d'outils.</li>\n" +
65
+ '</ul>\n' +
66
+ '\n' +
67
+ "<p>Les <strong>Flèches</strong> parcourent la section de l'interface utilisateur ciblée.</p>\n" +
68
+ '\n' +
69
+ '<p>Pour fermer un menu ouvert, un sous-menu ouvert ou un menu contextuel ouvert, appuyez sur <strong>Echap</strong>.</p>\n' +
70
+ '\n' +
71
+ "<p>Si l'actuel ciblage se trouve en « haut » d'une section spécifique de l'interface utilisateur, appuyer sur <strong>Echap</strong> permet également de quitter\n" +
72
+ ' entièrement la navigation au clavier.</p>\n' +
73
+ '\n' +
74
+ "<h1>Exécuter un élément de menu ou un bouton de barre d'outils</h1>\n" +
75
+ '\n' +
76
+ "<p>Lorsque l'élément de menu ou le bouton de barre d'outils désiré est mis en surbrillance, appuyez sur la touche <strong>Retour arrière</strong>, <strong>Entrée</strong>\n" +
77
+ " ou la <strong>Barre d'espace</strong> pour exécuter l'élément.</p>\n" +
78
+ '\n' +
79
+ '<h1>Naviguer au sein de dialogues sans onglets</h1>\n' +
80
+ '\n' +
81
+ "<p>Dans les dialogues sans onglets, le premier composant interactif est ciblé lorsque le dialogue s'ouvre.</p>\n" +
82
+ '\n' +
83
+ '<p>Naviguez entre les composants du dialogue interactif en appuyant sur <strong>Tabulation</strong> ou <strong>Maj+Tabulation</strong>.</p>\n' +
84
+ '\n' +
85
+ '<h1>Naviguer au sein de dialogues avec onglets</h1>\n' +
86
+ '\n' +
87
+ "<p>Dans les dialogues avec onglets, le premier bouton du menu de l'onglet est ciblé lorsque le dialogue s'ouvre.</p>\n" +
88
+ '\n' +
89
+ '<p>Naviguez entre les composants interactifs de cet onglet de dialogue en appuyant sur <strong>Tabulation</strong> ou\n' +
90
+ ' <strong>Maj+Tabulation</strong>.</p>\n' +
91
+ '\n' +
92
+ "<p>Passez à un autre onglet de dialogue en ciblant le menu de l'onglet et en appuyant sur la <strong>Flèche</strong>\n" +
93
+ ' appropriée pour parcourir les onglets disponibles.</p>\n');
@@ -0,0 +1,93 @@
1
+ tinymce.Resource.add('tinymce.html-i18n.help-keynav.he-IL',
2
+ '<h1>התחל ניווט במקלדת</h1>\n' +
3
+ '\n' +
4
+ '<dl>\n' +
5
+ ' <dt>התמקד בשורת התפריטים</dt>\n' +
6
+ ' <dd>Windows או Linux:‏ Alt+F9</dd>\n' +
7
+ ' <dd>macOS: &#x2325;F9</dd>\n' +
8
+ ' <dt>העבר מיקוד לסרגל הכלים</dt>\n' +
9
+ ' <dd>Windows או Linux:‏ Alt+F10</dd>\n' +
10
+ ' <dd>macOS: &#x2325;F10</dd>\n' +
11
+ ' <dt>העבר מיקוד לכותרת התחתונה</dt>\n' +
12
+ ' <dd>Windows או Linux:‏ Alt+F11</dd>\n' +
13
+ ' <dd>macOS: &#x2325;F11</dd>\n' +
14
+ ' <dt>העבר מיקוד להודעה</dt>\n' +
15
+ ' <dd>Windows או Linux:‏ Alt+F12</dd>\n' +
16
+ ' <dd>macOS: &#x2325;F12</dd>\n' +
17
+ ' <dt>העבר מיקוד לסרגל כלים הקשרי</dt>\n' +
18
+ ' <dd>Windows‏, Linux או macOS:‏ Ctrl+F9</dd>\n' +
19
+ '</dl>\n' +
20
+ '\n' +
21
+ '<p>הניווט יתחיל ברכיב הראשון במשך, שיודגש או שיהיה מתחתיו קו תחתון במקרה של הפריט הראשון\n' +
22
+ ' הנתיב של רכיב הכותרת התחתונה.</p>\n' +
23
+ '\n' +
24
+ '<h1>עבור בין מקטעים במסך</h1>\n' +
25
+ '\n' +
26
+ '<p>כדי לעבור בין המקטעים במסך, הקש <strong>Tab</strong>.</p>\n' +
27
+ '\n' +
28
+ '<p>כדי לעבור למקטע הקודם במסך, הקש <strong>Shift+Tab</strong>.</p>\n' +
29
+ '\n' +
30
+ '<p>הסדר מבחינת מקש <strong>Tab</strong> של הרכיבים במסך:</p>\n' +
31
+ '\n' +
32
+ '<ol>\n' +
33
+ ' <li>שורת התפריטים</li>\n' +
34
+ ' <li>כל קבוצה בסרגל הכלים</li>\n' +
35
+ ' <li>הסרגל הצידי</li>\n' +
36
+ ' <li>נתיב של רכיב בכותרת התחתונה</li>\n' +
37
+ ' <li>לחצן לספירת מילים בכותרת התחתונה</li>\n' +
38
+ ' <li>קישור של המותג בכותרת התחתונה</li>\n' +
39
+ ' <li>ידית לשינוי גודל עבור העורך בכותרת התחתונה</li>\n' +
40
+ '</ol>\n' +
41
+ '\n' +
42
+ '<p>אם רכיב כלשהו במסך לא מופיע, המערכת תדלג עליו.</p>\n' +
43
+ '\n' +
44
+ '<p>אם בכותרת התחתונה יש מיקוד של ניווט במקלדת, ולא מופיע סרגל בצד, יש להקיש <strong>Shift+Tab</strong>\n' +
45
+ ' מעביר את המיקוד לקבוצה הראשונה בסרגל הכלים, לא האחרונה.</p>\n' +
46
+ '\n' +
47
+ '<h1>עבור בתוך מקטעים במסך</h1>\n' +
48
+ '\n' +
49
+ '<p>כדי לעבור מרכיב אחד לרכיב אחר במסך, הקש על מקש <strong>החץ</strong> המתאים.</p>\n' +
50
+ '\n' +
51
+ '<p>מקשי החיצים <strong>שמאלה</strong> ו<strong>ימינה</strong></p>\n' +
52
+ '\n' +
53
+ '<ul>\n' +
54
+ ' <li>עבור בין תפריטים בשורת התפריטים.</li>\n' +
55
+ ' <li>פתח תפריט משני בתפריט.</li>\n' +
56
+ ' <li>עבור בין לחצנים בקבוצה בסרגל הכלים.</li>\n' +
57
+ ' <li>עבור בין פריטים ברכיב בכותרת התחתונה.</li>\n' +
58
+ '</ul>\n' +
59
+ '\n' +
60
+ '<p>מקשי החיצים <strong>למטה</strong> ו<strong>למעלה</strong></p>\n' +
61
+ '\n' +
62
+ '<ul>\n' +
63
+ ' <li>עבור בין פריטים בתפריט.</li>\n' +
64
+ ' <li>עבור בין פריטים בחלון הקובץ של סרגל הכלים.</li>\n' +
65
+ '</ul>\n' +
66
+ '\n' +
67
+ '<p>מקשי <strong>החצים</strong> משתנים בתוך המקטע במסך שעליו נמצא המיקוד.</p>\n' +
68
+ '\n' +
69
+ '<p>כדי לסגור תפריט פתוח, תפריט משני פתוח או חלון קופץ, הקש על <strong>Esc</strong>.</p>\n' +
70
+ '\n' +
71
+ "<p>אם המיקוד הוא על החלק 'העליון' של מקטע מסוים במסך, הקשה על <strong>Esc</strong> מביאה גם ליציאה\n" +
72
+ ' מהניווט במקלדת לחלוטין.</p>\n' +
73
+ '\n' +
74
+ '<h1>הפעל פריט בתפריט או לחצן בסרגל הכלים</h1>\n' +
75
+ '\n' +
76
+ '<p>כאשר הפריט הרצוי בתפריט או הלחצן בסרגל הכלים מודגשים, הקש על <strong>Return</strong>, <strong>Enter</strong>,\n' +
77
+ ' או על <strong>מקש הרווח</strong> כדי להפעיל את הפריט.</p>\n' +
78
+ '\n' +
79
+ '<h1>ניווט בחלונות דו-שיח בלי כרטיסיות</h1>\n' +
80
+ '\n' +
81
+ '<p>בחלונות דו-שיח בלי כרטיסיות, הרכיב האינטראקטיבי הראשון מקבל את המיקוד כאשר החלון נפתח.</p>\n' +
82
+ '\n' +
83
+ '<p>עבור בין רכיבים אינטראקטיביים בחלון על ידי הקשה על <strong>Tab</strong> או <strong>Shift+Tab</strong>.</p>\n' +
84
+ '\n' +
85
+ '<h1>ניווט בחלונות דו-שיח עם כרטיסיות</h1>\n' +
86
+ '\n' +
87
+ '<p>בחלונות דו-שיח עם כרטיסיות, הלחצן הראשון בתפריט מקבל את המיקוד כאשר החלון נפתח.</p>\n' +
88
+ '\n' +
89
+ '<p>עבור בין רכיבים אינטראקטיביים בחלון על ידי הקשה על <strong>Tab</strong> או\n' +
90
+ ' <strong>Shift+Tab</strong>.</p>\n' +
91
+ '\n' +
92
+ '<p>עבור לכרטיסיה אחרת בחלון על ידי העברת המיקוד לתפריט הכרטיסיות והקשה על <strong>החץ</strong>המתאים\n' +
93
+ ' כדי לעבור בין הכרטיסיות הזמינות.</p>\n');
@@ -0,0 +1,93 @@
1
+ tinymce.Resource.add('tinymce.html-i18n.help-keynav.hu-HU',
2
+ '<h1>Billentyűzetes navigáció indítása</h1>\n' +
3
+ '\n' +
4
+ '<dl>\n' +
5
+ ' <dt>Fókusz a menüsávra</dt>\n' +
6
+ ' <dd>Windows és Linux: Alt+F9</dd>\n' +
7
+ ' <dd>macOS: &#x2325;F9</dd>\n' +
8
+ ' <dt>Fókusz az eszköztárra</dt>\n' +
9
+ ' <dd>Windows és Linux: Alt+F10</dd>\n' +
10
+ ' <dd>macOS: &#x2325;F10</dd>\n' +
11
+ ' <dt>Fókusz a láblécre</dt>\n' +
12
+ ' <dd>Windows és Linux: Alt+F11</dd>\n' +
13
+ ' <dd>macOS: &#x2325;F11</dd>\n' +
14
+ ' <dt>Ráközelítés az értesítésre</dt>\n' +
15
+ ' <dd>Windows vagy Linux: Alt+F12</dd>\n' +
16
+ ' <dd>macOS: &#x2325;F12</dd>\n' +
17
+ ' <dt>Fókusz egy környezetfüggő eszköztárra</dt>\n' +
18
+ ' <dd>Windows, Linux és macOS: Ctrl+F9</dd>\n' +
19
+ '</dl>\n' +
20
+ '\n' +
21
+ '<p>A navigáció az első felhasználói felületi elemnél kezdődik, amelyet a rendszer kiemel, illetve aláhúz, amennyiben az az első elem\n' +
22
+ ' a lábléc elemútvonalán.</p>\n' +
23
+ '\n' +
24
+ '<h1>Navigálás a felhasználói felület szakaszai között</h1>\n' +
25
+ '\n' +
26
+ '<p>A felhasználói felület következő szakaszára váltáshoz nyomja meg a <strong>Tab</strong> billentyűt.</p>\n' +
27
+ '\n' +
28
+ '<p>A felhasználói felület előző szakaszára váltáshoz nyomja meg a <strong>Shift+Tab</strong> billentyűt.</p>\n' +
29
+ '\n' +
30
+ '<p>A <strong>Tab</strong> billentyűvel a felhasználói felület szakaszai között a következő sorrendben vált:</p>\n' +
31
+ '\n' +
32
+ '<ol>\n' +
33
+ ' <li>Menüsáv</li>\n' +
34
+ ' <li>Az egyes eszköztárcsoportok</li>\n' +
35
+ ' <li>Oldalsáv</li>\n' +
36
+ ' <li>Elemútvonal a láblécen</li>\n' +
37
+ ' <li>Szószámátkapcsoló gomb a láblécen</li>\n' +
38
+ ' <li>Márkalink a láblécen</li>\n' +
39
+ ' <li>Szerkesztő átméretezési fogópontja a láblécen</li>\n' +
40
+ '</ol>\n' +
41
+ '\n' +
42
+ '<p>Ha a felhasználói felület valamelyik eleme nincs jelen, a rendszer kihagyja.</p>\n' +
43
+ '\n' +
44
+ '<p>Ha a billentyűzetes navigáció fókusza a láblécen van, és nincs látható oldalsáv, a <strong>Shift+Tab</strong>\n' +
45
+ ' billentyűkombináció lenyomásakor az első eszköztárcsoportra ugrik a fókusz, nem az utolsóra.</p>\n' +
46
+ '\n' +
47
+ '<h1>Navigálás a felhasználói felület szakaszain belül</h1>\n' +
48
+ '\n' +
49
+ '<p>A felhasználói felület következő elemére váltáshoz nyomja meg a megfelelő <strong>nyílbillentyűt</strong>.</p>\n' +
50
+ '\n' +
51
+ '<p>A <strong>bal</strong> és a <strong>jobb</strong> nyílgomb</p>\n' +
52
+ '\n' +
53
+ '<ul>\n' +
54
+ ' <li>a menüsávban a menük között vált.</li>\n' +
55
+ ' <li>a menükben megnyit egy almenüt.</li>\n' +
56
+ ' <li>az eszköztárcsoportban a gombok között vált.</li>\n' +
57
+ ' <li>a lábléc elemútvonalán az elemek között vált.</li>\n' +
58
+ '</ul>\n' +
59
+ '\n' +
60
+ '<p>A <strong>le</strong> és a <strong>fel</strong> nyílgomb</p>\n' +
61
+ '\n' +
62
+ '<ul>\n' +
63
+ ' <li>a menükben a menüpontok között vált.</li>\n' +
64
+ ' <li>az eszköztár előugró menüjében az elemek között vált.</li>\n' +
65
+ '</ul>\n' +
66
+ '\n' +
67
+ '<p>A <strong>nyílbillentyűk</strong> lenyomásával körkörösen lépkedhet a fókuszban lévő felhasználói felületi szakasz elemei között.</p>\n' +
68
+ '\n' +
69
+ '<p>A megnyitott menüket, almenüket és előugró menüket az <strong>Esc</strong> billentyűvel zárhatja be.</p>\n' +
70
+ '\n' +
71
+ '<p>Ha a fókusz az aktuális felületi elem „felső” részén van, az <strong>Esc</strong> billentyűvel az egész\n' +
72
+ ' billentyűzetes navigációból kilép.</p>\n' +
73
+ '\n' +
74
+ '<h1>Menüpont vagy eszköztárgomb aktiválása</h1>\n' +
75
+ '\n' +
76
+ '<p>Amikor a kívánt menüelem vagy eszköztárgomb van kijelölve, nyomja meg a <strong>Return</strong>, az <strong>Enter</strong>\n' +
77
+ ' vagy a <strong>Szóköz</strong> billentyűt az adott elem vagy gomb aktiválásához.</p>\n' +
78
+ '\n' +
79
+ '<h1>Navigálás a lapokkal nem rendelkező párbeszédablakokban</h1>\n' +
80
+ '\n' +
81
+ '<p>A lapokkal nem rendelkező párbeszédablakokban az első interaktív összetevő kapja a fókuszt, amikor a párbeszédpanel megnyílik.</p>\n' +
82
+ '\n' +
83
+ '<p>A párbeszédpanelek interaktív összetevői között a <strong>Tab</strong> vagy a <strong>Shift+Tab</strong> billentyűvel navigálhat.</p>\n' +
84
+ '\n' +
85
+ '<h1>Navigálás a lapokkal rendelkező párbeszédablakokban</h1>\n' +
86
+ '\n' +
87
+ '<p>A lapokkal rendelkező párbeszédablakokban a lapmenü első gombja kapja a fókuszt, amikor a párbeszédpanel megnyílik.</p>\n' +
88
+ '\n' +
89
+ '<p>A párbeszédpanel e lapjának interaktív összetevői között a <strong>Tab</strong> vagy\n' +
90
+ ' <strong>Shift+Tab</strong> billentyűvel navigálhat.</p>\n' +
91
+ '\n' +
92
+ '<p>A párbeszédablak másik lapjára úgy léphet, hogy a fókuszt a lapmenüre állítja, majd lenyomja a megfelelő <strong>nyílbillentyűt</strong>\n' +
93
+ ' a rendelkezésre álló lapok közötti lépkedéshez.</p>\n');