@ckeditor/ckeditor5-track-changes 42.0.2 → 43.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/CHANGELOG.md +1 -203
  2. package/build/track-changes.js +2 -2
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/az.js +1 -1
  5. package/build/translations/bg.js +1 -1
  6. package/build/translations/bn.js +1 -1
  7. package/build/translations/ca.js +1 -1
  8. package/build/translations/cs.js +1 -1
  9. package/build/translations/da.js +1 -1
  10. package/build/translations/de.js +1 -1
  11. package/build/translations/el.js +1 -1
  12. package/build/translations/en-au.js +1 -1
  13. package/build/translations/es.js +1 -1
  14. package/build/translations/et.js +1 -1
  15. package/build/translations/fi.js +1 -1
  16. package/build/translations/fr.js +1 -1
  17. package/build/translations/gl.js +1 -1
  18. package/build/translations/he.js +1 -1
  19. package/build/translations/hi.js +1 -1
  20. package/build/translations/hr.js +1 -1
  21. package/build/translations/hu.js +1 -1
  22. package/build/translations/id.js +1 -1
  23. package/build/translations/it.js +1 -1
  24. package/build/translations/ja.js +1 -1
  25. package/build/translations/ko.js +1 -1
  26. package/build/translations/lt.js +1 -1
  27. package/build/translations/lv.js +1 -1
  28. package/build/translations/ms.js +1 -1
  29. package/build/translations/nl.js +1 -1
  30. package/build/translations/no.js +1 -1
  31. package/build/translations/pl.js +1 -1
  32. package/build/translations/pt-br.js +1 -1
  33. package/build/translations/pt.js +1 -1
  34. package/build/translations/ro.js +1 -1
  35. package/build/translations/ru.js +1 -1
  36. package/build/translations/sk.js +1 -1
  37. package/build/translations/sq.js +1 -1
  38. package/build/translations/sr-latn.js +1 -1
  39. package/build/translations/sr.js +1 -1
  40. package/build/translations/sv.js +1 -1
  41. package/build/translations/th.js +1 -1
  42. package/build/translations/tk.js +1 -1
  43. package/build/translations/tr.js +1 -1
  44. package/build/translations/tt.js +1 -1
  45. package/build/translations/uk.js +1 -1
  46. package/build/translations/ur.js +1 -1
  47. package/build/translations/vi.js +1 -1
  48. package/build/translations/zh-cn.js +1 -1
  49. package/build/translations/zh.js +1 -1
  50. package/dist/index.d.ts +1 -0
  51. package/dist/index.js +3 -3
  52. package/dist/integrations/mergefields.d.ts +21 -0
  53. package/dist/trackchangesediting.d.ts +2 -1
  54. package/dist/translations/ar.js +1 -1
  55. package/dist/translations/ar.umd.js +1 -1
  56. package/dist/translations/az.js +1 -1
  57. package/dist/translations/az.umd.js +1 -1
  58. package/dist/translations/bg.js +1 -1
  59. package/dist/translations/bg.umd.js +1 -1
  60. package/dist/translations/bn.js +1 -1
  61. package/dist/translations/bn.umd.js +1 -1
  62. package/dist/translations/ca.js +1 -1
  63. package/dist/translations/ca.umd.js +1 -1
  64. package/dist/translations/cs.js +1 -1
  65. package/dist/translations/cs.umd.js +1 -1
  66. package/dist/translations/da.js +1 -1
  67. package/dist/translations/da.umd.js +1 -1
  68. package/dist/translations/de.js +1 -1
  69. package/dist/translations/de.umd.js +1 -1
  70. package/dist/translations/el.js +1 -1
  71. package/dist/translations/el.umd.js +1 -1
  72. package/dist/translations/en-au.js +1 -1
  73. package/dist/translations/en-au.umd.js +1 -1
  74. package/dist/translations/en.js +1 -1
  75. package/dist/translations/en.umd.js +1 -1
  76. package/dist/translations/es.js +1 -1
  77. package/dist/translations/es.umd.js +1 -1
  78. package/dist/translations/et.js +1 -1
  79. package/dist/translations/et.umd.js +1 -1
  80. package/dist/translations/fi.js +1 -1
  81. package/dist/translations/fi.umd.js +1 -1
  82. package/dist/translations/fr.js +1 -1
  83. package/dist/translations/fr.umd.js +1 -1
  84. package/dist/translations/gl.js +1 -1
  85. package/dist/translations/gl.umd.js +1 -1
  86. package/dist/translations/he.js +1 -1
  87. package/dist/translations/he.umd.js +1 -1
  88. package/dist/translations/hi.js +1 -1
  89. package/dist/translations/hi.umd.js +1 -1
  90. package/dist/translations/hr.js +1 -1
  91. package/dist/translations/hr.umd.js +1 -1
  92. package/dist/translations/hu.js +1 -1
  93. package/dist/translations/hu.umd.js +1 -1
  94. package/dist/translations/id.js +1 -1
  95. package/dist/translations/id.umd.js +1 -1
  96. package/dist/translations/it.js +1 -1
  97. package/dist/translations/it.umd.js +1 -1
  98. package/dist/translations/ja.js +1 -1
  99. package/dist/translations/ja.umd.js +1 -1
  100. package/dist/translations/ko.js +1 -1
  101. package/dist/translations/ko.umd.js +1 -1
  102. package/dist/translations/lt.js +1 -1
  103. package/dist/translations/lt.umd.js +1 -1
  104. package/dist/translations/lv.js +1 -1
  105. package/dist/translations/lv.umd.js +1 -1
  106. package/dist/translations/ms.js +1 -1
  107. package/dist/translations/ms.umd.js +1 -1
  108. package/dist/translations/nl.js +1 -1
  109. package/dist/translations/nl.umd.js +1 -1
  110. package/dist/translations/no.js +1 -1
  111. package/dist/translations/no.umd.js +1 -1
  112. package/dist/translations/pl.js +1 -1
  113. package/dist/translations/pl.umd.js +1 -1
  114. package/dist/translations/pt-br.js +1 -1
  115. package/dist/translations/pt-br.umd.js +1 -1
  116. package/dist/translations/pt.js +1 -1
  117. package/dist/translations/pt.umd.js +1 -1
  118. package/dist/translations/ro.js +1 -1
  119. package/dist/translations/ro.umd.js +1 -1
  120. package/dist/translations/ru.js +1 -1
  121. package/dist/translations/ru.umd.js +1 -1
  122. package/dist/translations/sk.js +1 -1
  123. package/dist/translations/sk.umd.js +1 -1
  124. package/dist/translations/sq.js +1 -1
  125. package/dist/translations/sq.umd.js +1 -1
  126. package/dist/translations/sr-latn.js +1 -1
  127. package/dist/translations/sr-latn.umd.js +1 -1
  128. package/dist/translations/sr.js +1 -1
  129. package/dist/translations/sr.umd.js +1 -1
  130. package/dist/translations/sv.js +1 -1
  131. package/dist/translations/sv.umd.js +1 -1
  132. package/dist/translations/th.js +1 -1
  133. package/dist/translations/th.umd.js +1 -1
  134. package/dist/translations/tk.js +1 -1
  135. package/dist/translations/tk.umd.js +1 -1
  136. package/dist/translations/tr.js +1 -1
  137. package/dist/translations/tr.umd.js +1 -1
  138. package/dist/translations/tt.js +1 -1
  139. package/dist/translations/tt.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/dist/ui/view/basesuggestionthreadview.d.ts +32 -3
  151. package/dist/ui/view/suggestionthreadview.d.ts +16 -9
  152. package/dist/utils/utils.d.ts +7 -0
  153. package/lang/contexts.json +3 -0
  154. package/lang/translations/ar.po +27 -3
  155. package/lang/translations/az.po +16 -0
  156. package/lang/translations/bg.po +19 -3
  157. package/lang/translations/bn.po +19 -3
  158. package/lang/translations/ca.po +19 -3
  159. package/lang/translations/cs.po +23 -3
  160. package/lang/translations/da.po +19 -3
  161. package/lang/translations/de.po +19 -3
  162. package/lang/translations/el.po +19 -3
  163. package/lang/translations/en-au.po +16 -0
  164. package/lang/translations/en.po +19 -3
  165. package/lang/translations/es.po +21 -3
  166. package/lang/translations/et.po +19 -3
  167. package/lang/translations/fi.po +19 -3
  168. package/lang/translations/fr.po +21 -3
  169. package/lang/translations/gl.po +19 -3
  170. package/lang/translations/he.po +21 -3
  171. package/lang/translations/hi.po +19 -3
  172. package/lang/translations/hr.po +18 -0
  173. package/lang/translations/hu.po +19 -3
  174. package/lang/translations/id.po +17 -3
  175. package/lang/translations/it.po +21 -3
  176. package/lang/translations/ja.po +17 -3
  177. package/lang/translations/ko.po +17 -3
  178. package/lang/translations/lt.po +23 -3
  179. package/lang/translations/lv.po +21 -3
  180. package/lang/translations/ms.po +17 -3
  181. package/lang/translations/nl.po +19 -3
  182. package/lang/translations/no.po +19 -3
  183. package/lang/translations/pl.po +23 -3
  184. package/lang/translations/pt-br.po +21 -3
  185. package/lang/translations/pt.po +21 -3
  186. package/lang/translations/ro.po +21 -3
  187. package/lang/translations/ru.po +23 -3
  188. package/lang/translations/sk.po +23 -3
  189. package/lang/translations/sq.po +16 -0
  190. package/lang/translations/sr-latn.po +21 -3
  191. package/lang/translations/sr.po +21 -3
  192. package/lang/translations/sv.po +19 -3
  193. package/lang/translations/th.po +17 -3
  194. package/lang/translations/tk.po +16 -0
  195. package/lang/translations/tr.po +19 -3
  196. package/lang/translations/tt.po +14 -0
  197. package/lang/translations/uk.po +23 -3
  198. package/lang/translations/ur.po +16 -0
  199. package/lang/translations/vi.po +17 -3
  200. package/lang/translations/zh-cn.po +17 -3
  201. package/lang/translations/zh.po +17 -3
  202. package/package.json +10 -10
  203. package/src/commands/acceptsuggestioncommand.js +1 -1
  204. package/src/commands/discardsuggestioncommand.js +1 -1
  205. package/src/commands/executeonallsuggestionscommand.js +1 -1
  206. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  207. package/src/commands/trackchangescommand.js +1 -1
  208. package/src/index.d.ts +1 -0
  209. package/src/index.js +1 -1
  210. package/src/integrations/aiassistant.js +1 -1
  211. package/src/integrations/alignment.js +1 -1
  212. package/src/integrations/basicstyles.js +1 -1
  213. package/src/integrations/blockquote.js +1 -1
  214. package/src/integrations/casechange.js +1 -1
  215. package/src/integrations/ckbox.js +1 -1
  216. package/src/integrations/codeblock.js +1 -1
  217. package/src/integrations/comments.js +1 -1
  218. package/src/integrations/deletecommand.js +1 -1
  219. package/src/integrations/entercommand.js +1 -1
  220. package/src/integrations/findandreplace.js +1 -1
  221. package/src/integrations/font.js +1 -1
  222. package/src/integrations/formatpainter.js +1 -1
  223. package/src/integrations/heading.js +1 -1
  224. package/src/integrations/highlight.js +1 -1
  225. package/src/integrations/horizontalline.js +1 -1
  226. package/src/integrations/htmlembed.js +1 -1
  227. package/src/integrations/image.js +1 -1
  228. package/src/integrations/imagereplace.js +1 -1
  229. package/src/integrations/imagestyle.js +1 -1
  230. package/src/integrations/importword.js +1 -1
  231. package/src/integrations/indent.js +1 -1
  232. package/src/integrations/inputcommand.js +1 -1
  233. package/src/integrations/legacylist.js +1 -1
  234. package/src/integrations/legacylistproperties.js +1 -1
  235. package/src/integrations/link.js +1 -1
  236. package/src/integrations/list.js +1 -1
  237. package/src/integrations/listproperties.js +1 -1
  238. package/src/integrations/mediaembed.js +1 -1
  239. package/src/integrations/mention.js +1 -1
  240. package/src/integrations/mergefields.d.ts +17 -0
  241. package/src/integrations/mergefields.js +23 -0
  242. package/src/integrations/multilevellist.js +1 -1
  243. package/src/integrations/pagebreak.js +1 -1
  244. package/src/integrations/paragraph.js +1 -1
  245. package/src/integrations/removeformat.js +1 -1
  246. package/src/integrations/restrictededitingmode.js +1 -1
  247. package/src/integrations/shiftentercommand.js +1 -1
  248. package/src/integrations/standardeditingmode.js +1 -1
  249. package/src/integrations/style.js +1 -1
  250. package/src/integrations/table.js +1 -1
  251. package/src/integrations/tablecaption.js +1 -1
  252. package/src/integrations/tableclipboard.js +1 -1
  253. package/src/integrations/tablecolumnresize.js +1 -1
  254. package/src/integrations/tableheadings.js +1 -1
  255. package/src/integrations/tablemergesplit.js +1 -1
  256. package/src/integrations/tableofcontents.js +1 -1
  257. package/src/integrations/tableproperties.js +1 -1
  258. package/src/integrations/template.js +1 -1
  259. package/src/integrations/title.js +1 -1
  260. package/src/integrations/undo.js +1 -1
  261. package/src/integrations/utils.js +1 -1
  262. package/src/suggestion.js +2 -2
  263. package/src/suggestiondescriptionfactory.js +1 -1
  264. package/src/trackchanges.js +1 -1
  265. package/src/trackchangesdata.js +1 -1
  266. package/src/trackchangesediting.d.ts +2 -1
  267. package/src/trackchangesediting.js +1 -1
  268. package/src/trackchangesui.js +1 -1
  269. package/src/ui/suggestioncontroller.js +2 -2
  270. package/src/ui/view/basesuggestionthreadview.d.ts +32 -3
  271. package/src/ui/view/basesuggestionthreadview.js +1 -1
  272. package/src/ui/view/suggestionthreadview.d.ts +16 -9
  273. package/src/ui/view/suggestionthreadview.js +1 -1
  274. package/src/utils/common-translations.js +1 -1
  275. package/src/utils/utils.d.ts +7 -0
  276. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ccb(_0x104ad7,_0x213718){const _0x222e53=_0x222e();return _0x4ccb=function(_0x4ccb23,_0x6f8953){_0x4ccb23=_0x4ccb23-0x65;let _0x7ade9e=_0x222e53[_0x4ccb23];return _0x7ade9e;},_0x4ccb(_0x104ad7,_0x213718);}const _0x40db61=_0x4ccb;(function(_0x4625da,_0x270688){const _0x1a54a0=_0x4ccb,_0x2dc9c5=_0x4625da();while(!![]){try{const _0x546511=-parseInt(_0x1a54a0(0xa4))/0x1+-parseInt(_0x1a54a0(0x8e))/0x2*(-parseInt(_0x1a54a0(0xc8))/0x3)+-parseInt(_0x1a54a0(0x9f))/0x4*(parseInt(_0x1a54a0(0xe4))/0x5)+parseInt(_0x1a54a0(0xd9))/0x6+-parseInt(_0x1a54a0(0xf2))/0x7+-parseInt(_0x1a54a0(0xc2))/0x8+parseInt(_0x1a54a0(0xbe))/0x9;if(_0x546511===_0x270688)break;else _0x2dc9c5['push'](_0x2dc9c5['shift']());}catch(_0x2c5f8f){_0x2dc9c5['push'](_0x2dc9c5['shift']());}}}(_0x222e,0xd0968));import{Plugin as _0x2fd630}from'ckeditor5/src/core.js';import{Collection as _0x508543}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x3ea26d,createDropdown as _0x24989f,ListSeparatorView as _0x360c3c,MenuBarMenuView as _0x4351a6,MenuBarMenuListView as _0x562537,MenuBarMenuListItemView as _0x136124,MenuBarMenuListItemButtonView as _0x410a86,SplitButtonView as _0xf744d9,ViewModel as _0x6b3da6}from'ckeditor5/src/ui.js';import{Users as _0x2505f6,getDateTimeFormatter as _0x3e9b00,getAllMarkersDomElementsSorted as _0x503acb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2b99c1 from'./trackchangesediting.js';import _0x177234 from'./ui/suggestioncontroller.js';function _0x222e(){const _0x288cd0=['_createToolbarButton','type','isInContent','reduce','getSuggestion','trackChanges','items','requires','comments.maxThreadTotalWeight','addSourceCollector','suggestionUnloaded','isMultiRange','commands','1413420BtzhMp','SuggestionThreadView','execute','change:previous','_addUIComponentsToFactory','set','componentFactory','has','commentThread','getMarkers','get','7622975KcZBRn','menuitem','destroy','panelView','buttonView','suggestionLoaded','_handleSuggestionControllerDelayed','init','filter','acceptAllSuggestions','createCommentThreadController','getJoined','_viewToController','editor','6139959ndNTdV','addComment','getRanges','_handleControllerBuffer','suggestionChanged','add','source','change:activeAnnotations','isEnabled','_initializeController','_refreshActiveMarkers','editing','CommentsUI','menu','TrackChangesEditing','length','toMany','previous','_disableComments','refreshSelectedViews','CommentView','Discard\x20all\x20suggestions','trackChanges.SuggestionThreadView','_destroyController','innerView','from','suggestion-','model','createAnnotation','menuitemcheckbox','CommentsRepository','config','separator','activeAnnotations','actionView','switchbutton','registerAnnotation','discardButton','children','some','listenTo','delete','hasSuggestion','arrowView','2agitfR','define','menuBar:trackChanges','remove','button','comments.maxCommentCharsWhenCollapsed','_unbindEditors','Annotations','values','discardSelectedSuggestions','descriptionFactory','descriptionParts','_bindAnnotationToEditors','stopListening','plugins','Accept\x20all\x20suggestions','head','4ZpAWbi','discardAllSuggestions','acceptSelectedSuggestions','comments','commandName','9293jXHmGq','isDirty','_annotationViews','focus','pluginName','keys','getMarkerNames','view','createAnnotationView','getByInnerView','trackChanges.disableComments','locale','delegate','Accept\x20all\x20selected\x20suggestions','getFirstRange','acceptButton','mainView','lowest','Track\x20changes','_createMenuBarMenu','getAllAdjacentSuggestions','isOn','_suggestionToController','TrackChangesUI','bind','clear','30233115vRogZH','EditorAnnotations','push','_updateController','2677128rjWYcC','getDescriptions','size','activeMarkers','unbind','comments.maxCommentsWhenCollapsed','15711kWZUkB','value','Discard\x20all\x20selected\x20suggestions','comments.editorConfig'];_0x222e=function(){return _0x288cd0;};return _0x222e();}import _0x1320ff from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x498b1b}from'./utils/common-translations.js';import _0x3d8676 from'../theme/icons/track-changes.svg';export default class d extends _0x2fd630{static get[_0x40db61(0xd3)](){const _0x41b6b3=_0x40db61;return[_0x2b99c1,_0x2505f6,_0x41b6b3(0x80),_0x41b6b3(0x95),_0x41b6b3(0xbf)];}static get[_0x40db61(0xa8)](){const _0x1b43fa=_0x40db61;return _0x1b43fa(0xbb);}constructor(_0x48aceb){const _0x4dcd63=_0x40db61;super(_0x48aceb),this[_0x4dcd63(0xba)]=new Map(),this[_0x4dcd63(0xf0)]=new Map(),this[_0x4dcd63(0xa6)]=new Map(),this[_0x4dcd63(0x65)]=new Map();const _0x54b9e4=this[_0x4dcd63(0xf1)][_0x4dcd63(0x81)];_0x54b9e4[_0x4dcd63(0x8f)](_0x4dcd63(0x78),_0x1320ff),_0x54b9e4[_0x4dcd63(0x8f)](_0x4dcd63(0xae),!0x1),this[_0x4dcd63(0x74)]=_0x54b9e4[_0x4dcd63(0xe3)](_0x4dcd63(0xae));}[_0x40db61(0xea)](_0x2cd42b,_0xc97ef3){const _0x31c1c1=_0x40db61;0x0===this[_0x31c1c1(0x65)][_0x31c1c1(0xc4)]&&setTimeout(()=>{const _0x504cd3=_0x31c1c1;for(const [_0x1ca2a7,_0x5a4994]of this[_0x504cd3(0x65)]){const _0x5e6387=this[_0x504cd3(0xba)][_0x504cd3(0xe0)](_0x1ca2a7);_0x5e6387||_0x5a4994?_0x5e6387&&_0x5a4994&&this[_0x504cd3(0x79)](_0x1ca2a7):this[_0x504cd3(0x6b)](_0x1ca2a7);}this[_0x504cd3(0x65)][_0x504cd3(0xbd)](),this[_0x504cd3(0xf1)][_0x504cd3(0x9c)][_0x504cd3(0xe3)](_0x504cd3(0xbf))[_0x504cd3(0x75)](),this[_0x504cd3(0x6c)]();},0xa),this[_0x31c1c1(0x65)][_0x31c1c1(0xde)](_0x2cd42b,_0xc97ef3);}[_0x40db61(0xeb)](){const _0x404b7d=_0x40db61,_0x329fcd=this[_0x404b7d(0xf1)],_0x27ed57=_0x329fcd[_0x404b7d(0x9c)][_0x404b7d(0xe3)](_0x404b7d(0x70)),_0xb6c6b4=_0x329fcd[_0x404b7d(0x9c)][_0x404b7d(0xe3)](_0x404b7d(0x95)),_0x4d69dd=_0x329fcd[_0x404b7d(0x9c)][_0x404b7d(0xe3)](_0x404b7d(0xbf)),_0x4fea48=_0x329fcd[_0x404b7d(0x9c)][_0x404b7d(0xe3)](_0x404b7d(0x80));this[_0x404b7d(0xdd)](),_0x4d69dd[_0x404b7d(0xd5)](()=>{const _0x48a522=_0x404b7d,_0x273231=[];for(const [_0x26ec9b,_0x4a6659]of Array[_0x48a522(0x7b)](this[_0x48a522(0xba)])){const _0x749d81=_0x26ec9b[_0x48a522(0xb8)](),_0x4eb338=[];for(const _0x85b0bb of _0x749d81){if(!_0x85b0bb[_0x48a522(0xce)])continue;if(_0x85b0bb[_0x48a522(0xd7)]){_0x4eb338[_0x48a522(0xc0)](..._0x85b0bb[_0x48a522(0xf4)]());continue;}const _0x339590=_0x85b0bb[_0x48a522(0xb2)]();if(_0x4eb338[_0x48a522(0x71)]>0x0){const _0x32f413=_0x4eb338[0x0][_0x48a522(0xef)](_0x339590);if(_0x32f413){_0x4eb338[0x0]=_0x32f413;continue;}}_0x4eb338[_0x48a522(0xc0)](_0x339590);}_0x273231[_0x48a522(0xc0)]([_0x4a6659[_0x48a522(0xab)],_0x4eb338]);}return _0x273231;}),this[_0x404b7d(0x8a)](_0x27ed57,_0x404b7d(0xe9),(_0x339b30,_0x4fe931)=>{const _0x36aa51=_0x404b7d;this[_0x36aa51(0x8a)](_0x4fe931,_0x36aa51(0xdc),(_0x7b8309,_0x384118,_0x419ed9,_0x3c7cdd)=>{const _0x5f361e=_0x36aa51;_0x4fe931[_0x5f361e(0xce)]&&(null==_0x419ed9?(this[_0x5f361e(0xc1)](_0x3c7cdd[_0x5f361e(0x9e)]),this[_0x5f361e(0xea)](_0x4fe931,!0x1)):(this[_0x5f361e(0xc1)](_0x419ed9[_0x5f361e(0x9e)]),null==_0x3c7cdd&&this[_0x5f361e(0xea)](_0x4fe931,!0x0)));}),null!==_0x4fe931[_0x36aa51(0x73)]?this[_0x36aa51(0xc1)](_0x4fe931[_0x36aa51(0x9e)]):this[_0x36aa51(0xea)](_0x4fe931,!0x1);}),this[_0x404b7d(0x8a)](_0x27ed57,_0x404b7d(0xd6),(_0x3d349d,_0x18b872,_0x1216e8)=>{const _0xe4f156=_0x404b7d;this[_0xe4f156(0x9b)](_0x18b872,_0xe4f156(0xdc)),this[_0xe4f156(0x65)][_0xe4f156(0x8b)](_0x18b872),this[_0xe4f156(0xba)][_0xe4f156(0xe0)](_0x18b872)&&this[_0xe4f156(0x79)](_0x18b872),_0x1216e8&&this[_0xe4f156(0xc1)](_0x1216e8[_0xe4f156(0x9e)]);}),this[_0x404b7d(0x8a)](_0x27ed57,_0x404b7d(0x66),(_0x44395c,_0x3b31d8)=>{const _0x55b077=_0x404b7d;this[_0x55b077(0xc1)](_0x3b31d8);}),this[_0x404b7d(0x8a)](_0xb6c6b4,_0x404b7d(0x69),()=>{const _0x2485c9=_0x404b7d;this[_0x2485c9(0x6c)]();}),this[_0x404b7d(0x8a)](_0x4fea48,_0x404b7d(0xf3),(_0x4dbb9e,{threadId:_0xe6dbb,isFromAdapter:_0x25d6b5})=>{const _0x3f13fe=_0x404b7d;if(_0x25d6b5||!_0x27ed57[_0x3f13fe(0x8c)](_0xe6dbb))return;const _0x532368=_0x27ed57[_0x3f13fe(0xd0)](_0xe6dbb);this[_0x3f13fe(0xba)][_0x3f13fe(0xe3)](_0x532368)[_0x3f13fe(0xab)][_0x3f13fe(0xa7)]();},{'priority':_0x404b7d(0xb5)});}[_0x40db61(0x6c)](){const _0x499c83=_0x40db61,_0x4fd6aa=this[_0x499c83(0xf1)][_0x499c83(0x9c)][_0x499c83(0xe3)](_0x499c83(0x95)),_0x1bf374=this[_0x499c83(0xf1)][_0x499c83(0x9c)][_0x499c83(0xe3)](_0x499c83(0x70)),_0x3495cb=Array[_0x499c83(0x7b)](_0x4fd6aa[_0x499c83(0x83)],_0x9d7689=>_0x9d7689[_0x499c83(0x7a)])[_0x499c83(0xec)](_0x2bb0b9=>this[_0x499c83(0xf0)][_0x499c83(0xe0)](_0x2bb0b9)),_0x1ab5da=[];for(const _0x45c106 of _0x3495cb){const _0x15b0bb=this[_0x499c83(0xf0)][_0x499c83(0xe3)](_0x45c106)[_0x499c83(0x7d)][_0x499c83(0xb8)]();_0x1ab5da[_0x499c83(0xc0)](..._0x15b0bb[_0x499c83(0xcf)]((_0x2617f6,_0x31431c)=>[..._0x2617f6,..._0x31431c[_0x499c83(0xaa)]()],[]));}_0x1bf374[_0x499c83(0xc5)]=_0x1ab5da;}[_0x40db61(0xdd)](){const _0xd0079e=_0x40db61,_0x476c70=this[_0xd0079e(0xf1)],_0x2e952a=_0x476c70[_0xd0079e(0xaf)],_0x58c696=_0x498b1b(_0x2e952a,_0xd0079e(0xb6)),_0x424547=new _0x508543([{'type':_0xd0079e(0x85),'model':new _0x6b3da6({'withText':!0x0,'label':_0x58c696,'commandName':_0xd0079e(0xd1),'role':_0xd0079e(0x7f)})},{'type':_0xd0079e(0x82)},{'type':_0xd0079e(0x92),'model':new _0x6b3da6({'withText':!0x0,'label':_0x498b1b(_0x2e952a,_0xd0079e(0x9d)),'commandName':_0xd0079e(0xed),'role':_0xd0079e(0xe5)})},{'type':_0xd0079e(0x92),'model':new _0x6b3da6({'withText':!0x0,'label':_0x498b1b(_0x2e952a,_0xd0079e(0xb1)),'commandName':_0xd0079e(0xa1),'role':_0xd0079e(0xe5)})},{'type':_0xd0079e(0x92),'model':new _0x6b3da6({'withText':!0x0,'label':_0x498b1b(_0x2e952a,_0xd0079e(0x77)),'commandName':_0xd0079e(0xa0),'role':_0xd0079e(0xe5)})},{'type':_0xd0079e(0x92),'model':new _0x6b3da6({'withText':!0x0,'label':_0x498b1b(_0x2e952a,_0xd0079e(0xca)),'commandName':_0xd0079e(0x97),'role':_0xd0079e(0xe5)})}]);for(const _0x402fbe of _0x424547)if(ae(_0x402fbe)){const _0x646488=_0x476c70[_0xd0079e(0xd8)][_0xd0079e(0xe3)](_0x402fbe[_0xd0079e(0x7d)][_0xd0079e(0xa3)]);_0x402fbe[_0xd0079e(0x7d)][_0xd0079e(0xbc)](_0xd0079e(0xb9),_0xd0079e(0x6a))['to'](_0x646488,_0xd0079e(0xc9),_0xd0079e(0x6a));}_0x476c70['ui'][_0xd0079e(0xdf)][_0xd0079e(0x67)](_0xd0079e(0xd1),_0x35c5e6=>this[_0xd0079e(0xcc)](_0x35c5e6,_0x424547,_0x58c696)),_0x476c70['ui'][_0xd0079e(0xdf)][_0xd0079e(0x67)](_0xd0079e(0x90),_0x4e34eb=>this[_0xd0079e(0xb7)](_0x4e34eb,_0x424547,_0x58c696));}[_0x40db61(0xcc)](_0x27914a,_0x4e15cd,_0x1b1217){const _0x2053a1=_0x40db61,_0x5d362b=_0x24989f(_0x27914a,_0xf744d9),_0xf08172=this[_0x2053a1(0xf1)][_0x2053a1(0xd8)][_0x2053a1(0xe3)](_0x2053a1(0xd1));_0x5d362b[_0x2053a1(0xe8)][_0x2053a1(0xde)]({'tooltip':_0x1b1217,'label':_0x1b1217,'icon':_0x3d8676}),_0x5d362b[_0x2053a1(0xe8)][_0x2053a1(0xbc)](_0x2053a1(0xb9))['to'](_0xf08172,_0x2053a1(0xc9)),_0x5d362b[_0x2053a1(0xe8)]['on'](_0x2053a1(0xdb),()=>{const _0x3a4dac=_0x2053a1;_0xf08172[_0x3a4dac(0xdb)](),this[_0x3a4dac(0xf1)][_0x3a4dac(0x6d)][_0x3a4dac(0xab)][_0x3a4dac(0xa7)]();}),_0x3ea26d(_0x5d362b,_0x4e15cd,{'role':_0x2053a1(0x6f)});const _0x3b86b3=[];for(const _0x20cf10 of _0x4e15cd)ae(_0x20cf10)&&_0x3b86b3[_0x2053a1(0xc0)](this[_0x2053a1(0xf1)][_0x2053a1(0xd8)][_0x2053a1(0xe3)](_0x20cf10[_0x2053a1(0x7d)][_0x2053a1(0xa3)]));const _0x41f738=_0x5d362b[_0x2053a1(0xe8)];return _0x41f738[_0x2053a1(0x84)][_0x2053a1(0xc6)](_0x2053a1(0x6a)),_0x41f738[_0x2053a1(0x8d)][_0x2053a1(0xc6)](_0x2053a1(0x6a)),_0x41f738[_0x2053a1(0x84)][_0x2053a1(0xbc)](_0x2053a1(0x6a))['to'](_0xf08172,_0x2053a1(0x6a)),_0x41f738[_0x2053a1(0x8d)][_0x2053a1(0xbc)](_0x2053a1(0x6a))[_0x2053a1(0x72)](_0x3b86b3,_0x2053a1(0x6a),(..._0x5de8a9)=>_0x5de8a9[_0x2053a1(0x89)](_0x172269=>_0x172269)),_0x5d362b['on'](_0x2053a1(0xdb),_0x430648=>{const _0xa3a4b1=_0x2053a1;this[_0xa3a4b1(0xf1)][_0xa3a4b1(0xdb)](_0x430648[_0xa3a4b1(0x68)][_0xa3a4b1(0xa3)]),this[_0xa3a4b1(0xf1)][_0xa3a4b1(0x6d)][_0xa3a4b1(0xab)][_0xa3a4b1(0xa7)]();}),_0x5d362b;}[_0x40db61(0xb7)](_0x5494e5,_0x68bb98,_0x14894a){const _0x8733eb=_0x40db61,_0xa4617f=new _0x4351a6(_0x5494e5),_0x4181c9=this[_0x8733eb(0xf1)][_0x8733eb(0xd8)][_0x8733eb(0xe3)](_0x8733eb(0xd1));_0xa4617f[_0x8733eb(0xe8)][_0x8733eb(0xde)]({'label':_0x14894a,'icon':_0x3d8676});const _0x12d2e0=new _0x562537(_0x5494e5);for(const _0x51823d of _0x68bb98){if(_0x8733eb(0x82)==_0x51823d[_0x8733eb(0xcd)]){_0x12d2e0[_0x8733eb(0xd2)][_0x8733eb(0x67)](new _0x360c3c(_0x5494e5));continue;}const _0x16170c=new _0x136124(_0x5494e5,_0xa4617f),_0x7e553c=new _0x410a86(_0x5494e5),_0x356c32=_0x51823d[_0x8733eb(0x7d)];_0x7e553c[_0x8733eb(0xbc)](...Object[_0x8733eb(0xa9)](_0x356c32))['to'](_0x356c32),_0x7e553c[_0x8733eb(0xb0)](_0x8733eb(0xdb))['to'](_0xa4617f),_0x7e553c['on'](_0x8733eb(0xdb),()=>{const _0x2fb2fd=_0x8733eb;this[_0x2fb2fd(0xf1)][_0x2fb2fd(0xdb)](_0x356c32[_0x2fb2fd(0xa3)]),this[_0x2fb2fd(0xf1)][_0x2fb2fd(0x6d)][_0x2fb2fd(0xab)][_0x2fb2fd(0xa7)]();}),_0x16170c[_0x8733eb(0x88)][_0x8733eb(0x67)](_0x7e553c),_0x12d2e0[_0x8733eb(0xd2)][_0x8733eb(0x67)](_0x16170c);}return _0xa4617f[_0x8733eb(0xbc)](_0x8733eb(0x6a))['to'](_0x4181c9,_0x8733eb(0x6a)),_0xa4617f[_0x8733eb(0xe7)][_0x8733eb(0x88)][_0x8733eb(0x67)](_0x12d2e0),_0xa4617f;}[_0x40db61(0x6b)](_0x5396c2){const _0x1a773f=_0x40db61,_0x404077=this[_0x1a773f(0xf1)],_0x2297e7=_0x404077[_0x1a773f(0x81)],_0x4bc3a5=_0x404077[_0x1a773f(0x9c)][_0x1a773f(0xe3)](_0x1a773f(0x95)),_0x2351fa=_0x404077[_0x1a773f(0x9c)][_0x1a773f(0xe3)](_0x1a773f(0x80)),_0x5c091a=_0x404077[_0x1a773f(0x9c)][_0x1a773f(0xe3)](_0x1a773f(0xbf)),_0x78134=_0x404077[_0x1a773f(0x9c)][_0x1a773f(0xe3)](_0x2505f6)['me'],_0x52ac8f=_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0xd1))[_0x1a773f(0xda)],{CommentsListView:_0xadac87,CommentThreadInputView:_0x370865}=_0x404077[_0x1a773f(0x9c)][_0x1a773f(0xe3)](_0x1a773f(0x6e));let _0x4f850d,_0x106b4b;this[_0x1a773f(0xa6)][_0x1a773f(0xe0)](_0x5396c2['id'])?(_0x106b4b=this[_0x1a773f(0xa6)][_0x1a773f(0xe3)](_0x5396c2['id']),_0x4f850d=_0x106b4b[_0x1a773f(0xb4)]):(_0x4f850d=new _0x52ac8f(_0x404077[_0x1a773f(0xaf)],_0x5396c2,_0x78134,{'disableComments':this[_0x1a773f(0x74)],'editorConfig':_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0xcb)),'maxCommentsWhenCollapsed':_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0xc7)),'maxThreadTotalWeight':_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0xd4)),'maxCommentCharsWhenCollapsed':_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0x93)),'formatDateTime':_0x3e9b00(_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0xaf))),'CommentView':_0x2297e7[_0x1a773f(0xe3)](_0x1a773f(0xa2))[_0x1a773f(0x76)],'CommentsListView':_0xadac87,'CommentThreadInputView':_0x370865}),_0x4f850d[_0x1a773f(0xb3)]['on'](_0x1a773f(0xdb),()=>{const _0x2ce0c6=_0x1a773f;_0x404077[_0x2ce0c6(0x6d)][_0x2ce0c6(0xab)][_0x2ce0c6(0xa7)]();}),_0x4f850d[_0x1a773f(0x87)]['on'](_0x1a773f(0xdb),()=>{const _0x576d2f=_0x1a773f;_0x404077[_0x576d2f(0x6d)][_0x576d2f(0xab)][_0x576d2f(0xa7)]();}),_0x106b4b=_0x4bc3a5[_0x1a773f(0xac)](this[_0x1a773f(0xf1)][_0x1a773f(0xaf)],_0x4f850d),_0x106b4b[_0x1a773f(0xbc)](_0x1a773f(0xa5))['to'](_0x4f850d,_0x1a773f(0xa5)),_0x106b4b[_0x1a773f(0xbc)](_0x1a773f(0x71))['to'](_0x4f850d),_0x106b4b[_0x1a773f(0xbc)](_0x1a773f(0xcd))['to'](_0x4f850d,_0x1a773f(0xcd),_0x5f1146=>_0x1a773f(0x7c)+_0x5f1146),this[_0x1a773f(0xa6)][_0x1a773f(0xde)](_0x5396c2['id'],_0x106b4b));const _0x28e2c4=_0x2351fa[_0x1a773f(0xee)](_0x5396c2[_0x1a773f(0xe1)],_0x4f850d),_0x31d1fd=new _0x177234(_0x404077,_0x5396c2,_0x4f850d,_0x28e2c4),_0x570266=_0x5396c2[_0x1a773f(0xb8)]()[_0x1a773f(0xec)](_0x87206e=>_0x87206e[_0x1a773f(0xce)]);_0x4f850d[_0x1a773f(0x99)]=_0x404077[_0x1a773f(0x9c)][_0x1a773f(0xe3)](_0x1a773f(0x70))[_0x1a773f(0x98)][_0x1a773f(0xc3)](_0x570266),this[_0x1a773f(0xba)][_0x1a773f(0xde)](_0x5396c2,_0x31d1fd),this[_0x1a773f(0xf0)][_0x1a773f(0xde)](_0x4f850d,_0x31d1fd);const _0x20b211=_0x4bc3a5[_0x1a773f(0x7e)]({'view':_0x106b4b,'target':()=>{const _0x25e8ce=_0x1a773f,_0x269e5a=[],_0x5c6ece=_0x5396c2[_0x25e8ce(0xb8)]()[_0x25e8ce(0xec)](_0x4d3289=>_0x4d3289[_0x25e8ce(0xce)]);for(const _0x40d5db of _0x5c6ece)_0x269e5a[_0x25e8ce(0xc0)](..._0x40d5db[_0x25e8ce(0xe2)]());return _0x503acb(_0x404077[_0x25e8ce(0x6d)],_0x269e5a);},'type':()=>_0x1a773f(0x7c)+_0x31d1fd[_0x1a773f(0xab)][_0x1a773f(0xcd)]});_0x2351fa[_0x1a773f(0x9a)](_0x4f850d,_0x20b211),_0x4bc3a5[_0x1a773f(0x67)](_0x20b211),_0x5c091a[_0x1a773f(0x86)](_0x20b211);}[_0x40db61(0x79)](_0x349f5b){const _0x265f92=_0x40db61,_0xd35ddc=this[_0x265f92(0xf1)][_0x265f92(0x9c)][_0x265f92(0xe3)](_0x265f92(0x80)),_0x185d57=this[_0x265f92(0xf1)][_0x265f92(0x9c)][_0x265f92(0xe3)](_0x265f92(0x95)),_0x1cf69c=this[_0x265f92(0xba)][_0x265f92(0xe3)](_0x349f5b),_0x3ea802=_0x1cf69c[_0x265f92(0xab)],_0xc9bcf4=_0x185d57[_0x265f92(0xad)](_0x3ea802);_0xd35ddc[_0x265f92(0x94)](_0x3ea802),_0xc9bcf4&&_0x185d57[_0x265f92(0x91)](_0xc9bcf4),this[_0x265f92(0xba)][_0x265f92(0x8b)](_0x349f5b),this[_0x265f92(0xf0)][_0x265f92(0x8b)](_0x3ea802),_0x1cf69c[_0x265f92(0xe6)]();}[_0x40db61(0xc1)](_0x511136){const _0x555f6e=_0x40db61;if(!_0x511136[_0x555f6e(0xce)]||!this[_0x555f6e(0xba)][_0x555f6e(0xe0)](_0x511136))return;const _0xbd4bc9=this[_0x555f6e(0xf1)][_0x555f6e(0x9c)][_0x555f6e(0xe3)](_0x555f6e(0x70)),_0x3da3d4=this[_0x555f6e(0xba)][_0x555f6e(0xe3)](_0x511136),_0x93be03=_0x511136[_0x555f6e(0xb8)]();_0x3da3d4[_0x555f6e(0xab)][_0x555f6e(0x99)]=_0xbd4bc9[_0x555f6e(0x98)][_0x555f6e(0xc3)](_0x93be03);}[_0x40db61(0xe6)](){const _0x5c528c=_0x40db61;for(const _0x1623ae of this[_0x5c528c(0xba)][_0x5c528c(0xa9)]())this[_0x5c528c(0x79)](_0x1623ae);for(const _0x566cc8 of this[_0x5c528c(0xa6)][_0x5c528c(0x96)]())_0x566cc8[_0x5c528c(0xb4)][_0x5c528c(0xe6)]();super[_0x5c528c(0xe6)]();}}function ae(_0x13e2e7){const _0x100516=_0x40db61;return _0x100516(0x7d)in _0x13e2e7;}
