@ckeditor/ckeditor5-track-changes 0.0.0-nightly-20240729.0 → 0.0.0-nightly-20240731.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 (175) hide show
  1. package/build/track-changes.js +1 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +3 -3
  4. package/dist/translations/ar.js +1 -1
  5. package/dist/translations/ar.umd.js +1 -1
  6. package/dist/translations/az.js +1 -1
  7. package/dist/translations/az.umd.js +1 -1
  8. package/dist/translations/bg.js +1 -1
  9. package/dist/translations/bg.umd.js +1 -1
  10. package/dist/translations/bn.js +1 -1
  11. package/dist/translations/bn.umd.js +1 -1
  12. package/dist/translations/ca.js +1 -1
  13. package/dist/translations/ca.umd.js +1 -1
  14. package/dist/translations/cs.js +1 -1
  15. package/dist/translations/cs.umd.js +1 -1
  16. package/dist/translations/da.js +1 -1
  17. package/dist/translations/da.umd.js +1 -1
  18. package/dist/translations/de.js +1 -1
  19. package/dist/translations/de.umd.js +1 -1
  20. package/dist/translations/el.js +1 -1
  21. package/dist/translations/el.umd.js +1 -1
  22. package/dist/translations/en-au.js +1 -1
  23. package/dist/translations/en-au.umd.js +1 -1
  24. package/dist/translations/en.umd.js +1 -1
  25. package/dist/translations/es.js +1 -1
  26. package/dist/translations/es.umd.js +1 -1
  27. package/dist/translations/et.js +1 -1
  28. package/dist/translations/et.umd.js +1 -1
  29. package/dist/translations/fi.js +1 -1
  30. package/dist/translations/fi.umd.js +1 -1
  31. package/dist/translations/fr.js +1 -1
  32. package/dist/translations/fr.umd.js +1 -1
  33. package/dist/translations/gl.js +1 -1
  34. package/dist/translations/gl.umd.js +1 -1
  35. package/dist/translations/he.js +1 -1
  36. package/dist/translations/he.umd.js +1 -1
  37. package/dist/translations/hi.js +1 -1
  38. package/dist/translations/hi.umd.js +1 -1
  39. package/dist/translations/hr.js +1 -1
  40. package/dist/translations/hr.umd.js +1 -1
  41. package/dist/translations/hu.js +1 -1
  42. package/dist/translations/hu.umd.js +1 -1
  43. package/dist/translations/id.js +1 -1
  44. package/dist/translations/id.umd.js +1 -1
  45. package/dist/translations/it.js +1 -1
  46. package/dist/translations/it.umd.js +1 -1
  47. package/dist/translations/ja.js +1 -1
  48. package/dist/translations/ja.umd.js +1 -1
  49. package/dist/translations/ko.js +1 -1
  50. package/dist/translations/ko.umd.js +1 -1
  51. package/dist/translations/lt.js +1 -1
  52. package/dist/translations/lt.umd.js +1 -1
  53. package/dist/translations/lv.js +1 -1
  54. package/dist/translations/lv.umd.js +1 -1
  55. package/dist/translations/ms.js +1 -1
  56. package/dist/translations/ms.umd.js +1 -1
  57. package/dist/translations/nl.js +1 -1
  58. package/dist/translations/nl.umd.js +1 -1
  59. package/dist/translations/no.js +1 -1
  60. package/dist/translations/no.umd.js +1 -1
  61. package/dist/translations/pl.js +1 -1
  62. package/dist/translations/pl.umd.js +1 -1
  63. package/dist/translations/pt-br.js +1 -1
  64. package/dist/translations/pt-br.umd.js +1 -1
  65. package/dist/translations/pt.js +1 -1
  66. package/dist/translations/pt.umd.js +1 -1
  67. package/dist/translations/ro.js +1 -1
  68. package/dist/translations/ro.umd.js +1 -1
  69. package/dist/translations/ru.js +1 -1
  70. package/dist/translations/ru.umd.js +1 -1
  71. package/dist/translations/sk.js +1 -1
  72. package/dist/translations/sk.umd.js +1 -1
  73. package/dist/translations/sq.js +1 -1
  74. package/dist/translations/sq.umd.js +1 -1
  75. package/dist/translations/sr-latn.js +1 -1
  76. package/dist/translations/sr-latn.umd.js +1 -1
  77. package/dist/translations/sr.js +1 -1
  78. package/dist/translations/sr.umd.js +1 -1
  79. package/dist/translations/sv.js +1 -1
  80. package/dist/translations/sv.umd.js +1 -1
  81. package/dist/translations/th.js +1 -1
  82. package/dist/translations/th.umd.js +1 -1
  83. package/dist/translations/tk.js +1 -1
  84. package/dist/translations/tk.umd.js +1 -1
  85. package/dist/translations/tr.js +1 -1
  86. package/dist/translations/tr.umd.js +1 -1
  87. package/dist/translations/tt.js +1 -1
  88. package/dist/translations/tt.umd.js +1 -1
  89. package/dist/translations/uk.js +1 -1
  90. package/dist/translations/uk.umd.js +1 -1
  91. package/dist/translations/ur.js +1 -1
  92. package/dist/translations/ur.umd.js +1 -1
  93. package/dist/translations/vi.js +1 -1
  94. package/dist/translations/vi.umd.js +1 -1
  95. package/dist/translations/zh-cn.js +1 -1
  96. package/dist/translations/zh-cn.umd.js +1 -1
  97. package/dist/translations/zh.js +1 -1
  98. package/dist/translations/zh.umd.js +1 -1
  99. package/dist/ui/view/basesuggestionthreadview.d.ts +32 -3
  100. package/dist/ui/view/suggestionthreadview.d.ts +16 -9
  101. package/dist/utils/utils.d.ts +7 -0
  102. package/lang/contexts.json +2 -0
  103. package/package.json +10 -10
  104. package/src/commands/acceptsuggestioncommand.js +1 -1
  105. package/src/commands/discardsuggestioncommand.js +1 -1
  106. package/src/commands/executeonallsuggestionscommand.js +1 -1
  107. package/src/commands/executeonselectedsuggestionscommand.js +1 -1
  108. package/src/commands/trackchangescommand.js +1 -1
  109. package/src/index.d.ts +1 -0
  110. package/src/index.js +1 -1
  111. package/src/integrations/aiassistant.js +1 -1
  112. package/src/integrations/alignment.js +1 -1
  113. package/src/integrations/basicstyles.js +1 -1
  114. package/src/integrations/blockquote.js +1 -1
  115. package/src/integrations/casechange.js +1 -1
  116. package/src/integrations/ckbox.js +1 -1
  117. package/src/integrations/codeblock.js +1 -1
  118. package/src/integrations/comments.js +1 -1
  119. package/src/integrations/deletecommand.js +1 -1
  120. package/src/integrations/entercommand.js +1 -1
  121. package/src/integrations/findandreplace.js +1 -1
  122. package/src/integrations/font.js +1 -1
  123. package/src/integrations/formatpainter.js +1 -1
  124. package/src/integrations/heading.js +1 -1
  125. package/src/integrations/highlight.js +1 -1
  126. package/src/integrations/horizontalline.js +1 -1
  127. package/src/integrations/htmlembed.js +1 -1
  128. package/src/integrations/image.js +1 -1
  129. package/src/integrations/imagereplace.js +1 -1
  130. package/src/integrations/imagestyle.js +1 -1
  131. package/src/integrations/importword.js +1 -1
  132. package/src/integrations/indent.js +1 -1
  133. package/src/integrations/inputcommand.js +1 -1
  134. package/src/integrations/legacylist.js +1 -1
  135. package/src/integrations/legacylistproperties.js +1 -1
  136. package/src/integrations/link.js +1 -1
  137. package/src/integrations/list.js +1 -1
  138. package/src/integrations/listproperties.js +1 -1
  139. package/src/integrations/mediaembed.js +1 -1
  140. package/src/integrations/mention.js +1 -1
  141. package/src/integrations/mergefields.js +1 -1
  142. package/src/integrations/multilevellist.js +1 -1
  143. package/src/integrations/pagebreak.js +1 -1
  144. package/src/integrations/paragraph.js +1 -1
  145. package/src/integrations/removeformat.js +1 -1
  146. package/src/integrations/restrictededitingmode.js +1 -1
  147. package/src/integrations/shiftentercommand.js +1 -1
  148. package/src/integrations/standardeditingmode.js +1 -1
  149. package/src/integrations/style.js +1 -1
  150. package/src/integrations/table.js +1 -1
  151. package/src/integrations/tablecaption.js +1 -1
  152. package/src/integrations/tableclipboard.js +1 -1
  153. package/src/integrations/tablecolumnresize.js +1 -1
  154. package/src/integrations/tableheadings.js +1 -1
  155. package/src/integrations/tablemergesplit.js +1 -1
  156. package/src/integrations/tableofcontents.js +1 -1
  157. package/src/integrations/tableproperties.js +1 -1
  158. package/src/integrations/template.js +1 -1
  159. package/src/integrations/title.js +1 -1
  160. package/src/integrations/undo.js +1 -1
  161. package/src/integrations/utils.js +1 -1
  162. package/src/suggestion.js +2 -2
  163. package/src/suggestiondescriptionfactory.js +1 -1
  164. package/src/trackchanges.js +1 -1
  165. package/src/trackchangesdata.js +1 -1
  166. package/src/trackchangesediting.js +1 -1
  167. package/src/trackchangesui.js +1 -1
  168. package/src/ui/suggestioncontroller.js +2 -2
  169. package/src/ui/view/basesuggestionthreadview.d.ts +32 -3
  170. package/src/ui/view/basesuggestionthreadview.js +1 -1
  171. package/src/ui/view/suggestionthreadview.d.ts +16 -9
  172. package/src/ui/view/suggestionthreadview.js +1 -1
  173. package/src/utils/common-translations.js +1 -1
  174. package/src/utils/utils.d.ts +7 -0
  175. package/src/utils/utils.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4b7c6e=_0x3914;(function(_0x4e9a6c,_0x3c8076){const _0x3fe7ea=_0x3914,_0x27bb46=_0x4e9a6c();while(!![]){try{const _0xa4b158=-parseInt(_0x3fe7ea(0x1e5))/0x1*(parseInt(_0x3fe7ea(0x240))/0x2)+parseInt(_0x3fe7ea(0x1dd))/0x3+-parseInt(_0x3fe7ea(0x20c))/0x4+parseInt(_0x3fe7ea(0x207))/0x5+parseInt(_0x3fe7ea(0x222))/0x6*(-parseInt(_0x3fe7ea(0x1f2))/0x7)+-parseInt(_0x3fe7ea(0x1fd))/0x8*(parseInt(_0x3fe7ea(0x228))/0x9)+parseInt(_0x3fe7ea(0x239))/0xa*(parseInt(_0x3fe7ea(0x22c))/0xb);if(_0xa4b158===_0x3c8076)break;else _0x27bb46['push'](_0x27bb46['shift']());}catch(_0x51d65b){_0x27bb46['push'](_0x27bb46['shift']());}}}(_0x279c,0x1930a));import{Plugin as _0x3fbb69}from'ckeditor5/src/core.js';import{Collection as _0x3368d6}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x5da57c,createDropdown as _0x2424b3,ListSeparatorView as _0x240820,MenuBarMenuView as _0xbee6f3,MenuBarMenuListView as _0x259e67,MenuBarMenuListItemView as _0x32b286,MenuBarMenuListItemButtonView as _0x58e388,SplitButtonView as _0xe56c93,ViewModel as _0x2abc4c}from'ckeditor5/src/ui.js';import{Users as _0x1034a3,getDateTimeFormatter as _0x529491,getAllMarkersDomElementsSorted as _0x18aedb}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4052e2 from'./trackchangesediting.js';import _0x2ef7c2 from'./ui/suggestioncontroller.js';import _0x3a69b4 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x285175}from'./utils/common-translations.js';import _0x20215f from'../theme/icons/track-changes.svg';export default class d extends _0x3fbb69{static get[_0x4b7c6e(0x1d1)](){const _0x50cb68=_0x4b7c6e;return[_0x4052e2,_0x1034a3,_0x50cb68(0x214),_0x50cb68(0x224),_0x50cb68(0x242)];}static get[_0x4b7c6e(0x23c)](){const _0x1cbae1=_0x4b7c6e;return _0x1cbae1(0x1fa);}constructor(_0x1557b4){const _0x54c00b=_0x4b7c6e;super(_0x1557b4),this[_0x54c00b(0x1f9)]=new Map(),this[_0x54c00b(0x21d)]=new Map(),this[_0x54c00b(0x1ca)]=new Map(),this[_0x54c00b(0x253)]=new Map();const _0xe0f8ff=this[_0x54c00b(0x232)][_0x54c00b(0x202)];_0xe0f8ff[_0x54c00b(0x1e3)](_0x54c00b(0x201),_0x3a69b4),_0xe0f8ff[_0x54c00b(0x1e3)](_0x54c00b(0x211),!0x1),this[_0x54c00b(0x234)]=_0xe0f8ff[_0x54c00b(0x22e)](_0x54c00b(0x211));}[_0x4b7c6e(0x251)](_0x2ad94f,_0x973b5f){const _0x1f591c=_0x4b7c6e;0x0===this[_0x1f591c(0x253)][_0x1f591c(0x1ef)]&&setTimeout(()=>{const _0x4d08c3=_0x1f591c;for(const [_0x3ac7ec,_0xdb20fd]of this[_0x4d08c3(0x253)]){const _0x5c5780=this[_0x4d08c3(0x1f9)][_0x4d08c3(0x1dc)](_0x3ac7ec);_0x5c5780||_0xdb20fd?_0x5c5780&&_0xdb20fd&&this[_0x4d08c3(0x238)](_0x3ac7ec):this[_0x4d08c3(0x1db)](_0x3ac7ec);}this[_0x4d08c3(0x253)][_0x4d08c3(0x1d0)](),this[_0x4d08c3(0x232)][_0x4d08c3(0x250)][_0x4d08c3(0x22e)](_0x4d08c3(0x242))[_0x4d08c3(0x24e)](),this[_0x4d08c3(0x22b)]();},0xa),this[_0x1f591c(0x253)][_0x1f591c(0x1c9)](_0x2ad94f,_0x973b5f);}[_0x4b7c6e(0x1ea)](){const _0x2cfcba=_0x4b7c6e,_0x2dc939=this[_0x2cfcba(0x232)],_0x403801=_0x2dc939[_0x2cfcba(0x250)][_0x2cfcba(0x22e)](_0x2cfcba(0x1e7)),_0x5c096d=_0x2dc939[_0x2cfcba(0x250)][_0x2cfcba(0x22e)](_0x2cfcba(0x224)),_0x2983eb=_0x2dc939[_0x2cfcba(0x250)][_0x2cfcba(0x22e)](_0x2cfcba(0x242)),_0x1931f0=_0x2dc939[_0x2cfcba(0x250)][_0x2cfcba(0x22e)](_0x2cfcba(0x214));this[_0x2cfcba(0x223)](),_0x2983eb[_0x2cfcba(0x233)](()=>{const _0x374b59=_0x2cfcba,_0x55bf9f=[];for(const [_0xe57528,_0x57ea32]of Array[_0x374b59(0x1d6)](this[_0x374b59(0x1f9)])){const _0x532318=_0xe57528[_0x374b59(0x209)](),_0x1d9014=[];for(const _0x464301 of _0x532318){if(!_0x464301[_0x374b59(0x1f0)])continue;if(_0x464301[_0x374b59(0x219)]){_0x1d9014[_0x374b59(0x1d8)](..._0x464301[_0x374b59(0x229)]());continue;}const _0x246f6d=_0x464301[_0x374b59(0x20e)]();if(_0x1d9014[_0x374b59(0x1f4)]>0x0){const _0x155b25=_0x1d9014[0x0][_0x374b59(0x257)](_0x246f6d);if(_0x155b25){_0x1d9014[0x0]=_0x155b25;continue;}}_0x1d9014[_0x374b59(0x1d8)](_0x246f6d);}_0x55bf9f[_0x374b59(0x1d8)]([_0x57ea32[_0x374b59(0x255)],_0x1d9014]);}return _0x55bf9f;}),this[_0x2cfcba(0x226)](_0x403801,_0x2cfcba(0x1e0),(_0x2b301a,_0x4636b7)=>{const _0x1d7a5e=_0x2cfcba;this[_0x1d7a5e(0x226)](_0x4636b7,_0x1d7a5e(0x200),(_0x4c8e75,_0x4a63a9,_0x20e5c6,_0x119e12)=>{const _0x1c1581=_0x1d7a5e;_0x4636b7[_0x1c1581(0x1f0)]&&(null==_0x20e5c6?(this[_0x1c1581(0x243)](_0x119e12[_0x1c1581(0x24b)]),this[_0x1c1581(0x251)](_0x4636b7,!0x1)):(this[_0x1c1581(0x243)](_0x20e5c6[_0x1c1581(0x24b)]),null==_0x119e12&&this[_0x1c1581(0x251)](_0x4636b7,!0x0)));}),null!==_0x4636b7[_0x1d7a5e(0x1de)]?this[_0x1d7a5e(0x243)](_0x4636b7[_0x1d7a5e(0x24b)]):this[_0x1d7a5e(0x251)](_0x4636b7,!0x1);}),this[_0x2cfcba(0x226)](_0x403801,_0x2cfcba(0x1f6),(_0x157927,_0x5f064a,_0x7a9449)=>{const _0x3d65df=_0x2cfcba;this[_0x3d65df(0x25a)](_0x5f064a,_0x3d65df(0x200)),this[_0x3d65df(0x253)][_0x3d65df(0x258)](_0x5f064a),this[_0x3d65df(0x1f9)][_0x3d65df(0x1dc)](_0x5f064a)&&this[_0x3d65df(0x238)](_0x5f064a),_0x7a9449&&this[_0x3d65df(0x243)](_0x7a9449[_0x3d65df(0x24b)]);}),this[_0x2cfcba(0x226)](_0x403801,_0x2cfcba(0x215),(_0x47c410,_0x3c6be2)=>{const _0x5b4a70=_0x2cfcba;this[_0x5b4a70(0x243)](_0x3c6be2);}),this[_0x2cfcba(0x226)](_0x5c096d,_0x2cfcba(0x1e9),()=>{const _0x39c1a7=_0x2cfcba;this[_0x39c1a7(0x22b)]();}),this[_0x2cfcba(0x226)](_0x1931f0,_0x2cfcba(0x1d5),(_0x42b8f5,{threadId:_0x4b474c,isFromAdapter:_0x3c5781})=>{const _0x523a15=_0x2cfcba;if(_0x3c5781||!_0x403801[_0x523a15(0x1fb)](_0x4b474c))return;const _0x156a6d=_0x403801[_0x523a15(0x203)](_0x4b474c);this[_0x523a15(0x1f9)][_0x523a15(0x22e)](_0x156a6d)[_0x523a15(0x255)][_0x523a15(0x20d)]();},{'priority':_0x2cfcba(0x1cd)});}[_0x4b7c6e(0x22b)](){const _0x589ff7=_0x4b7c6e,_0x4a5789=this[_0x589ff7(0x232)][_0x589ff7(0x250)][_0x589ff7(0x22e)](_0x589ff7(0x224)),_0x44335f=this[_0x589ff7(0x232)][_0x589ff7(0x250)][_0x589ff7(0x22e)](_0x589ff7(0x1e7)),_0x28f3c7=Array[_0x589ff7(0x1d6)](_0x4a5789[_0x589ff7(0x1d7)],_0x434756=>_0x434756[_0x589ff7(0x244)])[_0x589ff7(0x1da)](_0x4305e2=>this[_0x589ff7(0x21d)][_0x589ff7(0x1dc)](_0x4305e2)),_0x551518=[];for(const _0x3abf9d of _0x28f3c7){const _0x33b297=this[_0x589ff7(0x21d)][_0x589ff7(0x22e)](_0x3abf9d)[_0x589ff7(0x220)][_0x589ff7(0x209)]();_0x551518[_0x589ff7(0x1d8)](..._0x33b297[_0x589ff7(0x230)]((_0x1def34,_0x5b0c6b)=>[..._0x1def34,..._0x5b0c6b[_0x589ff7(0x225)]()],[]));}_0x44335f[_0x589ff7(0x259)]=_0x551518;}[_0x4b7c6e(0x223)](){const _0x4762c2=_0x4b7c6e,_0x21eba5=this[_0x4762c2(0x232)],_0x15eac1=_0x21eba5[_0x4762c2(0x245)],_0x58be5d=_0x285175(_0x15eac1,_0x4762c2(0x208)),_0x3014b4=new _0x3368d6([{'type':_0x4762c2(0x210),'model':new _0x2abc4c({'withText':!0x0,'isToggleable':!0x0,'label':_0x58be5d,'commandName':_0x4762c2(0x217),'role':_0x4762c2(0x1ec)})},{'type':_0x4762c2(0x1fe)},{'type':_0x4762c2(0x24f),'model':new _0x2abc4c({'withText':!0x0,'label':_0x285175(_0x15eac1,_0x4762c2(0x21c)),'commandName':_0x4762c2(0x1ed),'role':_0x4762c2(0x1e2)})},{'type':_0x4762c2(0x24f),'model':new _0x2abc4c({'withText':!0x0,'label':_0x285175(_0x15eac1,_0x4762c2(0x254)),'commandName':_0x4762c2(0x218),'role':_0x4762c2(0x1e2)})},{'type':_0x4762c2(0x24f),'model':new _0x2abc4c({'withText':!0x0,'label':_0x285175(_0x15eac1,_0x4762c2(0x1fc)),'commandName':_0x4762c2(0x206),'role':_0x4762c2(0x1e2)})},{'type':_0x4762c2(0x24f),'model':new _0x2abc4c({'withText':!0x0,'label':_0x285175(_0x15eac1,_0x4762c2(0x21b)),'commandName':_0x4762c2(0x24d),'role':_0x4762c2(0x1e2)})}]);for(const _0x2618e2 of _0x3014b4)if(re(_0x2618e2)){const _0x145b76=_0x21eba5[_0x4762c2(0x23a)][_0x4762c2(0x22e)](_0x2618e2[_0x4762c2(0x220)][_0x4762c2(0x1f8)]);_0x2618e2[_0x4762c2(0x220)][_0x4762c2(0x22d)](_0x4762c2(0x1ff),_0x4762c2(0x1f7))['to'](_0x145b76,_0x4762c2(0x21e),_0x4762c2(0x1f7));}_0x21eba5['ui'][_0x4762c2(0x1f3)][_0x4762c2(0x252)](_0x4762c2(0x217),_0x117950=>this[_0x4762c2(0x20a)](_0x117950,_0x3014b4,_0x58be5d)),_0x21eba5['ui'][_0x4762c2(0x1f3)][_0x4762c2(0x252)](_0x4762c2(0x21f),_0x50d966=>this[_0x4762c2(0x1f1)](_0x50d966,_0x3014b4,_0x58be5d));}[_0x4b7c6e(0x20a)](_0x31c632,_0x4396c4,_0x1636e0){const _0x2cf31c=_0x4b7c6e,_0x4a254f=_0x2424b3(_0x31c632,_0xe56c93),_0x42cd9f=this[_0x2cf31c(0x232)][_0x2cf31c(0x23a)][_0x2cf31c(0x22e)](_0x2cf31c(0x217));_0x4a254f[_0x2cf31c(0x23b)][_0x2cf31c(0x1c9)]({'tooltip':_0x1636e0,'label':_0x1636e0,'icon':_0x20215f}),_0x4a254f[_0x2cf31c(0x23b)][_0x2cf31c(0x22d)](_0x2cf31c(0x1ff))['to'](_0x42cd9f,_0x2cf31c(0x21e)),_0x4a254f[_0x2cf31c(0x23b)]['on'](_0x2cf31c(0x221),()=>{const _0x5df62b=_0x2cf31c;_0x42cd9f[_0x5df62b(0x221)](),this[_0x5df62b(0x232)][_0x5df62b(0x1d4)][_0x5df62b(0x255)][_0x5df62b(0x20d)]();}),_0x5da57c(_0x4a254f,_0x4396c4,{'role':_0x2cf31c(0x212)});const _0x58f2fc=[];for(const _0x1edb2e of _0x4396c4)re(_0x1edb2e)&&_0x58f2fc[_0x2cf31c(0x1d8)](this[_0x2cf31c(0x232)][_0x2cf31c(0x23a)][_0x2cf31c(0x22e)](_0x1edb2e[_0x2cf31c(0x220)][_0x2cf31c(0x1f8)]));const _0xf5b328=_0x4a254f[_0x2cf31c(0x23b)];return _0xf5b328[_0x2cf31c(0x22a)][_0x2cf31c(0x1e8)](_0x2cf31c(0x1f7)),_0xf5b328[_0x2cf31c(0x20f)][_0x2cf31c(0x1e8)](_0x2cf31c(0x1f7)),_0xf5b328[_0x2cf31c(0x22a)][_0x2cf31c(0x22d)](_0x2cf31c(0x1f7))['to'](_0x42cd9f,_0x2cf31c(0x1f7)),_0xf5b328[_0x2cf31c(0x20f)][_0x2cf31c(0x22d)](_0x2cf31c(0x1f7))[_0x2cf31c(0x1ee)](_0x58f2fc,_0x2cf31c(0x1f7),(..._0x1fceea)=>_0x1fceea[_0x2cf31c(0x1cc)](_0x1b3717=>_0x1b3717)),_0x4a254f['on'](_0x2cf31c(0x221),_0x5ab323=>{const _0x49748e=_0x2cf31c;this[_0x49748e(0x232)][_0x49748e(0x221)](_0x5ab323[_0x49748e(0x1ce)][_0x49748e(0x1f8)]),this[_0x49748e(0x232)][_0x49748e(0x1d4)][_0x49748e(0x255)][_0x49748e(0x20d)]();}),_0x4a254f;}[_0x4b7c6e(0x1f1)](_0x5e5a64,_0x41eec9,_0x2e8ac3){const _0x48764c=_0x4b7c6e,_0x37e7cf=new _0xbee6f3(_0x5e5a64),_0x47a252=this[_0x48764c(0x232)][_0x48764c(0x23a)][_0x48764c(0x22e)](_0x48764c(0x217));_0x37e7cf[_0x48764c(0x23b)][_0x48764c(0x1c9)]({'label':_0x2e8ac3,'icon':_0x20215f});const _0x5488d6=new _0x259e67(_0x5e5a64);for(const _0x39d2b9 of _0x41eec9){if(_0x48764c(0x1fe)==_0x39d2b9[_0x48764c(0x24a)]){_0x5488d6[_0x48764c(0x1eb)][_0x48764c(0x252)](new _0x240820(_0x5e5a64));continue;}const _0x45931f=new _0x32b286(_0x5e5a64,_0x37e7cf),_0x19e58b=new _0x58e388(_0x5e5a64),_0x176db1=_0x39d2b9[_0x48764c(0x220)];_0x19e58b[_0x48764c(0x22d)](...Object[_0x48764c(0x23e)](_0x176db1))['to'](_0x176db1),_0x19e58b[_0x48764c(0x235)](_0x48764c(0x221))['to'](_0x37e7cf),_0x19e58b['on'](_0x48764c(0x221),()=>{const _0xe8d2bd=_0x48764c;this[_0xe8d2bd(0x232)][_0xe8d2bd(0x221)](_0x176db1[_0xe8d2bd(0x1f8)]),this[_0xe8d2bd(0x232)][_0xe8d2bd(0x1d4)][_0xe8d2bd(0x255)][_0xe8d2bd(0x20d)]();}),_0x45931f[_0x48764c(0x204)][_0x48764c(0x252)](_0x19e58b),_0x5488d6[_0x48764c(0x1eb)][_0x48764c(0x252)](_0x45931f);}return _0x37e7cf[_0x48764c(0x22d)](_0x48764c(0x1f7))['to'](_0x47a252,_0x48764c(0x1f7)),_0x37e7cf[_0x48764c(0x241)][_0x48764c(0x204)][_0x48764c(0x252)](_0x5488d6),_0x37e7cf;}[_0x4b7c6e(0x1db)](_0x17e608){const _0x54595e=_0x4b7c6e,_0x353651=this[_0x54595e(0x232)],_0x5358af=_0x353651[_0x54595e(0x202)],_0x400188=_0x353651[_0x54595e(0x250)][_0x54595e(0x22e)](_0x54595e(0x224)),_0x18758f=_0x353651[_0x54595e(0x250)][_0x54595e(0x22e)](_0x54595e(0x214)),_0x47f438=_0x353651[_0x54595e(0x250)][_0x54595e(0x22e)](_0x54595e(0x242)),_0x464882=_0x353651[_0x54595e(0x250)][_0x54595e(0x22e)](_0x1034a3)['me'],_0x497be5=_0x5358af[_0x54595e(0x22e)](_0x54595e(0x217))[_0x54595e(0x23d)],{CommentsListView:_0xb4019a,CommentThreadInputView:_0x33bf58}=_0x353651[_0x54595e(0x250)][_0x54595e(0x22e)](_0x54595e(0x1e4));let _0x3152c8,_0x4ae7f9;this[_0x54595e(0x1ca)][_0x54595e(0x1dc)](_0x17e608['id'])?(_0x4ae7f9=this[_0x54595e(0x1ca)][_0x54595e(0x22e)](_0x17e608['id']),_0x3152c8=_0x4ae7f9[_0x54595e(0x1cf)]):(_0x3152c8=new _0x497be5(_0x353651[_0x54595e(0x245)],_0x17e608,_0x464882,{'disableComments':this[_0x54595e(0x234)],'editorConfig':_0x5358af[_0x54595e(0x22e)](_0x54595e(0x22f)),'maxCommentsWhenCollapsed':_0x5358af[_0x54595e(0x22e)](_0x54595e(0x249)),'maxThreadTotalWeight':_0x5358af[_0x54595e(0x22e)](_0x54595e(0x205)),'maxCommentCharsWhenCollapsed':_0x5358af[_0x54595e(0x22e)](_0x54595e(0x1e1)),'formatDateTime':_0x529491(_0x5358af[_0x54595e(0x22e)](_0x54595e(0x245))),'CommentView':_0x5358af[_0x54595e(0x22e)](_0x54595e(0x1cb))[_0x54595e(0x248)],'CommentsListView':_0xb4019a,'CommentThreadInputView':_0x33bf58}),_0x3152c8[_0x54595e(0x21a)]['on'](_0x54595e(0x221),()=>{const _0x589f=_0x54595e;_0x353651[_0x589f(0x1d4)][_0x589f(0x255)][_0x589f(0x20d)]();}),_0x3152c8[_0x54595e(0x23f)]['on'](_0x54595e(0x221),()=>{const _0x23c9ea=_0x54595e;_0x353651[_0x23c9ea(0x1d4)][_0x23c9ea(0x255)][_0x23c9ea(0x20d)]();}),_0x4ae7f9=_0x400188[_0x54595e(0x213)](this[_0x54595e(0x232)][_0x54595e(0x245)],_0x3152c8),_0x4ae7f9[_0x54595e(0x22d)](_0x54595e(0x1d2))['to'](_0x3152c8,_0x54595e(0x1d2)),_0x4ae7f9[_0x54595e(0x22d)](_0x54595e(0x1f4))['to'](_0x3152c8),_0x4ae7f9[_0x54595e(0x22d)](_0x54595e(0x24a))['to'](_0x3152c8,_0x54595e(0x24a),_0x409975=>_0x54595e(0x246)+_0x409975),this[_0x54595e(0x1ca)][_0x54595e(0x1c9)](_0x17e608['id'],_0x4ae7f9));const _0x543c62=_0x18758f[_0x54595e(0x20b)](_0x17e608[_0x54595e(0x247)],_0x3152c8),_0x43d133=new _0x2ef7c2(_0x353651,_0x17e608,_0x3152c8,_0x543c62),_0x2a2683=_0x17e608[_0x54595e(0x209)]()[_0x54595e(0x1da)](_0x560d43=>_0x560d43[_0x54595e(0x1f0)]);_0x3152c8[_0x54595e(0x1f5)]=_0x353651[_0x54595e(0x250)][_0x54595e(0x22e)](_0x54595e(0x1e7))[_0x54595e(0x256)][_0x54595e(0x227)](_0x2a2683),this[_0x54595e(0x1f9)][_0x54595e(0x1c9)](_0x17e608,_0x43d133),this[_0x54595e(0x21d)][_0x54595e(0x1c9)](_0x3152c8,_0x43d133);const _0x288824=_0x400188[_0x54595e(0x237)]({'view':_0x4ae7f9,'target':()=>{const _0x145844=_0x54595e,_0x19b823=[],_0xe788e0=_0x17e608[_0x145844(0x209)]()[_0x145844(0x1da)](_0x2580f6=>_0x2580f6[_0x145844(0x1f0)]);for(const _0x3ee147 of _0xe788e0)_0x19b823[_0x145844(0x1d8)](..._0x3ee147[_0x145844(0x1d9)]());return _0x18aedb(_0x353651[_0x145844(0x1d4)],_0x19b823);},'type':()=>_0x54595e(0x246)+_0x43d133[_0x54595e(0x255)][_0x54595e(0x24a)]});_0x18758f[_0x54595e(0x236)](_0x3152c8,_0x288824),_0x400188[_0x54595e(0x252)](_0x288824),_0x47f438[_0x54595e(0x1d3)](_0x288824);}[_0x4b7c6e(0x238)](_0x2b4945){const _0x305213=_0x4b7c6e,_0x3271e7=this[_0x305213(0x232)][_0x305213(0x250)][_0x305213(0x22e)](_0x305213(0x214)),_0x140f6a=this[_0x305213(0x232)][_0x305213(0x250)][_0x305213(0x22e)](_0x305213(0x224)),_0x5df06f=this[_0x305213(0x1f9)][_0x305213(0x22e)](_0x2b4945),_0x52e748=_0x5df06f[_0x305213(0x255)],_0x326ecf=_0x140f6a[_0x305213(0x24c)](_0x52e748);_0x3271e7[_0x305213(0x231)](_0x52e748),_0x326ecf&&_0x140f6a[_0x305213(0x1df)](_0x326ecf),this[_0x305213(0x1f9)][_0x305213(0x258)](_0x2b4945),this[_0x305213(0x21d)][_0x305213(0x258)](_0x52e748),_0x5df06f[_0x305213(0x1e6)]();}[_0x4b7c6e(0x243)](_0x975500){const _0x2f02ab=_0x4b7c6e;if(!_0x975500[_0x2f02ab(0x1f0)]||!this[_0x2f02ab(0x1f9)][_0x2f02ab(0x1dc)](_0x975500))return;const _0x5a233a=this[_0x2f02ab(0x232)][_0x2f02ab(0x250)][_0x2f02ab(0x22e)](_0x2f02ab(0x1e7)),_0x2296ff=this[_0x2f02ab(0x1f9)][_0x2f02ab(0x22e)](_0x975500),_0x2fdbe1=_0x975500[_0x2f02ab(0x209)]();_0x2296ff[_0x2f02ab(0x255)][_0x2f02ab(0x1f5)]=_0x5a233a[_0x2f02ab(0x256)][_0x2f02ab(0x227)](_0x2fdbe1);}[_0x4b7c6e(0x1e6)](){const _0x5c4f9d=_0x4b7c6e;for(const _0x56698b of this[_0x5c4f9d(0x1f9)][_0x5c4f9d(0x23e)]())this[_0x5c4f9d(0x238)](_0x56698b);for(const _0x7cfe2c of this[_0x5c4f9d(0x1ca)][_0x5c4f9d(0x216)]())_0x7cfe2c[_0x5c4f9d(0x1cf)][_0x5c4f9d(0x1e6)]();super[_0x5c4f9d(0x1e6)]();}}function _0x279c(){const _0x1ffbfd=['change:activeAnnotations','init','items','menuitemcheckbox','acceptAllSuggestions','toMany','size','isInContent','_createMenuBarMenu','2744pHXZFi','componentFactory','length','descriptionParts','suggestionUnloaded','isEnabled','commandName','_suggestionToController','TrackChangesUI','hasSuggestion','Discard\x20all\x20suggestions','32omLjJi','separator','isOn','change:previous','trackChanges.SuggestionThreadView','config','getSuggestion','children','comments.maxThreadTotalWeight','discardAllSuggestions','334770FEYyWg','Track\x20changes','getAllAdjacentSuggestions','_createToolbarButton','createCommentThreadController','475892kmUNiA','focus','getFirstRange','arrowView','switchbutton','trackChanges.disableComments','menu','createAnnotationView','CommentsRepository','suggestionChanged','values','trackChanges','acceptSelectedSuggestions','isMultiRange','acceptButton','Discard\x20all\x20selected\x20suggestions','Accept\x20all\x20suggestions','_viewToController','value','menuBar:trackChanges','model','execute','1188MXyoto','_addUIComponentsToFactory','Annotations','getMarkerNames','listenTo','getDescriptions','166329KDIiSC','getRanges','actionView','_refreshActiveMarkers','253KHYXJc','bind','get','comments.editorConfig','reduce','_unbindEditors','editor','addSourceCollector','_disableComments','delegate','_bindAnnotationToEditors','createAnnotation','_destroyController','53930cSQCcC','commands','buttonView','pluginName','SuggestionThreadView','keys','discardButton','12380HiToRb','panelView','EditorAnnotations','_updateController','innerView','locale','suggestion-','commentThread','CommentView','comments.maxCommentsWhenCollapsed','type','head','getByInnerView','discardSelectedSuggestions','refreshSelectedViews','button','plugins','_handleSuggestionControllerDelayed','add','_handleControllerBuffer','Accept\x20all\x20selected\x20suggestions','view','descriptionFactory','getJoined','delete','activeMarkers','stopListening','set','_annotationViews','comments','some','lowest','source','mainView','clear','requires','isDirty','registerAnnotation','editing','addComment','from','activeAnnotations','push','getMarkers','filter','_initializeController','has','566664HXIDmk','previous','remove','suggestionLoaded','comments.maxCommentCharsWhenCollapsed','menuitem','define','CommentsUI','1WFZHer','destroy','TrackChangesEditing','unbind'];_0x279c=function(){return _0x1ffbfd;};return _0x279c();}function _0x3914(_0x5f4ab8,_0x5e33dc){const _0x279c72=_0x279c();return _0x3914=function(_0x39147c,_0x2beded){_0x39147c=_0x39147c-0x1c9;let _0x1b0176=_0x279c72[_0x39147c];return _0x1b0176;},_0x3914(_0x5f4ab8,_0x5e33dc);}function re(_0x7ff88d){const _0x1ad5e4=_0x4b7c6e;return _0x1ad5e4(0x220)in _0x7ff88d;}