23
+ const _0x252c26=_0x4fb2;(function(_0x5111f3,_0x4cd471){const _0x293834=_0x4fb2,_0x414922=_0x5111f3();while(!![]){try{const _0x15a00e=parseInt(_0x293834(0x161))/0x1+-parseInt(_0x293834(0x185))/0x2+-parseInt(_0x293834(0x153))/0x3*(parseInt(_0x293834(0x173))/0x4)+-parseInt(_0x293834(0x166))/0x5*(parseInt(_0x293834(0x132))/0x6)+-parseInt(_0x293834(0x15f))/0x7*(parseInt(_0x293834(0x14f))/0x8)+-parseInt(_0x293834(0x1a3))/0x9*(-parseInt(_0x293834(0x154))/0xa)+parseInt(_0x293834(0x155))/0xb;if(_0x15a00e===_0x4cd471)break;else _0x414922['push'](_0x414922['shift']());}catch(_0x57c504){_0x414922['push'](_0x414922['shift']());}}}(_0xf690,0x19c58));import{Plugin as _0x47a6d7}from'ckeditor5/src/core.js';import{Collection as _0x394692}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x9bd3a7,createDropdown as _0x2f41ce,ListSeparatorView as _0x5335f2,MenuBarMenuView as _0x3f7447,MenuBarMenuListView as _0x25b0d2,MenuBarMenuListItemView as _0x5319a7,MenuBarMenuListItemButtonView as _0x574bea,SplitButtonView as _0x59ba5e,ViewModel as _0x422f61}from'ckeditor5/src/ui.js';import{Users as _0x40fc98,getDateTimeFormatter as _0x348275,getAllMarkersDomElementsSorted as _0x2e5dfa,ENTER_THREAD_KEYSTROKE as _0x4c6b3b}from'ckeditor5-collaboration/src/collaboration-core.js';function _0xf690(){const _0x1c8f4f=['Annotations','has','70108TogOUJ','menuBar:trackChanges','filter','mainView','getMarkerNames','execute','children','model','listenTo','menuitem','arrowView','TrackChangesUI','destroy','_disableComments','_initializeController','source','_handleSuggestionControllerDelayed','getMarkers','135992Jbfyul','get','value','_createMenuBarMenu','comments.maxThreadTotalWeight','menu','editor','define','view','getAllAdjacentSuggestions','unbind','type','activeMarkers','_bindAnnotationToEditors','innerView','previous','TrackChangesEditing','from','suggestionUnloaded','delete','_suggestionToController','_viewToController','requires','_unbindEditors','focus','discardSelectedSuggestions','Accept\x20all\x20suggestions','init','commands','pluginName','413037NCPwtn','plugins','keys','_refreshActiveMarkers','isEnabled','Discard\x20all\x20suggestions','push','suggestion-','EditorAnnotations','Discard\x20all\x20selected\x20suggestions','activeAnnotations','CommentView','_addUIComponentsToFactory','isMultiRange','descriptionParts','change:activeAnnotations','trackChanges','values','commentThread','low','addSourceCollector','set','comments.editorConfig','separator','buttonView','some','_initKeyboardNavigationToThread','keystrokes','acceptButton','_annotationViews','discardButton','registerAnnotation','commandName','suggestionChanged','trackChanges.SuggestionThreadView','head','getRanges','delegate','getJoined','2844hGxvOI','stopListening','items','button','comments.maxCommentsWhenCollapsed','getSuggestion','toMany','actionView','getFirstRange','getDescriptions','createAnnotationView','trackChanges.disableComments','SuggestionThreadView','isInContent','suggestionLoaded','add','size','_handleControllerBuffer','_destroyController','Track\x20changes','discardAllSuggestions','hasSuggestion','comments.maxCommentCharsWhenCollapsed','isOn','descriptionFactory','createCommentThreadController','isDirty','_createToolbarButton','config','8LkZXMH','lowest','getByInnerView','change:previous','3AYFpYG','20SpzRNr','3055129NVblem','remove','clear','CommentsUI','Accept\x20all\x20selected\x20suggestions','createAnnotation','reduce','editing','commentsListView','length','1292977zvZYMW','componentFactory','122873hInRZZ','addComment','_updateController','acceptSelectedSuggestions','comments','1230ZedPOw','bind','CommentsRepository','locale','_splitMarkerName','switchbutton','panelView','acceptAllSuggestions','refreshSelectedViews','escape','menuitemcheckbox'];_0xf690=function(){return _0x1c8f4f;};return _0xf690();}import _0x315e5f from'./trackchangesediting.js';function _0x4fb2(_0x458e60,_0x377c3){const _0xf690ed=_0xf690();return _0x4fb2=function(_0x4fb267,_0x571ba0){_0x4fb267=_0x4fb267-0x124;let _0x59c3f3=_0xf690ed[_0x4fb267];return _0x59c3f3;},_0x4fb2(_0x458e60,_0x377c3);}import _0xe02719 from'./ui/suggestioncontroller.js';import _0x3ee879 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x235440}from'./utils/common-translations.js';import _0x2ecd33 from'./trackchanges.js';import _0x4d2944 from'../theme/icons/track-changes.svg';export default class d extends _0x47a6d7{static get[_0x252c26(0x19b)](){const _0x4f2608=_0x252c26;return[_0x315e5f,_0x40fc98,_0x4f2608(0x168),_0x4f2608(0x171),_0x4f2608(0x1ab)];}static get[_0x252c26(0x1a2)](){const _0x48c364=_0x252c26;return _0x48c364(0x17e);}constructor(_0x16ced0){const _0x11c2e9=_0x252c26;super(_0x16ced0),this[_0x11c2e9(0x199)]=new Map(),this[_0x11c2e9(0x19a)]=new Map(),this[_0x11c2e9(0x128)]=new Map(),this[_0x11c2e9(0x143)]=new Map();const _0xcd298c=this[_0x11c2e9(0x18b)][_0x11c2e9(0x14e)];_0xcd298c[_0x11c2e9(0x18c)](_0x11c2e9(0x12d),_0x3ee879),_0xcd298c[_0x11c2e9(0x18c)](_0x11c2e9(0x13d),!0x1),this[_0x11c2e9(0x180)]=_0xcd298c[_0x11c2e9(0x186)](_0x11c2e9(0x13d)),this[_0x11c2e9(0x125)]();}[_0x252c26(0x183)](_0x19646d,_0x37ddeb){const _0x4d914d=_0x252c26;0x0===this[_0x4d914d(0x143)][_0x4d914d(0x142)]&&setTimeout(()=>{const _0xee4a19=_0x4d914d;for(const [_0x2f7dcc,_0x3b5b51]of this[_0xee4a19(0x143)]){const _0x5df55e=this[_0xee4a19(0x199)][_0xee4a19(0x172)](_0x2f7dcc);_0x5df55e||_0x3b5b51?_0x5df55e&&_0x3b5b51&&this[_0xee4a19(0x144)](_0x2f7dcc):this[_0xee4a19(0x181)](_0x2f7dcc);}this[_0xee4a19(0x143)][_0xee4a19(0x157)](),this[_0xee4a19(0x18b)][_0xee4a19(0x1a4)][_0xee4a19(0x186)](_0xee4a19(0x1ab))[_0xee4a19(0x16e)](),this[_0xee4a19(0x1a6)]();},0xa),this[_0x4d914d(0x143)][_0x4d914d(0x1b8)](_0x19646d,_0x37ddeb);}[_0x252c26(0x1a0)](){const _0x4bcbf1=_0x252c26,_0x29e687=this[_0x4bcbf1(0x18b)],_0x5618f2=_0x29e687[_0x4bcbf1(0x1a4)][_0x4bcbf1(0x186)](_0x4bcbf1(0x195)),_0x24bd6b=_0x29e687[_0x4bcbf1(0x1a4)][_0x4bcbf1(0x186)](_0x4bcbf1(0x171)),_0x21c837=_0x29e687[_0x4bcbf1(0x1a4)][_0x4bcbf1(0x186)](_0x4bcbf1(0x1ab)),_0x3e8668=_0x29e687[_0x4bcbf1(0x1a4)][_0x4bcbf1(0x186)](_0x4bcbf1(0x168));this[_0x4bcbf1(0x1af)](),_0x21c837[_0x4bcbf1(0x1b7)](()=>{const _0x27fe74=_0x4bcbf1,_0x3fd58f=[];for(const [_0x49d08b,_0x5ea1cd]of Array[_0x27fe74(0x196)](this[_0x27fe74(0x199)])){const _0x3e3dea=_0x49d08b[_0x27fe74(0x18e)](),_0x1dbec4=[];for(const _0x170e71 of _0x3e3dea){if(!_0x170e71[_0x27fe74(0x13f)])continue;if(_0x170e71[_0x27fe74(0x1b0)]){_0x1dbec4[_0x27fe74(0x1a9)](..._0x170e71[_0x27fe74(0x12f)]());continue;}const _0x36824f=_0x170e71[_0x27fe74(0x13a)]();if(_0x1dbec4[_0x27fe74(0x15e)]>0x0){const _0x77f22f=_0x1dbec4[0x0][_0x27fe74(0x131)](_0x36824f);if(_0x77f22f){_0x1dbec4[0x0]=_0x77f22f;continue;}}_0x1dbec4[_0x27fe74(0x1a9)](_0x36824f);}_0x3fd58f[_0x27fe74(0x1a9)]([_0x5ea1cd[_0x27fe74(0x18d)],_0x1dbec4]);}return _0x3fd58f;}),this[_0x4bcbf1(0x17b)](_0x5618f2,_0x4bcbf1(0x140),(_0x998968,_0x5dfad4)=>{const _0x8bf9e4=_0x4bcbf1;this[_0x8bf9e4(0x17b)](_0x5dfad4,_0x8bf9e4(0x152),(_0x3efab6,_0x49f50b,_0x51bd04,_0x20ba1b)=>{const _0x28b015=_0x8bf9e4;_0x5dfad4[_0x28b015(0x13f)]&&(null==_0x51bd04?(this[_0x28b015(0x163)](_0x20ba1b[_0x28b015(0x12e)]),this[_0x28b015(0x183)](_0x5dfad4,!0x1)):(this[_0x28b015(0x163)](_0x51bd04[_0x28b015(0x12e)]),null==_0x20ba1b&&this[_0x28b015(0x183)](_0x5dfad4,!0x0)));}),null!==_0x5dfad4[_0x8bf9e4(0x194)]?this[_0x8bf9e4(0x163)](_0x5dfad4[_0x8bf9e4(0x12e)]):this[_0x8bf9e4(0x183)](_0x5dfad4,!0x1);}),this[_0x4bcbf1(0x17b)](_0x5618f2,_0x4bcbf1(0x197),(_0x5c62cc,_0x257966,_0x5a4722)=>{const _0x2c1b7b=_0x4bcbf1;this[_0x2c1b7b(0x133)](_0x257966,_0x2c1b7b(0x152)),this[_0x2c1b7b(0x143)][_0x2c1b7b(0x198)](_0x257966),this[_0x2c1b7b(0x199)][_0x2c1b7b(0x172)](_0x257966)&&this[_0x2c1b7b(0x144)](_0x257966),_0x5a4722&&this[_0x2c1b7b(0x163)](_0x5a4722[_0x2c1b7b(0x12e)]);}),this[_0x4bcbf1(0x17b)](_0x5618f2,_0x4bcbf1(0x12c),(_0x18a0ad,_0x5cc314)=>{const _0xf66e3e=_0x4bcbf1;this[_0xf66e3e(0x163)](_0x5cc314);}),this[_0x4bcbf1(0x17b)](_0x24bd6b,_0x4bcbf1(0x1b2),()=>{const _0x3a2d44=_0x4bcbf1;this[_0x3a2d44(0x1a6)]();}),this[_0x4bcbf1(0x17b)](_0x3e8668,_0x4bcbf1(0x162),(_0x3bcb87,{threadId:_0x2ad348,isFromAdapter:_0x5f5634})=>{const _0x545d6d=_0x4bcbf1;if(_0x5f5634||!_0x5618f2[_0x545d6d(0x147)](_0x2ad348))return;const _0x3be13d=_0x5618f2[_0x545d6d(0x137)](_0x2ad348);this[_0x545d6d(0x199)][_0x545d6d(0x186)](_0x3be13d)[_0x545d6d(0x18d)][_0x545d6d(0x15d)][_0x545d6d(0x19d)](-0x1);},{'priority':_0x4bcbf1(0x150)});}[_0x252c26(0x1a6)](){const _0x121f03=_0x252c26,_0x3f5d4b=this[_0x121f03(0x18b)][_0x121f03(0x1a4)][_0x121f03(0x186)](_0x121f03(0x171)),_0x4629a5=this[_0x121f03(0x18b)][_0x121f03(0x1a4)][_0x121f03(0x186)](_0x121f03(0x195)),_0x5c635d=Array[_0x121f03(0x196)](_0x3f5d4b[_0x121f03(0x1ad)],_0x1dbcae=>_0x1dbcae[_0x121f03(0x193)])[_0x121f03(0x175)](_0x2dbd7d=>this[_0x121f03(0x19a)][_0x121f03(0x172)](_0x2dbd7d)),_0x5aaa23=[];for(const _0x13796f of _0x5c635d){const _0x2d0673=this[_0x121f03(0x19a)][_0x121f03(0x186)](_0x13796f)[_0x121f03(0x17a)][_0x121f03(0x18e)]();_0x5aaa23[_0x121f03(0x1a9)](..._0x2d0673[_0x121f03(0x15b)]((_0x4983ae,_0x1f9757)=>[..._0x4983ae,..._0x1f9757[_0x121f03(0x177)]()],[]));}_0x4629a5[_0x121f03(0x191)]=_0x5aaa23;}[_0x252c26(0x1af)](){const _0x384f06=_0x252c26,_0x2b8ecb=this[_0x384f06(0x18b)],_0x454515=_0x2b8ecb[_0x384f06(0x169)],_0xa82398=_0x235440(_0x454515,_0x384f06(0x145)),_0x206615=new _0x394692([{'type':_0x384f06(0x16b),'model':new _0x422f61({'withText':!0x0,'isToggleable':!0x0,'label':_0xa82398,'commandName':_0x384f06(0x1b3),'role':_0x384f06(0x170)})},{'type':_0x384f06(0x1ba)},{'type':_0x384f06(0x135),'model':new _0x422f61({'withText':!0x0,'label':_0x235440(_0x454515,_0x384f06(0x19f)),'commandName':_0x384f06(0x16d),'role':_0x384f06(0x17c)})},{'type':_0x384f06(0x135),'model':new _0x422f61({'withText':!0x0,'label':_0x235440(_0x454515,_0x384f06(0x159)),'commandName':_0x384f06(0x164),'role':_0x384f06(0x17c)})},{'type':_0x384f06(0x135),'model':new _0x422f61({'withText':!0x0,'label':_0x235440(_0x454515,_0x384f06(0x1a8)),'commandName':_0x384f06(0x146),'role':_0x384f06(0x17c)})},{'type':_0x384f06(0x135),'model':new _0x422f61({'withText':!0x0,'label':_0x235440(_0x454515,_0x384f06(0x1ac)),'commandName':_0x384f06(0x19e),'role':_0x384f06(0x17c)})}]);for(const _0x20431e of _0x206615)if(he(_0x20431e)){const _0x261830=_0x2b8ecb[_0x384f06(0x1a1)][_0x384f06(0x186)](_0x20431e[_0x384f06(0x17a)][_0x384f06(0x12b)]);_0x20431e[_0x384f06(0x17a)][_0x384f06(0x167)](_0x384f06(0x149),_0x384f06(0x1a7))['to'](_0x261830,_0x384f06(0x187),_0x384f06(0x1a7));}_0x2b8ecb['ui'][_0x384f06(0x160)][_0x384f06(0x141)](_0x384f06(0x1b3),_0x183383=>this[_0x384f06(0x14d)](_0x183383,_0x206615,_0xa82398)),_0x2b8ecb['ui'][_0x384f06(0x160)][_0x384f06(0x141)](_0x384f06(0x174),_0x2a1511=>this[_0x384f06(0x188)](_0x2a1511,_0x206615,_0xa82398));}[_0x252c26(0x14d)](_0x14970e,_0x5304d1,_0x3f2c4c){const _0x46cb49=_0x252c26,_0x38a488=_0x2f41ce(_0x14970e,_0x59ba5e),_0x17410d=this[_0x46cb49(0x18b)][_0x46cb49(0x1a1)][_0x46cb49(0x186)](_0x46cb49(0x1b3));_0x38a488[_0x46cb49(0x1bb)][_0x46cb49(0x1b8)]({'tooltip':_0x3f2c4c,'label':_0x3f2c4c,'icon':_0x4d2944}),_0x38a488[_0x46cb49(0x1bb)][_0x46cb49(0x167)](_0x46cb49(0x149))['to'](_0x17410d,_0x46cb49(0x187)),_0x38a488[_0x46cb49(0x1bb)]['on'](_0x46cb49(0x178),()=>{const _0x39f4f8=_0x46cb49;_0x17410d[_0x39f4f8(0x178)](),this[_0x39f4f8(0x18b)][_0x39f4f8(0x15c)][_0x39f4f8(0x18d)][_0x39f4f8(0x19d)]();}),_0x9bd3a7(_0x38a488,_0x5304d1,{'role':_0x46cb49(0x18a)});const _0x3904c2=[];for(const _0x12c54b of _0x5304d1)he(_0x12c54b)&&_0x3904c2[_0x46cb49(0x1a9)](this[_0x46cb49(0x18b)][_0x46cb49(0x1a1)][_0x46cb49(0x186)](_0x12c54b[_0x46cb49(0x17a)][_0x46cb49(0x12b)]));const _0x3a8203=_0x38a488[_0x46cb49(0x1bb)];return _0x3a8203[_0x46cb49(0x139)][_0x46cb49(0x18f)](_0x46cb49(0x1a7)),_0x3a8203[_0x46cb49(0x17d)][_0x46cb49(0x18f)](_0x46cb49(0x1a7)),_0x3a8203[_0x46cb49(0x139)][_0x46cb49(0x167)](_0x46cb49(0x1a7))['to'](_0x17410d,_0x46cb49(0x1a7)),_0x3a8203[_0x46cb49(0x17d)][_0x46cb49(0x167)](_0x46cb49(0x1a7))[_0x46cb49(0x138)](_0x3904c2,_0x46cb49(0x1a7),(..._0x3c3d80)=>_0x3c3d80[_0x46cb49(0x124)](_0x4d01a6=>_0x4d01a6)),_0x38a488['on'](_0x46cb49(0x178),_0x12ba41=>{const _0x2dd365=_0x46cb49;this[_0x2dd365(0x18b)][_0x2dd365(0x178)](_0x12ba41[_0x2dd365(0x182)][_0x2dd365(0x12b)]),this[_0x2dd365(0x18b)][_0x2dd365(0x15c)][_0x2dd365(0x18d)][_0x2dd365(0x19d)]();}),_0x38a488;}[_0x252c26(0x188)](_0x3a5754,_0x51a0b3,_0x547cca){const _0x56ecca=_0x252c26,_0x519e3e=new _0x3f7447(_0x3a5754),_0x1cd1d2=this[_0x56ecca(0x18b)][_0x56ecca(0x1a1)][_0x56ecca(0x186)](_0x56ecca(0x1b3));_0x519e3e[_0x56ecca(0x1bb)][_0x56ecca(0x1b8)]({'label':_0x547cca,'icon':_0x4d2944});const _0x85f6da=new _0x25b0d2(_0x3a5754);for(const _0x1f1c06 of _0x51a0b3){if(_0x56ecca(0x1ba)==_0x1f1c06[_0x56ecca(0x190)]){_0x85f6da[_0x56ecca(0x134)][_0x56ecca(0x141)](new _0x5335f2(_0x3a5754));continue;}const _0x706473=new _0x5319a7(_0x3a5754,_0x519e3e),_0x2d2c48=new _0x574bea(_0x3a5754),_0x3ee111=_0x1f1c06[_0x56ecca(0x17a)];_0x2d2c48[_0x56ecca(0x167)](...Object[_0x56ecca(0x1a5)](_0x3ee111))['to'](_0x3ee111),_0x2d2c48[_0x56ecca(0x130)](_0x56ecca(0x178))['to'](_0x519e3e),_0x2d2c48['on'](_0x56ecca(0x178),()=>{const _0x2b6774=_0x56ecca;this[_0x2b6774(0x18b)][_0x2b6774(0x178)](_0x3ee111[_0x2b6774(0x12b)]),this[_0x2b6774(0x18b)][_0x2b6774(0x15c)][_0x2b6774(0x18d)][_0x2b6774(0x19d)]();}),_0x706473[_0x56ecca(0x179)][_0x56ecca(0x141)](_0x2d2c48),_0x85f6da[_0x56ecca(0x134)][_0x56ecca(0x141)](_0x706473);}return _0x519e3e[_0x56ecca(0x167)](_0x56ecca(0x1a7))['to'](_0x1cd1d2,_0x56ecca(0x1a7)),_0x519e3e[_0x56ecca(0x16c)][_0x56ecca(0x179)][_0x56ecca(0x141)](_0x85f6da),_0x519e3e;}[_0x252c26(0x181)](_0x3f4a57){const _0x419659=_0x252c26,_0x33e9dd=this[_0x419659(0x18b)],_0x31a430=_0x33e9dd[_0x419659(0x14e)],_0x4165e7=_0x33e9dd[_0x419659(0x1a4)][_0x419659(0x186)](_0x419659(0x171)),_0x16a80b=_0x33e9dd[_0x419659(0x1a4)][_0x419659(0x186)](_0x419659(0x168)),_0x47a705=_0x33e9dd[_0x419659(0x1a4)][_0x419659(0x186)](_0x419659(0x1ab)),_0x437975=_0x33e9dd[_0x419659(0x1a4)][_0x419659(0x186)](_0x40fc98)['me'],_0x123ee3=_0x31a430[_0x419659(0x186)](_0x419659(0x1b3))[_0x419659(0x13e)],{CommentsListView:_0x32135a,CommentThreadInputView:_0x2ccb38}=_0x33e9dd[_0x419659(0x1a4)][_0x419659(0x186)](_0x419659(0x158));let _0x4dd54e,_0x445559;this[_0x419659(0x128)][_0x419659(0x172)](_0x3f4a57['id'])?(_0x445559=this[_0x419659(0x128)][_0x419659(0x186)](_0x3f4a57['id']),_0x4dd54e=_0x445559[_0x419659(0x176)]):(_0x4dd54e=new _0x123ee3(_0x33e9dd[_0x419659(0x169)],_0x3f4a57,_0x437975,{'disableComments':this[_0x419659(0x180)],'editorConfig':_0x31a430[_0x419659(0x186)](_0x419659(0x1b9)),'maxCommentsWhenCollapsed':_0x31a430[_0x419659(0x186)](_0x419659(0x136)),'maxThreadTotalWeight':_0x31a430[_0x419659(0x186)](_0x419659(0x189)),'maxCommentCharsWhenCollapsed':_0x31a430[_0x419659(0x186)](_0x419659(0x148)),'formatDateTime':_0x348275(_0x31a430[_0x419659(0x186)](_0x419659(0x169))),'CommentView':_0x31a430[_0x419659(0x186)](_0x419659(0x165))[_0x419659(0x1ae)],'CommentsListView':_0x32135a,'CommentThreadInputView':_0x2ccb38}),_0x4dd54e[_0x419659(0x127)]['on'](_0x419659(0x178),()=>{const _0x3d5303=_0x419659;_0x33e9dd[_0x3d5303(0x15c)][_0x3d5303(0x18d)][_0x3d5303(0x19d)]();}),_0x4dd54e[_0x419659(0x129)]['on'](_0x419659(0x178),()=>{const _0x5eed11=_0x419659;_0x33e9dd[_0x5eed11(0x15c)][_0x5eed11(0x18d)][_0x5eed11(0x19d)]();}),_0x445559=_0x4165e7[_0x419659(0x13c)](this[_0x419659(0x18b)][_0x419659(0x169)],_0x4dd54e),_0x445559[_0x419659(0x167)](_0x419659(0x14c))['to'](_0x4dd54e,_0x419659(0x14c)),_0x445559[_0x419659(0x167)](_0x419659(0x15e))['to'](_0x4dd54e),_0x445559[_0x419659(0x167)](_0x419659(0x190))['to'](_0x4dd54e,_0x419659(0x190),_0x1e6fd8=>_0x419659(0x1aa)+_0x1e6fd8),this[_0x419659(0x17b)](_0x4dd54e,_0x419659(0x16f),()=>{const _0x30a76c=_0x419659;_0x33e9dd[_0x30a76c(0x15c)][_0x30a76c(0x18d)][_0x30a76c(0x19d)]();},{'priority':_0x419659(0x1b6)}),this[_0x419659(0x128)][_0x419659(0x1b8)](_0x3f4a57['id'],_0x445559));const _0x1bbb94=_0x16a80b[_0x419659(0x14b)](_0x3f4a57[_0x419659(0x1b5)],_0x4dd54e),_0x5d2d40=new _0xe02719(_0x33e9dd,_0x3f4a57,_0x4dd54e,_0x1bbb94),_0x263b5b=_0x3f4a57[_0x419659(0x18e)]()[_0x419659(0x175)](_0x4abd8b=>_0x4abd8b[_0x419659(0x13f)]);_0x4dd54e[_0x419659(0x1b1)]=_0x33e9dd[_0x419659(0x1a4)][_0x419659(0x186)](_0x419659(0x195))[_0x419659(0x14a)][_0x419659(0x13b)](_0x263b5b),this[_0x419659(0x199)][_0x419659(0x1b8)](_0x3f4a57,_0x5d2d40),this[_0x419659(0x19a)][_0x419659(0x1b8)](_0x4dd54e,_0x5d2d40);const _0x8e48aa=_0x4165e7[_0x419659(0x15a)]({'view':_0x445559,'target':()=>{const _0x2ae288=_0x419659,_0x21ab12=[],_0x1c82e4=_0x3f4a57[_0x2ae288(0x18e)]()[_0x2ae288(0x175)](_0x372d9e=>_0x372d9e[_0x2ae288(0x13f)]);for(const _0x1bf8d9 of _0x1c82e4)_0x21ab12[_0x2ae288(0x1a9)](..._0x1bf8d9[_0x2ae288(0x184)]());return _0x2e5dfa(_0x33e9dd[_0x2ae288(0x15c)],_0x21ab12);},'type':()=>_0x419659(0x1aa)+_0x5d2d40[_0x419659(0x18d)][_0x419659(0x190)]});_0x16a80b[_0x419659(0x192)](_0x4dd54e,_0x8e48aa),_0x4165e7[_0x419659(0x141)](_0x8e48aa),_0x47a705[_0x419659(0x12a)](_0x8e48aa);}[_0x252c26(0x144)](_0x402f97){const _0x2cb6b2=_0x252c26,_0x2c9c93=this[_0x2cb6b2(0x18b)][_0x2cb6b2(0x1a4)][_0x2cb6b2(0x186)](_0x2cb6b2(0x168)),_0x17af0d=this[_0x2cb6b2(0x18b)][_0x2cb6b2(0x1a4)][_0x2cb6b2(0x186)](_0x2cb6b2(0x171)),_0x275829=this[_0x2cb6b2(0x199)][_0x2cb6b2(0x186)](_0x402f97),_0x515fcb=_0x275829[_0x2cb6b2(0x18d)],_0x48f1a2=_0x17af0d[_0x2cb6b2(0x151)](_0x515fcb);_0x2c9c93[_0x2cb6b2(0x19c)](_0x515fcb),_0x48f1a2&&_0x17af0d[_0x2cb6b2(0x156)](_0x48f1a2),this[_0x2cb6b2(0x199)][_0x2cb6b2(0x198)](_0x402f97),this[_0x2cb6b2(0x19a)][_0x2cb6b2(0x198)](_0x515fcb),_0x275829[_0x2cb6b2(0x17f)]();}[_0x252c26(0x163)](_0x259d13){const _0x386d1b=_0x252c26;if(!_0x259d13[_0x386d1b(0x13f)]||!this[_0x386d1b(0x199)][_0x386d1b(0x172)](_0x259d13))return;const _0x1bbe4a=this[_0x386d1b(0x18b)][_0x386d1b(0x1a4)][_0x386d1b(0x186)](_0x386d1b(0x195)),_0x185b8d=this[_0x386d1b(0x199)][_0x386d1b(0x186)](_0x259d13),_0x1fa772=_0x259d13[_0x386d1b(0x18e)]();_0x185b8d[_0x386d1b(0x18d)][_0x386d1b(0x1b1)]=_0x1bbe4a[_0x386d1b(0x14a)][_0x386d1b(0x13b)](_0x1fa772);}[_0x252c26(0x125)](){const _0x21fcf8=_0x252c26;this[_0x21fcf8(0x18b)][_0x21fcf8(0x126)][_0x21fcf8(0x1b8)](_0x4c6b3b,(_0x525eb6,_0x44ebad)=>{const _0x7e917=_0x21fcf8,_0xbaaef3=this[_0x7e917(0x18b)][_0x7e917(0x1a4)][_0x7e917(0x186)](_0x2ecd33),_0x14784c=this[_0x7e917(0x18b)][_0x7e917(0x1a4)][_0x7e917(0x186)](_0x315e5f);if(!_0x14784c[_0x7e917(0x191)][_0x7e917(0x15e)])return;const {id:_0x4cda81}=_0x14784c[_0x7e917(0x16a)](_0x14784c[_0x7e917(0x191)][0x0]),_0x38bb2e=_0xbaaef3[_0x7e917(0x137)](_0x4cda81);_0x38bb2e&&(this[_0x7e917(0x199)][_0x7e917(0x186)](_0x38bb2e)[_0x7e917(0x18d)][_0x7e917(0x19d)](),_0x44ebad());});}[_0x252c26(0x17f)](){const _0x4e3df5=_0x252c26;for(const _0x15b972 of this[_0x4e3df5(0x199)][_0x4e3df5(0x1a5)]())this[_0x4e3df5(0x144)](_0x15b972);for(const _0x12c994 of this[_0x4e3df5(0x128)][_0x4e3df5(0x1b4)]())_0x12c994[_0x4e3df5(0x176)][_0x4e3df5(0x17f)]();super[_0x4e3df5(0x17f)]();}}function he(_0x3b2855){const _0x399b7e=_0x252c26;return _0x399b7e(0x17a)in _0x3b2855;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x24f89e=_0x1e68;function _0x1e68(_0x8efc8b,_0x44868e){const _0x146ea3=_0x146e();return _0x1e68=function(_0x1e686f,_0x494f5f){_0x1e686f=_0x1e686f-0xca;let _0x5b81f7=_0x146ea3[_0x1e686f];return _0x5b81f7;},_0x1e68(_0x8efc8b,_0x44868e);}(function(_0x1173b2,_0x4c3925){const _0x1c2248=_0x1e68,_0x31a498=_0x1173b2();while(!![]){try{const _0x53e9f5=-parseInt(_0x1c2248(0xd0))/0x1+-parseInt(_0x1c2248(0xe3))/0x2*(-parseInt(_0x1c2248(0xf2))/0x3)+parseInt(_0x1c2248(0xda))/0x4*(parseInt(_0x1c2248(0xe4))/0x5)+-parseInt(_0x1c2248(0xe1))/0x6*(parseInt(_0x1c2248(0xe5))/0x7)+parseInt(_0x1c2248(0xed))/0x8+parseInt(_0x1c2248(0xe6))/0x9+parseInt(_0x1c2248(0xcd))/0xa*(-parseInt(_0x1c2248(0xe0))/0xb);if(_0x53e9f5===_0x4c3925)break;else _0x31a498['push'](_0x31a498['shift']());}catch(_0x3751f8){_0x31a498['push'](_0x31a498['shift']());}}}(_0x146e,0x7675d));function _0x146e(){const _0x3259ae=['2935756ojvuRX','getRanges','isEnabled','plugins','_acceptCommand','_setPendingAction','14487kKTsyY','16572bJxPlp','canDiscard','5608CvvaaZ','5phyNiz','1687YxKFUv','6431679doGhdy','remove','get','acceptSuggestion','destroy','PendingActions','listenTo','7073624WLRazD','locale','_pendingAction','commands','discardSuggestion','543ZXYIPw','add','unbind','PENDING_ACTION_SUGGESTION','_editor','stopListening','11440qwHfto','view','_discardCommand','182794nxivzW','isDirty','execute','change:isDirty','commentThreadController','canAccept','bind','_removePendingAction','canEditAt','model'];_0x146e=function(){return _0x3259ae;};return _0x146e();}import{ObservableMixin as _0x128854}from'ckeditor5/src/utils.js';import{getTranslation as _0x362612}from'../utils/common-translations.js';export default class oe extends/* #__PURE__ -- @preserve */
24
- _0x128854(){constructor(_0x5cc431,_0x1e4b90,_0xc9df7d,_0x39b540){const _0x1a22b4=_0x1e68;super(),this[_0x1a22b4(0xd9)]=_0x1e4b90,this[_0x1a22b4(0xce)]=_0xc9df7d,this[_0x1a22b4(0xd4)]=_0x39b540,this[_0x1a22b4(0xcb)]=_0x5cc431,this[_0x1a22b4(0xde)]=_0x5cc431[_0x1a22b4(0xf0)][_0x1a22b4(0xe8)](_0x1a22b4(0xe9)),this[_0x1a22b4(0xcf)]=_0x5cc431[_0x1a22b4(0xf0)][_0x1a22b4(0xe8)](_0x1a22b4(0xf1)),this[_0x1a22b4(0xce)][_0x1a22b4(0xd6)](_0x1a22b4(0xdc))['to'](this[_0x1a22b4(0xde)],this[_0x1a22b4(0xcf)],(_0x221788,_0x1dfc9b)=>_0x221788||_0x1dfc9b),this[_0x1a22b4(0xce)][_0x1a22b4(0xd6)](_0x1a22b4(0xd5))['to'](this[_0x1a22b4(0xde)],_0x1a22b4(0xdc),_0x5d78f0=>_0x5d78f0&&this[_0x1a22b4(0xcb)][_0x1a22b4(0xd9)][_0x1a22b4(0xd8)](_0x1e4b90[_0x1a22b4(0xdb)]())),this[_0x1a22b4(0xce)][_0x1a22b4(0xd6)](_0x1a22b4(0xe2))['to'](this[_0x1a22b4(0xcf)],_0x1a22b4(0xdc),_0x5ef98b=>_0x5ef98b&&this[_0x1a22b4(0xcb)][_0x1a22b4(0xd9)][_0x1a22b4(0xd8)](_0x1e4b90[_0x1a22b4(0xdb)]())),this[_0x1a22b4(0xef)]=null,_0xc9df7d[_0x1a22b4(0xd1)]&&this[_0x1a22b4(0xdf)](),this[_0x1a22b4(0xec)](_0xc9df7d,_0x1a22b4(0xe9),()=>this[_0x1a22b4(0xe9)]()),this[_0x1a22b4(0xec)](_0xc9df7d,_0x1a22b4(0xf1),()=>this[_0x1a22b4(0xf1)]()),this[_0x1a22b4(0xec)](_0xc9df7d,_0x1a22b4(0xd3),()=>{const _0x2adc1a=_0x1a22b4;_0xc9df7d[_0x2adc1a(0xd1)]?this[_0x2adc1a(0xdf)]():this[_0x2adc1a(0xd7)]();});}[_0x24f89e(0xe9)](){const _0xee6485=_0x24f89e;this[_0xee6485(0xde)][_0xee6485(0xd2)](this[_0xee6485(0xd9)]['id']);}[_0x24f89e(0xf1)](){const _0x3f5760=_0x24f89e;this[_0x3f5760(0xcf)][_0x3f5760(0xd2)](this[_0x3f5760(0xd9)]['id']);}[_0x24f89e(0xea)](){const _0x3fe1b8=_0x24f89e;this[_0x3fe1b8(0xce)][_0x3fe1b8(0xf4)](_0x3fe1b8(0xdc)),this[_0x3fe1b8(0xce)][_0x3fe1b8(0xf4)](_0x3fe1b8(0xd5)),this[_0x3fe1b8(0xce)][_0x3fe1b8(0xf4)](_0x3fe1b8(0xe2)),this[_0x3fe1b8(0xcc)](),this[_0x3fe1b8(0xd4)][_0x3fe1b8(0xea)](),this[_0x3fe1b8(0xef)]&&this[_0x3fe1b8(0xd7)]();}[_0x24f89e(0xdf)](){const _0x2e77b4=_0x24f89e,_0x30f4c7=_0x362612(this[_0x2e77b4(0xcb)][_0x2e77b4(0xee)],_0x2e77b4(0xca));this[_0x2e77b4(0xef)]=this[_0x2e77b4(0xcb)][_0x2e77b4(0xdd)][_0x2e77b4(0xe8)](_0x2e77b4(0xeb))[_0x2e77b4(0xf3)](_0x30f4c7);}[_0x24f89e(0xd7)](){const _0x4c01a1=_0x24f89e;null!==this[_0x4c01a1(0xef)]&&this[_0x4c01a1(0xcb)][_0x4c01a1(0xdd)][_0x4c01a1(0xe8)](_0x4c01a1(0xeb))[_0x4c01a1(0xe7)](this[_0x4c01a1(0xef)]),this[_0x4c01a1(0xef)]=null;}}
23
+ const _0x4752ad=_0x1f8a;function _0x5605(){const _0x43515f=['execute','isEnabled','2gtyeYr','978702uQNLKw','428092pzGtvc','canAccept','PENDING_ACTION_SUGGESTION','plugins','18pDlMeK','isDirty','_acceptCommand','add','bind','listenTo','stopListening','PendingActions','canDiscard','1391384JvfPKm','84763gshxNG','20dhWDPV','remove','_setPendingAction','change:isDirty','commands','85409DjHRgl','_removePendingAction','discardSuggestion','getRanges','_editor','_pendingAction','view','acceptSuggestion','destroy','get','commentThreadController','locale','model','_discardCommand','2264778hCzpkv','1656630HpkWYX','canEditAt','unbind'];_0x5605=function(){return _0x43515f;};return _0x5605();}(function(_0x4b38dc,_0x3c1886){const _0x1eaf18=_0x1f8a,_0x38e15e=_0x4b38dc();while(!![]){try{const _0x5e130d=parseInt(_0x1eaf18(0x1bd))/0x1+-parseInt(_0x1eaf18(0x1a7))/0x2*(parseInt(_0x1eaf18(0x1a8))/0x3)+parseInt(_0x1eaf18(0x1a9))/0x4+-parseInt(_0x1eaf18(0x1a2))/0x5+-parseInt(_0x1eaf18(0x1ad))/0x6*(parseInt(_0x1eaf18(0x1b7))/0x7)+parseInt(_0x1eaf18(0x1b6))/0x8+parseInt(_0x1eaf18(0x1a1))/0x9*(parseInt(_0x1eaf18(0x1b8))/0xa);if(_0x5e130d===_0x3c1886)break;else _0x38e15e['push'](_0x38e15e['shift']());}catch(_0x3e7226){_0x38e15e['push'](_0x38e15e['shift']());}}}(_0x5605,0x2ae88));import{ObservableMixin as _0x1cfb36}from'ckeditor5/src/utils.js';function _0x1f8a(_0x582c7d,_0x47e0f9){const _0x5605b4=_0x5605();return _0x1f8a=function(_0x1f8a6d,_0x164044){_0x1f8a6d=_0x1f8a6d-0x19c;let _0x2685fc=_0x5605b4[_0x1f8a6d];return _0x2685fc;},_0x1f8a(_0x582c7d,_0x47e0f9);}import{getTranslation as _0x409a8d}from'../utils/common-translations.js';export default class ae extends/* #__PURE__ -- @preserve */
24
+ _0x1cfb36(){constructor(_0x18311f,_0x3cd0f,_0x9d39d1,_0x5afe07){const _0x5b4d2a=_0x1f8a;super(),this[_0x5b4d2a(0x19f)]=_0x3cd0f,this[_0x5b4d2a(0x1c3)]=_0x9d39d1,this[_0x5b4d2a(0x19d)]=_0x5afe07,this[_0x5b4d2a(0x1c1)]=_0x18311f,this[_0x5b4d2a(0x1af)]=_0x18311f[_0x5b4d2a(0x1bc)][_0x5b4d2a(0x19c)](_0x5b4d2a(0x1c4)),this[_0x5b4d2a(0x1a0)]=_0x18311f[_0x5b4d2a(0x1bc)][_0x5b4d2a(0x19c)](_0x5b4d2a(0x1bf)),this[_0x5b4d2a(0x1c3)][_0x5b4d2a(0x1b1)](_0x5b4d2a(0x1a6))['to'](this[_0x5b4d2a(0x1af)],this[_0x5b4d2a(0x1a0)],(_0x496a16,_0x3234cd)=>_0x496a16||_0x3234cd),this[_0x5b4d2a(0x1c3)][_0x5b4d2a(0x1b1)](_0x5b4d2a(0x1aa))['to'](this[_0x5b4d2a(0x1af)],_0x5b4d2a(0x1a6),_0xcf3285=>_0xcf3285&&this[_0x5b4d2a(0x1c1)][_0x5b4d2a(0x19f)][_0x5b4d2a(0x1a3)](_0x3cd0f[_0x5b4d2a(0x1c0)]())),this[_0x5b4d2a(0x1c3)][_0x5b4d2a(0x1b1)](_0x5b4d2a(0x1b5))['to'](this[_0x5b4d2a(0x1a0)],_0x5b4d2a(0x1a6),_0x26976d=>_0x26976d&&this[_0x5b4d2a(0x1c1)][_0x5b4d2a(0x19f)][_0x5b4d2a(0x1a3)](_0x3cd0f[_0x5b4d2a(0x1c0)]())),this[_0x5b4d2a(0x1c2)]=null,_0x9d39d1[_0x5b4d2a(0x1ae)]&&this[_0x5b4d2a(0x1ba)](),this[_0x5b4d2a(0x1b2)](_0x9d39d1,_0x5b4d2a(0x1c4),()=>this[_0x5b4d2a(0x1c4)]()),this[_0x5b4d2a(0x1b2)](_0x9d39d1,_0x5b4d2a(0x1bf),()=>this[_0x5b4d2a(0x1bf)]()),this[_0x5b4d2a(0x1b2)](_0x9d39d1,_0x5b4d2a(0x1bb),()=>{const _0xc8726a=_0x5b4d2a;_0x9d39d1[_0xc8726a(0x1ae)]?this[_0xc8726a(0x1ba)]():this[_0xc8726a(0x1be)]();});}[_0x4752ad(0x1c4)](){const _0x41bf02=_0x4752ad;this[_0x41bf02(0x1af)][_0x41bf02(0x1a5)](this[_0x41bf02(0x19f)]['id']);}[_0x4752ad(0x1bf)](){const _0x4d724f=_0x4752ad;this[_0x4d724f(0x1a0)][_0x4d724f(0x1a5)](this[_0x4d724f(0x19f)]['id']);}[_0x4752ad(0x1c5)](){const _0x355e8a=_0x4752ad;this[_0x355e8a(0x1c3)][_0x355e8a(0x1a4)](_0x355e8a(0x1a6)),this[_0x355e8a(0x1c3)][_0x355e8a(0x1a4)](_0x355e8a(0x1aa)),this[_0x355e8a(0x1c3)][_0x355e8a(0x1a4)](_0x355e8a(0x1b5)),this[_0x355e8a(0x1b3)](),this[_0x355e8a(0x19d)][_0x355e8a(0x1c5)](),this[_0x355e8a(0x1c2)]&&this[_0x355e8a(0x1be)]();}[_0x4752ad(0x1ba)](){const _0x200dab=_0x4752ad,_0x4129c0=_0x409a8d(this[_0x200dab(0x1c1)][_0x200dab(0x19e)],_0x200dab(0x1ab));this[_0x200dab(0x1c2)]=this[_0x200dab(0x1c1)][_0x200dab(0x1ac)][_0x200dab(0x19c)](_0x200dab(0x1b4))[_0x200dab(0x1b0)](_0x4129c0);}[_0x4752ad(0x1be)](){const _0x42bcb5=_0x4752ad;null!==this[_0x42bcb5(0x1c2)]&&this[_0x42bcb5(0x1c1)][_0x42bcb5(0x1ac)][_0x42bcb5(0x19c)](_0x42bcb5(0x1b4))[_0x42bcb5(0x1b9)](this[_0x42bcb5(0x1c2)]),this[_0x42bcb5(0x1c2)]=null;}}
@@ -6,12 +6,12 @@
6
6
  * @module track-changes/ui/view/basesuggestionthreadview
7
7
  * @publicApi
8
8
  */
9
- import { View } from 'ckeditor5/src/ui.js';
10
- import type { Locale } from 'ckeditor5/src/utils.js';
9
+ import { FocusCycler, View, ViewCollection, type FocusableView } from 'ckeditor5/src/ui.js';
10
+ import { FocusTracker, KeystrokeHandler, type Locale } from 'ckeditor5/src/utils.js';
11
11
  import type { EditorConfig } from 'ckeditor5/src/core.js';
12
12
  import type Suggestion from '../../suggestion.js';
13
13
  import type { CommentsListView, CommentThreadInputView, CommentView } from '@ckeditor/ckeditor5-comments';
14
- import type { User } from 'ckeditor5-collaboration/src/collaboration-core.js';
14
+ import { AriaDescriptionView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
15
15
  import type { Description } from '../../suggestiondescriptionfactory.js';
16
16
  /**
17
17
  * An abstract suggestion thread view class that should be used as a base for suggestion thread view implementations.
@@ -34,6 +34,11 @@ export default abstract class BaseSuggestionThreadView extends View {
34
34
  * The comment input area view. It should be used as a part of the view template when present.
35
35
  */
36
36
  commentThreadInputView: CommentThreadInputView | null;
37
+ /**
38
+ * A helper view that provides an ARIA description for the comment thread used by
39
+ * assistive technologies.
40
+ */
41
+ readonly ariaDescriptionView: AriaDescriptionView;
37
42
  /**
38
43
  * A boolean value that informs if the comment thread view is in the active state ("highlighted").
39
44
  * A comment thread view is in this state when it is focused or was activated by the user in any different way.
@@ -118,7 +123,31 @@ export default abstract class BaseSuggestionThreadView extends View {
118
123
  * @observable
119
124
  */
120
125
  readonly length: number;
126
+ /**
127
+ * An accessible thread label text exposed to assistive technologies.
128
+ */
129
+ ariaLabel: string;
130
+ /**
131
+ * A collection of focusable child views.
132
+ */
133
+ readonly focusables: ViewCollection<FocusableView>;
134
+ /**
135
+ * Tracks information about DOM focus in the thread.
136
+ */
137
+ readonly focusTracker: FocusTracker;
138
+ /**
139
+ * Instance of the {@link module:utils/keystrokehandler~KeystrokeHandler}.
140
+ */
141
+ readonly keystrokes: KeystrokeHandler;
142
+ /**
143
+ * Helps cycling over focusable views in the thread.
144
+ */
145
+ readonly focusCycler: FocusCycler;
121
146
  constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
147
+ /**
148
+ * @inheritDoc
149
+ */
150
+ render(): void;
122
151
  /**
123
152
  * Focuses the view.
124
153
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x6c4069=_0x5518;function _0x59b2(){const _0x19ea71=['destroy','submit','CommentView','12AKWhZj','_localUser','1332415tgFaET','commentsListView','removeComment','editorConfig','_createCommentThreadInputView','addComment','392ULHbPD','disabledSubmit','element','commentThread','hasDirtyComment','bind','fire','_createCommentViews','4376184oihZPS','set','707883NTgEWc','isDirty','disableComments','commentThreadInputView','setData','length','assign','_config','15850nPBGJM','isEnabled','focus','1149501cZANNG','canAccept','locale','descriptionParts','editor','value','delegate','81740LZOOTJ','isReadOnly','updateComment','45ReCTAB','canDiscard','cancel','301850pWJOdn','isActive','commentInputView','_model','showInput','authoredAt'];_0x59b2=function(){return _0x19ea71;};return _0x59b2();}(function(_0x4b1d02,_0x38de79){const _0x1b7e45=_0x5518,_0x1a5918=_0x4b1d02();while(!![]){try{const _0x154a5e=parseInt(_0x1b7e45(0xee))/0x1+-parseInt(_0x1b7e45(0xf5))/0x2+parseInt(_0x1b7e45(0xe3))/0x3+-parseInt(_0x1b7e45(0x10c))/0x4*(-parseInt(_0x1b7e45(0xeb))/0x5)+-parseInt(_0x1b7e45(0x104))/0x6*(parseInt(_0x1b7e45(0x106))/0x7)+-parseInt(_0x1b7e45(0x114))/0x8+parseInt(_0x1b7e45(0xf8))/0x9*(parseInt(_0x1b7e45(0xfb))/0xa);if(_0x154a5e===_0x38de79)break;else _0x1a5918['push'](_0x1a5918['shift']());}catch(_0xf03f09){_0x1a5918['push'](_0x1a5918['shift']());}}}(_0x59b2,0xd6780));function _0x5518(_0x468497,_0x5973a2){const _0x59b24c=_0x59b2();return _0x5518=function(_0x551819,_0x2db98f){_0x551819=_0x551819-0xe3;let _0x31ce66=_0x59b24c[_0x551819];return _0x31ce66;},_0x5518(_0x468497,_0x5973a2);}import{View as _0x4ef6c3}from'ckeditor5/src/ui.js';export default class es extends _0x4ef6c3{constructor(_0x90f14e,_0x891050,_0xa53a73,_0x587e7e){const _0x1976f8=_0x5518;super(_0x90f14e),this[_0x1976f8(0x107)]=null,this[_0x1976f8(0xe6)]=null,this[_0x1976f8(0x115)](_0x1976f8(0xfc),!0x1),this[_0x1976f8(0x115)](_0x1976f8(0x100),_0x891050[_0x1976f8(0x100)]),this[_0x1976f8(0x111)](_0x1976f8(0x100))['to'](_0x891050),this[_0x1976f8(0x115)](_0x1976f8(0xf1),[]),this[_0x1976f8(0x115)](_0x1976f8(0xe4),!0x1),this[_0x1976f8(0x115)](_0x1976f8(0xec),!0x1),this[_0x1976f8(0x115)](_0x1976f8(0xef),!0x1),this[_0x1976f8(0x115)](_0x1976f8(0xf9),!0x1),this[_0x1976f8(0xfe)]=_0x891050,this[_0x1976f8(0x105)]=_0xa53a73,this[_0x1976f8(0xea)]=_0x587e7e,_0x587e7e[_0x1976f8(0xe5)]?this[_0x1976f8(0x115)](_0x1976f8(0xe8),0x1):this[_0x1976f8(0x113)]();}[_0x6c4069(0xed)](){const _0xeec9ca=_0x6c4069;this[_0xeec9ca(0x10e)][_0xeec9ca(0xed)]();}[_0x6c4069(0x101)](){const _0x1f7676=_0x6c4069;this[_0x1f7676(0x107)]&&this[_0x1f7676(0x107)][_0x1f7676(0x101)](),this[_0x1f7676(0xe6)]&&this[_0x1f7676(0xe6)][_0x1f7676(0x101)](),super[_0x1f7676(0x101)]();}[_0x6c4069(0x113)](){const _0x2c054e=_0x6c4069,{CommentsListView:_0x1ab8e5}=this[_0x2c054e(0xea)];this[_0x2c054e(0x107)]=new _0x1ab8e5(this[_0x2c054e(0xf0)],this[_0x2c054e(0xfe)][_0x2c054e(0x10f)],Object[_0x2c054e(0xe9)]({'CommentView':this[_0x2c054e(0xea)][_0x2c054e(0x103)]},this[_0x2c054e(0xea)])),this[_0x2c054e(0x107)][_0x2c054e(0xf4)](_0x2c054e(0x108))['to'](this),this[_0x2c054e(0x107)][_0x2c054e(0xf4)](_0x2c054e(0xf7))['to'](this),this[_0x2c054e(0x107)][_0x2c054e(0x111)](_0x2c054e(0xfc))['to'](this),this[_0x2c054e(0x115)](_0x2c054e(0xe8),this[_0x2c054e(0x107)][_0x2c054e(0xe8)]+0x1),this[_0x2c054e(0x111)](_0x2c054e(0xe8))['to'](this[_0x2c054e(0x107)],_0x2c054e(0xe8),_0x41866e=>_0x41866e+0x1),this[_0x2c054e(0xe6)]=this[_0x2c054e(0x10a)](),this['on'](_0x2c054e(0x108),()=>this[_0x2c054e(0xed)]()),this[_0x2c054e(0x111)](_0x2c054e(0xe4))['to'](this[_0x2c054e(0x107)],_0x2c054e(0x110),this[_0x2c054e(0xe6)][_0x2c054e(0xfd)],_0x2c054e(0xf3),(_0x2a0df2,_0x587332)=>_0x2a0df2||!!_0x587332);}[_0x6c4069(0x10a)](){const _0x55b709=_0x6c4069,{CommentThreadInputView:_0x3b090c}=this[_0x55b709(0xea)],_0x1ae206=new _0x3b090c(this[_0x55b709(0xf0)],this[_0x55b709(0x105)],this[_0x55b709(0xea)][_0x55b709(0x109)]),_0x3670a6=_0x1ae206[_0x55b709(0xfd)];return _0x1ae206[_0x55b709(0x111)](_0x55b709(0xff))['to'](this,_0x55b709(0xfc),this[_0x55b709(0xfe)][_0x55b709(0x10f)],_0x55b709(0xf6),_0x3670a6,_0x55b709(0xf3),(_0x1bcb94,_0x238a2f,_0x46b499)=>!!_0x46b499||_0x1bcb94&&!_0x238a2f),_0x3670a6['on'](_0x55b709(0x102),(_0x458b95,_0x129296)=>{const _0x4d9b01=_0x55b709;this[_0x4d9b01(0x112)](_0x4d9b01(0x10b),_0x129296),_0x3670a6[_0x4d9b01(0xf2)][_0x4d9b01(0xe7)]('');}),_0x3670a6['on'](_0x55b709(0xfa),()=>this[_0x55b709(0xed)]()),_0x3670a6[_0x55b709(0x111)](_0x55b709(0x10d))['to'](this[_0x55b709(0xfe)][_0x55b709(0x10f)],_0x55b709(0xf6)),_0x1ae206;}}
23
+ const _0x229914=_0x349c;(function(_0x1b7d9c,_0x2b8c36){const _0x26ae05=_0x349c,_0xd0c0fc=_0x1b7d9c();while(!![]){try{const _0x31e399=-parseInt(_0x26ae05(0xd6))/0x1*(parseInt(_0x26ae05(0xf2))/0x2)+-parseInt(_0x26ae05(0xfb))/0x3*(parseInt(_0x26ae05(0xe0))/0x4)+parseInt(_0x26ae05(0xee))/0x5+-parseInt(_0x26ae05(0xdb))/0x6+-parseInt(_0x26ae05(0xe6))/0x7*(parseInt(_0x26ae05(0xe9))/0x8)+parseInt(_0x26ae05(0xe7))/0x9*(parseInt(_0x26ae05(0x11d))/0xa)+parseInt(_0x26ae05(0x10a))/0xb;if(_0x31e399===_0x2b8c36)break;else _0xd0c0fc['push'](_0xd0c0fc['shift']());}catch(_0x3723de){_0xd0c0fc['push'](_0xd0c0fc['shift']());}}}(_0x1d4b,0x6a5b6));import{FocusCycler as _0x27c12e,View as _0x2f6978,ViewCollection as _0x174b02}from'ckeditor5/src/ui.js';import{FocusTracker as _0x83ecd4,KeystrokeHandler as _0x98309d}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x46f04a,setupThreadKeyboardNavigation as _0x3c2c78}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5ee453}from'../../utils/common-translations.js';function _0x1d4b(){const _0x4d0c77=['canAccept','textContent','4447104ovKxYX','_localUser','locale','set','map','648gqYbVP','tab','commentThreadInputView','focus','_createCommentThreadInputView','isEnabled','6769XdPyjB','3482622kyAQWf','body','5904MltezT','descriptionParts','keystrokes','SUGGESTION_THREAD_DESCRIPTION','removeComment','1939745BEwvxs','ariaLabel','hasDirtyComment','target','34MoToAr','authoredAt','commentInputView','setData','SUGGESTION_THREAD_ARIA_LABEL','isReadOnly','commentsListView','name','shift+tab','15240JUUBBQ','element','fire','destroy','updateComment','editorConfig','_createCommentViews','showInput','author','delegate','canDiscard','submit','bind','focusables','disableComments','20946134WWwPeN','isDirty','length','disabledSubmit','value','focusCycler','assign','_model','content','CommentView','addComment','cancel','_config','parseFromString','join','focusTracker','render','commentThread','formatDateTime','20VENUhz','ariaDescriptionView','text/html','20743xMgNMV','isActive','editor'];_0x1d4b=function(){return _0x4d0c77;};return _0x1d4b();}function _0x349c(_0x210430,_0x230e12){const _0x1d4bf8=_0x1d4b();return _0x349c=function(_0x349ca0,_0x2e7c6d){_0x349ca0=_0x349ca0-0xd4;let _0x57e90b=_0x1d4bf8[_0x349ca0];return _0x57e90b;},_0x349c(_0x210430,_0x230e12);}import{renderDescription as _0x2e0df0}from'../../utils/utils.js';export default class us extends _0x2f6978{constructor(_0x3d75cd,_0x380f60,_0x570916,_0xaf41f8){const _0x531e0f=_0x349c;super(_0x3d75cd),this[_0x531e0f(0xf8)]=null,this[_0x531e0f(0xe2)]=null,this[_0x531e0f(0xd4)]=new _0x46f04a(_0x3d75cd,_0x5ee453(_0x3d75cd,_0x531e0f(0xec))),this[_0x531e0f(0xde)](_0x531e0f(0xd7),!0x1),this[_0x531e0f(0xde)](_0x531e0f(0xf3),_0x380f60[_0x531e0f(0xf3)]),this[_0x531e0f(0x107)](_0x531e0f(0xf3))['to'](_0x380f60),this[_0x531e0f(0xde)](_0x531e0f(0xea),[]),this[_0x531e0f(0xde)](_0x531e0f(0x10b),!0x1),this[_0x531e0f(0xde)](_0x531e0f(0xe5),!0x1),this[_0x531e0f(0xde)](_0x531e0f(0xd9),!0x1),this[_0x531e0f(0xde)](_0x531e0f(0x105),!0x1),this[_0x531e0f(0x107)](_0x531e0f(0xef))['to'](this,_0x531e0f(0x10c),_0x380f60,_0x531e0f(0xf3),this,_0x531e0f(0xea),(_0x50543b,_0x6bfa74,_0xbf35c7)=>{const _0x513816=_0x531e0f,_0x5f22b7=_0xbf35c7[_0x513816(0xdf)](_0x26a391=>_0x2e0df0(_0x26a391[_0x513816(0x112)]))[_0x513816(0x118)]('.\x20')+'.';return _0x5ee453(this[_0x513816(0xdd)],_0x513816(0xf6),[_0x50543b-0x1,_0x380f60[_0x513816(0x103)][_0x513816(0xf9)],_0x6bfa74?_0xaf41f8[_0x513816(0x11c)](_0x6bfa74):'',new DOMParser()[_0x513816(0x117)](_0x5f22b7,_0x513816(0xd5))[_0x513816(0xe8)][_0x513816(0xda)]]);}),this[_0x531e0f(0x108)]=new _0x174b02(),this[_0x531e0f(0x119)]=new _0x83ecd4(),this[_0x531e0f(0xeb)]=new _0x98309d(),this[_0x531e0f(0x10f)]=new _0x27c12e({'focusables':this[_0x531e0f(0x108)],'focusTracker':this[_0x531e0f(0x119)],'keystrokeHandler':this[_0x531e0f(0xeb)],'keystrokeHandlerOptions':{'filter':_0x4a5ac9=>_0x4a5ac9[_0x531e0f(0xf1)]!==this[_0x531e0f(0xfc)]},'actions':{'focusPrevious':_0x531e0f(0xfa),'focusNext':_0x531e0f(0xe1)}}),this[_0x531e0f(0x111)]=_0x380f60,this[_0x531e0f(0xdc)]=_0x570916,this[_0x531e0f(0x116)]=_0xaf41f8,_0xaf41f8[_0x531e0f(0x109)]?this[_0x531e0f(0xde)](_0x531e0f(0x10c),0x1):this[_0x531e0f(0x101)]();}[_0x229914(0x11a)](){const _0x19e481=_0x229914;super[_0x19e481(0x11a)](),_0x3c2c78(this,this[_0x19e481(0x108)]);}[_0x229914(0xe3)](){const _0x1e792f=_0x229914;this[_0x1e792f(0xfc)][_0x1e792f(0xe3)]();}[_0x229914(0xfe)](){const _0x98fc5e=_0x229914;this[_0x98fc5e(0xf8)]&&this[_0x98fc5e(0xf8)][_0x98fc5e(0xfe)](),this[_0x98fc5e(0xe2)]&&this[_0x98fc5e(0xe2)][_0x98fc5e(0xfe)](),super[_0x98fc5e(0xfe)]();}[_0x229914(0x101)](){const _0x18fd12=_0x229914,{CommentsListView:_0x347fe4}=this[_0x18fd12(0x116)];this[_0x18fd12(0xf8)]=new _0x347fe4(this[_0x18fd12(0xdd)],this[_0x18fd12(0x111)][_0x18fd12(0x11b)],Object[_0x18fd12(0x110)]({'CommentView':this[_0x18fd12(0x116)][_0x18fd12(0x113)]},this[_0x18fd12(0x116)])),this[_0x18fd12(0xf8)][_0x18fd12(0x104)](_0x18fd12(0xed))['to'](this),this[_0x18fd12(0xf8)][_0x18fd12(0x104)](_0x18fd12(0xff))['to'](this),this[_0x18fd12(0xf8)][_0x18fd12(0x107)](_0x18fd12(0xd7))['to'](this),this[_0x18fd12(0xde)](_0x18fd12(0x10c),this[_0x18fd12(0xf8)][_0x18fd12(0x10c)]+0x1),this[_0x18fd12(0x107)](_0x18fd12(0x10c))['to'](this[_0x18fd12(0xf8)],_0x18fd12(0x10c),_0x4d1730=>_0x4d1730+0x1),this[_0x18fd12(0xe2)]=this[_0x18fd12(0xe4)](),this['on'](_0x18fd12(0xed),()=>this[_0x18fd12(0xe3)]()),this[_0x18fd12(0x107)](_0x18fd12(0x10b))['to'](this[_0x18fd12(0xf8)],_0x18fd12(0xf0),this[_0x18fd12(0xe2)][_0x18fd12(0xf4)],_0x18fd12(0x10e),(_0x5acf75,_0x492954)=>_0x5acf75||!!_0x492954);}[_0x229914(0xe4)](){const _0xef0502=_0x229914,{CommentThreadInputView:_0x940d55}=this[_0xef0502(0x116)],_0xf96102=new _0x940d55(this[_0xef0502(0xdd)],this[_0xef0502(0xdc)],this[_0xef0502(0x116)][_0xef0502(0x100)]),_0x2294ed=_0xf96102[_0xef0502(0xf4)];return _0xf96102[_0xef0502(0x107)](_0xef0502(0x102))['to'](this,_0xef0502(0xd7),this[_0xef0502(0x111)][_0xef0502(0x11b)],_0xef0502(0xf7),_0x2294ed,_0xef0502(0x10e),(_0x346841,_0x7ed140,_0x4a761e)=>!!_0x4a761e||_0x346841&&!_0x7ed140),_0x2294ed['on'](_0xef0502(0x106),(_0x15b678,_0x1eecc8)=>{const _0x596bfa=_0xef0502;this[_0x596bfa(0xfd)](_0x596bfa(0x114),_0x1eecc8),_0x2294ed[_0x596bfa(0xd8)][_0x596bfa(0xf5)]('');}),_0x2294ed['on'](_0xef0502(0x115),()=>this[_0xef0502(0xe3)]()),_0x2294ed[_0xef0502(0x107)](_0xef0502(0x10d))['to'](this[_0xef0502(0x111)][_0xef0502(0x11b)],_0xef0502(0xf7)),_0xf96102;}}
@@ -3,9 +3,9 @@
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
4
  */
5
5
  import { default as BaseSuggestionThreadView, type SuggestionThreadConfig } from './basesuggestionthreadview.js';
6
- import { ButtonView, type TemplateDefinition } from 'ckeditor5/src/ui.js';
7
- import { UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
- import type { Locale } from 'ckeditor5/src/utils.js';
6
+ import { type TemplateDefinition, type ViewWithFocusCycler } from 'ckeditor5/src/ui.js';
7
+ import { LateFocusButtonView, UserView, type User } from 'ckeditor5-collaboration/src/collaboration-core.js';
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import type Suggestion from '../../suggestion.js';
10
10
  /**
11
11
  * The default view for a suggestion thread.
@@ -13,7 +13,7 @@ import type Suggestion from '../../suggestion.js';
13
13
  * This view can be replaced by other view by overwriting the
14
14
  * {@link module:track-changes/trackchangesconfig~TrackChangesConfig#SuggestionThreadView} configuration.
15
15
  */
16
- export default class SuggestionThreadView extends BaseSuggestionThreadView {
16
+ export default class SuggestionThreadView extends BaseSuggestionThreadView implements ViewWithFocusCycler {
17
17
  /**
18
18
  * The suggestion thread view type.
19
19
  *
@@ -36,11 +36,11 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
36
36
  /**
37
37
  * A button view for the button that accepts the suggestion.
38
38
  */
39
- acceptButton: ButtonView | null;
39
+ acceptButton: LateFocusButtonView | null;
40
40
  /**
41
41
  * A button view for the button that discards the suggestion.
42
42
  */
43
- discardButton: ButtonView | null;
43
+ discardButton: LateFocusButtonView | null;
44
44
  constructor(locale: Locale, model: Suggestion, localUser: User, config: SuggestionThreadConfig);
45
45
  /**
46
46
  * Returns a template definition that will be passed to {@link module:ui/view~View#setTemplate}.
@@ -54,6 +54,8 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
54
54
  * tag: 'div',
55
55
  * attributes: {
56
56
  * class: [
57
+ * 'ck',
58
+ * 'ck-rounded-corners',
57
59
  * 'ck-suggestion-wrapper',
58
60
  * bind.if( 'isActive', 'ck-suggestion-wrapper--active' ),
59
61
  * bind.to( 'type', value => `ck-suggestion-${ value }` ),
@@ -63,7 +65,10 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
63
65
  * 'data-thread-id': this._model.commentThread.id,
64
66
  * 'data-author-id': this._model.author.id,
65
67
  * // Needed for managing focus after adding a new comment.
66
- * tabindex: -1
68
+ * tabindex: 0,
69
+ * role: 'listitem',
70
+ * 'aria-label': bind.to( 'ariaLabel' ),
71
+ * 'aria-describedby': this.ariaDescriptionView.id
67
72
  * },
68
73
  * children: [
69
74
  * {
@@ -82,7 +87,8 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
82
87
  * tag: 'div',
83
88
  *
84
89
  * attributes: {
85
- * class: [ 'ck-suggestion__main', 'ck-annotation__main' ]
90
+ * class: [ 'ck-suggestion__main', 'ck-annotation__main' ],
91
+ * role: 'presentation'
86
92
  * },
87
93
  *
88
94
  * children: [
@@ -157,7 +163,8 @@ export default class SuggestionThreadView extends BaseSuggestionThreadView {
157
163
  * } ]
158
164
  * }
159
165
  * ]
160
- * }
166
+ * },
167
+ * this.ariaDescriptionView
161
168
  * ]
162
169
  * },
163
170
  * this.commentsListView,
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1177fb=_0x3f1d;(function(_0x463b9b,_0x377a7a){const _0x1490bc=_0x3f1d,_0x2ca032=_0x463b9b();while(!![]){try{const _0x4c2762=-parseInt(_0x1490bc(0x84))/0x1+parseInt(_0x1490bc(0x7f))/0x2+-parseInt(_0x1490bc(0xc5))/0x3*(parseInt(_0x1490bc(0x92))/0x4)+parseInt(_0x1490bc(0xb0))/0x5*(parseInt(_0x1490bc(0xd6))/0x6)+parseInt(_0x1490bc(0xcf))/0x7*(parseInt(_0x1490bc(0xcc))/0x8)+parseInt(_0x1490bc(0xd4))/0x9+-parseInt(_0x1490bc(0x95))/0xa;if(_0x4c2762===_0x377a7a)break;else _0x2ca032['push'](_0x2ca032['shift']());}catch(_0x38c51d){_0x2ca032['push'](_0x2ca032['shift']());}}}(_0x27de,0x91a50));import{getTranslation as _0x2ccd9d}from'../../utils/common-translations.js';import{default as _0x4b6182}from'./basesuggestionthreadview.js';import{ButtonView as _0x144f2a}from'ckeditor5/src/ui.js';import{icons as _0x1ae971}from'ckeditor5/src/core.js';import{trimHtml as _0xb617d3,UserView as _0x36fc6e}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ne extends _0x4b6182{constructor(_0x3ebac9,_0x16219d,_0x26b4a2,_0x2d7669){const _0x4fb787=_0x3f1d;super(_0x3ebac9,_0x16219d,_0x26b4a2,_0x2d7669),this[_0x4fb787(0xb1)](_0x4fb787(0x94),''),this[_0x4fb787(0x9f)](_0x4fb787(0x94))['to'](this,_0x4fb787(0x9d),_0x210fe4=>_0x210fe4&&_0x210fe4[0x0]?_0x210fe4[0x0][_0x4fb787(0x94)]:''),this[_0x4fb787(0x9f)](_0x4fb787(0xa3))['to'](this,_0x4fb787(0x9d),this,_0x4fb787(0xd5),(_0xdd9635,_0x4f8434)=>{const _0x5e9b5e=_0x4fb787;let _0x2ef45e='';for(const _0x566d2d of _0xdd9635)_0x2ef45e+=_0x5e9b5e(0xc4)+ds(_0x566d2d[_0x5e9b5e(0xb4)],_0x566d2d[_0x5e9b5e(0xcb)])+_0x5e9b5e(0xe0);return _0x4f8434?_0x2ef45e:_0xb617d3(_0x2ef45e,{'limit':0x8c});}),this[_0x4fb787(0x7c)]=null,this[_0x4fb787(0xb2)]=this[_0x4fb787(0xe3)](_0x2ccd9d(_0x3ebac9,_0x4fb787(0x75)),_0x1ae971[_0x4fb787(0x8e)],_0x4fb787(0xd7),_0x4fb787(0xd9),'sw'),this[_0x4fb787(0xb2)][_0x4fb787(0x9f)](_0x4fb787(0xd0))['to'](this,_0x4fb787(0x82)),this[_0x4fb787(0xa1)]=this[_0x4fb787(0xe3)](_0x2ccd9d(_0x3ebac9,_0x4fb787(0xac)),_0x1ae971[_0x4fb787(0x8c)],_0x4fb787(0x8d),_0x4fb787(0xda),'sw'),this[_0x4fb787(0xa1)][_0x4fb787(0x9f)](_0x4fb787(0xd0))['to'](this,_0x4fb787(0x93)),this[_0x4fb787(0xbd)]=new _0x36fc6e(_0x3ebac9,this[_0x4fb787(0xad)][_0x4fb787(0xd8)],this[_0x4fb787(0x91)]()),this[_0x4fb787(0xbd)][_0x4fb787(0xce)]({'attributes':{'class':[_0x4fb787(0x8a),_0x4fb787(0xbc)]}}),this[_0x4fb787(0x77)](this[_0x4fb787(0x96)]());}[_0x1177fb(0x96)](){const _0x374c24=_0x1177fb,_0x7bdbb5=this[_0x374c24(0x97)],_0x1951fd=[{'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0xa5),_0x374c24(0xa2)]},'children':[{'tag':_0x374c24(0xdc),'children':[{'text':this[_0x374c24(0xbd)][_0x374c24(0xe2)]}],'attributes':{'class':[_0x374c24(0xd1),_0x374c24(0xe1)]}},{'tag':_0x374c24(0xa7),'attributes':{'datetime':_0x7bdbb5['to'](_0x374c24(0xca)),'class':[_0x374c24(0xc1),_0x374c24(0x83)]},'children':[{'text':_0x7bdbb5['to'](_0x374c24(0xca),_0x2ce38f=>this[_0x374c24(0xa6)][_0x374c24(0xae)](_0x2ce38f))}]}]},{'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0x90),_0x374c24(0xb6)]},'children':[this[_0x374c24(0xb2)],this[_0x374c24(0xa1)]]},{'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0xdb)]}}];this[_0x374c24(0xad)][_0x374c24(0x85)]&&_0x1951fd[_0x374c24(0xbf)]({'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0xa0)]},'children':[{'text':this[_0x374c24(0xba)]()}]});const _0xb65db1={'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0x86),_0x7bdbb5['if'](_0x374c24(0xd5),_0x374c24(0xb9)),_0x7bdbb5['to'](_0x374c24(0x94),_0x4053e0=>_0x374c24(0xd2)+_0x4053e0),this[_0x374c24(0xa6)][_0x374c24(0xc0)]&&_0x374c24(0x9e)],'data-suggestion-id':this[_0x374c24(0xad)]['id'],'data-thread-id':this[_0x374c24(0xad)][_0x374c24(0x7a)]['id'],'data-author-id':this[_0x374c24(0xad)][_0x374c24(0xd8)]['id'],'tabindex':-0x1},'children':[{'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0xa8),_0x374c24(0xaa)]},'children':[this[_0x374c24(0xbd)],{'tag':_0x374c24(0xdf),'attributes':{'class':[_0x374c24(0xbb),_0x374c24(0xc9)]},'children':_0x1951fd}]}]};return this[_0x374c24(0x9b)]&&this[_0x374c24(0xb3)]&&(_0xb65db1[_0x374c24(0x9c)][_0x374c24(0xbf)](this[_0x374c24(0x9b)],this[_0x374c24(0xb3)]),this[_0x374c24(0x9b)][_0x374c24(0x79)](_0x374c24(0xc8))['to'](this),this[_0x374c24(0x9b)][_0x374c24(0x79)](_0x374c24(0xaf))['to'](this),this[_0x374c24(0xb3)][_0x374c24(0x79)](_0x374c24(0xc8))['to'](this),this[_0x374c24(0xb3)][_0x374c24(0x79)](_0x374c24(0xaf))['to'](this)),_0xb65db1;}[_0x1177fb(0x76)](){const _0x111a66=_0x1177fb;super[_0x111a66(0x76)](),this[_0x111a66(0x7c)]=this[_0x111a66(0xa9)][_0x111a66(0xdd)](_0x111a66(0xc2)),this[_0x111a66(0x7c)][_0x111a66(0xc6)]=this[_0x111a66(0xa3)],this['on'](_0x111a66(0x78),(_0xbefca3,_0x418331,_0x4d95a3)=>{const _0x28160d=_0x111a66;this[_0x28160d(0x7c)][_0x28160d(0xc6)]=_0x4d95a3;});}[_0x1177fb(0xe3)](_0x323c3d,_0x2e8a23,_0x6d986,_0x12632b,_0x3c9325){const _0x469b28=_0x1177fb,_0x46d5ef=new _0x144f2a(this[_0x469b28(0x87)]);return _0x46d5ef[_0x469b28(0xb1)]({'label':_0x323c3d,'icon':_0x2e8a23,'tooltip':!0x0,'tooltipPosition':_0x3c9325}),_0x46d5ef[_0x469b28(0xce)]({'attributes':{'class':_0x6d986}}),_0x46d5ef['on'](_0x469b28(0xb7),()=>{const _0x566ab7=_0x469b28;this[_0x566ab7(0x89)](_0x12632b,this[_0x566ab7(0xad)]['id']);}),_0x46d5ef;}[_0x1177fb(0xba)](){const _0x2ee62a=_0x1177fb;return _0x2ee62a(0x7d)===this[_0x2ee62a(0xad)][_0x2ee62a(0xab)][_0x2ee62a(0xc3)][_0x2ee62a(0x8b)]?_0x2ccd9d(this[_0x2ee62a(0x87)],_0x2ee62a(0x98)):_0x2ccd9d(this[_0x2ee62a(0x87)],_0x2ee62a(0xb8));}[_0x1177fb(0x91)](){const _0x682a8e=_0x1177fb;return this[_0x682a8e(0xad)][_0x682a8e(0x85)]?_0x682a8e(0x7d)===this[_0x682a8e(0xad)][_0x682a8e(0xab)][_0x682a8e(0xc3)][_0x682a8e(0x8b)]?_0x2ccd9d(this[_0x682a8e(0x87)],_0x682a8e(0x8f),this[_0x682a8e(0xad)][_0x682a8e(0xb5)][_0x682a8e(0xe2)]):_0x2ccd9d(this[_0x682a8e(0x87)],_0x682a8e(0xcd),this[_0x682a8e(0xad)][_0x682a8e(0xb5)][_0x682a8e(0xe2)]):null;}}function _0x27de(){const _0x338725=['canAccept','ck-annotation__info-time','154878lOaMwV','isExternal','ck-suggestion-wrapper','locale','\x22></span>','fire','ck-suggestion__user','source','cancel','ck-suggestion--discard','check','EXTERNAL_IMPORT_WORD_AVATAR','ck-suggestion__actions','getUserViewNotificationText','4564oHAFYE','canDiscard','type','5798510LZXoBS','getTemplate','bindTemplate','EXTERNAL_IMPORT_WORD_SUGGESTION','split','join','commentsListView','children','descriptionParts','ck-suggestion--disabled-comments','bind','ck-comment__external','discardButton','ck-annotation__info','description','innerText','ck-suggestion__info','_config','time','ck-suggestion','element','ck-annotation','attributes','Discard\x20suggestion','_model','formatDateTime','editorDestroyed','6680MXUuEN','set','acceptButton','commentThreadInputView','content','creator','ck-annotation__actions','execute','EXTERNAL_SUGGESTION','ck-suggestion-wrapper--active','getExternalSuggestionNote','ck-suggestion__main','ck-annotation__user','userView','</span>','push','disableComments','ck-comment__info-time','.ck-annotation__content-wrapper','@external','<p>','2679SsyTyR','innerHTML','title','editorReady','ck-annotation__main','authoredAt','color','16jrMgCx','EXTERNAL_AVATAR','extendTemplate','3309698xcjMUA','isEnabled','ck-suggestion__info-name','ck-suggestion-','<span\x20class=\x22ck-suggestion-type\x22>','4844412DOEgks','isActive','2802HIFIsc','ck-suggestion--accept','author','acceptSuggestion','discardSuggestion','ck-annotation__content-wrapper','span','querySelector','value','div','</p>','ck-annotation__info-name','name','_createButton','Accept\x20suggestion','render','setTemplate','change:description','delegate','commentThread','map','_descriptionElement','importWord','\x22\x20title=\x22','484788EGHucv','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createElement'];_0x27de=function(){return _0x338725;};return _0x27de();}function _0x3f1d(_0x5f3c41,_0xfd1bf9){const _0x27dee2=_0x27de();return _0x3f1d=function(_0x3f1d3a,_0x243ed1){_0x3f1d3a=_0x3f1d3a-0x75;let _0x2082e9=_0x27dee2[_0x3f1d3a];return _0x2082e9;},_0x3f1d(_0x5f3c41,_0xfd1bf9);}function ds(_0x3611fb,_0x30d2b1){const _0x13dc87=_0x1177fb;let _0x60b3a0='';return _0x60b3a0+=_0x3611fb[_0x13dc87(0x99)]('*')[_0x13dc87(0x7b)]((_0x5af6ca,_0x5b7459)=>_0x5b7459%0x2!=0x0?_0x13dc87(0xd3)+us(_0x5af6ca)+_0x13dc87(0xbe):us(_0x5af6ca))[_0x13dc87(0x9a)](''),_0x30d2b1&&(_0x60b3a0+=_0x13dc87(0x80)+_0x30d2b1[_0x13dc87(0xde)]+_0x13dc87(0x7e)+_0x30d2b1[_0x13dc87(0xc7)]+_0x13dc87(0x88)),_0x60b3a0;}function us(_0x4d0609){const _0x23269f=_0x1177fb,_0x1ce7bb=document[_0x23269f(0x81)](_0x23269f(0xdc));return _0x1ce7bb[_0x23269f(0xa4)]=_0x4d0609,_0x1ce7bb[_0x23269f(0xc6)];}
23
+ const _0x3f2d8d=_0x1247;(function(_0x26d94b,_0x21dbb1){const _0x3289e1=_0x1247,_0x33031e=_0x26d94b();while(!![]){try{const _0x1c0511=parseInt(_0x3289e1(0x161))/0x1+parseInt(_0x3289e1(0x146))/0x2*(-parseInt(_0x3289e1(0x170))/0x3)+-parseInt(_0x3289e1(0x16e))/0x4+-parseInt(_0x3289e1(0x186))/0x5+parseInt(_0x3289e1(0x142))/0x6+-parseInt(_0x3289e1(0x13b))/0x7+parseInt(_0x3289e1(0x182))/0x8;if(_0x1c0511===_0x21dbb1)break;else _0x33031e['push'](_0x33031e['shift']());}catch(_0x11d8b1){_0x33031e['push'](_0x33031e['shift']());}}}(_0xcb6f,0x8cdde));import{getTranslation as _0x75e442}from'../../utils/common-translations.js';import{default as _0x1a4d0e}from'./basesuggestionthreadview.js';function _0xcb6f(){const _0x79dfe2=['EXTERNAL_IMPORT_WORD_AVATAR','addMany','ck-suggestion','bindTemplate','userView','author','ck-suggestion__info','time','disableComments','attributes','authoredAt','ck-annotation__info-time','ck-suggestion-wrapper','span','render','canAccept','ck-comment__info-time','commentThreadInputView','set','ariaDescriptionView','ck-suggestion--accept','ck-suggestion-','getTemplate','ck-suggestion__actions','_createButton','discardButton','isActive','164990TAbPIB','_descriptionElement','ck-suggestion__main','execute','presentation','ck-comment__external','isExternal','5708772SngtAV','acceptButton','ck-suggestion__info-name','editorReady','346778jUImSo','color','formatDateTime','getUserViewNotificationText','ck-annotation','_model','ck-suggestion__user','element','listitem','change:description','div','bind','ck-annotation__main','commentThread','description','children','isEnabled','ck-annotation__info','innerHTML','EXTERNAL_IMPORT_WORD_SUGGESTION','check','editorDestroyed','canDiscard','ck-annotation__info-name','focusables','content','Discard\x20suggestion','819394ofqUoK','creator','importWord','<p>','discardSuggestion','EXTERNAL_AVATAR','commentsListView','EXTERNAL_SUGGESTION','_config','setTemplate','querySelector','ck-rounded-corners','</p>','2202236tKVSCq','Accept\x20suggestion','15LRKGLe','extendTemplate','ck-annotation__content-wrapper','push','source','locale','descriptionParts','ck-suggestion-wrapper--active','getExternalSuggestionNote','.ck-annotation__content-wrapper','ck-suggestion--disabled-comments','acceptSuggestion','add','delegate','ck-annotation__user','type','ariaLabel','ck-suggestion--discard','5705368FZLfDV','name','@external','ck-annotation__actions','2329815PKzTQq','fire','cancel'];_0xcb6f=function(){return _0x79dfe2;};return _0xcb6f();}import{icons as _0x4cd33f}from'ckeditor5/src/core.js';function _0x1247(_0x53616f,_0xf58709){const _0xcb6f77=_0xcb6f();return _0x1247=function(_0x124782,_0x4d023c){_0x124782=_0x124782-0x12e;let _0xfb321f=_0xcb6f77[_0x124782];return _0xfb321f;},_0x1247(_0x53616f,_0xf58709);}import{LateFocusButtonView as _0x405496,trimHtml as _0x35b605,UserView as _0x51c532}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x2c7bb6}from'../../utils/utils.js';export default class re extends _0x1a4d0e{constructor(_0x257ecb,_0x2dbbb5,_0x29a575,_0x7d833){const _0x49a7f3=_0x1247;super(_0x257ecb,_0x2dbbb5,_0x29a575,_0x7d833),this[_0x49a7f3(0x132)](_0x49a7f3(0x17f),''),this[_0x49a7f3(0x151)](_0x49a7f3(0x17f))['to'](this,_0x49a7f3(0x176),_0x3a0bc0=>_0x3a0bc0&&_0x3a0bc0[0x0]?_0x3a0bc0[0x0][_0x49a7f3(0x17f)]:''),this[_0x49a7f3(0x151)](_0x49a7f3(0x154))['to'](this,_0x49a7f3(0x176),this,_0x49a7f3(0x13a),(_0x167a76,_0x173c9e)=>{const _0x13f25c=_0x49a7f3;let _0x46cb04='';for(const _0x2a9cdd of _0x167a76)_0x46cb04+=_0x13f25c(0x164)+_0x2c7bb6(_0x2a9cdd[_0x13f25c(0x15f)],_0x2a9cdd[_0x13f25c(0x147)])+_0x13f25c(0x16d);return _0x173c9e?_0x46cb04:_0x35b605(_0x46cb04,{'limit':0x8c});}),this[_0x49a7f3(0x13c)]=null,this[_0x49a7f3(0x143)]=this[_0x49a7f3(0x138)](_0x75e442(_0x257ecb,_0x49a7f3(0x16f)),_0x4cd33f[_0x49a7f3(0x15a)],_0x49a7f3(0x134),_0x49a7f3(0x17b),'sw'),this[_0x49a7f3(0x143)][_0x49a7f3(0x151)](_0x49a7f3(0x156))['to'](this,_0x49a7f3(0x12f)),this[_0x49a7f3(0x139)]=this[_0x49a7f3(0x138)](_0x75e442(_0x257ecb,_0x49a7f3(0x160)),_0x4cd33f[_0x49a7f3(0x188)],_0x49a7f3(0x181),_0x49a7f3(0x165),'sw'),this[_0x49a7f3(0x139)][_0x49a7f3(0x151)](_0x49a7f3(0x156))['to'](this,_0x49a7f3(0x15c)),this[_0x49a7f3(0x18d)]=new _0x51c532(_0x257ecb,this[_0x49a7f3(0x14b)][_0x49a7f3(0x18e)],this[_0x49a7f3(0x149)]()),this[_0x49a7f3(0x18d)][_0x49a7f3(0x171)]({'attributes':{'class':[_0x49a7f3(0x14c),_0x49a7f3(0x17e)],'aria-hidden':!0x0}}),this[_0x49a7f3(0x15e)][_0x49a7f3(0x18a)]([this[_0x49a7f3(0x143)],this[_0x49a7f3(0x139)]]),this[_0x49a7f3(0x167)]&&this[_0x49a7f3(0x15e)][_0x49a7f3(0x17c)](this[_0x49a7f3(0x167)]),this[_0x49a7f3(0x131)]&&this[_0x49a7f3(0x15e)][_0x49a7f3(0x17c)](this[_0x49a7f3(0x131)]),this[_0x49a7f3(0x16a)](this[_0x49a7f3(0x136)]());}[_0x3f2d8d(0x136)](){const _0x5c44ea=_0x3f2d8d,_0x125d6f=this[_0x5c44ea(0x18c)],_0x449079=[{'tag':_0x5c44ea(0x150),'attributes':{'class':[_0x5c44ea(0x18f),_0x5c44ea(0x157)]},'children':[{'tag':_0x5c44ea(0x196),'children':[{'text':this[_0x5c44ea(0x18d)][_0x5c44ea(0x183)]}],'attributes':{'class':[_0x5c44ea(0x144),_0x5c44ea(0x15d)]}},{'tag':_0x5c44ea(0x190),'attributes':{'datetime':_0x125d6f['to'](_0x5c44ea(0x193)),'class':[_0x5c44ea(0x130),_0x5c44ea(0x194)]},'children':[{'text':_0x125d6f['to'](_0x5c44ea(0x193),_0x59eb69=>this[_0x5c44ea(0x169)][_0x5c44ea(0x148)](_0x59eb69))}]}]},{'tag':_0x5c44ea(0x150),'attributes':{'class':[_0x5c44ea(0x137),_0x5c44ea(0x185)]},'children':[this[_0x5c44ea(0x143)],this[_0x5c44ea(0x139)]]},{'tag':_0x5c44ea(0x150),'attributes':{'class':[_0x5c44ea(0x172)]}}];this[_0x5c44ea(0x14b)][_0x5c44ea(0x141)]&&_0x449079[_0x5c44ea(0x173)]({'tag':_0x5c44ea(0x150),'attributes':{'class':[_0x5c44ea(0x140)]},'children':[{'text':this[_0x5c44ea(0x178)]()}]});const _0x59e8cf={'tag':_0x5c44ea(0x150),'attributes':{'class':['ck',_0x5c44ea(0x16c),_0x5c44ea(0x195),_0x125d6f['if'](_0x5c44ea(0x13a),_0x5c44ea(0x177)),_0x125d6f['to'](_0x5c44ea(0x17f),_0x4e6346=>_0x5c44ea(0x135)+_0x4e6346),this[_0x5c44ea(0x169)][_0x5c44ea(0x191)]&&_0x5c44ea(0x17a)],'data-suggestion-id':this[_0x5c44ea(0x14b)]['id'],'data-thread-id':this[_0x5c44ea(0x14b)][_0x5c44ea(0x153)]['id'],'data-author-id':this[_0x5c44ea(0x14b)][_0x5c44ea(0x18e)]['id'],'tabindex':0x0,'role':_0x5c44ea(0x14e),'aria-label':_0x125d6f['to'](_0x5c44ea(0x180)),'aria-describedby':this[_0x5c44ea(0x133)]['id']},'children':[{'tag':_0x5c44ea(0x150),'attributes':{'class':[_0x5c44ea(0x18b),_0x5c44ea(0x14a)]},'children':[this[_0x5c44ea(0x18d)],{'tag':_0x5c44ea(0x150),'attributes':{'class':[_0x5c44ea(0x13d),_0x5c44ea(0x152)],'role':_0x5c44ea(0x13f)},'children':_0x449079},this[_0x5c44ea(0x133)]]}]};return this[_0x5c44ea(0x167)]&&this[_0x5c44ea(0x131)]&&(_0x59e8cf[_0x5c44ea(0x155)][_0x5c44ea(0x173)](this[_0x5c44ea(0x167)],this[_0x5c44ea(0x131)]),this[_0x5c44ea(0x167)][_0x5c44ea(0x17d)](_0x5c44ea(0x145))['to'](this),this[_0x5c44ea(0x167)][_0x5c44ea(0x17d)](_0x5c44ea(0x15b))['to'](this),this[_0x5c44ea(0x131)][_0x5c44ea(0x17d)](_0x5c44ea(0x145))['to'](this),this[_0x5c44ea(0x131)][_0x5c44ea(0x17d)](_0x5c44ea(0x15b))['to'](this)),_0x59e8cf;}[_0x3f2d8d(0x12e)](){const _0xb343d6=_0x3f2d8d;super[_0xb343d6(0x12e)](),this[_0xb343d6(0x13c)]=this[_0xb343d6(0x14d)][_0xb343d6(0x16b)](_0xb343d6(0x179)),this[_0xb343d6(0x13c)][_0xb343d6(0x158)]=this[_0xb343d6(0x154)],this['on'](_0xb343d6(0x14f),(_0x55de8e,_0x3504f5,_0x57954d)=>{const _0x2185da=_0xb343d6;this[_0x2185da(0x13c)][_0x2185da(0x158)]=_0x57954d;});}[_0x3f2d8d(0x138)](_0x122dac,_0x1bed2e,_0x564aac,_0x536edb,_0x385beb){const _0x413701=_0x3f2d8d,_0x1d55f5=new _0x405496(this[_0x413701(0x175)]);return _0x1d55f5[_0x413701(0x132)]({'label':_0x122dac,'icon':_0x1bed2e,'tooltip':!0x0,'tooltipPosition':_0x385beb}),_0x1d55f5[_0x413701(0x171)]({'attributes':{'class':_0x564aac}}),_0x1d55f5['on'](_0x413701(0x13e),()=>{const _0x23f6b4=_0x413701;this[_0x23f6b4(0x187)](_0x536edb,this[_0x23f6b4(0x14b)]['id']);}),_0x1d55f5;}[_0x3f2d8d(0x178)](){const _0x27783d=_0x3f2d8d;return _0x27783d(0x163)===this[_0x27783d(0x14b)][_0x27783d(0x192)][_0x27783d(0x184)][_0x27783d(0x174)]?_0x75e442(this[_0x27783d(0x175)],_0x27783d(0x159)):_0x75e442(this[_0x27783d(0x175)],_0x27783d(0x168));}[_0x3f2d8d(0x149)](){const _0x54400b=_0x3f2d8d;return this[_0x54400b(0x14b)][_0x54400b(0x141)]?_0x54400b(0x163)===this[_0x54400b(0x14b)][_0x54400b(0x192)][_0x54400b(0x184)][_0x54400b(0x174)]?_0x75e442(this[_0x54400b(0x175)],_0x54400b(0x189),this[_0x54400b(0x14b)][_0x54400b(0x162)][_0x54400b(0x183)]):_0x75e442(this[_0x54400b(0x175)],_0x54400b(0x166),this[_0x54400b(0x14b)][_0x54400b(0x162)][_0x54400b(0x183)]):null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x209ef6,_0x32c852,_0x2d4c22){const t=_0x209ef6['t'];switch(_0x32c852){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x2d4c22);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x2d4c22);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x2d4c22);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x2d4c22);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x2d4c22);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x2d4c22);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x2d4c22);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x2d4c22);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x2d4c22);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x2d4c22);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x2d4c22);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x2d4c22);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x2d4c22);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x2d4c22);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x2d4c22);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x2d4c22);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x2d4c22);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x2d4c22);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x2d4c22);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x2d4c22);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x2d4c22);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x2d4c22);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x2d4c22);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x2d4c22);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x2d4c22);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x2d4c22);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x2d4c22);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x2d4c22);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x2d4c22);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x2d4c22);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x2d4c22);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x2d4c22);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x2d4c22);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x2d4c22);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x2d4c22);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x2d4c22);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x2d4c22);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x2d4c22);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x2d4c22);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x2d4c22);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x2d4c22);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x2d4c22);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x2d4c22);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x2d4c22);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x2d4c22);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x2d4c22);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});default:return _0x32c852;}}
23
+ export function getTranslation(_0x548553,_0x47c0e7,_0x370b6e){const t=_0x548553['t'];switch(_0x47c0e7){case'Track\x20changes':return t('Track\x20changes');case'Accept\x20suggestion':return t('Accept\x20suggestion');case'Discard\x20suggestion':return t('Discard\x20suggestion');case'Accept\x20all\x20suggestions':return t('Accept\x20all\x20suggestions');case'Accept\x20all\x20selected\x20suggestions':return t('Accept\x20all\x20selected\x20suggestions');case'Discard\x20all\x20suggestions':return t('Discard\x20all\x20suggestions');case'Discard\x20all\x20selected\x20suggestions':return t('Discard\x20all\x20selected\x20suggestions');case'*Reset\x20font\x20size*':return t('*Reset\x20font\x20size*');case'*Reset\x20font\x20family*':return t('*Reset\x20font\x20family*');case'*Reset\x20font\x20color*':return t('*Reset\x20font\x20color*');case'*Reset\x20font\x20background\x20color*':return t('*Reset\x20font\x20background\x20color*');case'*Remove\x20image\x20text\x20alternative*':return t('*Remove\x20image\x20text\x20alternative*');case'*Reset\x20image\x20width*':return t('*Reset\x20image\x20width*');case'*Remove\x20link*':return t('*Remove\x20link*');case'*Check\x20item*':return t('*Check\x20item*');case'*Uncheck\x20item*':return t('*Uncheck\x20item*');case'*Remove\x20all\x20formatting*':return t('*Remove\x20all\x20formatting*');case'*Replace\x20table\x20cells*':return t('*Replace\x20table\x20cells*');case'*Merge\x20cells*':return t('*Merge\x20cells*');case'*Split\x20cell:*\x20vertically':return t('*Split\x20cell:*\x20vertically');case'*Split\x20cell:*\x20horizontally':return t('*Split\x20cell:*\x20horizontally');case'*Indent:*\x20%0':return t('*Indent:*\x20%0',_0x370b6e);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x370b6e);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x370b6e);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x370b6e);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x370b6e);case'*Format:*\x20change\x20table\x20properties':return t('*Format:*\x20change\x20table\x20properties');case'*Format:*\x20change\x20table\x20cell\x20properties':return t('*Format:*\x20change\x20table\x20cell\x20properties');case'*Format:*\x20insert\x20into\x20%0':return t('*Format:*\x20insert\x20into\x20%0',_0x370b6e);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x370b6e);case'*Replace\x20image\x20URL*':return t('*Replace\x20image\x20URL*');case'*Format:*\x20resize\x20table':return t('*Format:*\x20resize\x20table');case'*Format:*\x20set\x20order\x20to\x20reversed':return t('*Format:*\x20set\x20order\x20to\x20reversed');case'*Format:*\x20set\x20order\x20to\x20regular':return t('*Format:*\x20set\x20order\x20to\x20regular');case'*Format:*\x20set\x20start\x20index\x20to\x20%0':return t('*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x370b6e);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x370b6e);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x370b6e);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x370b6e);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x370b6e);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x370b6e);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x370b6e);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x370b6e);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x370b6e);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x370b6e);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x370b6e);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x370b6e);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x370b6e);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x370b6e);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x370b6e);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x370b6e);case'*Remove\x20highlight*':return t('*Remove\x20highlight*');case'FORMAT_HIGHLIGHT':return t({'string':'highlight','id':'FORMAT_HIGHLIGHT'});case'FORMAT_RESTRICTED_ENABLED':return t({'string':'*Enable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_ENABLED'});case'FORMAT_RESTRICTED_DISABLED':return t({'string':'*Disable\x20in\x20restricted\x20editing\x20mode*','id':'FORMAT_RESTRICTED_DISABLED'});case'ELEMENT_TABLE':return t({'string':'table','plural':'%0\x20tables','id':'ELEMENT_TABLE'},_0x370b6e);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x370b6e);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x370b6e);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x370b6e);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x370b6e);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x370b6e);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_CAPTION':return t({'string':'caption','id':'ELEMENT_CAPTION'});case'ELEMENT_HORIZONTAL_LINE':return t({'string':'horizontal\x20line','plural':'%0\x20horizontal\x20lines','id':'ELEMENT_HORIZONTAL_LINE'},_0x370b6e);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x370b6e);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x370b6e);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x370b6e);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x370b6e);case'ELEMENT_DEFAULT_LIST_DEFAULT':return t({'string':'default\x20list\x20style','id':'ELEMENT_DEFAULT_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_BULLETED_LIST_DEFAULT':return t({'string':'bulleted\x20list\x20(default)','id':'ELEMENT_BULLETED_LIST_DEFAULT'});case'ELEMENT_BULLETED_LIST_CIRCLE':return t({'string':'bulleted\x20list\x20(circle)','id':'ELEMENT_BULLETED_LIST_CIRCLE'});case'ELEMENT_BULLETED_LIST_DISC':return t({'string':'bulleted\x20list\x20(disc)','id':'ELEMENT_BULLETED_LIST_DISC'});case'ELEMENT_BULLETED_LIST_SQUARE':return t({'string':'bulleted\x20list\x20(square)','id':'ELEMENT_BULLETED_LIST_SQUARE'});case'ELEMENT_NUMBERED_LIST_DEFAULT':return t({'string':'numbered\x20list\x20(default)','id':'ELEMENT_NUMBERED_LIST_DEFAULT'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_NUMBERED_LIST_DECIMAL':return t({'string':'numbered\x20list\x20(decimal)','id':'ELEMENT_NUMBERED_LIST_DECIMAL'});case'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO':return t({'string':'numbered\x20list\x20(decimal\x20with\x20leading\x20zero)','id':'ELEMENT_NUMBERED_LIST_DECIMAL_LEADING_ZERO'});case'ELEMENT_NUMBERED_LIST_LOWER_LATIN':return t({'string':'numbered\x20list\x20(lower-latin)','id':'ELEMENT_NUMBERED_LIST_LOWER_LATIN'});case'ELEMENT_NUMBERED_LIST_LOWER_ROMAN':return t({'string':'numbered\x20list\x20(lower-roman)','id':'ELEMENT_NUMBERED_LIST_LOWER_ROMAN'});case'ELEMENT_NUMBERED_LIST_UPPER_LATIN':return t({'string':'numbered\x20list\x20(upper-latin)','id':'ELEMENT_NUMBERED_LIST_UPPER_LATIN'});case'ELEMENT_NUMBERED_LIST_UPPER_ROMAN':return t({'string':'numbered\x20list\x20(upper-roman)','id':'ELEMENT_NUMBERED_LIST_UPPER_ROMAN'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'ELEMENT_MULTI_LEVEL_LIST':return t({'string':'multi-level\x20list','id':'ELEMENT_MULTI_LEVEL_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x370b6e);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x370b6e);case'FORMAT_ALIGNMENT':return t({'string':'alignment','id':'FORMAT_ALIGNMENT'});case'FORMAT_ALIGN_TO_LEFT':return t({'string':'align\x20to\x20left','id':'FORMAT_ALIGN_TO_LEFT'});case'FORMAT_ALIGN_TO_RIGHT':return t({'string':'align\x20to\x20right','id':'FORMAT_ALIGN_TO_RIGHT'});case'FORMAT_ALIGN_TO_CENTER':return t({'string':'align\x20to\x20center','id':'FORMAT_ALIGN_TO_CENTER'});case'FORMAT_JUSTIFY_TEXT':return t({'string':'justify','id':'FORMAT_JUSTIFY_TEXT'});case'FORMAT_BOLD':return t({'string':'bold','id':'FORMAT_BOLD'});case'FORMAT_ITALIC':return t({'string':'italic','id':'FORMAT_ITALIC'});case'FORMAT_UNDERLINE':return t({'string':'underline','id':'FORMAT_UNDERLINE'});case'FORMAT_CODE':return t({'string':'code','id':'FORMAT_CODE'});case'FORMAT_STRIKETHROUGH':return t({'string':'strikethrough','id':'FORMAT_STRIKETHROUGH'});case'FORMAT_SUBSCRIPT':return t({'string':'subscript','id':'FORMAT_SUBSCRIPT'});case'FORMAT_SUPERSCRIPT':return t({'string':'superscript','id':'FORMAT_SUPERSCRIPT'});case'ELEMENT_BLOCK_QUOTE':return t({'string':'block\x20quote','id':'ELEMENT_BLOCK_QUOTE'});case'ELEMENT_CODE_BLOCK':return t({'string':'code\x20block','plural':'%0\x20code\x20blocks','id':'ELEMENT_CODE_BLOCK'},_0x370b6e);case'FORMAT_HEADER_COLUMN':return t({'string':'header\x20column','id':'FORMAT_HEADER_COLUMN'});case'FORMAT_REGULAR_COLUMN':return t({'string':'regular\x20column','id':'FORMAT_REGULAR_COLUMN'});case'FORMAT_HEADER_ROW':return t({'string':'header\x20row','id':'FORMAT_HEADER_ROW'});case'FORMAT_REGULAR_ROW':return t({'string':'regular\x20row','id':'FORMAT_REGULAR_ROW'});case'FORMAT_INDENT':return t({'string':'indent','id':'FORMAT_INDENT'});case'FORMAT_LIST_REVERSED':return t({'string':'list\x20reversed','id':'FORMAT_LIST_REVERSED'});case'FORMAT_LIST_START':return t({'string':'list\x20start','id':'FORMAT_LIST_START'});case'FORMAT_FONT_SIZE':return t({'string':'font\x20size','id':'FORMAT_FONT_SIZE'});case'FORMAT_FONT_FAMILY':return t({'string':'font\x20family','id':'FORMAT_FONT_FAMILY'});case'FORMAT_FONT_COLOR':return t({'string':'font\x20color','id':'FORMAT_FONT_COLOR'});case'FORMAT_FONT_BACKGROUND':return t({'string':'font\x20background\x20color','id':'FORMAT_FONT_BACKGROUND'});case'FORMAT_IMAGE_SIZE':return t({'string':'image\x20size','id':'FORMAT_IMAGE_SIZE'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'PENDING_ACTION_SUGGESTION':return t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'});case'ELEMENT_TABLE_WITH_TEXT':return t({'string':'table\x20*with\x20text*\x20%0','id':'ELEMENT_TABLE_WITH_TEXT'},_0x370b6e);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x370b6e);case'ELEMENT_TABLE_ROW_WITH_TEXT':return t({'string':'table\x20row\x20*with\x20text*\x20%1','plural':'%0\x20table\x20rows\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_ROW_WITH_TEXT'},_0x370b6e);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x370b6e);case'ELEMENT_TABLE_COLUMN_WITH_TEXT':return t({'string':'table\x20column\x20*with\x20text*\x20%1','plural':'%0\x20table\x20columns\x20*with\x20text*\x20%1','id':'ELEMENT_TABLE_COLUMN_WITH_TEXT'},_0x370b6e);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x370b6e);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x370b6e);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'ELEMENT_MERGE_FIELD':return t({'id':'ELEMENT_MERGE_FIELD','string':'merge\x20field','plural':'%0\x20merge\x20fields'},_0x370b6e);case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});case'EXTERNAL_IMPORT_WORD_SUGGESTION':return t({'string':'This\x20suggestion\x20comes\x20from\x20an\x20imported\x20Word\x20file.','id':'EXTERNAL_IMPORT_WORD_SUGGESTION'});case'EXTERNAL_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0x370b6e);case'EXTERNAL_IMPORT_WORD_AVATAR':return t({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0x370b6e);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x370b6e);case'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20insertion\x20suggestion.','id':'LEAVE_INSERTION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20deletion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_DELETION_SUGGESTION_ANNOUNCEMENT'},_0x370b6e);case'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20deletion\x20suggestion.','id':'LEAVE_DELETION_SUGGESTION_ANNOUNCEMENT'});case'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20formatting\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_FORMATTING_SUGGESTION_ANNOUNCEMENT'},_0x370b6e);case'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT':return t({'string':'Leaving\x20formatting\x20suggestion.','id':'LEAVE_FORMATTING_SUGGESTION_ANNOUNCEMENT'});case'SUGGESTION_THREAD_ARIA_LABEL':return t({'string':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20reply.\x20%3','plural':'Suggestion\x20by\x20%1.\x20Created\x20on\x20%2.\x20%0\x20replies.\x20%3','id':'SUGGESTION_THREAD_ARIA_LABEL'},_0x370b6e);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x47c0e7;}}
@@ -13,6 +13,13 @@ import type { Description } from '../suggestiondescriptionfactory.js';
13
13
  * Used in tests for easy suggestion comparison.
14
14
  */
15
15
  export declare function normalizeDescription(description: Array<Description> | Description): string;
16
+ /**
17
+ * Renders a rich HTML description out of primitive description string.
18
+ */
19
+ export declare function renderDescription(description: string, color?: {
20
+ value: string;
21
+ title: string;
22
+ }): string;
16
23
  export declare function sortSuggestions(suggestions: Array<Suggestion>): Array<Suggestion>;
17
24
  /**
18
25
  * From the list of passed `suggestions` returns those that are selected by given `selection`.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x36463d,_0x49d9fc){const _0x275c4a=_0x559d,_0x3f1e66=_0x36463d();while(!![]){try{const _0xc5734b=parseInt(_0x275c4a(0x1e0))/0x1+-parseInt(_0x275c4a(0x1f4))/0x2*(-parseInt(_0x275c4a(0x1e6))/0x3)+-parseInt(_0x275c4a(0x1f5))/0x4*(parseInt(_0x275c4a(0x1df))/0x5)+parseInt(_0x275c4a(0x1f0))/0x6+parseInt(_0x275c4a(0x200))/0x7+parseInt(_0x275c4a(0x1f7))/0x8+-parseInt(_0x275c4a(0x1fe))/0x9*(parseInt(_0x275c4a(0x1fa))/0xa);if(_0xc5734b===_0x49d9fc)break;else _0x3f1e66['push'](_0x3f1e66['shift']());}catch(_0x48df2a){_0x3f1e66['push'](_0x3f1e66['shift']());}}}(_0x5bf3,0x3203b));export function normalizeDescription(_0x2a01a7){const _0x46aaea=_0x559d;return Array[_0x46aaea(0x1fc)](_0x2a01a7)||(_0x2a01a7=[_0x2a01a7]),_0x2a01a7[_0x46aaea(0x1e5)](_0x210336=>{const _0x528ade=_0x46aaea,_0x183ac7=_0x210336[_0x528ade(0x1f1)][_0x528ade(0x1ef)](/\*/g,''),_0x2f9f12=_0x210336[_0x528ade(0x1fd)]?_0x528ade(0x1ea)+_0x210336[_0x528ade(0x1fd)][_0x528ade(0x1ff)]+']':'';return'['+_0x210336[_0x528ade(0x1ee)]+']\x20'+_0x183ac7+_0x2f9f12;})[_0x46aaea(0x1f6)](';\x20');}export function sortSuggestions(_0x65db15){const _0x56b593=_0x559d;return _0x65db15[_0x56b593(0x1f9)]((_0x3d1ea0,_0x3bf6b4)=>_0x56b593(0x1dc)==_0x3d1ea0[_0x56b593(0x1ee)]&&_0x56b593(0x1dc)!=_0x3bf6b4[_0x56b593(0x1ee)]?-0x1:_0x56b593(0x1dc)!=_0x3d1ea0[_0x56b593(0x1ee)]&&_0x56b593(0x1dc)==_0x3bf6b4[_0x56b593(0x1ee)]?0x1:0x0);}export function getSelectedSuggestions(_0x5adee6,_0x4d0e3a){const _0x41f71b=_0x559d,_0x2b9ab0=Array[_0x41f71b(0x1d7)](_0x5adee6[_0x41f71b(0x1e1)]()),_0x14069c=new Set();for(const _0x705951 of _0x4d0e3a)if(_0x705951[_0x41f71b(0x1e9)]){for(const _0x59be93 of _0x2b9ab0)for(const _0x3064c1 of _0x705951[_0x41f71b(0x1e1)]())(_0x59be93[_0x41f71b(0x1fb)](_0x3064c1)||_0x5adee6[_0x41f71b(0x201)]&&!_0x705951[_0x41f71b(0x1d9)]&&_0x705951[_0x41f71b(0x1da)]&&_0x3064c1[_0x41f71b(0x1de)][_0x41f71b(0x1f8)](_0x59be93[_0x41f71b(0x1f3)]))&&_0x14069c[_0x41f71b(0x1e2)](_0x705951);}return _0x14069c;}function _0x5bf3(){const _0x4b3d8a=['createPositionAt','isMultiRange','next','execute','deletion','length','end','365RkQWdN','184853bOPjmT','getRanges','add','schema','createPositionBefore','map','1911bFpZly','change','createPositionAfter','isInContent','\x20[color\x20','splice','createRange','isObject','type','replace','455322hKkKth','content','push','start','988WCtPZW','6204NkGaWB','join','1378152rWFdFJ','isTouching','sort','160QjsoNc','isIntersecting','isArray','color','402327ZmWxdI','value','1999501pfStXZ','isCollapsed','from'];_0x5bf3=function(){return _0x4b3d8a;};return _0x5bf3();}export function getRangesOfBlockGroups(_0x213a8c,_0x90e0d6){const _0x4f7fe0=_0x559d;let _0x3240ac,_0xd067d9=0x0;const _0x372138=[],_0x57fb23=_0x90e0d6[_0x4f7fe0(0x1e3)];for(;_0xd067d9<_0x213a8c[_0x4f7fe0(0x1dd)];){const _0x145647=_0x213a8c[_0xd067d9],_0x23cce1=_0x213a8c[_0xd067d9+0x1];_0x3240ac||(_0x3240ac=_0x90e0d6[_0x4f7fe0(0x1e4)](_0x145647)),co(_0x90e0d6,_0x145647,_0x23cce1)||(_0x372138[_0x4f7fe0(0x1f2)](_0x90e0d6[_0x4f7fe0(0x1ec)](_0x3240ac,_0x57fb23[_0x4f7fe0(0x1ed)](_0x145647)?_0x90e0d6[_0x4f7fe0(0x1e8)](_0x145647):_0x90e0d6[_0x4f7fe0(0x1d8)](_0x145647,_0x4f7fe0(0x1de)))),_0x3240ac=null),_0xd067d9++;}return _0x372138;}function co(_0xc958a,_0x2f9589,_0x4a0ed8){const _0x2e7600=_0x559d;if(!_0x4a0ed8)return!0x1;const _0x4d4fd5=_0xc958a[_0x2e7600(0x1e8)](_0x2f9589),_0x3085bc=_0xc958a[_0x2e7600(0x1e4)](_0x4a0ed8);return _0x4d4fd5[_0x2e7600(0x1f8)](_0x3085bc);}function _0x559d(_0x3c5972,_0x1b0ddd){const _0x5bf33a=_0x5bf3();return _0x559d=function(_0x559dbc,_0x11ff8d){_0x559dbc=_0x559dbc-0x1d7;let _0x5cf50e=_0x5bf33a[_0x559dbc];return _0x5cf50e;},_0x559d(_0x3c5972,_0x1b0ddd);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4d3e53,_0x526165,_0x2a7c0f){const _0x4b4eab=_0x559d;for(;_0x2a7c0f[_0x4b4eab(0x1dd)];){const _0x3a52bd=_0x2a7c0f[_0x4b4eab(0x1eb)](0x0,0x64);_0x4d3e53[_0x4b4eab(0x1e7)](()=>{const _0x3f3ba6=_0x4b4eab;for(const _0x28f200 of _0x3a52bd)_0x28f200[_0x3f3ba6(0x1e9)]&&_0x526165[_0x3f3ba6(0x1db)](_0x28f200['id']);});}}
23
+ (function(_0x54a75f,_0x141570){const _0x505782=_0x1cbd,_0xc09c18=_0x54a75f();while(!![]){try{const _0x419f52=parseInt(_0x505782(0x87))/0x1+-parseInt(_0x505782(0x8c))/0x2+-parseInt(_0x505782(0x9f))/0x3*(parseInt(_0x505782(0x88))/0x4)+parseInt(_0x505782(0x8f))/0x5+-parseInt(_0x505782(0x8b))/0x6*(-parseInt(_0x505782(0xa5))/0x7)+-parseInt(_0x505782(0x85))/0x8+parseInt(_0x505782(0xac))/0x9;if(_0x419f52===_0x141570)break;else _0xc09c18['push'](_0xc09c18['shift']());}catch(_0x234737){_0xc09c18['push'](_0xc09c18['shift']());}}}(_0x3c02,0x3203e));export function normalizeDescription(_0x3100d6){const _0x59ab1c=_0x1cbd;return Array[_0x59ab1c(0xa3)](_0x3100d6)||(_0x3100d6=[_0x3100d6]),_0x3100d6[_0x59ab1c(0x86)](_0x24193b=>{const _0x48fa2e=_0x59ab1c,_0x4e64b3=_0x24193b[_0x48fa2e(0x90)][_0x48fa2e(0xa4)](/\*/g,''),_0x528402=_0x24193b[_0x48fa2e(0x82)]?_0x48fa2e(0xa7)+_0x24193b[_0x48fa2e(0x82)][_0x48fa2e(0x81)]+']':'';return'['+_0x24193b[_0x48fa2e(0x9e)]+']\x20'+_0x4e64b3+_0x528402;})[_0x59ab1c(0x9d)](';\x20');}function _0x1cbd(_0x3ec12a,_0x497b1a){const _0x3c02d0=_0x3c02();return _0x1cbd=function(_0x1cbdbf,_0x476cd3){_0x1cbdbf=_0x1cbdbf-0x7d;let _0x938460=_0x3c02d0[_0x1cbdbf];return _0x938460;},_0x1cbd(_0x3ec12a,_0x497b1a);}export function renderDescription(_0x11f15f,_0x372499){const _0x481c8f=_0x1cbd;let _0x6b0348='';return _0x6b0348+=_0x11f15f[_0x481c8f(0x83)]('*')[_0x481c8f(0x86)]((_0x2abaf8,_0x15cb1e)=>_0x15cb1e%0x2!=0x0?_0x481c8f(0xae)+nn(_0x2abaf8)+_0x481c8f(0x92):nn(_0x2abaf8))[_0x481c8f(0x9d)](''),_0x372499&&(_0x6b0348+=_0x481c8f(0x95)+_0x372499[_0x481c8f(0x81)]+_0x481c8f(0xad)+_0x372499[_0x481c8f(0xa0)]+_0x481c8f(0x99)),_0x6b0348;}function nn(_0x192e71){const _0x581592=_0x1cbd,_0x4ba2ed=document[_0x581592(0x93)](_0x581592(0x94));return _0x4ba2ed[_0x581592(0xaa)]=_0x192e71,_0x4ba2ed[_0x581592(0x98)];}export function sortSuggestions(_0x5865e2){const _0x2e97be=_0x1cbd;return _0x5865e2[_0x2e97be(0x8e)]((_0x131ef7,_0x1e798e)=>_0x2e97be(0x7e)==_0x131ef7[_0x2e97be(0x9e)]&&_0x2e97be(0x7e)!=_0x1e798e[_0x2e97be(0x9e)]?-0x1:_0x2e97be(0x7e)!=_0x131ef7[_0x2e97be(0x9e)]&&_0x2e97be(0x7e)==_0x1e798e[_0x2e97be(0x9e)]?0x1:0x0);}export function getSelectedSuggestions(_0x447e44,_0x270a27){const _0xa2c0a6=_0x1cbd,_0x1db642=Array[_0xa2c0a6(0x9b)](_0x447e44[_0xa2c0a6(0x9c)]()),_0xa225cf=new Set();for(const _0x225f73 of _0x270a27)if(_0x225f73[_0xa2c0a6(0xa2)]){for(const _0x2abc76 of _0x1db642)for(const _0x39b73a of _0x225f73[_0xa2c0a6(0x9c)]())(_0x2abc76[_0xa2c0a6(0xa1)](_0x39b73a)||_0x447e44[_0xa2c0a6(0x91)]&&!_0x225f73[_0xa2c0a6(0x89)]&&_0x225f73[_0xa2c0a6(0xa6)]&&_0x39b73a[_0xa2c0a6(0xa9)][_0xa2c0a6(0xb0)](_0x2abc76[_0xa2c0a6(0xa8)]))&&_0xa225cf[_0xa2c0a6(0x9a)](_0x225f73);}return _0xa225cf;}export function getRangesOfBlockGroups(_0x31e13f,_0x207610){const _0x4cab66=_0x1cbd;let _0x2b1062,_0x4059e2=0x0;const _0x3e00e2=[],_0x19da6d=_0x207610[_0x4cab66(0x7d)];for(;_0x4059e2<_0x31e13f[_0x4cab66(0x8d)];){const _0x1e1bd7=_0x31e13f[_0x4059e2],_0x3fb5da=_0x31e13f[_0x4059e2+0x1];_0x2b1062||(_0x2b1062=_0x207610[_0x4cab66(0x80)](_0x1e1bd7)),on(_0x207610,_0x1e1bd7,_0x3fb5da)||(_0x3e00e2[_0x4cab66(0x97)](_0x207610[_0x4cab66(0x84)](_0x2b1062,_0x19da6d[_0x4cab66(0xaf)](_0x1e1bd7)?_0x207610[_0x4cab66(0x96)](_0x1e1bd7):_0x207610[_0x4cab66(0x7f)](_0x1e1bd7,_0x4cab66(0xa9)))),_0x2b1062=null),_0x4059e2++;}return _0x3e00e2;}function on(_0x531963,_0x15c51a,_0x3492d9){const _0x11fe23=_0x1cbd;if(!_0x3492d9)return!0x1;const _0x258c34=_0x531963[_0x11fe23(0x96)](_0x15c51a),_0x1ae2cd=_0x531963[_0x11fe23(0x80)](_0x3492d9);return _0x258c34[_0x11fe23(0xb0)](_0x1ae2cd);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x21c2b5,_0x3b525e,_0x70f213){const _0x5e707a=_0x1cbd;for(;_0x70f213[_0x5e707a(0x8d)];){const _0xbcefbc=_0x70f213[_0x5e707a(0x8a)](0x0,0x64);_0x21c2b5[_0x5e707a(0xb1)](()=>{const _0x54edbf=_0x5e707a;for(const _0x237466 of _0xbcefbc)_0x237466[_0x54edbf(0xa2)]&&_0x3b525e[_0x54edbf(0xab)](_0x237466['id']);});}}function _0x3c02(){const _0x22b80b=['add','from','getRanges','join','type','171kBzDtA','title','isIntersecting','isInContent','isArray','replace','7kRwWGN','next','\x20[color\x20','start','end','innerText','execute','4646565cZqMYk','\x22\x20title=\x22','<span\x20class=\x22ck-suggestion-type\x22>','isObject','isTouching','change','schema','deletion','createPositionAt','createPositionBefore','value','color','split','createRange','2679832ikWXPN','map','47650VoaGMb','22724PmSkJN','isMultiRange','splice','578118IWgtvb','250334Xfuamr','length','sort','1642685ZQfqnT','content','isCollapsed','</span>','createElement','span','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionAfter','push','innerHTML','\x22></span>'];_0x3c02=function(){return _0x22b80b;};return _0x3c02();}