23
+ const _0x274eae=_0x1cdd;(function(_0x1bcf02,_0x5348ef){const _0x1e5cdd=_0x1cdd,_0xae4224=_0x1bcf02();while(!![]){try{const _0x4aeecd=parseInt(_0x1e5cdd(0x1eb))/0x1+parseInt(_0x1e5cdd(0x1b6))/0x2*(-parseInt(_0x1e5cdd(0x230))/0x3)+parseInt(_0x1e5cdd(0x21f))/0x4+-parseInt(_0x1e5cdd(0x1c9))/0x5+parseInt(_0x1e5cdd(0x227))/0x6+-parseInt(_0x1e5cdd(0x1fe))/0x7*(parseInt(_0x1e5cdd(0x20d))/0x8)+parseInt(_0x1e5cdd(0x1cc))/0x9*(parseInt(_0x1e5cdd(0x1b0))/0xa);if(_0x4aeecd===_0x5348ef)break;else _0xae4224['push'](_0xae4224['shift']());}catch(_0x55f030){_0xae4224['push'](_0xae4224['shift']());}}}(_0x4779,0x9d483));import{Plugin as _0x5100e7}from'ckeditor5/src/core.js';import{Collection as _0x5c43fa}from'ckeditor5/src/utils.js';import{addListToDropdown as _0x52f4d1,createDropdown as _0x1a0991,ListSeparatorView as _0x534666,MenuBarMenuView as _0x34d94b,MenuBarMenuListView as _0x328097,MenuBarMenuListItemView as _0x33f3f3,MenuBarMenuListItemButtonView as _0x177526,SplitButtonView as _0x15330b,ViewModel as _0x127608}from'ckeditor5/src/ui.js';import{Users as _0xabdd7d,getDateTimeFormatter as _0x14ab06,getAllMarkersDomElementsSorted as _0x1a58ec,ENTER_THREAD_KEYSTROKE as _0x168a59}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4779(){const _0x7beb85=['panelView','CommentView','previous','focus','_handleSuggestionControllerDelayed','from','5383mZYgsa','isEnabled','suggestionLoaded','discardAllSuggestions','config','innerView','escape','createAnnotationView','createCommentThreadController','has','descriptionParts','CommentsRepository','destroy','length','getSuggestion','8136IqSdqF','toMany','lowest','suggestionChanged','actionView','_handleControllerBuffer','acceptAllSuggestions','low','menuitem','_suggestionToController','TrackChangesUI','getDescriptions','execute','EditorAnnotations','editing','acceptButton','keys','items','1628580IBVbKm','define','_splitMarkerName','Discard\x20all\x20suggestions','isDirty','clear','getByInnerView','switchbutton','698664CPvPCj','activeMarkers','head','requires','addSourceCollector','commandName','commands','filter','set','3713706taQvLU','_disableComments','_unbindEditors','commentThread','reduce','some','_annotationViews','pluginName','componentFactory','init','discardSelectedSuggestions','suggestionUnloaded','children','buttonView','descriptionFactory','view','addComment','get','delegate','refreshSelectedViews','type','editor','createAnnotation','472040ubvJfq','_refreshActiveMarkers','_initializeController','Annotations','_createMenuBarMenu','push','2OuPwdg','separator','_initKeyboardNavigationToThread','SuggestionThreadView','getJoined','TrackChangesEditing','plugins','suggestion-','hasSuggestion','commentsListView','getMarkerNames','CommentsUI','_addUIComponentsToFactory','change:previous','trackChanges.SuggestionThreadView','arrowView','registerAnnotation','menuitemcheckbox','comments.maxCommentCharsWhenCollapsed','3240875LXOkYx','getMarkers','button','369wmAhhy','add','stopListening','comments','bind','menu','mainView','isInContent','value','discardButton','listenTo','remove','_viewToController','Discard\x20all\x20selected\x20suggestions','trackChanges.disableComments','keystrokes','_destroyController','Track\x20changes','values','source','unbind','getAllAdjacentSuggestions','locale','_bindAnnotationToEditors','change:activeAnnotations','Accept\x20all\x20selected\x20suggestions','_updateController','size','isMultiRange','Accept\x20all\x20suggestions','trackChanges','853424KZeUwg','_createToolbarButton','comments.maxThreadTotalWeight','getFirstRange','getRanges','acceptSelectedSuggestions','comments.maxCommentsWhenCollapsed','isOn','comments.editorConfig','delete','activeAnnotations','model','menuBar:trackChanges'];_0x4779=function(){return _0x7beb85;};return _0x4779();}import _0x55503b from'./trackchangesediting.js';import _0x2b7ff1 from'./ui/suggestioncontroller.js';import _0x5c7888 from'./ui/view/suggestionthreadview.js';import{getTranslation as _0x40f78e}from'./utils/common-translations.js';import _0x4d4460 from'./trackchanges.js';import _0x2e82bf from'../theme/icons/track-changes.svg';function _0x1cdd(_0x125889,_0x113294){const _0x47799f=_0x4779();return _0x1cdd=function(_0x1cddb7,_0x47b465){_0x1cddb7=_0x1cddb7-0x1a1;let _0x37f8cd=_0x47799f[_0x1cddb7];return _0x37f8cd;},_0x1cdd(_0x125889,_0x113294);}export default class d extends _0x5100e7{static get[_0x274eae(0x22a)](){const _0x51ed8d=_0x274eae;return[_0x55503b,_0xabdd7d,_0x51ed8d(0x209),_0x51ed8d(0x1b3),_0x51ed8d(0x21a)];}static get[_0x274eae(0x237)](){const _0x2466da=_0x274eae;return _0x2466da(0x217);}constructor(_0x5cfa8d){const _0x11bafb=_0x274eae;super(_0x5cfa8d),this[_0x11bafb(0x216)]=new Map(),this[_0x11bafb(0x1d8)]=new Map(),this[_0x11bafb(0x236)]=new Map(),this[_0x11bafb(0x212)]=new Map();const _0x2ed06e=this[_0x11bafb(0x1ae)][_0x11bafb(0x202)];_0x2ed06e[_0x11bafb(0x220)](_0x11bafb(0x1c4),_0x5c7888),_0x2ed06e[_0x11bafb(0x220)](_0x11bafb(0x1da),!0x1),this[_0x11bafb(0x231)]=_0x2ed06e[_0x11bafb(0x1aa)](_0x11bafb(0x1da)),this[_0x11bafb(0x1b8)]();}[_0x274eae(0x1fc)](_0x391d40,_0x3f5d13){const _0x46cddf=_0x274eae;0x0===this[_0x46cddf(0x212)][_0x46cddf(0x1e7)]&&setTimeout(()=>{const _0x33e7cd=_0x46cddf;for(const [_0x43a50d,_0x3aeffb]of this[_0x33e7cd(0x212)]){const _0x4b4863=this[_0x33e7cd(0x216)][_0x33e7cd(0x207)](_0x43a50d);_0x4b4863||_0x3aeffb?_0x4b4863&&_0x3aeffb&&this[_0x33e7cd(0x1dc)](_0x43a50d):this[_0x33e7cd(0x1b2)](_0x43a50d);}this[_0x33e7cd(0x212)][_0x33e7cd(0x224)](),this[_0x33e7cd(0x1ae)][_0x33e7cd(0x1bc)][_0x33e7cd(0x1aa)](_0x33e7cd(0x21a))[_0x33e7cd(0x1ac)](),this[_0x33e7cd(0x1b1)]();},0xa),this[_0x46cddf(0x212)][_0x46cddf(0x22f)](_0x391d40,_0x3f5d13);}[_0x274eae(0x1a2)](){const _0x30b39a=_0x274eae,_0x36b0df=this[_0x30b39a(0x1ae)],_0x5688ff=_0x36b0df[_0x30b39a(0x1bc)][_0x30b39a(0x1aa)](_0x30b39a(0x1bb)),_0x36af9f=_0x36b0df[_0x30b39a(0x1bc)][_0x30b39a(0x1aa)](_0x30b39a(0x1b3)),_0x8e3110=_0x36b0df[_0x30b39a(0x1bc)][_0x30b39a(0x1aa)](_0x30b39a(0x21a)),_0x3eecdc=_0x36b0df[_0x30b39a(0x1bc)][_0x30b39a(0x1aa)](_0x30b39a(0x209));this[_0x30b39a(0x1c2)](),_0x8e3110[_0x30b39a(0x22b)](()=>{const _0x2d3389=_0x30b39a,_0x143b3f=[];for(const [_0x32a50f,_0x4f8701]of Array[_0x2d3389(0x1fd)](this[_0x2d3389(0x216)])){const _0x166f84=_0x32a50f[_0x2d3389(0x1e1)](),_0x30987a=[];for(const _0x3b26b1 of _0x166f84){if(!_0x3b26b1[_0x2d3389(0x1d3)])continue;if(_0x3b26b1[_0x2d3389(0x1e8)]){_0x30987a[_0x2d3389(0x1b5)](..._0x3b26b1[_0x2d3389(0x1ef)]());continue;}const _0xdf55da=_0x3b26b1[_0x2d3389(0x1ee)]();if(_0x30987a[_0x2d3389(0x20b)]>0x0){const _0x3bc9a3=_0x30987a[0x0][_0x2d3389(0x1ba)](_0xdf55da);if(_0x3bc9a3){_0x30987a[0x0]=_0x3bc9a3;continue;}}_0x30987a[_0x2d3389(0x1b5)](_0xdf55da);}_0x143b3f[_0x2d3389(0x1b5)]([_0x4f8701[_0x2d3389(0x1a8)],_0x30987a]);}return _0x143b3f;}),this[_0x30b39a(0x1d6)](_0x5688ff,_0x30b39a(0x200),(_0x24f5b5,_0x3374e5)=>{const _0x5d1236=_0x30b39a;this[_0x5d1236(0x1d6)](_0x3374e5,_0x5d1236(0x1c3),(_0x379d33,_0x2edb99,_0x1a2c22,_0x5a501c)=>{const _0x4974cc=_0x5d1236;_0x3374e5[_0x4974cc(0x1d3)]&&(null==_0x1a2c22?(this[_0x4974cc(0x1e6)](_0x5a501c[_0x4974cc(0x229)]),this[_0x4974cc(0x1fc)](_0x3374e5,!0x1)):(this[_0x4974cc(0x1e6)](_0x1a2c22[_0x4974cc(0x229)]),null==_0x5a501c&&this[_0x4974cc(0x1fc)](_0x3374e5,!0x0)));}),null!==_0x3374e5[_0x5d1236(0x1fa)]?this[_0x5d1236(0x1e6)](_0x3374e5[_0x5d1236(0x229)]):this[_0x5d1236(0x1fc)](_0x3374e5,!0x1);}),this[_0x30b39a(0x1d6)](_0x5688ff,_0x30b39a(0x1a4),(_0x20db91,_0x1ac304,_0x1ca7a9)=>{const _0x48c853=_0x30b39a;this[_0x48c853(0x1ce)](_0x1ac304,_0x48c853(0x1c3)),this[_0x48c853(0x212)][_0x48c853(0x1f4)](_0x1ac304),this[_0x48c853(0x216)][_0x48c853(0x207)](_0x1ac304)&&this[_0x48c853(0x1dc)](_0x1ac304),_0x1ca7a9&&this[_0x48c853(0x1e6)](_0x1ca7a9[_0x48c853(0x229)]);}),this[_0x30b39a(0x1d6)](_0x5688ff,_0x30b39a(0x210),(_0x313773,_0x5830fb)=>{const _0x2bda7a=_0x30b39a;this[_0x2bda7a(0x1e6)](_0x5830fb);}),this[_0x30b39a(0x1d6)](_0x36af9f,_0x30b39a(0x1e4),()=>{const _0x486564=_0x30b39a;this[_0x486564(0x1b1)]();}),this[_0x30b39a(0x1d6)](_0x3eecdc,_0x30b39a(0x1a9),(_0x288c5c,{threadId:_0x144a04,isFromAdapter:_0x4f06e0})=>{const _0x265b87=_0x30b39a;if(_0x4f06e0||!_0x5688ff[_0x265b87(0x1be)](_0x144a04))return;const _0x243719=_0x5688ff[_0x265b87(0x20c)](_0x144a04);this[_0x265b87(0x216)][_0x265b87(0x1aa)](_0x243719)[_0x265b87(0x1a8)][_0x265b87(0x1bf)][_0x265b87(0x1fb)](-0x1);},{'priority':_0x30b39a(0x20f)});}[_0x274eae(0x1b1)](){const _0x478466=_0x274eae,_0x2e0c55=this[_0x478466(0x1ae)][_0x478466(0x1bc)][_0x478466(0x1aa)](_0x478466(0x1b3)),_0xc750cd=this[_0x478466(0x1ae)][_0x478466(0x1bc)][_0x478466(0x1aa)](_0x478466(0x1bb)),_0x2b4a5d=Array[_0x478466(0x1fd)](_0x2e0c55[_0x478466(0x1f5)],_0x4a857a=>_0x4a857a[_0x478466(0x203)])[_0x478466(0x22e)](_0x33f4ac=>this[_0x478466(0x1d8)][_0x478466(0x207)](_0x33f4ac)),_0x4fe2ba=[];for(const _0x26cee6 of _0x2b4a5d){const _0x43dfc8=this[_0x478466(0x1d8)][_0x478466(0x1aa)](_0x26cee6)[_0x478466(0x1f6)][_0x478466(0x1e1)]();_0x4fe2ba[_0x478466(0x1b5)](..._0x43dfc8[_0x478466(0x234)]((_0x5c1414,_0x219035)=>[..._0x5c1414,..._0x219035[_0x478466(0x1c0)]()],[]));}_0xc750cd[_0x478466(0x228)]=_0x4fe2ba;}[_0x274eae(0x1c2)](){const _0x333cde=_0x274eae,_0x5d0fb8=this[_0x333cde(0x1ae)],_0x19a63c=_0x5d0fb8[_0x333cde(0x1e2)],_0x468691=_0x40f78e(_0x19a63c,_0x333cde(0x1dd)),_0x12b81a=new _0x5c43fa([{'type':_0x333cde(0x226),'model':new _0x127608({'withText':!0x0,'isToggleable':!0x0,'label':_0x468691,'commandName':_0x333cde(0x1ea),'role':_0x333cde(0x1c7)})},{'type':_0x333cde(0x1b7)},{'type':_0x333cde(0x1cb),'model':new _0x127608({'withText':!0x0,'label':_0x40f78e(_0x19a63c,_0x333cde(0x1e9)),'commandName':_0x333cde(0x213),'role':_0x333cde(0x215)})},{'type':_0x333cde(0x1cb),'model':new _0x127608({'withText':!0x0,'label':_0x40f78e(_0x19a63c,_0x333cde(0x1e5)),'commandName':_0x333cde(0x1f0),'role':_0x333cde(0x215)})},{'type':_0x333cde(0x1cb),'model':new _0x127608({'withText':!0x0,'label':_0x40f78e(_0x19a63c,_0x333cde(0x222)),'commandName':_0x333cde(0x201),'role':_0x333cde(0x215)})},{'type':_0x333cde(0x1cb),'model':new _0x127608({'withText':!0x0,'label':_0x40f78e(_0x19a63c,_0x333cde(0x1d9)),'commandName':_0x333cde(0x1a3),'role':_0x333cde(0x215)})}]);for(const _0x57a448 of _0x12b81a)if(he(_0x57a448)){const _0x15f59a=_0x5d0fb8[_0x333cde(0x22d)][_0x333cde(0x1aa)](_0x57a448[_0x333cde(0x1f6)][_0x333cde(0x22c)]);_0x57a448[_0x333cde(0x1f6)][_0x333cde(0x1d0)](_0x333cde(0x1f2),_0x333cde(0x1ff))['to'](_0x15f59a,_0x333cde(0x1d4),_0x333cde(0x1ff));}_0x5d0fb8['ui'][_0x333cde(0x1a1)][_0x333cde(0x1cd)](_0x333cde(0x1ea),_0x3cb98b=>this[_0x333cde(0x1ec)](_0x3cb98b,_0x12b81a,_0x468691)),_0x5d0fb8['ui'][_0x333cde(0x1a1)][_0x333cde(0x1cd)](_0x333cde(0x1f7),_0x1233a1=>this[_0x333cde(0x1b4)](_0x1233a1,_0x12b81a,_0x468691));}[_0x274eae(0x1ec)](_0x4f230a,_0x5ebaff,_0x3e982f){const _0x30947e=_0x274eae,_0x3acf49=_0x1a0991(_0x4f230a,_0x15330b),_0x3278d0=this[_0x30947e(0x1ae)][_0x30947e(0x22d)][_0x30947e(0x1aa)](_0x30947e(0x1ea));_0x3acf49[_0x30947e(0x1a6)][_0x30947e(0x22f)]({'tooltip':_0x3e982f,'label':_0x3e982f,'icon':_0x2e82bf}),_0x3acf49[_0x30947e(0x1a6)][_0x30947e(0x1d0)](_0x30947e(0x1f2))['to'](_0x3278d0,_0x30947e(0x1d4)),_0x3acf49[_0x30947e(0x1a6)]['on'](_0x30947e(0x219),()=>{const _0xd95c40=_0x30947e;_0x3278d0[_0xd95c40(0x219)](),this[_0xd95c40(0x1ae)][_0xd95c40(0x21b)][_0xd95c40(0x1a8)][_0xd95c40(0x1fb)]();}),_0x52f4d1(_0x3acf49,_0x5ebaff,{'role':_0x30947e(0x1d1)});const _0x7eea6f=[];for(const _0xfa8f38 of _0x5ebaff)he(_0xfa8f38)&&_0x7eea6f[_0x30947e(0x1b5)](this[_0x30947e(0x1ae)][_0x30947e(0x22d)][_0x30947e(0x1aa)](_0xfa8f38[_0x30947e(0x1f6)][_0x30947e(0x22c)]));const _0x3b3c92=_0x3acf49[_0x30947e(0x1a6)];return _0x3b3c92[_0x30947e(0x211)][_0x30947e(0x1e0)](_0x30947e(0x1ff)),_0x3b3c92[_0x30947e(0x1c5)][_0x30947e(0x1e0)](_0x30947e(0x1ff)),_0x3b3c92[_0x30947e(0x211)][_0x30947e(0x1d0)](_0x30947e(0x1ff))['to'](_0x3278d0,_0x30947e(0x1ff)),_0x3b3c92[_0x30947e(0x1c5)][_0x30947e(0x1d0)](_0x30947e(0x1ff))[_0x30947e(0x20e)](_0x7eea6f,_0x30947e(0x1ff),(..._0x2af556)=>_0x2af556[_0x30947e(0x235)](_0x456115=>_0x456115)),_0x3acf49['on'](_0x30947e(0x219),_0x371934=>{const _0x583e68=_0x30947e;this[_0x583e68(0x1ae)][_0x583e68(0x219)](_0x371934[_0x583e68(0x1df)][_0x583e68(0x22c)]),this[_0x583e68(0x1ae)][_0x583e68(0x21b)][_0x583e68(0x1a8)][_0x583e68(0x1fb)]();}),_0x3acf49;}[_0x274eae(0x1b4)](_0x5c4e10,_0x4e4fde,_0x580bbf){const _0x8eff09=_0x274eae,_0x5adf6f=new _0x34d94b(_0x5c4e10),_0x2b2579=this[_0x8eff09(0x1ae)][_0x8eff09(0x22d)][_0x8eff09(0x1aa)](_0x8eff09(0x1ea));_0x5adf6f[_0x8eff09(0x1a6)][_0x8eff09(0x22f)]({'label':_0x580bbf,'icon':_0x2e82bf});const _0x266fa9=new _0x328097(_0x5c4e10);for(const _0x3d4907 of _0x4e4fde){if(_0x8eff09(0x1b7)==_0x3d4907[_0x8eff09(0x1ad)]){_0x266fa9[_0x8eff09(0x21e)][_0x8eff09(0x1cd)](new _0x534666(_0x5c4e10));continue;}const _0x31c8e0=new _0x33f3f3(_0x5c4e10,_0x5adf6f),_0x4765c5=new _0x177526(_0x5c4e10),_0x598c9a=_0x3d4907[_0x8eff09(0x1f6)];_0x4765c5[_0x8eff09(0x1d0)](...Object[_0x8eff09(0x21d)](_0x598c9a))['to'](_0x598c9a),_0x4765c5[_0x8eff09(0x1ab)](_0x8eff09(0x219))['to'](_0x5adf6f),_0x4765c5['on'](_0x8eff09(0x219),()=>{const _0x3aa0e3=_0x8eff09;this[_0x3aa0e3(0x1ae)][_0x3aa0e3(0x219)](_0x598c9a[_0x3aa0e3(0x22c)]),this[_0x3aa0e3(0x1ae)][_0x3aa0e3(0x21b)][_0x3aa0e3(0x1a8)][_0x3aa0e3(0x1fb)]();}),_0x31c8e0[_0x8eff09(0x1a5)][_0x8eff09(0x1cd)](_0x4765c5),_0x266fa9[_0x8eff09(0x21e)][_0x8eff09(0x1cd)](_0x31c8e0);}return _0x5adf6f[_0x8eff09(0x1d0)](_0x8eff09(0x1ff))['to'](_0x2b2579,_0x8eff09(0x1ff)),_0x5adf6f[_0x8eff09(0x1f8)][_0x8eff09(0x1a5)][_0x8eff09(0x1cd)](_0x266fa9),_0x5adf6f;}[_0x274eae(0x1b2)](_0x3a78a8){const _0x57e4a3=_0x274eae,_0x548334=this[_0x57e4a3(0x1ae)],_0x210a6d=_0x548334[_0x57e4a3(0x202)],_0x5303f8=_0x548334[_0x57e4a3(0x1bc)][_0x57e4a3(0x1aa)](_0x57e4a3(0x1b3)),_0x5012ad=_0x548334[_0x57e4a3(0x1bc)][_0x57e4a3(0x1aa)](_0x57e4a3(0x209)),_0x419075=_0x548334[_0x57e4a3(0x1bc)][_0x57e4a3(0x1aa)](_0x57e4a3(0x21a)),_0x51dac9=_0x548334[_0x57e4a3(0x1bc)][_0x57e4a3(0x1aa)](_0xabdd7d)['me'],_0x4967fb=_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1ea))[_0x57e4a3(0x1b9)],{CommentsListView:_0x5136e0,CommentThreadInputView:_0x38e5b5}=_0x548334[_0x57e4a3(0x1bc)][_0x57e4a3(0x1aa)](_0x57e4a3(0x1c1));let _0x20b9bb,_0x24a914;this[_0x57e4a3(0x236)][_0x57e4a3(0x207)](_0x3a78a8['id'])?(_0x24a914=this[_0x57e4a3(0x236)][_0x57e4a3(0x1aa)](_0x3a78a8['id']),_0x20b9bb=_0x24a914[_0x57e4a3(0x1d2)]):(_0x20b9bb=new _0x4967fb(_0x548334[_0x57e4a3(0x1e2)],_0x3a78a8,_0x51dac9,{'disableComments':this[_0x57e4a3(0x231)],'editorConfig':_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1f3)),'maxCommentsWhenCollapsed':_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1f1)),'maxThreadTotalWeight':_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1ed)),'maxCommentCharsWhenCollapsed':_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1c8)),'formatDateTime':_0x14ab06(_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1e2))),'CommentView':_0x210a6d[_0x57e4a3(0x1aa)](_0x57e4a3(0x1cf))[_0x57e4a3(0x1f9)],'CommentsListView':_0x5136e0,'CommentThreadInputView':_0x38e5b5}),_0x20b9bb[_0x57e4a3(0x21c)]['on'](_0x57e4a3(0x219),()=>{const _0x29427a=_0x57e4a3;_0x548334[_0x29427a(0x21b)][_0x29427a(0x1a8)][_0x29427a(0x1fb)]();}),_0x20b9bb[_0x57e4a3(0x1d5)]['on'](_0x57e4a3(0x219),()=>{const _0x28691f=_0x57e4a3;_0x548334[_0x28691f(0x21b)][_0x28691f(0x1a8)][_0x28691f(0x1fb)]();}),_0x24a914=_0x5303f8[_0x57e4a3(0x205)](this[_0x57e4a3(0x1ae)][_0x57e4a3(0x1e2)],_0x20b9bb),_0x24a914[_0x57e4a3(0x1d0)](_0x57e4a3(0x223))['to'](_0x20b9bb,_0x57e4a3(0x223)),_0x24a914[_0x57e4a3(0x1d0)](_0x57e4a3(0x20b))['to'](_0x20b9bb),_0x24a914[_0x57e4a3(0x1d0)](_0x57e4a3(0x1ad))['to'](_0x20b9bb,_0x57e4a3(0x1ad),_0x40d4d9=>_0x57e4a3(0x1bd)+_0x40d4d9),this[_0x57e4a3(0x1d6)](_0x20b9bb,_0x57e4a3(0x204),()=>{const _0x41f63b=_0x57e4a3;_0x548334[_0x41f63b(0x21b)][_0x41f63b(0x1a8)][_0x41f63b(0x1fb)]();},{'priority':_0x57e4a3(0x214)}),this[_0x57e4a3(0x236)][_0x57e4a3(0x22f)](_0x3a78a8['id'],_0x24a914));const _0x5f3b98=_0x5012ad[_0x57e4a3(0x206)](_0x3a78a8[_0x57e4a3(0x233)],_0x20b9bb),_0x4a1e96=new _0x2b7ff1(_0x548334,_0x3a78a8,_0x20b9bb,_0x5f3b98),_0x201e33=_0x3a78a8[_0x57e4a3(0x1e1)]()[_0x57e4a3(0x22e)](_0x43e2d0=>_0x43e2d0[_0x57e4a3(0x1d3)]);_0x20b9bb[_0x57e4a3(0x208)]=_0x548334[_0x57e4a3(0x1bc)][_0x57e4a3(0x1aa)](_0x57e4a3(0x1bb))[_0x57e4a3(0x1a7)][_0x57e4a3(0x218)](_0x201e33),this[_0x57e4a3(0x216)][_0x57e4a3(0x22f)](_0x3a78a8,_0x4a1e96),this[_0x57e4a3(0x1d8)][_0x57e4a3(0x22f)](_0x20b9bb,_0x4a1e96);const _0xca24d3=_0x5303f8[_0x57e4a3(0x1af)]({'view':_0x24a914,'target':()=>{const _0x5ec6e7=_0x57e4a3,_0x5cf068=[],_0x2bae66=_0x3a78a8[_0x5ec6e7(0x1e1)]()[_0x5ec6e7(0x22e)](_0x103cc8=>_0x103cc8[_0x5ec6e7(0x1d3)]);for(const _0x1ac5b4 of _0x2bae66)_0x5cf068[_0x5ec6e7(0x1b5)](..._0x1ac5b4[_0x5ec6e7(0x1ca)]());return _0x1a58ec(_0x548334[_0x5ec6e7(0x21b)],_0x5cf068);},'type':()=>_0x57e4a3(0x1bd)+_0x4a1e96[_0x57e4a3(0x1a8)][_0x57e4a3(0x1ad)]});_0x5012ad[_0x57e4a3(0x1e3)](_0x20b9bb,_0xca24d3),_0x5303f8[_0x57e4a3(0x1cd)](_0xca24d3),_0x419075[_0x57e4a3(0x1c6)](_0xca24d3);}[_0x274eae(0x1dc)](_0x46db5f){const _0xd77695=_0x274eae,_0x13d357=this[_0xd77695(0x1ae)][_0xd77695(0x1bc)][_0xd77695(0x1aa)](_0xd77695(0x209)),_0x4718da=this[_0xd77695(0x1ae)][_0xd77695(0x1bc)][_0xd77695(0x1aa)](_0xd77695(0x1b3)),_0x5c92e2=this[_0xd77695(0x216)][_0xd77695(0x1aa)](_0x46db5f),_0x3f419d=_0x5c92e2[_0xd77695(0x1a8)],_0x43de96=_0x4718da[_0xd77695(0x225)](_0x3f419d);_0x13d357[_0xd77695(0x232)](_0x3f419d),_0x43de96&&_0x4718da[_0xd77695(0x1d7)](_0x43de96),this[_0xd77695(0x216)][_0xd77695(0x1f4)](_0x46db5f),this[_0xd77695(0x1d8)][_0xd77695(0x1f4)](_0x3f419d),_0x5c92e2[_0xd77695(0x20a)]();}[_0x274eae(0x1e6)](_0x406dbc){const _0x4ac338=_0x274eae;if(!_0x406dbc[_0x4ac338(0x1d3)]||!this[_0x4ac338(0x216)][_0x4ac338(0x207)](_0x406dbc))return;const _0x491376=this[_0x4ac338(0x1ae)][_0x4ac338(0x1bc)][_0x4ac338(0x1aa)](_0x4ac338(0x1bb)),_0x5135a2=this[_0x4ac338(0x216)][_0x4ac338(0x1aa)](_0x406dbc),_0x1ebc34=_0x406dbc[_0x4ac338(0x1e1)]();_0x5135a2[_0x4ac338(0x1a8)][_0x4ac338(0x208)]=_0x491376[_0x4ac338(0x1a7)][_0x4ac338(0x218)](_0x1ebc34);}[_0x274eae(0x1b8)](){const _0x39136f=_0x274eae;this[_0x39136f(0x1ae)][_0x39136f(0x1db)][_0x39136f(0x22f)](_0x168a59,(_0x3265a5,_0x168b92)=>{const _0x2bb4fd=_0x39136f,_0x577a37=this[_0x2bb4fd(0x1ae)][_0x2bb4fd(0x1bc)][_0x2bb4fd(0x1aa)](_0x4d4460),_0x380060=this[_0x2bb4fd(0x1ae)][_0x2bb4fd(0x1bc)][_0x2bb4fd(0x1aa)](_0x55503b);if(!_0x380060[_0x2bb4fd(0x228)][_0x2bb4fd(0x20b)])return;const {id:_0xe2df68}=_0x380060[_0x2bb4fd(0x221)](_0x380060[_0x2bb4fd(0x228)][0x0]),_0x487fb0=_0x577a37[_0x2bb4fd(0x20c)](_0xe2df68);_0x487fb0&&(this[_0x2bb4fd(0x216)][_0x2bb4fd(0x1aa)](_0x487fb0)[_0x2bb4fd(0x1a8)][_0x2bb4fd(0x1fb)](),_0x168b92());});}[_0x274eae(0x20a)](){const _0x437cf2=_0x274eae;for(const _0x5704e5 of this[_0x437cf2(0x216)][_0x437cf2(0x21d)]())this[_0x437cf2(0x1dc)](_0x5704e5);for(const _0x53f926 of this[_0x437cf2(0x236)][_0x437cf2(0x1de)]())_0x53f926[_0x437cf2(0x1d2)][_0x437cf2(0x20a)]();super[_0x437cf2(0x20a)]();}}function he(_0x48071b){const _0x40aa3c=_0x274eae;return _0x40aa3c(0x1f6)in _0x48071b;}
@@ -20,5 +20,5 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18c254=_0x382c;(function(_0x298e36,_0x336d77){const _0x14c652=_0x382c,_0x259eb6=_0x298e36();while(!![]){try{const _0x594eaf=parseInt(_0x14c652(0x18c))/0x1+-parseInt(_0x14c652(0x185))/0x2*(parseInt(_0x14c652(0x1a0))/0x3)+parseInt(_0x14c652(0x198))/0x4*(parseInt(_0x14c652(0x189))/0x5)+-parseInt(_0x14c652(0x197))/0x6*(-parseInt(_0x14c652(0x194))/0x7)+parseInt(_0x14c652(0x17f))/0x8*(parseInt(_0x14c652(0x186))/0x9)+parseInt(_0x14c652(0x19e))/0xa+-parseInt(_0x14c652(0x17d))/0xb;if(_0x594eaf===_0x336d77)break;else _0x259eb6['push'](_0x259eb6['shift']());}catch(_0x56b655){_0x259eb6['push'](_0x259eb6['shift']());}}}(_0x5263,0x88b33));function _0x382c(_0x480336,_0xb50e97){const _0x526314=_0x5263();return _0x382c=function(_0x382ce7,_0xb31a04){_0x382ce7=_0x382ce7-0x17a;let _0x3f5218=_0x526314[_0x382ce7];return _0x3f5218;},_0x382c(_0x480336,_0xb50e97);}import{ObservableMixin as _0x26db92}from'ckeditor5/src/utils.js';function _0x5263(){const _0x43aeee=['_acceptCommand','unbind','9766320LyKmLD','_removePendingAction','1953408pLkLdx','isEnabled','view','_pendingAction','commands','PENDING_ACTION_SUGGESTION','get','change:isDirty','17856267EoLnZd','plugins','527128RXxrpf','_setPendingAction','commentThreadController','listenTo','destroy','isDirty','2Ozpagy','9FnnEnG','add','getRanges','25VQpJcD','model','stopListening','880432yAPJpi','acceptSuggestion','canEditAt','PendingActions','locale','discardSuggestion','bind','canDiscard','42oQFwig','canAccept','remove','249036zxLjtd','529892VnRYDz','_editor','_discardCommand','execute'];_0x5263=function(){return _0x43aeee;};return _0x5263();}import{getTranslation as _0x1826ba}from'../utils/common-translations.js';export default class ne extends/* #__PURE__ -- @preserve */
24
- _0x26db92(){constructor(_0x4b2956,_0x4f9775,_0x66f2fd,_0x32f5c4){const _0x2e70c1=_0x382c;super(),this[_0x2e70c1(0x18a)]=_0x4f9775,this[_0x2e70c1(0x1a2)]=_0x66f2fd,this[_0x2e70c1(0x181)]=_0x32f5c4,this[_0x2e70c1(0x199)]=_0x4b2956,this[_0x2e70c1(0x19c)]=_0x4b2956[_0x2e70c1(0x1a4)][_0x2e70c1(0x17b)](_0x2e70c1(0x18d)),this[_0x2e70c1(0x19a)]=_0x4b2956[_0x2e70c1(0x1a4)][_0x2e70c1(0x17b)](_0x2e70c1(0x191)),this[_0x2e70c1(0x1a2)][_0x2e70c1(0x192)](_0x2e70c1(0x1a1))['to'](this[_0x2e70c1(0x19c)],this[_0x2e70c1(0x19a)],(_0x5685dc,_0x38448b)=>_0x5685dc||_0x38448b),this[_0x2e70c1(0x1a2)][_0x2e70c1(0x192)](_0x2e70c1(0x195))['to'](this[_0x2e70c1(0x19c)],_0x2e70c1(0x1a1),_0x1acd94=>_0x1acd94&&this[_0x2e70c1(0x199)][_0x2e70c1(0x18a)][_0x2e70c1(0x18e)](_0x4f9775[_0x2e70c1(0x188)]())),this[_0x2e70c1(0x1a2)][_0x2e70c1(0x192)](_0x2e70c1(0x193))['to'](this[_0x2e70c1(0x19a)],_0x2e70c1(0x1a1),_0x49e9ce=>_0x49e9ce&&this[_0x2e70c1(0x199)][_0x2e70c1(0x18a)][_0x2e70c1(0x18e)](_0x4f9775[_0x2e70c1(0x188)]())),this[_0x2e70c1(0x1a3)]=null,_0x66f2fd[_0x2e70c1(0x184)]&&this[_0x2e70c1(0x180)](),this[_0x2e70c1(0x182)](_0x66f2fd,_0x2e70c1(0x18d),()=>this[_0x2e70c1(0x18d)]()),this[_0x2e70c1(0x182)](_0x66f2fd,_0x2e70c1(0x191),()=>this[_0x2e70c1(0x191)]()),this[_0x2e70c1(0x182)](_0x66f2fd,_0x2e70c1(0x17c),()=>{const _0x21eed0=_0x2e70c1;_0x66f2fd[_0x21eed0(0x184)]?this[_0x21eed0(0x180)]():this[_0x21eed0(0x19f)]();});}[_0x18c254(0x18d)](){const _0x5e1245=_0x18c254;this[_0x5e1245(0x19c)][_0x5e1245(0x19b)](this[_0x5e1245(0x18a)]['id']);}[_0x18c254(0x191)](){const _0x1508ae=_0x18c254;this[_0x1508ae(0x19a)][_0x1508ae(0x19b)](this[_0x1508ae(0x18a)]['id']);}[_0x18c254(0x183)](){const _0x144bed=_0x18c254;this[_0x144bed(0x1a2)][_0x144bed(0x19d)](_0x144bed(0x1a1)),this[_0x144bed(0x1a2)][_0x144bed(0x19d)](_0x144bed(0x195)),this[_0x144bed(0x1a2)][_0x144bed(0x19d)](_0x144bed(0x193)),this[_0x144bed(0x18b)](),this[_0x144bed(0x181)][_0x144bed(0x183)](),this[_0x144bed(0x1a3)]&&this[_0x144bed(0x19f)]();}[_0x18c254(0x180)](){const _0x330e8e=_0x18c254,_0x40bb17=_0x1826ba(this[_0x330e8e(0x199)][_0x330e8e(0x190)],_0x330e8e(0x17a));this[_0x330e8e(0x1a3)]=this[_0x330e8e(0x199)][_0x330e8e(0x17e)][_0x330e8e(0x17b)](_0x330e8e(0x18f))[_0x330e8e(0x187)](_0x40bb17);}[_0x18c254(0x19f)](){const _0x424835=_0x18c254;null!==this[_0x424835(0x1a3)]&&this[_0x424835(0x199)][_0x424835(0x17e)][_0x424835(0x17b)](_0x424835(0x18f))[_0x424835(0x196)](this[_0x424835(0x1a3)]),this[_0x424835(0x1a3)]=null;}}
23
+ function _0x3f0e(_0x338fc9,_0x3b105e){const _0x10051c=_0x1005();return _0x3f0e=function(_0x3f0e55,_0x15206d){_0x3f0e55=_0x3f0e55-0xed;let _0x312644=_0x10051c[_0x3f0e55];return _0x312644;},_0x3f0e(_0x338fc9,_0x3b105e);}const _0x2e986a=_0x3f0e;(function(_0x3fa688,_0x8af36b){const _0xe71463=_0x3f0e,_0x29d2cc=_0x3fa688();while(!![]){try{const _0x5b6977=-parseInt(_0xe71463(0x110))/0x1+-parseInt(_0xe71463(0x116))/0x2*(-parseInt(_0xe71463(0xf8))/0x3)+-parseInt(_0xe71463(0x107))/0x4*(-parseInt(_0xe71463(0xff))/0x5)+-parseInt(_0xe71463(0x10c))/0x6+parseInt(_0xe71463(0xf6))/0x7*(-parseInt(_0xe71463(0xee))/0x8)+parseInt(_0xe71463(0x10e))/0x9*(parseInt(_0xe71463(0x114))/0xa)+parseInt(_0xe71463(0x115))/0xb;if(_0x5b6977===_0x8af36b)break;else _0x29d2cc['push'](_0x29d2cc['shift']());}catch(_0x53db0f){_0x29d2cc['push'](_0x29d2cc['shift']());}}}(_0x1005,0x6c0e7));import{ObservableMixin as _0x4f8792}from'ckeditor5/src/utils.js';import{getTranslation as _0x482d8c}from'../utils/common-translations.js';function _0x1005(){const _0x187ab3=['add','bind','commentThreadController','stopListening','commands','_discardCommand','2266924YXTibV','_pendingAction','unbind','_removePendingAction','_acceptCommand','3812130mUOKSk','isEnabled','3111201KpaWYh','_setPendingAction','555908FgHyWJ','remove','view','discardSuggestion','10pJvoOF','2804857TPpWdr','50388ATieWf','isDirty','execute','24DdeNXj','change:isDirty','canDiscard','getRanges','_editor','listenTo','canAccept','acceptSuggestion','263683lDBypn','locale','69FUUkwg','plugins','PENDING_ACTION_SUGGESTION','canEditAt','PendingActions','destroy','model','5JPudZN','get'];_0x1005=function(){return _0x187ab3;};return _0x1005();}export default class ae extends/* #__PURE__ -- @preserve */
24
+ _0x4f8792(){constructor(_0x196484,_0x36bb0c,_0x2ff684,_0x3ef42d){const _0x9f39af=_0x3f0e;super(),this[_0x9f39af(0xfe)]=_0x36bb0c,this[_0x9f39af(0x112)]=_0x2ff684,this[_0x9f39af(0x103)]=_0x3ef42d,this[_0x9f39af(0xf2)]=_0x196484,this[_0x9f39af(0x10b)]=_0x196484[_0x9f39af(0x105)][_0x9f39af(0x100)](_0x9f39af(0xf5)),this[_0x9f39af(0x106)]=_0x196484[_0x9f39af(0x105)][_0x9f39af(0x100)](_0x9f39af(0x113)),this[_0x9f39af(0x112)][_0x9f39af(0x102)](_0x9f39af(0x10d))['to'](this[_0x9f39af(0x10b)],this[_0x9f39af(0x106)],(_0x2b1b02,_0x1a225f)=>_0x2b1b02||_0x1a225f),this[_0x9f39af(0x112)][_0x9f39af(0x102)](_0x9f39af(0xf4))['to'](this[_0x9f39af(0x10b)],_0x9f39af(0x10d),_0x3f647e=>_0x3f647e&&this[_0x9f39af(0xf2)][_0x9f39af(0xfe)][_0x9f39af(0xfb)](_0x36bb0c[_0x9f39af(0xf1)]())),this[_0x9f39af(0x112)][_0x9f39af(0x102)](_0x9f39af(0xf0))['to'](this[_0x9f39af(0x106)],_0x9f39af(0x10d),_0x3a8122=>_0x3a8122&&this[_0x9f39af(0xf2)][_0x9f39af(0xfe)][_0x9f39af(0xfb)](_0x36bb0c[_0x9f39af(0xf1)]())),this[_0x9f39af(0x108)]=null,_0x2ff684[_0x9f39af(0x117)]&&this[_0x9f39af(0x10f)](),this[_0x9f39af(0xf3)](_0x2ff684,_0x9f39af(0xf5),()=>this[_0x9f39af(0xf5)]()),this[_0x9f39af(0xf3)](_0x2ff684,_0x9f39af(0x113),()=>this[_0x9f39af(0x113)]()),this[_0x9f39af(0xf3)](_0x2ff684,_0x9f39af(0xef),()=>{const _0x5e65a8=_0x9f39af;_0x2ff684[_0x5e65a8(0x117)]?this[_0x5e65a8(0x10f)]():this[_0x5e65a8(0x10a)]();});}[_0x2e986a(0xf5)](){const _0x55387e=_0x2e986a;this[_0x55387e(0x10b)][_0x55387e(0xed)](this[_0x55387e(0xfe)]['id']);}[_0x2e986a(0x113)](){const _0x9252d3=_0x2e986a;this[_0x9252d3(0x106)][_0x9252d3(0xed)](this[_0x9252d3(0xfe)]['id']);}[_0x2e986a(0xfd)](){const _0x37ca51=_0x2e986a;this[_0x37ca51(0x112)][_0x37ca51(0x109)](_0x37ca51(0x10d)),this[_0x37ca51(0x112)][_0x37ca51(0x109)](_0x37ca51(0xf4)),this[_0x37ca51(0x112)][_0x37ca51(0x109)](_0x37ca51(0xf0)),this[_0x37ca51(0x104)](),this[_0x37ca51(0x103)][_0x37ca51(0xfd)](),this[_0x37ca51(0x108)]&&this[_0x37ca51(0x10a)]();}[_0x2e986a(0x10f)](){const _0x8cfc88=_0x2e986a,_0x87d657=_0x482d8c(this[_0x8cfc88(0xf2)][_0x8cfc88(0xf7)],_0x8cfc88(0xfa));this[_0x8cfc88(0x108)]=this[_0x8cfc88(0xf2)][_0x8cfc88(0xf9)][_0x8cfc88(0x100)](_0x8cfc88(0xfc))[_0x8cfc88(0x101)](_0x87d657);}[_0x2e986a(0x10a)](){const _0x3aabec=_0x2e986a;null!==this[_0x3aabec(0x108)]&&this[_0x3aabec(0xf2)][_0x3aabec(0xf9)][_0x3aabec(0x100)](_0x3aabec(0xfc))[_0x3aabec(0x111)](this[_0x3aabec(0x108)]),this[_0x3aabec(0x108)]=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 _0x5a9142=_0x55b2;(function(_0x54125b,_0x5d6bae){const _0x363b95=_0x55b2,_0x3126e5=_0x54125b();while(!![]){try{const _0x4307dd=parseInt(_0x363b95(0x20b))/0x1*(parseInt(_0x363b95(0x1fc))/0x2)+-parseInt(_0x363b95(0x1ec))/0x3+-parseInt(_0x363b95(0x1f9))/0x4*(parseInt(_0x363b95(0x213))/0x5)+parseInt(_0x363b95(0x1f7))/0x6+parseInt(_0x363b95(0x1e9))/0x7*(parseInt(_0x363b95(0x210))/0x8)+parseInt(_0x363b95(0x20d))/0x9*(-parseInt(_0x363b95(0x1e5))/0xa)+-parseInt(_0x363b95(0x212))/0xb;if(_0x4307dd===_0x5d6bae)break;else _0x3126e5['push'](_0x3126e5['shift']());}catch(_0x562eb3){_0x3126e5['push'](_0x3126e5['shift']());}}}(_0x259d,0x31707));import{View as _0x7ed65c}from'ckeditor5/src/ui.js';function _0x55b2(_0x51a7de,_0x5c7a4f){const _0x259d5c=_0x259d();return _0x55b2=function(_0x55b24c,_0x3bd1ef){_0x55b24c=_0x55b24c-0x1e2;let _0x51b8ba=_0x259d5c[_0x55b24c];return _0x51b8ba;},_0x55b2(_0x51a7de,_0x5c7a4f);}export default class es extends _0x7ed65c{constructor(_0x593537,_0x15de4f,_0x166c56,_0x3500ef){const _0x535fd0=_0x55b2;super(_0x593537),this[_0x535fd0(0x1fd)]=null,this[_0x535fd0(0x1f0)]=null,this[_0x535fd0(0x1e8)](_0x535fd0(0x201),!0x1),this[_0x535fd0(0x1e8)](_0x535fd0(0x205),_0x15de4f[_0x535fd0(0x205)]),this[_0x535fd0(0x215)](_0x535fd0(0x205))['to'](_0x15de4f),this[_0x535fd0(0x1e8)](_0x535fd0(0x211),[]),this[_0x535fd0(0x1e8)](_0x535fd0(0x214),!0x1),this[_0x535fd0(0x1e8)](_0x535fd0(0x1f2),!0x1),this[_0x535fd0(0x1e8)](_0x535fd0(0x20e),!0x1),this[_0x535fd0(0x1e8)](_0x535fd0(0x204),!0x1),this[_0x535fd0(0x206)]=_0x15de4f,this[_0x535fd0(0x1ff)]=_0x166c56,this[_0x535fd0(0x1f6)]=_0x3500ef,_0x3500ef[_0x535fd0(0x202)]?this[_0x535fd0(0x1e8)](_0x535fd0(0x1fe),0x1):this[_0x535fd0(0x20a)]();}[_0x5a9142(0x208)](){const _0x9449f=_0x5a9142;this[_0x9449f(0x1fb)][_0x9449f(0x208)]();}[_0x5a9142(0x209)](){const _0x488493=_0x5a9142;this[_0x488493(0x1fd)]&&this[_0x488493(0x1fd)][_0x488493(0x209)](),this[_0x488493(0x1f0)]&&this[_0x488493(0x1f0)][_0x488493(0x209)](),super[_0x488493(0x209)]();}[_0x5a9142(0x20a)](){const _0x2a390f=_0x5a9142,{CommentsListView:_0x5df503}=this[_0x2a390f(0x1f6)];this[_0x2a390f(0x1fd)]=new _0x5df503(this[_0x2a390f(0x20f)],this[_0x2a390f(0x206)][_0x2a390f(0x1f3)],Object[_0x2a390f(0x207)]({'CommentView':this[_0x2a390f(0x1f6)][_0x2a390f(0x1ef)]},this[_0x2a390f(0x1f6)])),this[_0x2a390f(0x1fd)][_0x2a390f(0x1f8)](_0x2a390f(0x1ed))['to'](this),this[_0x2a390f(0x1fd)][_0x2a390f(0x1f8)](_0x2a390f(0x1e4))['to'](this),this[_0x2a390f(0x1fd)][_0x2a390f(0x215)](_0x2a390f(0x201))['to'](this),this[_0x2a390f(0x1e8)](_0x2a390f(0x1fe),this[_0x2a390f(0x1fd)][_0x2a390f(0x1fe)]+0x1),this[_0x2a390f(0x215)](_0x2a390f(0x1fe))['to'](this[_0x2a390f(0x1fd)],_0x2a390f(0x1fe),_0x2f3c4f=>_0x2f3c4f+0x1),this[_0x2a390f(0x1f0)]=this[_0x2a390f(0x200)](),this['on'](_0x2a390f(0x1ed),()=>this[_0x2a390f(0x208)]()),this[_0x2a390f(0x215)](_0x2a390f(0x214))['to'](this[_0x2a390f(0x1fd)],_0x2a390f(0x1f4),this[_0x2a390f(0x1f0)][_0x2a390f(0x203)],_0x2a390f(0x20c),(_0x5aaa9b,_0x462c76)=>_0x5aaa9b||!!_0x462c76);}[_0x5a9142(0x200)](){const _0x5347c6=_0x5a9142,{CommentThreadInputView:_0x545a2c}=this[_0x5347c6(0x1f6)],_0x229723=new _0x545a2c(this[_0x5347c6(0x20f)],this[_0x5347c6(0x1ff)],this[_0x5347c6(0x1f6)][_0x5347c6(0x1e6)]),_0x8d91b3=_0x229723[_0x5347c6(0x203)];return _0x229723[_0x5347c6(0x215)](_0x5347c6(0x1ee))['to'](this,_0x5347c6(0x201),this[_0x5347c6(0x206)][_0x5347c6(0x1f3)],_0x5347c6(0x1e3),_0x8d91b3,_0x5347c6(0x20c),(_0x68ac92,_0x15f5a6,_0x374564)=>!!_0x374564||_0x68ac92&&!_0x15f5a6),_0x8d91b3['on'](_0x5347c6(0x1e7),(_0x575d82,_0x3e33c4)=>{const _0x262513=_0x5347c6;this[_0x262513(0x1f5)](_0x262513(0x1eb),_0x3e33c4),_0x8d91b3[_0x262513(0x1fa)][_0x262513(0x1f1)]('');}),_0x8d91b3['on'](_0x5347c6(0x1ea),()=>this[_0x5347c6(0x208)]()),_0x8d91b3[_0x5347c6(0x215)](_0x5347c6(0x1e2))['to'](this[_0x5347c6(0x206)][_0x5347c6(0x1f3)],_0x5347c6(0x1e3)),_0x229723;}}function _0x259d(){const _0x234fcb=['_config','2423172iAYtjK','delegate','40QwItXd','editor','element','1442oCUDGa','commentsListView','length','_localUser','_createCommentThreadInputView','isActive','disableComments','commentInputView','canDiscard','authoredAt','_model','assign','focus','destroy','_createCommentViews','499HzVEcL','value','2702439MQbvIT','canAccept','locale','35032pBSoyy','descriptionParts','22220KUXgtz','136630KykIyD','isDirty','bind','disabledSubmit','isReadOnly','updateComment','10Xdtdvm','editorConfig','submit','set','217CGwsbW','cancel','addComment','364008OWpsjf','removeComment','showInput','CommentView','commentThreadInputView','setData','isEnabled','commentThread','hasDirtyComment','fire'];_0x259d=function(){return _0x234fcb;};return _0x259d();}
23
+ const _0x37121f=_0x4b9e;(function(_0x323536,_0xb5509c){const _0x306374=_0x4b9e,_0x565785=_0x323536();while(!![]){try{const _0x2c8a10=-parseInt(_0x306374(0x1ec))/0x1+parseInt(_0x306374(0x1e6))/0x2*(-parseInt(_0x306374(0x1c4))/0x3)+parseInt(_0x306374(0x1ce))/0x4+parseInt(_0x306374(0x1bf))/0x5*(-parseInt(_0x306374(0x1be))/0x6)+-parseInt(_0x306374(0x1c5))/0x7+-parseInt(_0x306374(0x1d7))/0x8+parseInt(_0x306374(0x1cb))/0x9;if(_0x2c8a10===_0xb5509c)break;else _0x565785['push'](_0x565785['shift']());}catch(_0x4cc72d){_0x565785['push'](_0x565785['shift']());}}}(_0x1fdf,0xe894b));function _0x4b9e(_0x4ef032,_0x4a5f99){const _0x1fdf86=_0x1fdf();return _0x4b9e=function(_0x4b9ed8,_0x1b0615){_0x4b9ed8=_0x4b9ed8-0x1b0;let _0x1b7cc4=_0x1fdf86[_0x4b9ed8];return _0x1b7cc4;},_0x4b9e(_0x4ef032,_0x4a5f99);}import{FocusCycler as _0x22bfb,View as _0x572e67,ViewCollection as _0x1b9fc4}from'ckeditor5/src/ui.js';function _0x1fdf(){const _0x525a5d=['commentThreadInputView','formatDateTime','authoredAt','_createCommentThreadInputView','target','disabledSubmit','ariaLabel','_model','locale','focusCycler','setData','text/html','29536UDFiDj','destroy','value','map','body','_config','1087779wHCDBU','SUGGESTION_THREAD_DESCRIPTION','isDirty','render','content','_localUser','focusTracker','set','editorConfig','commentsListView','isEnabled','cancel','addComment','element','commentInputView','tab','disableComments','CommentView','join','removeComment','shift+tab','parseFromString','focusables','descriptionParts','textContent','showInput','3523374qJCCkl','5BUETuF','SUGGESTION_THREAD_ARIA_LABEL','_createCommentViews','bind','editor','192eUhpDS','299110eaISDp','hasDirtyComment','isActive','focus','assign','canDiscard','36479484UBFazL','author','updateComment','1152908fkpyTR','submit','fire','length','canAccept','keystrokes','isReadOnly','name','delegate','5807696kjmppS','ariaDescriptionView','commentThread'];_0x1fdf=function(){return _0x525a5d;};return _0x1fdf();}import{FocusTracker as _0x22495a,KeystrokeHandler as _0x2f2864}from'ckeditor5/src/utils.js';import{AriaDescriptionView as _0x5f81a0,setupThreadKeyboardNavigation as _0xd1c65f}from'ckeditor5-collaboration/src/collaboration-core.js';import{getTranslation as _0x5d70c3}from'../../utils/common-translations.js';import{renderDescription as _0x4afc50}from'../../utils/utils.js';export default class us extends _0x572e67{constructor(_0xe1e298,_0x448f61,_0x393675,_0x50d2a6){const _0x5d642f=_0x4b9e;super(_0xe1e298),this[_0x5d642f(0x1f5)]=null,this[_0x5d642f(0x1da)]=null,this[_0x5d642f(0x1d8)]=new _0x5f81a0(_0xe1e298,_0x5d70c3(_0xe1e298,_0x5d642f(0x1ed))),this[_0x5d642f(0x1f3)](_0x5d642f(0x1c7),!0x1),this[_0x5d642f(0x1f3)](_0x5d642f(0x1dc),_0x448f61[_0x5d642f(0x1dc)]),this[_0x5d642f(0x1c2)](_0x5d642f(0x1dc))['to'](_0x448f61),this[_0x5d642f(0x1f3)](_0x5d642f(0x1bb),[]),this[_0x5d642f(0x1f3)](_0x5d642f(0x1ee),!0x1),this[_0x5d642f(0x1f3)](_0x5d642f(0x1f6),!0x1),this[_0x5d642f(0x1f3)](_0x5d642f(0x1d2),!0x1),this[_0x5d642f(0x1f3)](_0x5d642f(0x1ca),!0x1),this[_0x5d642f(0x1c2)](_0x5d642f(0x1e0))['to'](this,_0x5d642f(0x1d1),_0x448f61,_0x5d642f(0x1dc),this,_0x5d642f(0x1bb),(_0x2354d5,_0xcdfe58,_0x2ea8e4)=>{const _0x1770b3=_0x5d642f,_0x126972=_0x2ea8e4[_0x1770b3(0x1e9)](_0x14ed9f=>_0x4afc50(_0x14ed9f[_0x1770b3(0x1f0)]))[_0x1770b3(0x1b6)]('.\x20')+'.';return _0x5d70c3(this[_0x1770b3(0x1e2)],_0x1770b3(0x1c0),[_0x2354d5-0x1,_0x448f61[_0x1770b3(0x1cc)][_0x1770b3(0x1d5)],_0xcdfe58?_0x50d2a6[_0x1770b3(0x1db)](_0xcdfe58):'',new DOMParser()[_0x1770b3(0x1b9)](_0x126972,_0x1770b3(0x1e5))[_0x1770b3(0x1ea)][_0x1770b3(0x1bc)]]);}),this[_0x5d642f(0x1ba)]=new _0x1b9fc4(),this[_0x5d642f(0x1f2)]=new _0x22495a(),this[_0x5d642f(0x1d3)]=new _0x2f2864(),this[_0x5d642f(0x1e3)]=new _0x22bfb({'focusables':this[_0x5d642f(0x1ba)],'focusTracker':this[_0x5d642f(0x1f2)],'keystrokeHandler':this[_0x5d642f(0x1d3)],'keystrokeHandlerOptions':{'filter':_0x257448=>_0x257448[_0x5d642f(0x1de)]!==this[_0x5d642f(0x1b1)]},'actions':{'focusPrevious':_0x5d642f(0x1b8),'focusNext':_0x5d642f(0x1b3)}}),this[_0x5d642f(0x1e1)]=_0x448f61,this[_0x5d642f(0x1f1)]=_0x393675,this[_0x5d642f(0x1eb)]=_0x50d2a6,_0x50d2a6[_0x5d642f(0x1b4)]?this[_0x5d642f(0x1f3)](_0x5d642f(0x1d1),0x1):this[_0x5d642f(0x1c1)]();}[_0x37121f(0x1ef)](){const _0x45d1a2=_0x37121f;super[_0x45d1a2(0x1ef)](),_0xd1c65f(this,this[_0x45d1a2(0x1ba)]);}[_0x37121f(0x1c8)](){const _0x3e01f8=_0x37121f;this[_0x3e01f8(0x1b1)][_0x3e01f8(0x1c8)]();}[_0x37121f(0x1e7)](){const _0x25483a=_0x37121f;this[_0x25483a(0x1f5)]&&this[_0x25483a(0x1f5)][_0x25483a(0x1e7)](),this[_0x25483a(0x1da)]&&this[_0x25483a(0x1da)][_0x25483a(0x1e7)](),super[_0x25483a(0x1e7)]();}[_0x37121f(0x1c1)](){const _0xb8bde7=_0x37121f,{CommentsListView:_0x96f168}=this[_0xb8bde7(0x1eb)];this[_0xb8bde7(0x1f5)]=new _0x96f168(this[_0xb8bde7(0x1e2)],this[_0xb8bde7(0x1e1)][_0xb8bde7(0x1d9)],Object[_0xb8bde7(0x1c9)]({'CommentView':this[_0xb8bde7(0x1eb)][_0xb8bde7(0x1b5)]},this[_0xb8bde7(0x1eb)])),this[_0xb8bde7(0x1f5)][_0xb8bde7(0x1d6)](_0xb8bde7(0x1b7))['to'](this),this[_0xb8bde7(0x1f5)][_0xb8bde7(0x1d6)](_0xb8bde7(0x1cd))['to'](this),this[_0xb8bde7(0x1f5)][_0xb8bde7(0x1c2)](_0xb8bde7(0x1c7))['to'](this),this[_0xb8bde7(0x1f3)](_0xb8bde7(0x1d1),this[_0xb8bde7(0x1f5)][_0xb8bde7(0x1d1)]+0x1),this[_0xb8bde7(0x1c2)](_0xb8bde7(0x1d1))['to'](this[_0xb8bde7(0x1f5)],_0xb8bde7(0x1d1),_0x5378a7=>_0x5378a7+0x1),this[_0xb8bde7(0x1da)]=this[_0xb8bde7(0x1dd)](),this['on'](_0xb8bde7(0x1b7),()=>this[_0xb8bde7(0x1c8)]()),this[_0xb8bde7(0x1c2)](_0xb8bde7(0x1ee))['to'](this[_0xb8bde7(0x1f5)],_0xb8bde7(0x1c6),this[_0xb8bde7(0x1da)][_0xb8bde7(0x1b2)],_0xb8bde7(0x1e8),(_0x523d52,_0x4eff01)=>_0x523d52||!!_0x4eff01);}[_0x37121f(0x1dd)](){const _0x27c2f4=_0x37121f,{CommentThreadInputView:_0x4b02e2}=this[_0x27c2f4(0x1eb)],_0x2a2988=new _0x4b02e2(this[_0x27c2f4(0x1e2)],this[_0x27c2f4(0x1f1)],this[_0x27c2f4(0x1eb)][_0x27c2f4(0x1f4)]),_0x30a86e=_0x2a2988[_0x27c2f4(0x1b2)];return _0x2a2988[_0x27c2f4(0x1c2)](_0x27c2f4(0x1bd))['to'](this,_0x27c2f4(0x1c7),this[_0x27c2f4(0x1e1)][_0x27c2f4(0x1d9)],_0x27c2f4(0x1d4),_0x30a86e,_0x27c2f4(0x1e8),(_0x1dbf87,_0x536e31,_0x3ee4f1)=>!!_0x3ee4f1||_0x1dbf87&&!_0x536e31),_0x30a86e['on'](_0x27c2f4(0x1cf),(_0x31fe41,_0x4c606e)=>{const _0xa15131=_0x27c2f4;this[_0xa15131(0x1d0)](_0xa15131(0x1b0),_0x4c606e),_0x30a86e[_0xa15131(0x1c3)][_0xa15131(0x1e4)]('');}),_0x30a86e['on'](_0x27c2f4(0x1f7),()=>this[_0x27c2f4(0x1c8)]()),_0x30a86e[_0x27c2f4(0x1c2)](_0x27c2f4(0x1df))['to'](this[_0x27c2f4(0x1e1)][_0x27c2f4(0x1d9)],_0x27c2f4(0x1d4)),_0x2a2988;}}
@@ -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 _0x3435c6=_0x1fbf;(function(_0x452d6e,_0x55b8d9){const _0x32a447=_0x1fbf,_0x10c791=_0x452d6e();while(!![]){try{const _0x172a5d=-parseInt(_0x32a447(0x1bf))/0x1*(parseInt(_0x32a447(0x1e5))/0x2)+parseInt(_0x32a447(0x20a))/0x3*(-parseInt(_0x32a447(0x1ff))/0x4)+-parseInt(_0x32a447(0x1f8))/0x5*(-parseInt(_0x32a447(0x1e7))/0x6)+parseInt(_0x32a447(0x1a9))/0x7+parseInt(_0x32a447(0x1d8))/0x8+-parseInt(_0x32a447(0x1e8))/0x9*(-parseInt(_0x32a447(0x1de))/0xa)+parseInt(_0x32a447(0x1dc))/0xb*(-parseInt(_0x32a447(0x203))/0xc);if(_0x172a5d===_0x55b8d9)break;else _0x10c791['push'](_0x10c791['shift']());}catch(_0x5bd360){_0x10c791['push'](_0x10c791['shift']());}}}(_0x21a3,0x4807c));import{getTranslation as _0x21fdaf}from'../../utils/common-translations.js';import{default as _0x10e926}from'./basesuggestionthreadview.js';import{ButtonView as _0x25d42f}from'ckeditor5/src/ui.js';function _0x21a3(){const _0x4d57b1=['4fMJzfj','acceptButton','\x22></span>','innerText','156cwaMKp','element','<p>','discardSuggestion','ck-suggestion-wrapper--active','</p>','innerHTML','30669BVSWBS','ck-suggestion__user','editorDestroyed','ck-suggestion--discard','_config','type','push','acceptSuggestion','source','userView','ck-annotation__info-time','isActive','span','ck-suggestion__main','map','ck-suggestion--accept','2828917mNdNbw','ck-suggestion','\x22\x20title=\x22','isEnabled','children','getTemplate','cancel','ck-suggestion__info-name','ck-suggestion__actions','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','value','getExternalSuggestionNote','disableComments','.ck-annotation__content-wrapper','descriptionParts','ck-annotation__actions','ck-annotation','split','discardButton','bind','</span>','commentThreadInputView','716GUTeoH','ck-annotation__main','check','set','ck-suggestion-','join','ck-comment__external','render','author','change:description','ck-annotation__info-name','querySelector','ck-annotation__user','extendTemplate','title','commentThread','locale','color','_model','ck-annotation__content-wrapper','execute','canAccept','setTemplate','EXTERNAL_AVATAR','bindTemplate','1019368rbtZQE','_createButton','ck-suggestion-wrapper','formatDateTime','793012YxDliy','isExternal','2680REtrpl','time','delegate','canDiscard','ck-annotation__info','authoredAt','content','502pewzOR','getUserViewNotificationText','1686OVEijF','15084fcfXKb','ck-suggestion--disabled-comments','commentsListView','<span\x20class=\x22ck-suggestion-type\x22>','name','attributes','EXTERNAL_IMPORT_WORD_AVATAR','@external','EXTERNAL_SUGGESTION','createElement','_descriptionElement','ck-comment__info-time','importWord','div','fire','ck-suggestion__info','7855oPFsLi','editorReady','Discard\x20suggestion','EXTERNAL_IMPORT_WORD_SUGGESTION','Accept\x20suggestion','description','creator'];_0x21a3=function(){return _0x4d57b1;};return _0x21a3();}import{icons as _0x4fc4cf}from'ckeditor5/src/core.js';function _0x1fbf(_0x3ddde1,_0x18a382){const _0x21a333=_0x21a3();return _0x1fbf=function(_0x1fbf2a,_0x7f6d8c){_0x1fbf2a=_0x1fbf2a-0x19c;let _0x52088e=_0x21a333[_0x1fbf2a];return _0x52088e;},_0x1fbf(_0x3ddde1,_0x18a382);}import{trimHtml as _0x43d955,UserView as _0x23d253}from'ckeditor5-collaboration/src/collaboration-core.js';export default class ie extends _0x10e926{constructor(_0x1cb90c,_0x479ccc,_0x434003,_0x5481ed){const _0x169175=_0x1fbf;super(_0x1cb90c,_0x479ccc,_0x434003,_0x5481ed),this[_0x169175(0x1c2)](_0x169175(0x19e),''),this[_0x169175(0x1bc)](_0x169175(0x19e))['to'](this,_0x169175(0x1b7),_0x2753f0=>_0x2753f0&&_0x2753f0[0x0]?_0x2753f0[0x0][_0x169175(0x19e)]:''),this[_0x169175(0x1bc)](_0x169175(0x1fd))['to'](this,_0x169175(0x1b7),this,_0x169175(0x1a4),(_0x355a29,_0x3158c6)=>{const _0x6e5305=_0x169175;let _0x27d602='';for(const _0x2ea2d7 of _0x355a29)_0x27d602+=_0x6e5305(0x205)+ds(_0x2ea2d7[_0x6e5305(0x1e4)],_0x2ea2d7[_0x6e5305(0x1d0)])+_0x6e5305(0x208);return _0x3158c6?_0x27d602:_0x43d955(_0x27d602,{'limit':0x8c});}),this[_0x169175(0x1f2)]=null,this[_0x169175(0x200)]=this[_0x169175(0x1d9)](_0x21fdaf(_0x1cb90c,_0x169175(0x1fc)),_0x4fc4cf[_0x169175(0x1c1)],_0x169175(0x1a8),_0x169175(0x1a0),'sw'),this[_0x169175(0x200)][_0x169175(0x1bc)](_0x169175(0x1ac))['to'](this,_0x169175(0x1d4)),this[_0x169175(0x1bb)]=this[_0x169175(0x1d9)](_0x21fdaf(_0x1cb90c,_0x169175(0x1fa)),_0x4fc4cf[_0x169175(0x1af)],_0x169175(0x19c),_0x169175(0x206),'sw'),this[_0x169175(0x1bb)][_0x169175(0x1bc)](_0x169175(0x1ac))['to'](this,_0x169175(0x1e1)),this[_0x169175(0x1a2)]=new _0x23d253(_0x1cb90c,this[_0x169175(0x1d1)][_0x169175(0x1c7)],this[_0x169175(0x1e6)]()),this[_0x169175(0x1a2)][_0x169175(0x1cc)]({'attributes':{'class':[_0x169175(0x20b),_0x169175(0x1cb)]}}),this[_0x169175(0x1d5)](this[_0x169175(0x1ae)]());}[_0x3435c6(0x1ae)](){const _0x37f38e=_0x3435c6,_0x270e35=this[_0x37f38e(0x1d7)],_0x329612=[{'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1f7),_0x37f38e(0x1e2)]},'children':[{'tag':_0x37f38e(0x1a5),'children':[{'text':this[_0x37f38e(0x1a2)][_0x37f38e(0x1ec)]}],'attributes':{'class':[_0x37f38e(0x1b0),_0x37f38e(0x1c9)]}},{'tag':_0x37f38e(0x1df),'attributes':{'datetime':_0x270e35['to'](_0x37f38e(0x1e3)),'class':[_0x37f38e(0x1f3),_0x37f38e(0x1a3)]},'children':[{'text':_0x270e35['to'](_0x37f38e(0x1e3),_0x2b019f=>this[_0x37f38e(0x19d)][_0x37f38e(0x1db)](_0x2b019f))}]}]},{'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1b1),_0x37f38e(0x1b8)]},'children':[this[_0x37f38e(0x200)],this[_0x37f38e(0x1bb)]]},{'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1d2)]}}];this[_0x37f38e(0x1d1)][_0x37f38e(0x1dd)]&&_0x329612[_0x37f38e(0x19f)]({'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1c5)]},'children':[{'text':this[_0x37f38e(0x1b4)]()}]});const _0x1c74d0={'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1da),_0x270e35['if'](_0x37f38e(0x1a4),_0x37f38e(0x207)),_0x270e35['to'](_0x37f38e(0x19e),_0x133819=>_0x37f38e(0x1c3)+_0x133819),this[_0x37f38e(0x19d)][_0x37f38e(0x1b5)]&&_0x37f38e(0x1e9)],'data-suggestion-id':this[_0x37f38e(0x1d1)]['id'],'data-thread-id':this[_0x37f38e(0x1d1)][_0x37f38e(0x1ce)]['id'],'data-author-id':this[_0x37f38e(0x1d1)][_0x37f38e(0x1c7)]['id'],'tabindex':-0x1},'children':[{'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1aa),_0x37f38e(0x1b9)]},'children':[this[_0x37f38e(0x1a2)],{'tag':_0x37f38e(0x1f5),'attributes':{'class':[_0x37f38e(0x1a6),_0x37f38e(0x1c0)]},'children':_0x329612}]}]};return this[_0x37f38e(0x1ea)]&&this[_0x37f38e(0x1be)]&&(_0x1c74d0[_0x37f38e(0x1ad)][_0x37f38e(0x19f)](this[_0x37f38e(0x1ea)],this[_0x37f38e(0x1be)]),this[_0x37f38e(0x1ea)][_0x37f38e(0x1e0)](_0x37f38e(0x1f9))['to'](this),this[_0x37f38e(0x1ea)][_0x37f38e(0x1e0)](_0x37f38e(0x20c))['to'](this),this[_0x37f38e(0x1be)][_0x37f38e(0x1e0)](_0x37f38e(0x1f9))['to'](this),this[_0x37f38e(0x1be)][_0x37f38e(0x1e0)](_0x37f38e(0x20c))['to'](this)),_0x1c74d0;}[_0x3435c6(0x1c6)](){const _0x40c74c=_0x3435c6;super[_0x40c74c(0x1c6)](),this[_0x40c74c(0x1f2)]=this[_0x40c74c(0x204)][_0x40c74c(0x1ca)](_0x40c74c(0x1b6)),this[_0x40c74c(0x1f2)][_0x40c74c(0x209)]=this[_0x40c74c(0x1fd)],this['on'](_0x40c74c(0x1c8),(_0x1f0558,_0x107401,_0x1ce21)=>{const _0x475187=_0x40c74c;this[_0x475187(0x1f2)][_0x475187(0x209)]=_0x1ce21;});}[_0x3435c6(0x1d9)](_0x585d55,_0x3f676a,_0xcc8f75,_0xd00822,_0x5295c3){const _0x199ac3=_0x3435c6,_0x2b8841=new _0x25d42f(this[_0x199ac3(0x1cf)]);return _0x2b8841[_0x199ac3(0x1c2)]({'label':_0x585d55,'icon':_0x3f676a,'tooltip':!0x0,'tooltipPosition':_0x5295c3}),_0x2b8841[_0x199ac3(0x1cc)]({'attributes':{'class':_0xcc8f75}}),_0x2b8841['on'](_0x199ac3(0x1d3),()=>{const _0x3e20dd=_0x199ac3;this[_0x3e20dd(0x1f6)](_0xd00822,this[_0x3e20dd(0x1d1)]['id']);}),_0x2b8841;}[_0x3435c6(0x1b4)](){const _0x55f0ae=_0x3435c6;return _0x55f0ae(0x1f4)===this[_0x55f0ae(0x1d1)][_0x55f0ae(0x1ed)][_0x55f0ae(0x1ef)][_0x55f0ae(0x1a1)]?_0x21fdaf(this[_0x55f0ae(0x1cf)],_0x55f0ae(0x1fb)):_0x21fdaf(this[_0x55f0ae(0x1cf)],_0x55f0ae(0x1f0));}[_0x3435c6(0x1e6)](){const _0x198acb=_0x3435c6;return this[_0x198acb(0x1d1)][_0x198acb(0x1dd)]?_0x198acb(0x1f4)===this[_0x198acb(0x1d1)][_0x198acb(0x1ed)][_0x198acb(0x1ef)][_0x198acb(0x1a1)]?_0x21fdaf(this[_0x198acb(0x1cf)],_0x198acb(0x1ee),this[_0x198acb(0x1d1)][_0x198acb(0x1fe)][_0x198acb(0x1ec)]):_0x21fdaf(this[_0x198acb(0x1cf)],_0x198acb(0x1d6),this[_0x198acb(0x1d1)][_0x198acb(0x1fe)][_0x198acb(0x1ec)]):null;}}function ds(_0x316134,_0x50b670){const _0x388434=_0x3435c6;let _0x104cc0='';return _0x104cc0+=_0x316134[_0x388434(0x1ba)]('*')[_0x388434(0x1a7)]((_0x518c86,_0x37587f)=>_0x37587f%0x2!=0x0?_0x388434(0x1eb)+us(_0x518c86)+_0x388434(0x1bd):us(_0x518c86))[_0x388434(0x1c4)](''),_0x50b670&&(_0x104cc0+=_0x388434(0x1b2)+_0x50b670[_0x388434(0x1b3)]+_0x388434(0x1ab)+_0x50b670[_0x388434(0x1cd)]+_0x388434(0x201)),_0x104cc0;}function us(_0x1e9c3d){const _0x3dd732=_0x3435c6,_0x15bc90=document[_0x3dd732(0x1f1)](_0x3dd732(0x1a5));return _0x15bc90[_0x3dd732(0x202)]=_0x1e9c3d,_0x15bc90[_0x3dd732(0x209)];}
23
+ const _0x5aedc6=_0x5780;(function(_0x5270e3,_0x4d8cee){const _0x36d8c8=_0x5780,_0xc4e5f8=_0x5270e3();while(!![]){try{const _0x590ba5=-parseInt(_0x36d8c8(0xd0))/0x1*(-parseInt(_0x36d8c8(0xf6))/0x2)+-parseInt(_0x36d8c8(0x9f))/0x3+parseInt(_0x36d8c8(0xc6))/0x4+-parseInt(_0x36d8c8(0xa8))/0x5*(-parseInt(_0x36d8c8(0xce))/0x6)+-parseInt(_0x36d8c8(0xbf))/0x7+-parseInt(_0x36d8c8(0xb3))/0x8+-parseInt(_0x36d8c8(0x98))/0x9*(-parseInt(_0x36d8c8(0xb2))/0xa);if(_0x590ba5===_0x4d8cee)break;else _0xc4e5f8['push'](_0xc4e5f8['shift']());}catch(_0x4691ff){_0xc4e5f8['push'](_0xc4e5f8['shift']());}}}(_0x5883,0xa5b71));import{getTranslation as _0x57db8b}from'../../utils/common-translations.js';import{default as _0x4b3416}from'./basesuggestionthreadview.js';import{icons as _0x39b63b}from'ckeditor5/src/core.js';import{LateFocusButtonView as _0x3911e0,trimHtml as _0x1b6367,UserView as _0x30de62}from'ckeditor5-collaboration/src/collaboration-core.js';import{renderDescription as _0x580335}from'../../utils/utils.js';function _0x5780(_0x4c578c,_0x209321){const _0x588393=_0x5883();return _0x5780=function(_0x57806c,_0x4c52d8){_0x57806c=_0x57806c-0x96;let _0x31b59e=_0x588393[_0x57806c];return _0x31b59e;},_0x5780(_0x4c578c,_0x209321);}function _0x5883(){const _0x55ba0a=['ck-suggestion__main','_config','time','ariaDescriptionView','author','ck-suggestion__actions','.ck-annotation__content-wrapper','EXTERNAL_AVATAR','add','isExternal','acceptButton','content','735954mHxqfW','canAccept','ck-annotation__info-name','check','discardButton','EXTERNAL_IMPORT_WORD_SUGGESTION','ck-annotation__info-time','ck-suggestion--disabled-comments','EXTERNAL_SUGGESTION','locale','ck-annotation__info','ck-suggestion-wrapper','push','48051egdhWd','ck-comment__external','discardSuggestion','div','ck-annotation__user','isActive','_model','2959557lQeiuW','@external','ck-suggestion--discard','getTemplate','ck-suggestion__info','bind','presentation','ck-suggestion','ck-suggestion-','11695KyWjvZ','execute','commentsListView','querySelector','creator','delegate','element','commentThread','ck-suggestion__info-name','editorDestroyed','1410LDPGZg','4762248ZhtoBB','span','attributes','</p>','source','getExternalSuggestionNote','set','extendTemplate','listitem','_createButton','acceptSuggestion','focusables','7280987nDbcOS','children','change:description','importWord','editorReady','ck-suggestion-wrapper--active','getUserViewNotificationText','5124016oohhtz','Discard\x20suggestion','fire','canDiscard','ck-suggestion--accept','description','ck-annotation__actions','isEnabled','1362JbpwGm','ck-rounded-corners','2UdCgip','userView','authoredAt','type','addMany','<p>','color','render','descriptionParts','ck-annotation','bindTemplate','innerHTML','disableComments','cancel','formatDateTime','ck-annotation__content-wrapper','setTemplate','Accept\x20suggestion','ck-comment__info-time','_descriptionElement','ck-suggestion__user','EXTERNAL_IMPORT_WORD_AVATAR','ck-annotation__main','ariaLabel','commentThreadInputView','name'];_0x5883=function(){return _0x55ba0a;};return _0x5883();}export default class re extends _0x4b3416{constructor(_0x21f9aa,_0x1cd661,_0x1335e9,_0x3b121e){const _0x401bcc=_0x5780;super(_0x21f9aa,_0x1cd661,_0x1335e9,_0x3b121e),this[_0x401bcc(0xb9)](_0x401bcc(0xd3),''),this[_0x401bcc(0xa4)](_0x401bcc(0xd3))['to'](this,_0x401bcc(0xd8),_0x4777e7=>_0x4777e7&&_0x4777e7[0x0]?_0x4777e7[0x0][_0x401bcc(0xd3)]:''),this[_0x401bcc(0xa4)](_0x401bcc(0xcb))['to'](this,_0x401bcc(0xd8),this,_0x401bcc(0x9d),(_0x4c6504,_0x1ea46e)=>{const _0x4bc1f4=_0x401bcc;let _0x45a7d8='';for(const _0x130f4b of _0x4c6504)_0x45a7d8+=_0x4bc1f4(0xd5)+_0x580335(_0x130f4b[_0x4bc1f4(0xf5)],_0x130f4b[_0x4bc1f4(0xd6)])+_0x4bc1f4(0xb6);return _0x1ea46e?_0x45a7d8:_0x1b6367(_0x45a7d8,{'limit':0x8c});}),this[_0x401bcc(0xe3)]=null,this[_0x401bcc(0xf4)]=this[_0x401bcc(0xbc)](_0x57db8b(_0x21f9aa,_0x401bcc(0xe1)),_0x39b63b[_0x401bcc(0xf9)],_0x401bcc(0xca),_0x401bcc(0xbd),'sw'),this[_0x401bcc(0xf4)][_0x401bcc(0xa4)](_0x401bcc(0xcd))['to'](this,_0x401bcc(0xf7)),this[_0x401bcc(0xfa)]=this[_0x401bcc(0xbc)](_0x57db8b(_0x21f9aa,_0x401bcc(0xc7)),_0x39b63b[_0x401bcc(0xdd)],_0x401bcc(0xa1),_0x401bcc(0x9a),'sw'),this[_0x401bcc(0xfa)][_0x401bcc(0xa4)](_0x401bcc(0xcd))['to'](this,_0x401bcc(0xc9)),this[_0x401bcc(0xd1)]=new _0x30de62(_0x21f9aa,this[_0x401bcc(0x9e)][_0x401bcc(0xee)],this[_0x401bcc(0xc5)]()),this[_0x401bcc(0xd1)][_0x401bcc(0xba)]({'attributes':{'class':[_0x401bcc(0xe4),_0x401bcc(0x9c)],'aria-hidden':!0x0}}),this[_0x401bcc(0xbe)][_0x401bcc(0xd4)]([this[_0x401bcc(0xf4)],this[_0x401bcc(0xfa)]]),this[_0x401bcc(0xaa)]&&this[_0x401bcc(0xbe)][_0x401bcc(0xf2)](this[_0x401bcc(0xaa)]),this[_0x401bcc(0xe8)]&&this[_0x401bcc(0xbe)][_0x401bcc(0xf2)](this[_0x401bcc(0xe8)]),this[_0x401bcc(0xe0)](this[_0x401bcc(0xa2)]());}[_0x5aedc6(0xa2)](){const _0x5429e4=_0x5aedc6,_0x17ae84=this[_0x5429e4(0xda)],_0x321a82=[{'tag':_0x5429e4(0x9b),'attributes':{'class':[_0x5429e4(0xa3),_0x5429e4(0x100)]},'children':[{'tag':_0x5429e4(0xb4),'children':[{'text':this[_0x5429e4(0xd1)][_0x5429e4(0xe9)]}],'attributes':{'class':[_0x5429e4(0xb0),_0x5429e4(0xf8)]}},{'tag':_0x5429e4(0xec),'attributes':{'datetime':_0x17ae84['to'](_0x5429e4(0xd2)),'class':[_0x5429e4(0xe2),_0x5429e4(0xfc)]},'children':[{'text':_0x17ae84['to'](_0x5429e4(0xd2),_0x44cb50=>this[_0x5429e4(0xeb)][_0x5429e4(0xde)](_0x44cb50))}]}]},{'tag':_0x5429e4(0x9b),'attributes':{'class':[_0x5429e4(0xef),_0x5429e4(0xcc)]},'children':[this[_0x5429e4(0xf4)],this[_0x5429e4(0xfa)]]},{'tag':_0x5429e4(0x9b),'attributes':{'class':[_0x5429e4(0xdf)]}}];this[_0x5429e4(0x9e)][_0x5429e4(0xf3)]&&_0x321a82[_0x5429e4(0x97)]({'tag':_0x5429e4(0x9b),'attributes':{'class':[_0x5429e4(0x99)]},'children':[{'text':this[_0x5429e4(0xb8)]()}]});const _0x1f33f5={'tag':_0x5429e4(0x9b),'attributes':{'class':['ck',_0x5429e4(0xcf),_0x5429e4(0x96),_0x17ae84['if'](_0x5429e4(0x9d),_0x5429e4(0xc4)),_0x17ae84['to'](_0x5429e4(0xd3),_0x234491=>_0x5429e4(0xa7)+_0x234491),this[_0x5429e4(0xeb)][_0x5429e4(0xdc)]&&_0x5429e4(0xfd)],'data-suggestion-id':this[_0x5429e4(0x9e)]['id'],'data-thread-id':this[_0x5429e4(0x9e)][_0x5429e4(0xaf)]['id'],'data-author-id':this[_0x5429e4(0x9e)][_0x5429e4(0xee)]['id'],'tabindex':0x0,'role':_0x5429e4(0xbb),'aria-label':_0x17ae84['to'](_0x5429e4(0xe7)),'aria-describedby':this[_0x5429e4(0xed)]['id']},'children':[{'tag':_0x5429e4(0x9b),'attributes':{'class':[_0x5429e4(0xa6),_0x5429e4(0xd9)]},'children':[this[_0x5429e4(0xd1)],{'tag':_0x5429e4(0x9b),'attributes':{'class':[_0x5429e4(0xea),_0x5429e4(0xe6)],'role':_0x5429e4(0xa5)},'children':_0x321a82},this[_0x5429e4(0xed)]]}]};return this[_0x5429e4(0xaa)]&&this[_0x5429e4(0xe8)]&&(_0x1f33f5[_0x5429e4(0xc0)][_0x5429e4(0x97)](this[_0x5429e4(0xaa)],this[_0x5429e4(0xe8)]),this[_0x5429e4(0xaa)][_0x5429e4(0xad)](_0x5429e4(0xc3))['to'](this),this[_0x5429e4(0xaa)][_0x5429e4(0xad)](_0x5429e4(0xb1))['to'](this),this[_0x5429e4(0xe8)][_0x5429e4(0xad)](_0x5429e4(0xc3))['to'](this),this[_0x5429e4(0xe8)][_0x5429e4(0xad)](_0x5429e4(0xb1))['to'](this)),_0x1f33f5;}[_0x5aedc6(0xd7)](){const _0x37c1b1=_0x5aedc6;super[_0x37c1b1(0xd7)](),this[_0x37c1b1(0xe3)]=this[_0x37c1b1(0xae)][_0x37c1b1(0xab)](_0x37c1b1(0xf0)),this[_0x37c1b1(0xe3)][_0x37c1b1(0xdb)]=this[_0x37c1b1(0xcb)],this['on'](_0x37c1b1(0xc1),(_0x5798a4,_0x335a8d,_0x3c2713)=>{const _0x2079d1=_0x37c1b1;this[_0x2079d1(0xe3)][_0x2079d1(0xdb)]=_0x3c2713;});}[_0x5aedc6(0xbc)](_0x46b791,_0x34dad0,_0x4cff9f,_0x1b8d56,_0x5c5410){const _0x1178ec=_0x5aedc6,_0x1b2750=new _0x3911e0(this[_0x1178ec(0xff)]);return _0x1b2750[_0x1178ec(0xb9)]({'label':_0x46b791,'icon':_0x34dad0,'tooltip':!0x0,'tooltipPosition':_0x5c5410}),_0x1b2750[_0x1178ec(0xba)]({'attributes':{'class':_0x4cff9f}}),_0x1b2750['on'](_0x1178ec(0xa9),()=>{const _0x2c140d=_0x1178ec;this[_0x2c140d(0xc8)](_0x1b8d56,this[_0x2c140d(0x9e)]['id']);}),_0x1b2750;}[_0x5aedc6(0xb8)](){const _0x5455d0=_0x5aedc6;return _0x5455d0(0xc2)===this[_0x5455d0(0x9e)][_0x5455d0(0xb5)][_0x5455d0(0xa0)][_0x5455d0(0xb7)]?_0x57db8b(this[_0x5455d0(0xff)],_0x5455d0(0xfb)):_0x57db8b(this[_0x5455d0(0xff)],_0x5455d0(0xfe));}[_0x5aedc6(0xc5)](){const _0x1f627f=_0x5aedc6;return this[_0x1f627f(0x9e)][_0x1f627f(0xf3)]?_0x1f627f(0xc2)===this[_0x1f627f(0x9e)][_0x1f627f(0xb5)][_0x1f627f(0xa0)][_0x1f627f(0xb7)]?_0x57db8b(this[_0x1f627f(0xff)],_0x1f627f(0xe5),this[_0x1f627f(0x9e)][_0x1f627f(0xac)][_0x1f627f(0xe9)]):_0x57db8b(this[_0x1f627f(0xff)],_0x1f627f(0xf1),this[_0x1f627f(0x9e)][_0x1f627f(0xac)][_0x1f627f(0xe9)]):null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x255454,_0x3dc6ef,_0x4e341d){const t=_0x255454['t'];switch(_0x3dc6ef){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',_0x4e341d);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x4e341d);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x4e341d);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x4e341d);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x4e341d);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',_0x4e341d);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x4e341d);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',_0x4e341d);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x4e341d);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x4e341d);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x4e341d);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x4e341d);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x4e341d);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x4e341d);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x4e341d);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x4e341d);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x4e341d);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x4e341d);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x4e341d);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x4e341d);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x4e341d);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x4e341d);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x4e341d);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'},_0x4e341d);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x4e341d);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x4e341d);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x4e341d);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x4e341d);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x4e341d);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'},_0x4e341d);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x4e341d);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x4e341d);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x4e341d);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x4e341d);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'},_0x4e341d);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x4e341d);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'},_0x4e341d);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'},_0x4e341d);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x4e341d);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'},_0x4e341d);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x4e341d);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'},_0x4e341d);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x4e341d);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x4e341d);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'},_0x4e341d);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'},_0x4e341d);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'},_0x4e341d);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 _0x3dc6ef;}}
23
+ export function getTranslation(_0xbe6fc6,_0x2b1c88,_0x30324c){const t=_0xbe6fc6['t'];switch(_0x2b1c88){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',_0x30324c);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x30324c);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x30324c);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x30324c);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x30324c);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',_0x30324c);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0x30324c);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',_0x30324c);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x30324c);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x30324c);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x30324c);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x30324c);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x30324c);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x30324c);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x30324c);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0x30324c);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x30324c);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x30324c);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0x30324c);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x30324c);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x30324c);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x30324c);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x30324c);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'},_0x30324c);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x30324c);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x30324c);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x30324c);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x30324c);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x30324c);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'},_0x30324c);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x30324c);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x30324c);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x30324c);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x30324c);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'},_0x30324c);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x30324c);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'},_0x30324c);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'},_0x30324c);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x30324c);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'},_0x30324c);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x30324c);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'},_0x30324c);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0x30324c);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x30324c);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'},_0x30324c);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'},_0x30324c);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'},_0x30324c);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0x30324c);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'},_0x30324c);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'},_0x30324c);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'},_0x30324c);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x2b1c88;}}
@@ -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(_0x54d309,_0x5c9985){const _0x3a73bd=_0x927a,_0x221a41=_0x54d309();while(!![]){try{const _0x4d8ccf=-parseInt(_0x3a73bd(0x95))/0x1+-parseInt(_0x3a73bd(0x77))/0x2*(parseInt(_0x3a73bd(0x7c))/0x3)+parseInt(_0x3a73bd(0x8f))/0x4+-parseInt(_0x3a73bd(0x7e))/0x5+parseInt(_0x3a73bd(0x93))/0x6+parseInt(_0x3a73bd(0x7a))/0x7*(-parseInt(_0x3a73bd(0x88))/0x8)+parseInt(_0x3a73bd(0x96))/0x9;if(_0x4d8ccf===_0x5c9985)break;else _0x221a41['push'](_0x221a41['shift']());}catch(_0x36158e){_0x221a41['push'](_0x221a41['shift']());}}}(_0xff3d,0x43d5b));export function normalizeDescription(_0x158683){const _0x3892a5=_0x927a;return Array[_0x3892a5(0x9e)](_0x158683)||(_0x158683=[_0x158683]),_0x158683[_0x3892a5(0x91)](_0x76c44f=>{const _0x6d9832=_0x3892a5,_0x2a2caa=_0x76c44f[_0x6d9832(0x9a)][_0x6d9832(0x8d)](/\*/g,''),_0x122bca=_0x76c44f[_0x6d9832(0x89)]?_0x6d9832(0x90)+_0x76c44f[_0x6d9832(0x89)][_0x6d9832(0x86)]+']':'';return'['+_0x76c44f[_0x6d9832(0x8b)]+']\x20'+_0x2a2caa+_0x122bca;})[_0x3892a5(0x9f)](';\x20');}export function sortSuggestions(_0x5c4215){const _0x558be7=_0x927a;return _0x5c4215[_0x558be7(0x99)]((_0x2c8634,_0x26c811)=>_0x558be7(0x7b)==_0x2c8634[_0x558be7(0x8b)]&&_0x558be7(0x7b)!=_0x26c811[_0x558be7(0x8b)]?-0x1:_0x558be7(0x7b)!=_0x2c8634[_0x558be7(0x8b)]&&_0x558be7(0x7b)==_0x26c811[_0x558be7(0x8b)]?0x1:0x0);}function _0x927a(_0x33407f,_0x89deb9){const _0xff3d6b=_0xff3d();return _0x927a=function(_0x927a08,_0x5b2fb8){_0x927a08=_0x927a08-0x77;let _0x16aeef=_0xff3d6b[_0x927a08];return _0x16aeef;},_0x927a(_0x33407f,_0x89deb9);}export function getSelectedSuggestions(_0x1653df,_0x41271f){const _0x13ad27=_0x927a,_0x4fd243=Array[_0x13ad27(0x85)](_0x1653df[_0x13ad27(0x98)]()),_0x41cdd8=new Set();for(const _0x2d5b9d of _0x41271f)if(_0x2d5b9d[_0x13ad27(0x84)]){for(const _0x176174 of _0x4fd243)for(const _0x186798 of _0x2d5b9d[_0x13ad27(0x98)]())(_0x176174[_0x13ad27(0x80)](_0x186798)||_0x1653df[_0x13ad27(0x97)]&&!_0x2d5b9d[_0x13ad27(0x7d)]&&_0x2d5b9d[_0x13ad27(0x8c)]&&_0x186798[_0x13ad27(0x81)][_0x13ad27(0x79)](_0x176174[_0x13ad27(0x92)]))&&_0x41cdd8[_0x13ad27(0x83)](_0x2d5b9d);}return _0x41cdd8;}export function getRangesOfBlockGroups(_0x118cb2,_0x29ebdc){const _0x5132c9=_0x927a;let _0x5f1966,_0x148a69=0x0;const _0x6bfdf6=[],_0xdaba2b=_0x29ebdc[_0x5132c9(0x7f)];for(;_0x148a69<_0x118cb2[_0x5132c9(0x9c)];){const _0x383586=_0x118cb2[_0x148a69],_0x295568=_0x118cb2[_0x148a69+0x1];_0x5f1966||(_0x5f1966=_0x29ebdc[_0x5132c9(0x87)](_0x383586)),co(_0x29ebdc,_0x383586,_0x295568)||(_0x6bfdf6[_0x5132c9(0x8a)](_0x29ebdc[_0x5132c9(0x94)](_0x5f1966,_0xdaba2b[_0x5132c9(0x8e)](_0x383586)?_0x29ebdc[_0x5132c9(0x78)](_0x383586):_0x29ebdc[_0x5132c9(0x9d)](_0x383586,_0x5132c9(0x81)))),_0x5f1966=null),_0x148a69++;}return _0x6bfdf6;}function co(_0x5d9ce9,_0x48a05e,_0x4a6930){const _0x37a8ea=_0x927a;if(!_0x4a6930)return!0x1;const _0xddf641=_0x5d9ce9[_0x37a8ea(0x78)](_0x48a05e),_0x2bb3b8=_0x5d9ce9[_0x37a8ea(0x87)](_0x4a6930);return _0xddf641[_0x37a8ea(0x79)](_0x2bb3b8);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x4c08c2,_0x41c660,_0x1eec44){const _0x4e5965=_0x927a;for(;_0x1eec44[_0x4e5965(0x9c)];){const _0x5af7e2=_0x1eec44[_0x4e5965(0x9b)](0x0,0x64);_0x4c08c2[_0x4e5965(0x82)](()=>{const _0x20449c=_0x4e5965;for(const _0x48c956 of _0x5af7e2)_0x48c956[_0x20449c(0x84)]&&_0x41c660[_0x20449c(0xa0)](_0x48c956['id']);});}}function _0xff3d(){const _0x23ee5c=['next','replace','isObject','594504EefBaX','\x20[color\x20','map','start','1051890Cdrsmy','createRange','319087ZHUARu','13487238PwvqLM','isCollapsed','getRanges','sort','content','splice','length','createPositionAt','isArray','join','execute','64HeDlAq','createPositionAfter','isTouching','7vNPPZx','deletion','29139OfAdLD','isMultiRange','2459230MDWcjZ','schema','isIntersecting','end','change','add','isInContent','from','value','createPositionBefore','3383384TfRHJj','color','push','type'];_0xff3d=function(){return _0x23ee5c;};return _0xff3d();}
23
+ (function(_0x178d3a,_0x54005e){const _0x4f3d6c=_0x3149,_0x44776e=_0x178d3a();while(!![]){try{const _0x56ca8c=parseInt(_0x4f3d6c(0x159))/0x1*(parseInt(_0x4f3d6c(0x15e))/0x2)+parseInt(_0x4f3d6c(0x160))/0x3+parseInt(_0x4f3d6c(0x15d))/0x4+parseInt(_0x4f3d6c(0x185))/0x5*(parseInt(_0x4f3d6c(0x165))/0x6)+-parseInt(_0x4f3d6c(0x17e))/0x7*(parseInt(_0x4f3d6c(0x16a))/0x8)+-parseInt(_0x4f3d6c(0x182))/0x9*(parseInt(_0x4f3d6c(0x155))/0xa)+-parseInt(_0x4f3d6c(0x172))/0xb;if(_0x56ca8c===_0x54005e)break;else _0x44776e['push'](_0x44776e['shift']());}catch(_0x336b67){_0x44776e['push'](_0x44776e['shift']());}}}(_0x28fc,0x8ed43));export function normalizeDescription(_0x506ca0){const _0x55b985=_0x3149;return Array[_0x55b985(0x164)](_0x506ca0)||(_0x506ca0=[_0x506ca0]),_0x506ca0[_0x55b985(0x187)](_0xa82d7f=>{const _0x13ec46=_0x55b985,_0x20a972=_0xa82d7f[_0x13ec46(0x154)][_0x13ec46(0x17c)](/\*/g,''),_0x3d5eb4=_0xa82d7f[_0x13ec46(0x176)]?_0x13ec46(0x175)+_0xa82d7f[_0x13ec46(0x176)][_0x13ec46(0x17f)]+']':'';return'['+_0xa82d7f[_0x13ec46(0x17a)]+']\x20'+_0x20a972+_0x3d5eb4;})[_0x55b985(0x183)](';\x20');}export function renderDescription(_0x19135d,_0x2a7906){const _0x47875e=_0x3149;let _0x40bd2d='';return _0x40bd2d+=_0x19135d[_0x47875e(0x177)]('*')[_0x47875e(0x187)]((_0x4e6005,_0x3808e4)=>_0x3808e4%0x2!=0x0?_0x47875e(0x180)+nn(_0x4e6005)+_0x47875e(0x17d):nn(_0x4e6005))[_0x47875e(0x183)](''),_0x2a7906&&(_0x40bd2d+=_0x47875e(0x178)+_0x2a7906[_0x47875e(0x17f)]+_0x47875e(0x16f)+_0x2a7906[_0x47875e(0x161)]+_0x47875e(0x16b)),_0x40bd2d;}function nn(_0x5033f0){const _0x2381ef=_0x3149,_0x25006f=document[_0x2381ef(0x16d)](_0x2381ef(0x167));return _0x25006f[_0x2381ef(0x15b)]=_0x5033f0,_0x25006f[_0x2381ef(0x166)];}function _0x3149(_0x58c882,_0x7c94a2){const _0x28fc5d=_0x28fc();return _0x3149=function(_0x3149c2,_0x290219){_0x3149c2=_0x3149c2-0x153;let _0x31d8d6=_0x28fc5d[_0x3149c2];return _0x31d8d6;},_0x3149(_0x58c882,_0x7c94a2);}export function sortSuggestions(_0x5e02eb){const _0x1b5f1c=_0x3149;return _0x5e02eb[_0x1b5f1c(0x16e)]((_0x5bce41,_0x1a6afa)=>_0x1b5f1c(0x174)==_0x5bce41[_0x1b5f1c(0x17a)]&&_0x1b5f1c(0x174)!=_0x1a6afa[_0x1b5f1c(0x17a)]?-0x1:_0x1b5f1c(0x174)!=_0x5bce41[_0x1b5f1c(0x17a)]&&_0x1b5f1c(0x174)==_0x1a6afa[_0x1b5f1c(0x17a)]?0x1:0x0);}export function getSelectedSuggestions(_0x4e8663,_0x5778d7){const _0x29e4ef=_0x3149,_0x45ee50=Array[_0x29e4ef(0x15c)](_0x4e8663[_0x29e4ef(0x171)]()),_0x132e96=new Set();for(const _0x23368e of _0x5778d7)if(_0x23368e[_0x29e4ef(0x170)]){for(const _0x440905 of _0x45ee50)for(const _0x316da7 of _0x23368e[_0x29e4ef(0x171)]())(_0x440905[_0x29e4ef(0x162)](_0x316da7)||_0x4e8663[_0x29e4ef(0x153)]&&!_0x23368e[_0x29e4ef(0x188)]&&_0x23368e[_0x29e4ef(0x189)]&&_0x316da7[_0x29e4ef(0x173)][_0x29e4ef(0x15f)](_0x440905[_0x29e4ef(0x181)]))&&_0x132e96[_0x29e4ef(0x184)](_0x23368e);}return _0x132e96;}function _0x28fc(){const _0x4dd9b5=['color','split','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','createPositionBefore','type','createRange','replace','</span>','3017gdozVx','value','<span\x20class=\x22ck-suggestion-type\x22>','start','48591kwPKWp','join','add','5THmSPY','schema','map','isMultiRange','next','isCollapsed','content','210RldWcQ','length','execute','createPositionAfter','191804AQrduV','change','innerText','from','752900InWwwH','12AgAkjf','isTouching','1503432YXkHfG','title','isIntersecting','isObject','isArray','3508278mHgVvY','innerHTML','span','push','splice','712efUWOu','\x22></span>','createPositionAt','createElement','sort','\x22\x20title=\x22','isInContent','getRanges','18569551AGxotF','end','deletion','\x20[color\x20'];_0x28fc=function(){return _0x4dd9b5;};return _0x28fc();}export function getRangesOfBlockGroups(_0x49cf40,_0x178662){const _0x2fdbfe=_0x3149;let _0x3ee84e,_0x56fb26=0x0;const _0x2a4eaa=[],_0x6eca0b=_0x178662[_0x2fdbfe(0x186)];for(;_0x56fb26<_0x49cf40[_0x2fdbfe(0x156)];){const _0xab71b2=_0x49cf40[_0x56fb26],_0x7e60a5=_0x49cf40[_0x56fb26+0x1];_0x3ee84e||(_0x3ee84e=_0x178662[_0x2fdbfe(0x179)](_0xab71b2)),on(_0x178662,_0xab71b2,_0x7e60a5)||(_0x2a4eaa[_0x2fdbfe(0x168)](_0x178662[_0x2fdbfe(0x17b)](_0x3ee84e,_0x6eca0b[_0x2fdbfe(0x163)](_0xab71b2)?_0x178662[_0x2fdbfe(0x158)](_0xab71b2):_0x178662[_0x2fdbfe(0x16c)](_0xab71b2,_0x2fdbfe(0x173)))),_0x3ee84e=null),_0x56fb26++;}return _0x2a4eaa;}function on(_0x41e302,_0x28c4eb,_0x252336){const _0x35871f=_0x3149;if(!_0x252336)return!0x1;const _0x399f2e=_0x41e302[_0x35871f(0x158)](_0x28c4eb),_0x1460bc=_0x41e302[_0x35871f(0x179)](_0x252336);return _0x399f2e[_0x35871f(0x15f)](_0x1460bc);}export const MAX_SUGGESTION_ACTIONS_IN_BATCH=0x64;export function executeCommandForSuggestions(_0x2aaf26,_0x5252c8,_0x221bdb){const _0x2b57f7=_0x3149;for(;_0x221bdb[_0x2b57f7(0x156)];){const _0x21e6ed=_0x221bdb[_0x2b57f7(0x169)](0x0,0x64);_0x2aaf26[_0x2b57f7(0x15a)](()=>{const _0x1cb14f=_0x2b57f7;for(const _0x491660 of _0x21e6ed)_0x491660[_0x1cb14f(0x170)]&&_0x5252c8[_0x1cb14f(0x157)](_0x491660['id']);});}}