@ckeditor/ckeditor5-comments 41.4.0-alpha.0 → 41.4.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 (165) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/ti.js +1 -0
  3. package/dist/index.css +64 -0
  4. package/dist/index.js +1 -1
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +23 -0
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +23 -0
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +23 -0
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +23 -0
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +23 -0
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +23 -0
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +23 -0
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +23 -0
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +23 -0
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +23 -0
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +23 -0
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +23 -0
  29. package/dist/translations/en.umd.js +23 -0
  30. package/dist/translations/es-co.js +1 -1
  31. package/dist/translations/es-co.umd.js +23 -0
  32. package/dist/translations/es.js +1 -1
  33. package/dist/translations/es.umd.js +23 -0
  34. package/dist/translations/et.js +1 -1
  35. package/dist/translations/et.umd.js +23 -0
  36. package/dist/translations/fa.js +1 -1
  37. package/dist/translations/fa.umd.js +23 -0
  38. package/dist/translations/fi.js +1 -1
  39. package/dist/translations/fi.umd.js +23 -0
  40. package/dist/translations/fr.js +1 -1
  41. package/dist/translations/fr.umd.js +23 -0
  42. package/dist/translations/gl.js +1 -1
  43. package/dist/translations/gl.umd.js +23 -0
  44. package/dist/translations/he.js +1 -1
  45. package/dist/translations/he.umd.js +23 -0
  46. package/dist/translations/hi.js +1 -1
  47. package/dist/translations/hi.umd.js +23 -0
  48. package/dist/translations/hr.js +1 -1
  49. package/dist/translations/hr.umd.js +23 -0
  50. package/dist/translations/hu.js +1 -1
  51. package/dist/translations/hu.umd.js +23 -0
  52. package/dist/translations/id.js +1 -1
  53. package/dist/translations/id.umd.js +23 -0
  54. package/dist/translations/it.js +1 -1
  55. package/dist/translations/it.umd.js +23 -0
  56. package/dist/translations/ja.js +1 -1
  57. package/dist/translations/ja.umd.js +23 -0
  58. package/dist/translations/jv.js +1 -1
  59. package/dist/translations/jv.umd.js +23 -0
  60. package/dist/translations/ko.js +1 -1
  61. package/dist/translations/ko.umd.js +23 -0
  62. package/dist/translations/lt.js +1 -1
  63. package/dist/translations/lt.umd.js +23 -0
  64. package/dist/translations/lv.js +1 -1
  65. package/dist/translations/lv.umd.js +23 -0
  66. package/dist/translations/ms.js +1 -1
  67. package/dist/translations/ms.umd.js +23 -0
  68. package/dist/translations/nl.js +1 -1
  69. package/dist/translations/nl.umd.js +23 -0
  70. package/dist/translations/no.js +1 -1
  71. package/dist/translations/no.umd.js +23 -0
  72. package/dist/translations/pl.js +1 -1
  73. package/dist/translations/pl.umd.js +23 -0
  74. package/dist/translations/pt-br.js +1 -1
  75. package/dist/translations/pt-br.umd.js +23 -0
  76. package/dist/translations/pt.js +1 -1
  77. package/dist/translations/pt.umd.js +23 -0
  78. package/dist/translations/ro.js +1 -1
  79. package/dist/translations/ro.umd.js +23 -0
  80. package/dist/translations/ru.js +1 -1
  81. package/dist/translations/ru.umd.js +23 -0
  82. package/dist/translations/sk.js +1 -1
  83. package/dist/translations/sk.umd.js +23 -0
  84. package/dist/translations/sq.js +1 -1
  85. package/dist/translations/sq.umd.js +23 -0
  86. package/dist/translations/sr-latn.js +1 -1
  87. package/dist/translations/sr-latn.umd.js +23 -0
  88. package/dist/translations/sr.js +1 -1
  89. package/dist/translations/sr.umd.js +23 -0
  90. package/dist/translations/sv.js +1 -1
  91. package/dist/translations/sv.umd.js +23 -0
  92. package/dist/translations/th.js +1 -1
  93. package/dist/translations/th.umd.js +23 -0
  94. package/dist/translations/ti.d.ts +8 -0
  95. package/dist/translations/ti.js +23 -0
  96. package/dist/translations/ti.umd.js +23 -0
  97. package/dist/translations/tk.js +1 -1
  98. package/dist/translations/tk.umd.js +23 -0
  99. package/dist/translations/tr.js +1 -1
  100. package/dist/translations/tr.umd.js +23 -0
  101. package/dist/translations/tt.js +1 -1
  102. package/dist/translations/tt.umd.js +23 -0
  103. package/dist/translations/ug.js +1 -1
  104. package/dist/translations/ug.umd.js +23 -0
  105. package/dist/translations/uk.js +1 -1
  106. package/dist/translations/uk.umd.js +23 -0
  107. package/dist/translations/ur.js +1 -1
  108. package/dist/translations/ur.umd.js +23 -0
  109. package/dist/translations/vi.js +1 -1
  110. package/dist/translations/vi.umd.js +23 -0
  111. package/dist/translations/zh-cn.js +1 -1
  112. package/dist/translations/zh-cn.umd.js +23 -0
  113. package/dist/translations/zh.js +1 -1
  114. package/dist/translations/zh.umd.js +23 -0
  115. package/dist/types/comments/commentsrepository.d.ts +1 -1
  116. package/lang/translations/ti.po +120 -0
  117. package/package.json +3 -3
  118. package/src/annotations/annotation.js +1 -1
  119. package/src/annotations/annotationcollection.js +1 -1
  120. package/src/annotations/annotations.js +1 -1
  121. package/src/annotations/annotationsuis.js +1 -1
  122. package/src/annotations/editorannotations.js +1 -1
  123. package/src/annotations/inlineannotations.js +1 -1
  124. package/src/annotations/narrowsidebar.js +1 -1
  125. package/src/annotations/sidebar.js +1 -1
  126. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  127. package/src/annotations/view/annotationview.js +1 -1
  128. package/src/annotations/view/sidebaritemview.js +1 -1
  129. package/src/annotations/view/sidebarview.js +1 -1
  130. package/src/annotations/widesidebar.js +1 -1
  131. package/src/comments/addcommentthreadcommand.js +1 -1
  132. package/src/comments/commentsarchive.js +1 -1
  133. package/src/comments/commentsarchiveui.js +1 -1
  134. package/src/comments/commentsediting.js +1 -1
  135. package/src/comments/commentsrepository.d.ts +1 -1
  136. package/src/comments/commentsrepository.js +1 -1
  137. package/src/comments/commentsui.js +1 -1
  138. package/src/comments/integrations/clipboard.js +1 -1
  139. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  140. package/src/comments/integrations/importword.js +1 -1
  141. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  142. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  143. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  144. package/src/comments/ui/commentthreadcontroller.js +1 -1
  145. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  146. package/src/comments/ui/view/basecommentview.js +1 -1
  147. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  148. package/src/comments/ui/view/commentcontentview.js +1 -1
  149. package/src/comments/ui/view/commentinputview.js +1 -1
  150. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  151. package/src/comments/ui/view/commentslistview.js +1 -1
  152. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  153. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  154. package/src/comments/ui/view/commentthreadview.js +1 -1
  155. package/src/comments/ui/view/commentview.js +1 -1
  156. package/src/comments.js +1 -1
  157. package/src/commentsonly.js +1 -1
  158. package/src/index.js +1 -1
  159. package/src/utils/common-translations.js +1 -1
  160. package/src/utils/createmutationobserver.js +1 -1
  161. package/theme/annotation.css +13 -0
  162. package/theme/comment.css +4 -0
  163. package/theme/commentinput.css +4 -0
  164. package/theme/commentthread.css +8 -0
  165. package/theme/sidebar.css +8 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4371(_0x232f60,_0x2a0a80){const _0x56ef10=_0x56ef();return _0x4371=function(_0x437102,_0x35942d){_0x437102=_0x437102-0x64;let _0x2f98c1=_0x56ef10[_0x437102];return _0x2f98c1;},_0x4371(_0x232f60,_0x2a0a80);}const _0x4073e4=_0x4371;(function(_0x2cc85b,_0x45545b){const _0x4f5dfd=_0x4371,_0x79fb66=_0x2cc85b();while(!![]){try{const _0x1be145=parseInt(_0x4f5dfd(0x8d))/0x1+-parseInt(_0x4f5dfd(0x99))/0x2*(parseInt(_0x4f5dfd(0x78))/0x3)+-parseInt(_0x4f5dfd(0x65))/0x4+parseInt(_0x4f5dfd(0x7d))/0x5*(-parseInt(_0x4f5dfd(0x8f))/0x6)+-parseInt(_0x4f5dfd(0x9a))/0x7*(parseInt(_0x4f5dfd(0x91))/0x8)+-parseInt(_0x4f5dfd(0x9d))/0x9+parseInt(_0x4f5dfd(0x8a))/0xa;if(_0x1be145===_0x45545b)break;else _0x79fb66['push'](_0x79fb66['shift']());}catch(_0x2c26b3){_0x79fb66['push'](_0x79fb66['shift']());}}}(_0x56ef,0x9ec54));import'../../theme/commentsarchive.css';import{Plugin as _0x5a03cf}from'ckeditor5/src/core.js';import{ViewCollection as _0x298e1b,MenuBarMenuListItemButtonView as _0xa30fa0,ButtonView as _0x412f81,Dialog as _0x4dc046,DialogViewPosition as _0x5422b8}from'ckeditor5/src/ui.js';import _0x345623 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x11a249}from'../utils/common-translations.js';function _0x56ef(){const _0x1a2cc6=['remove','get','41882300AXsVtQ','EDITOR_TOP_SIDE','splice','258814LPYwIX','getByInnerView','6744cxzUhG','bind','6911928PfihVy','annotationViews','CommentsRepository','pluginName','_createCommentsArchiveButton','archivedAt','channelId','commentsArchiveView','578ambGZL','7hrrAEb','Annotations','findIndex','1397268AlRWjU','_toggleDialog','focusableElements','editor','add','set','Dialog','4688224ObHbrY','execute','isVisible','collaboration.channelId','archivedThreads','_calculatePosition','show','CommentsArchiveUI','view','locale','_threadToController','collection','filter','find','push','commentsArchive','menuBar:commentsArchive','config','indexOf','10563TncXtK','tooltip','length','stopListening','innerView','2615fLWIdZ','requires','hide','_pendingThreads','_visibleAnnotations','plugins','COMMENTS_ARCHIVE','isEnabled','init','listenTo','componentFactory'];_0x56ef=function(){return _0x1a2cc6;};return _0x56ef();}import _0x59620e from'./ui/view/commentsarchiveview.js';import _0x2d342a from'./commentsarchive.js';export default class a extends _0x5a03cf{static get[_0x4073e4(0x94)](){const _0x415913=_0x4073e4;return _0x415913(0x6c);}static get[_0x4073e4(0x7e)](){return[_0x2d342a,_0x4dc046];}constructor(_0x321908){const _0x2d14eb=_0x4073e4;super(_0x321908),this[_0x2d14eb(0x92)]=new _0x298e1b(),this[_0x2d14eb(0x80)]=[];}[_0x4073e4(0x85)](){const _0x20fa71=_0x4073e4;this[_0x20fa71(0xa0)]['ui'][_0x20fa71(0x87)][_0x20fa71(0xa1)](_0x20fa71(0x74),()=>this[_0x20fa71(0x95)](_0x412f81,!0x0)),this[_0x20fa71(0xa0)]['ui'][_0x20fa71(0x87)][_0x20fa71(0xa1)](_0x20fa71(0x75),()=>this[_0x20fa71(0x95)](_0xa30fa0));const _0x422747=this[_0x20fa71(0xa0)][_0x20fa71(0x82)][_0x20fa71(0x89)](_0x2d342a),_0x4d2062=this[_0x20fa71(0xa0)][_0x20fa71(0x82)][_0x20fa71(0x89)](_0x20fa71(0x9b)),_0x595401=this[_0x20fa71(0xa0)][_0x20fa71(0x82)][_0x20fa71(0x89)](_0x20fa71(0x93));this[_0x20fa71(0x86)](_0x422747[_0x20fa71(0x69)],_0x20fa71(0xa1),(_0x5dc9e0,_0x5700c4)=>{const _0x7eeefc=_0x20fa71,_0x187c48=this[_0x7eeefc(0xa0)][_0x7eeefc(0x76)][_0x7eeefc(0x89)](_0x7eeefc(0x68));if(!_0x187c48||_0x5700c4[_0x7eeefc(0x97)]===_0x187c48){const _0x37892a=_0x595401[_0x7eeefc(0x6f)][_0x7eeefc(0x89)](_0x5700c4);if(!_0x37892a)return void this[_0x7eeefc(0x80)][_0x7eeefc(0x73)](_0x5700c4);const _0x1bfafe=this[_0x7eeefc(0x6a)](_0x5700c4[_0x7eeefc(0x96)]),_0x1dd0ff=_0x4d2062[_0x7eeefc(0x8e)](_0x37892a[_0x7eeefc(0x6d)]);_0x1dd0ff[_0x7eeefc(0x67)]&&_0x4d2062[_0x7eeefc(0x81)][_0x7eeefc(0x88)](_0x1dd0ff),this[_0x7eeefc(0x92)][_0x7eeefc(0xa1)](_0x1dd0ff[_0x7eeefc(0x6d)],_0x1bfafe);}}),this[_0x20fa71(0x86)](_0x4d2062[_0x20fa71(0x70)],_0x20fa71(0xa1),(_0x25aaed,_0x443551)=>{const _0x2e1585=_0x20fa71,_0x1f9e1d=this[_0x2e1585(0x80)][_0x2e1585(0x72)](_0x451f34=>{const _0x5aad91=_0x2e1585,_0xf8488=_0x595401[_0x5aad91(0x6f)][_0x5aad91(0x89)](_0x451f34);return _0xf8488&&_0x443551[_0x5aad91(0x7c)]===_0xf8488[_0x5aad91(0x6d)];});if(_0x1f9e1d){const _0x1c34b3=this[_0x2e1585(0x6a)](_0x1f9e1d[_0x2e1585(0x96)]);this[_0x2e1585(0x92)][_0x2e1585(0xa1)](_0x443551[_0x2e1585(0x6d)],_0x1c34b3),this[_0x2e1585(0x80)][_0x2e1585(0x8c)](this[_0x2e1585(0x80)][_0x2e1585(0x77)](_0x1f9e1d),0x1);}}),this[_0x20fa71(0x86)](_0x422747[_0x20fa71(0x69)],_0x20fa71(0x88),(_0x4f8a2d,_0x37b35a)=>{const _0x5f41a4=_0x20fa71,_0x18ec75=this[_0x5f41a4(0xa0)][_0x5f41a4(0x76)][_0x5f41a4(0x89)](_0x5f41a4(0x68));if(!_0x18ec75||_0x37b35a[_0x5f41a4(0x97)]===_0x18ec75){const _0x3d3fb9=_0x595401[_0x5f41a4(0x6f)][_0x5f41a4(0x89)](_0x37b35a),_0x471022=_0x4d2062[_0x5f41a4(0x8e)](_0x3d3fb9[_0x5f41a4(0x6d)]);this[_0x5f41a4(0x92)][_0x5f41a4(0x88)](_0x471022[_0x5f41a4(0x6d)]),this[_0x5f41a4(0x7b)](_0x471022[_0x5f41a4(0x9f)]);}});}[_0x4073e4(0x6a)](_0x5ee30e){const _0x40266d=_0x4073e4,_0x160d25=this[_0x40266d(0xa0)][_0x40266d(0x76)][_0x40266d(0x89)](_0x40266d(0x68)),_0x5dea9c=[...this[_0x40266d(0xa0)][_0x40266d(0x82)][_0x40266d(0x89)](_0x2d342a)[_0x40266d(0x69)]][_0x40266d(0x71)](_0x167730=>_0x167730[_0x40266d(0x97)]===_0x160d25)[_0x40266d(0x9c)](_0x5377d1=>_0x5377d1[_0x40266d(0x96)]<_0x5ee30e);return _0x5dea9c<0x0||_0x5dea9c>this[_0x40266d(0x92)][_0x40266d(0x7a)]?this[_0x40266d(0x92)][_0x40266d(0x7a)]:_0x5dea9c-0x1;}[_0x4073e4(0x9e)](){const _0x36938a=_0x4073e4,_0x2bc8ff=this[_0x36938a(0xa0)],_0x20e3e4=_0x2bc8ff[_0x36938a(0x82)][_0x36938a(0x89)](_0x36938a(0x64));this[_0x36938a(0x98)]||(this[_0x36938a(0x98)]=new _0x59620e(_0x2bc8ff[_0x36938a(0x6e)],this[_0x36938a(0x92)])),_0x36938a(0x74)===_0x20e3e4['id']?_0x20e3e4[_0x36938a(0x7f)]():_0x20e3e4[_0x36938a(0x6b)]({'id':_0x36938a(0x74),'title':_0x11a249(_0x2bc8ff[_0x36938a(0x6e)],_0x36938a(0x83)),'icon':_0x345623,'hasCloseButton':!0x0,'content':this[_0x36938a(0x98)],'position':_0x5422b8[_0x36938a(0x8b)]});}[_0x4073e4(0x95)](_0x2e3e44,_0x355cff=!0x1){const _0x8ff86d=_0x4073e4,_0x45272a=this[_0x8ff86d(0xa0)][_0x8ff86d(0x6e)],_0xe7c9e3=new _0x2e3e44(_0x45272a);return _0xe7c9e3[_0x8ff86d(0x90)](_0x8ff86d(0x84))['to'](this,_0x8ff86d(0x84)),_0xe7c9e3[_0x8ff86d(0xa2)]({'label':_0x11a249(_0x45272a,_0x8ff86d(0x83)),'icon':_0x345623}),_0x355cff&&(_0xe7c9e3[_0x8ff86d(0x79)]=!0x0),this[_0x8ff86d(0x86)](_0xe7c9e3,_0x8ff86d(0x66),()=>this[_0x8ff86d(0x9e)]()),_0xe7c9e3;}}
23
+ const _0x3b8f8b=_0x53a6;(function(_0x32a1d2,_0x5e84ad){const _0x1c0507=_0x53a6,_0x42e7dd=_0x32a1d2();while(!![]){try{const _0x3a73cd=-parseInt(_0x1c0507(0xc8))/0x1*(-parseInt(_0x1c0507(0xe0))/0x2)+-parseInt(_0x1c0507(0xee))/0x3*(parseInt(_0x1c0507(0xbc))/0x4)+parseInt(_0x1c0507(0xc4))/0x5+-parseInt(_0x1c0507(0xc0))/0x6+-parseInt(_0x1c0507(0xd1))/0x7+-parseInt(_0x1c0507(0xd8))/0x8+-parseInt(_0x1c0507(0xdd))/0x9*(-parseInt(_0x1c0507(0xcd))/0xa);if(_0x3a73cd===_0x5e84ad)break;else _0x42e7dd['push'](_0x42e7dd['shift']());}catch(_0x1fab19){_0x42e7dd['push'](_0x42e7dd['shift']());}}}(_0x2342,0x2d89c));function _0x2342(){const _0x3cdcce=['set','CommentsArchiveUI','push','focusableElements','8159890CCJKFW','archivedThreads','plugins','_calculatePosition','2411668PBFwkM','getByInnerView','isVisible','Dialog','CommentsRepository','length','collection','1449992DKysRX','commentsArchive','execute','channelId','get','9XInann','EDITOR_TOP_SIDE','requires','2ZWybqk','innerView','annotationViews','listenTo','bind','add','tooltip','findIndex','componentFactory','show','editor','collaboration.channelId','_createCommentsArchiveButton','_visibleAnnotations','3JqlTom','COMMENTS_ARCHIVE','filter','menuBar:commentsArchive','remove','_threadToController','find','indexOf','_pendingThreads','isEnabled','init','view','_toggleDialog','1080852bBxYtt','pluginName','hide','Annotations','2084106QhKDLk','archivedAt','stopListening','commentsArchiveView','1023225pqKOng','splice','config','locale','309227NPrfDg'];_0x2342=function(){return _0x3cdcce;};return _0x2342();}import'../../theme/commentsarchive.css';import{Plugin as _0xcfb760}from'ckeditor5/src/core.js';import{ViewCollection as _0x34697a,MenuBarMenuListItemButtonView as _0xfbfeed,ButtonView as _0x5af2a4,Dialog as _0x190d2d,DialogViewPosition as _0x43070f}from'ckeditor5/src/ui.js';import _0x35d36b from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x27c994}from'../utils/common-translations.js';import _0x1c1620 from'./ui/view/commentsarchiveview.js';function _0x53a6(_0x2f47b9,_0x5a09c1){const _0x2342b9=_0x2342();return _0x53a6=function(_0x53a62b,_0x55a673){_0x53a62b=_0x53a62b-0xb7;let _0x17c9f1=_0x2342b9[_0x53a62b];return _0x17c9f1;},_0x53a6(_0x2f47b9,_0x5a09c1);}import _0x5aaa7f from'./commentsarchive.js';export default class a extends _0xcfb760{static get[_0x3b8f8b(0xbd)](){const _0x1bb1c4=_0x3b8f8b;return _0x1bb1c4(0xca);}static get[_0x3b8f8b(0xdf)](){return[_0x5aaa7f,_0x190d2d];}constructor(_0x2900d8){const _0x36be72=_0x3b8f8b;super(_0x2900d8),this[_0x36be72(0xe2)]=new _0x34697a(),this[_0x36be72(0xb7)]=[];}[_0x3b8f8b(0xb9)](){const _0x2aa39f=_0x3b8f8b;this[_0x2aa39f(0xea)]['ui'][_0x2aa39f(0xe8)][_0x2aa39f(0xe5)](_0x2aa39f(0xd9),()=>this[_0x2aa39f(0xec)](_0x5af2a4,!0x0)),this[_0x2aa39f(0xea)]['ui'][_0x2aa39f(0xe8)][_0x2aa39f(0xe5)](_0x2aa39f(0xf1),()=>this[_0x2aa39f(0xec)](_0xfbfeed));const _0x2af1b3=this[_0x2aa39f(0xea)][_0x2aa39f(0xcf)][_0x2aa39f(0xdc)](_0x5aaa7f),_0x1a86fb=this[_0x2aa39f(0xea)][_0x2aa39f(0xcf)][_0x2aa39f(0xdc)](_0x2aa39f(0xbf)),_0xde2eb8=this[_0x2aa39f(0xea)][_0x2aa39f(0xcf)][_0x2aa39f(0xdc)](_0x2aa39f(0xd5));this[_0x2aa39f(0xe3)](_0x2af1b3[_0x2aa39f(0xce)],_0x2aa39f(0xe5),(_0x2c6b64,_0x5889c7)=>{const _0x4067b9=_0x2aa39f,_0x58e181=this[_0x4067b9(0xea)][_0x4067b9(0xc6)][_0x4067b9(0xdc)](_0x4067b9(0xeb));if(!_0x58e181||_0x5889c7[_0x4067b9(0xdb)]===_0x58e181){const _0x519c17=_0xde2eb8[_0x4067b9(0xf3)][_0x4067b9(0xdc)](_0x5889c7);if(!_0x519c17)return void this[_0x4067b9(0xb7)][_0x4067b9(0xcb)](_0x5889c7);const _0x450f85=this[_0x4067b9(0xd0)](_0x5889c7[_0x4067b9(0xc1)]),_0x54cd53=_0x1a86fb[_0x4067b9(0xd2)](_0x519c17[_0x4067b9(0xba)]);_0x54cd53[_0x4067b9(0xd3)]&&_0x1a86fb[_0x4067b9(0xed)][_0x4067b9(0xf2)](_0x54cd53),this[_0x4067b9(0xe2)][_0x4067b9(0xe5)](_0x54cd53[_0x4067b9(0xba)],_0x450f85);}}),this[_0x2aa39f(0xe3)](_0x1a86fb[_0x2aa39f(0xd7)],_0x2aa39f(0xe5),(_0x1ad4e6,_0x21e99c)=>{const _0x5409bd=_0x2aa39f,_0x13dafb=this[_0x5409bd(0xb7)][_0x5409bd(0xf4)](_0x35256b=>{const _0x46126c=_0x5409bd,_0x2302a1=_0xde2eb8[_0x46126c(0xf3)][_0x46126c(0xdc)](_0x35256b);return _0x2302a1&&_0x21e99c[_0x46126c(0xe1)]===_0x2302a1[_0x46126c(0xba)];});if(_0x13dafb){const _0x25f11b=this[_0x5409bd(0xd0)](_0x13dafb[_0x5409bd(0xc1)]);this[_0x5409bd(0xe2)][_0x5409bd(0xe5)](_0x21e99c[_0x5409bd(0xba)],_0x25f11b),this[_0x5409bd(0xb7)][_0x5409bd(0xc5)](this[_0x5409bd(0xb7)][_0x5409bd(0xf5)](_0x13dafb),0x1);}}),this[_0x2aa39f(0xe3)](_0x2af1b3[_0x2aa39f(0xce)],_0x2aa39f(0xf2),(_0x26127f,_0x50589e)=>{const _0xfbe026=_0x2aa39f,_0x148d68=this[_0xfbe026(0xea)][_0xfbe026(0xc6)][_0xfbe026(0xdc)](_0xfbe026(0xeb));if(!_0x148d68||_0x50589e[_0xfbe026(0xdb)]===_0x148d68){const _0x3fbf85=_0xde2eb8[_0xfbe026(0xf3)][_0xfbe026(0xdc)](_0x50589e),_0x38bcfd=_0x1a86fb[_0xfbe026(0xd2)](_0x3fbf85[_0xfbe026(0xba)]);this[_0xfbe026(0xe2)][_0xfbe026(0xf2)](_0x38bcfd[_0xfbe026(0xba)]),this[_0xfbe026(0xc2)](_0x38bcfd[_0xfbe026(0xcc)]);}});}[_0x3b8f8b(0xd0)](_0x51cd26){const _0x1e154d=_0x3b8f8b,_0x46d7f5=this[_0x1e154d(0xea)][_0x1e154d(0xc6)][_0x1e154d(0xdc)](_0x1e154d(0xeb)),_0x5d8f0f=[...this[_0x1e154d(0xea)][_0x1e154d(0xcf)][_0x1e154d(0xdc)](_0x5aaa7f)[_0x1e154d(0xce)]][_0x1e154d(0xf0)](_0x1a0ffd=>_0x1a0ffd[_0x1e154d(0xdb)]===_0x46d7f5)[_0x1e154d(0xe7)](_0x1387c4=>_0x1387c4[_0x1e154d(0xc1)]<_0x51cd26);return _0x5d8f0f<0x0||_0x5d8f0f>this[_0x1e154d(0xe2)][_0x1e154d(0xd6)]?this[_0x1e154d(0xe2)][_0x1e154d(0xd6)]:_0x5d8f0f-0x1;}[_0x3b8f8b(0xbb)](){const _0x20a940=_0x3b8f8b,_0x4fda79=this[_0x20a940(0xea)],_0xd03e17=_0x4fda79[_0x20a940(0xcf)][_0x20a940(0xdc)](_0x20a940(0xd4));this[_0x20a940(0xc3)]||(this[_0x20a940(0xc3)]=new _0x1c1620(_0x4fda79[_0x20a940(0xc7)],this[_0x20a940(0xe2)])),_0x20a940(0xd9)===_0xd03e17['id']?_0xd03e17[_0x20a940(0xbe)]():_0xd03e17[_0x20a940(0xe9)]({'id':_0x20a940(0xd9),'title':_0x27c994(_0x4fda79[_0x20a940(0xc7)],_0x20a940(0xef)),'icon':_0x35d36b,'hasCloseButton':!0x0,'content':this[_0x20a940(0xc3)],'position':_0x43070f[_0x20a940(0xde)]});}[_0x3b8f8b(0xec)](_0x432ea1,_0x5c6bdb=!0x1){const _0x10d8f6=_0x3b8f8b,_0x47dd6e=this[_0x10d8f6(0xea)][_0x10d8f6(0xc7)],_0x417b56=new _0x432ea1(_0x47dd6e);return _0x417b56[_0x10d8f6(0xe4)](_0x10d8f6(0xb8))['to'](this,_0x10d8f6(0xb8)),_0x417b56[_0x10d8f6(0xc9)]({'label':_0x27c994(_0x47dd6e,_0x10d8f6(0xef)),'icon':_0x35d36b}),_0x5c6bdb&&(_0x417b56[_0x10d8f6(0xe6)]=!0x0),this[_0x10d8f6(0xe3)](_0x417b56,_0x10d8f6(0xda),()=>this[_0x10d8f6(0xbb)]()),_0x417b56;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f1c4b=_0x480c;(function(_0x4d1739,_0x31e685){const _0x3482f7=_0x480c,_0x2ca585=_0x4d1739();while(!![]){try{const _0x66aa3c=-parseInt(_0x3482f7(0x260))/0x1+parseInt(_0x3482f7(0x203))/0x2*(-parseInt(_0x3482f7(0x23e))/0x3)+parseInt(_0x3482f7(0x280))/0x4*(parseInt(_0x3482f7(0x208))/0x5)+parseInt(_0x3482f7(0x24c))/0x6*(parseInt(_0x3482f7(0x22e))/0x7)+parseInt(_0x3482f7(0x21b))/0x8+-parseInt(_0x3482f7(0x20d))/0x9*(-parseInt(_0x3482f7(0x25c))/0xa)+-parseInt(_0x3482f7(0x250))/0xb;if(_0x66aa3c===_0x31e685)break;else _0x2ca585['push'](_0x2ca585['shift']());}catch(_0x329efb){_0x2ca585['push'](_0x2ca585['shift']());}}}(_0x1a02,0xef94e));import{Plugin as _0x3a5369}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x1f0e0c}from'ckeditor5/src/utils.js';import _0xbf6719 from'./commentsrepository.js';import _0x4c7bfe from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x4e2a2a,getAllMarkersDomElementsSorted as _0x3ba595}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x262939 from'../annotations/editorannotations.js';function _0x480c(_0xce467d,_0x55e8da){const _0x1a023c=_0x1a02();return _0x480c=function(_0x480ce1,_0xf0e7db){_0x480ce1=_0x480ce1-0x1ec;let _0x4bafa4=_0x1a023c[_0x480ce1];return _0x4bafa4;},_0x480c(_0xce467d,_0x55e8da);}import _0x52acb2 from'./integrations/commentsrestrictededitingmode.js';import _0xde0951 from'./integrations/importword.js';import _0x44cd37 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x37b19e from'../annotations/annotations.js';function _0x1a02(){const _0x4d7287=['end','change:isReadOnly','createPositionBefore','editingDowncast','getCommentThread','resolveCommentThread','7naRuie','start','_threads','dataToMarker','listenTo','fetchCommentThread','isEqual','updateMarker','openNewCommentThread','_initializeMarkerConverters','getItems','LEAVE_COMMENT_ANNOUNCEMENT','locale','collaboration.channelId','getAllMarkersForId','_getTextContext','12IvrSsr','ariaLiveAnnouncer','scrollToThreadMarker','announce','editor','markerName','delete','ignoreResolvedComments','getChangedMarkers','commands','createRange','switchReadOnly','text','createElement','5994924omJnKd','group','managedUsingOperations','push','12664663OGqrZK','isObject','startsWith','hasDomSelection','conversion','get','_handleThreadMarker','consumable','ck-comment-marker--active','config','set','clear','811180uAGxkL','getByInnerView','removeMarker','_threadToController','314566WZNwHG','item','getRange','change','_attachArchivedThread','data','isResolved','root','unlinkedAt','document','_getTargetForId','pluginName','substring','$textProxy','for','destroyed','getAttribute','rootName','$marker','getWalker','isLocal','comment','consume','split','elementToElement','hasCommentThread','isThreadsLoadingPaused','change:isThreadsLoadingPaused','addComment','comment:','context','isAttached','66916CjBbJn','_initAriaMarkerChangeAnnouncements','removeCommentThread','size','ready','init','setUnlinkedAt','upcast','markers','reopenCommentThread','setContext','affectsData','getCommentThreads','$graveyard','registerAnnotation','schema','attachTo','once','removeMarker:','hasMarkerForId','enqueueChange','render','_attachMarkerToThread','focus','state','968884mjOHra','activeMarker','requires','then','_handleMarkerAddAndRemove','405ifSccU','differ','dataDowncast','refreshVisibility','reconvertMarker','18TmbDyB','addCommentThread','_detachCommentThread','hasContent','ck-comment-marker','registerPostFixer','_hasTargetInContent','editing','addMarker:','destroy','_reconvertMarkers','length','view','low','14948432hrfasx','newRange','isCollapsed','name','add','model','plugins','markerToData','from','markerToHighlight','change:activeMarker','CommentsEditing','ENTER_COMMENT_ANNOUNCEMENT'];_0x1a02=function(){return _0x4d7287;};return _0x1a02();}import{getTranslation as _0x40b1c0}from'../utils/common-translations.js';export default class r extends _0x3a5369{static get[_0x2f1c4b(0x205)](){return[_0xbf6719,_0x262939,_0x52acb2,_0xde0951,_0x44cd37];}static get[_0x2f1c4b(0x26b)](){const _0x602eda=_0x2f1c4b;return _0x602eda(0x226);}constructor(_0x4baf90){const _0x27f00b=_0x2f1c4b;super(_0x4baf90),this[_0x27f00b(0x25a)](_0x27f00b(0x27a),!0x0),_0x4baf90[_0x27f00b(0x265)][_0x27f00b(0x1fb)](_0x27f00b(0x1ee),()=>this[_0x27f00b(0x27a)]=!0x1),this[_0x27f00b(0x25a)](_0x27f00b(0x204),null),this['on'](_0x27f00b(0x225),(_0x5122f2,_0x311ece,_0x381fba,_0x255053)=>{const _0x54e745=_0x27f00b,_0x4ff4c5=_0x381fba?it(_0x381fba)['id']:null;if(_0x4baf90[_0x54e745(0x220)][_0x54e745(0x263)](()=>{const _0x4e75dd=_0x54e745;if(_0x4ff4c5){const _0x24ffa1=this[_0x4e75dd(0x23c)](_0x4ff4c5);for(const _0xf1a3f3 of _0x24ffa1)_0x4baf90[_0x4e75dd(0x214)][_0x4e75dd(0x20c)](_0xf1a3f3);}if(_0x255053){const {id:_0x176f9e}=it(_0x255053),_0x587413=this[_0x4e75dd(0x23c)](_0x176f9e);for(const _0x45e61d of _0x587413)_0x4baf90[_0x4e75dd(0x214)][_0x4e75dd(0x20c)](_0x45e61d);}}),_0x4ff4c5){const _0x4728c6=_0x4baf90[_0x54e745(0x221)][_0x54e745(0x255)](_0xbf6719)[_0x54e745(0x22c)](_0x4ff4c5);_0x4728c6&&_0x4728c6[_0x54e745(0x266)]&&this[_0x54e745(0x240)](_0x4ff4c5);}}),this[_0x27f00b(0x281)]();}[_0x2f1c4b(0x1ef)](){const _0xbec269=_0x2f1c4b,_0x1baf21=this[_0xbec269(0x242)],_0x1c6ddf=_0x1baf21[_0xbec269(0x221)][_0xbec269(0x255)](_0xbf6719),_0x1ad045=_0x1baf21[_0xbec269(0x259)][_0xbec269(0x255)](_0xbec269(0x23b));_0x1baf21[_0xbec269(0x247)][_0xbec269(0x21f)](_0xbec269(0x20e),new _0x4c7bfe(_0x1baf21)),this[_0xbec269(0x232)](_0x1baf21,_0xbec269(0x229),(_0x5b5a76,_0x4a9d2b,_0x289540)=>{const _0xa02ef4=_0xbec269;_0x1c6ddf[_0xa02ef4(0x249)](_0x289540,_0x1baf21[_0xa02ef4(0x259)][_0xa02ef4(0x255)](_0xa02ef4(0x23b)));}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x20e),_0x1ad045),(_0x28781e,{threadId:_0x452d4f})=>{const _0x265672=_0xbec269,_0x3aabd2=this[_0x265672(0x242)][_0x265672(0x221)][_0x265672(0x255)](_0xbf6719)[_0x265672(0x22c)](_0x452d4f);_0x3aabd2&&_0x3aabd2[_0x265672(0x268)]&&this[_0x265672(0x264)](_0x452d4f);}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x1ec),_0x1ad045),(_0x165810,{threadId:_0x12d588})=>{const _0xf1d551=_0xbec269;_0x1baf21[_0xf1d551(0x220)][_0xf1d551(0x1fe)]({'isUndoable':!0x1},_0x25c222=>{const _0x2ec953=_0xf1d551,_0x45bb66=this[_0x2ec953(0x23c)](_0x12d588);for(const _0x407ae9 of _0x45bb66)_0x25c222[_0x2ec953(0x25e)](_0x407ae9);});}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x22d),_0x1ad045),(_0x1cc78b,{threadId:_0x5f215d})=>{const _0x34d87e=_0xbec269;(this[_0x34d87e(0x217)](_0x5f215d),this[_0x34d87e(0x242)][_0x34d87e(0x214)][_0x34d87e(0x219)][_0x34d87e(0x253)])&&(this[_0x34d87e(0x242)][_0x34d87e(0x221)][_0x34d87e(0x255)](_0xbf6719)[_0x34d87e(0x22c)](_0x5f215d)[_0x34d87e(0x268)]||this[_0x34d87e(0x242)][_0x34d87e(0x214)][_0x34d87e(0x219)][_0x34d87e(0x201)]());},{'priority':_0xbec269(0x21a)}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x1f3),_0x1ad045),(_0x395188,{threadId:_0x4674b0})=>{const _0x3208aa=_0xbec269;this[_0x3208aa(0x217)](_0x4674b0);},{'priority':_0xbec269(0x21a)}),this[_0xbec269(0x232)](_0x1c6ddf,nt(_0xbec269(0x27c),_0x1ad045),(_0x22f2a0,{threadId:_0x1e9576,isFromAdapter:_0x5b7c81})=>{const _0x361723=_0xbec269,_0x1afb49=this[_0x361723(0x23c)](_0x1e9576);if(_0x5b7c81||0x0==_0x1afb49[_0x361723(0x218)]||!_0x1c6ddf[_0x361723(0x279)](_0x1e9576))return;0x1===_0x1c6ddf[_0x361723(0x22c)](_0x1e9576)[_0x361723(0x218)]&&_0x1baf21[_0x361723(0x220)][_0x361723(0x1fe)]({'isUndoable':!0x1},_0x566ba0=>{const _0x40411e=_0x361723;for(const _0x111d7f of _0x1afb49)_0x566ba0[_0x40411e(0x235)](_0x111d7f,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0xbec269(0x21a)}),this[_0xbec269(0x237)](),this[_0xbec269(0x207)]();}[_0x2f1c4b(0x216)](){const _0x3d5ecd=_0x2f1c4b,_0x143f9d=this[_0x3d5ecd(0x242)][_0x3d5ecd(0x221)][_0x3d5ecd(0x255)](_0xbf6719),_0x55ab4a=this[_0x3d5ecd(0x242)][_0x3d5ecd(0x259)][_0x3d5ecd(0x255)](_0x3d5ecd(0x23b));for(const _0x5167f4 of _0x143f9d[_0x3d5ecd(0x1f6)]({'channelId':_0x55ab4a}))_0x143f9d[_0x3d5ecd(0x20f)](_0x5167f4['id']),_0x143f9d[_0x3d5ecd(0x230)][_0x3d5ecd(0x244)](_0x5167f4['id']);super[_0x3d5ecd(0x216)]();}[_0x2f1c4b(0x1fd)](_0x33d117){const _0x57f5ec=_0x2f1c4b;return this[_0x57f5ec(0x23c)](_0x33d117)[_0x57f5ec(0x218)]>0x0;}[_0x2f1c4b(0x23c)](_0x746828){const _0x490ea8=_0x2f1c4b,_0x424f81=[];for(const _0x20b17e of this[_0x490ea8(0x242)][_0x490ea8(0x220)][_0x490ea8(0x1f2)])_0x20b17e[_0x490ea8(0x21e)][_0x490ea8(0x252)](_0x490ea8(0x27d)+_0x746828)&&_0x424f81[_0x490ea8(0x24f)](_0x20b17e);return _0x424f81;}[_0x2f1c4b(0x240)](_0x542d96){const _0x38e919=_0x2f1c4b,_0x265ad6=this[_0x38e919(0x26a)](_0x542d96);_0x265ad6&&setTimeout(()=>{const _0x3fcbff=_0x38e919;this[_0x3fcbff(0x204)]&&it(this[_0x3fcbff(0x204)])['id']===_0x542d96&&_0x1f0e0c({'target':_0x265ad6[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x2f1c4b(0x217)](_0x1eaf06){const _0x13aaf7=_0x2f1c4b;this[_0x13aaf7(0x242)][_0x13aaf7(0x220)][_0x13aaf7(0x263)](()=>{const _0x5c418b=_0x13aaf7;for(const _0x410287 of this[_0x5c418b(0x23c)](_0x1eaf06))this[_0x5c418b(0x242)][_0x5c418b(0x214)][_0x5c418b(0x20c)](_0x410287);});}[_0x2f1c4b(0x264)](_0x5b0f2c){const _0x5b353e=_0x2f1c4b,_0xa006d4=this[_0x5b353e(0x242)][_0x5b353e(0x221)][_0x5b353e(0x255)](_0xbf6719),_0x3e4da7=this[_0x5b353e(0x242)][_0x5b353e(0x221)][_0x5b353e(0x255)](_0x262939),_0x526db0=_0xa006d4[_0x5b353e(0x22c)](_0x5b0f2c);if(!_0x526db0[_0x5b353e(0x27f)]){const _0xa763f3=_0x526db0[_0x5b353e(0x1fa)](()=>this[_0x5b353e(0x26a)](_0x526db0['id']));_0x3e4da7[_0x5b353e(0x1f8)](_0xa763f3),_0x526db0[_0x5b353e(0x213)]=!0x1;}}[_0x2f1c4b(0x237)](){const _0x77b359=_0x2f1c4b,_0x1d1307=this[_0x77b359(0x242)];_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x22b))[_0x77b359(0x224)]({'model':_0x77b359(0x275),'view':(_0x413ac2,_0x1d80ca)=>{const _0x4e9d4e=_0x77b359,{id:_0x148633}=it(_0x413ac2[_0x4e9d4e(0x243)]),_0xe1cf8b=_0x1d1307[_0x4e9d4e(0x221)][_0x4e9d4e(0x255)](_0xbf6719)[_0x4e9d4e(0x22c)](_0x148633),_0x10c2f4=this[_0x4e9d4e(0x204)]&&it(this[_0x4e9d4e(0x204)])['id']===_0x148633;if(_0xe1cf8b&&_0xe1cf8b[_0x4e9d4e(0x266)]&&!_0x10c2f4&&_0x413ac2[_0x4e9d4e(0x261)])return _0x1d80ca[_0x4e9d4e(0x257)][_0x4e9d4e(0x276)](_0x413ac2[_0x4e9d4e(0x261)],_0x4e9d4e(0x215)+_0x413ac2[_0x4e9d4e(0x243)]),_0x1d80ca[_0x4e9d4e(0x257)][_0x4e9d4e(0x276)](_0x413ac2[_0x4e9d4e(0x261)],_0x4e9d4e(0x1fc)+_0x413ac2[_0x4e9d4e(0x243)]),null;const _0xc9d863=[_0x4e9d4e(0x211)];return _0x10c2f4&&_0xc9d863[_0x4e9d4e(0x24f)](_0x4e9d4e(0x258)),{'classes':_0xc9d863,'attributes':{'data-comment':_0x148633}};}}),_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x20a))[_0x77b359(0x222)]({'model':_0x77b359(0x275),'view':(_0x32af53,{options:_0x325bf9})=>{const _0x145437=_0x77b359,_0x3bc773=_0x1d1307[_0x145437(0x221)][_0x145437(0x255)](_0xbf6719),_0x5700bf=_0x1d1307[_0x145437(0x220)][_0x145437(0x1f2)][_0x145437(0x255)](_0x32af53),{id:_0x3ae4be,part:_0x30396b}=it(_0x32af53);if(_0x5700bf&&!_0x5700bf[_0x145437(0x1f5)])return null;if(_0x325bf9[_0x145437(0x245)]){const _0x3b49b3=_0x3bc773[_0x145437(0x22c)](_0x3ae4be);if(_0x3b49b3&&_0x3b49b3[_0x145437(0x266)])return null;}return{'group':_0x145437(0x275),'name':_0x30396b?_0x3ae4be+':'+_0x30396b:_0x3ae4be};}}),_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x1f1))[_0x77b359(0x278)]({'view':{'name':_0x77b359(0x275),'attributes':{'id':/^\w/}},'model':(_0x4789ad,{writer:_0xf2ecb6})=>_0xf2ecb6[_0x77b359(0x24b)](_0x77b359(0x272),{'data-name':_0x77b359(0x27d)+_0x4789ad[_0x77b359(0x270)]('id')})}),_0x1d1307[_0x77b359(0x254)][_0x77b359(0x26e)](_0x77b359(0x1f1))[_0x77b359(0x231)]({'view':_0x77b359(0x275)});}[_0x2f1c4b(0x207)](){const _0x18af0e=_0x2f1c4b,_0x3e3ccb=this[_0x18af0e(0x242)],_0x19f213=_0x3e3ccb[_0x18af0e(0x221)][_0x18af0e(0x255)](_0xbf6719),_0x4ce4ba=new Set(),_0x59e594=new Set();_0x3e3ccb[_0x18af0e(0x220)][_0x18af0e(0x269)][_0x18af0e(0x212)](_0x1eb6f9=>{const _0x4e223a=_0x18af0e;let _0x4b5bf3=!0x1;for(const {name:_0x1dc910,data:_0x95d40b}of _0x3e3ccb[_0x4e223a(0x220)][_0x4e223a(0x269)][_0x4e223a(0x209)][_0x4e223a(0x246)]()){const {group:_0x1a8a4c,id:_0x3ce28e}=it(_0x1dc910);let _0x1e6615=_0x95d40b[_0x4e223a(0x21c)];if(_0x4e223a(0x275)!==_0x1a8a4c||!_0x1e6615)continue;const _0x1cef27=_0x4e223a(0x1f7)===_0x1e6615[_0x4e223a(0x267)][_0x4e223a(0x271)];_0x1cef27||(_0x1e6615=st(_0x1e6615,_0x3e3ccb[_0x4e223a(0x220)]),!_0x1e6615||_0x1e6615[_0x4e223a(0x21d)]||!_0x95d40b[_0x4e223a(0x21c)]||_0x1e6615[_0x4e223a(0x234)](_0x95d40b[_0x4e223a(0x21c)]))?_0x3e3ccb[_0x4e223a(0x220)][_0x4e223a(0x210)](_0x1e6615)&&!_0x1cef27?this[_0x4e223a(0x27a)]?_0x4ce4ba[_0x4e223a(0x21f)](_0x1dc910):this[_0x4e223a(0x256)](_0x1dc910,_0x3ce28e):(_0x59e594[_0x4e223a(0x21f)](_0x1dc910),_0x4ce4ba[_0x4e223a(0x244)](_0x1dc910),_0x1eb6f9[_0x4e223a(0x25e)](_0x1dc910),_0x4b5bf3=!0x0):(_0x1eb6f9[_0x4e223a(0x235)](_0x1dc910,{'range':_0x1e6615}),_0x4b5bf3=!0x0);}return _0x4b5bf3;}),this['on'](_0x18af0e(0x27b),(_0x267dd7,_0x5ca1f5,_0x76ed69)=>{const _0x160fac=_0x18af0e;if(!_0x76ed69&&_0x4ce4ba[_0x160fac(0x1ed)])for(const _0x19cf70 of _0x4ce4ba){const {id:_0x93366}=it(_0x19cf70);_0x4ce4ba[_0x160fac(0x244)](_0x19cf70),_0x3e3ccb[_0x160fac(0x220)][_0x160fac(0x1f2)][_0x160fac(0x255)](_0x19cf70)&&this[_0x160fac(0x256)](_0x19cf70,_0x93366);}}),this[_0x18af0e(0x232)](_0x3e3ccb[_0x18af0e(0x220)][_0x18af0e(0x269)],_0x18af0e(0x263),(_0x591245,_0xf2756a)=>{const _0x50d0ff=_0x18af0e;for(const {name:_0x339640,data:{newRange:_0x370bd4}}of _0x3e3ccb[_0x50d0ff(0x220)][_0x50d0ff(0x269)][_0x50d0ff(0x209)][_0x50d0ff(0x246)]()){const {group:_0x4c68f6,id:_0x2b5bda}=it(_0x339640);if(_0x50d0ff(0x275)!==_0x4c68f6)continue;const _0x1079be=_0x19f213[_0x50d0ff(0x22c)](_0x2b5bda),_0x8fe2bc=this[_0x50d0ff(0x1fd)](_0x2b5bda);_0x1079be&&(_0x1079be[_0x50d0ff(0x213)]||_0x3e3ccb[_0x50d0ff(0x214)][_0x50d0ff(0x219)][_0x50d0ff(0x1fb)](_0x50d0ff(0x1ff),()=>{const _0x3102b4=_0x50d0ff,_0x537021=_0x3e3ccb[_0x3102b4(0x221)][_0x3102b4(0x255)](_0x37b19e),_0x42a773=_0x19f213[_0x3102b4(0x25f)][_0x3102b4(0x255)](_0x1079be)[_0x3102b4(0x219)];_0x537021[_0x3102b4(0x25d)](_0x42a773)[_0x3102b4(0x20b)]();},{'priority':_0x50d0ff(0x21a)}),_0x1079be[_0x50d0ff(0x213)]=_0x8fe2bc||!!_0x370bd4),_0x370bd4||(_0x59e594[_0x50d0ff(0x21f)](_0x339640),_0x4ce4ba[_0x50d0ff(0x244)](_0x339640));}if(_0xf2756a[_0x50d0ff(0x274)])for(const _0x363812 of _0x59e594){const {id:_0x1c3abd}=it(_0x363812),_0x3499ff=_0x19f213[_0x50d0ff(0x22c)](_0x1c3abd),_0x2bea61=this[_0x50d0ff(0x1fd)](_0x1c3abd);_0x4ce4ba[_0x50d0ff(0x244)](_0x363812),!_0x3499ff||_0x2bea61||_0x3499ff[_0x50d0ff(0x268)]||_0x3499ff[_0x50d0ff(0x1f0)](new Date());}_0x59e594[_0x50d0ff(0x25b)]();});}[_0x2f1c4b(0x26a)](_0x232a54){const _0x564bcc=_0x2f1c4b,_0x4a55b0=this[_0x564bcc(0x242)],_0x412330=this[_0x564bcc(0x23c)](_0x232a54);return _0x3ba595(_0x4a55b0[_0x564bcc(0x214)],_0x412330);}[_0x2f1c4b(0x23d)](_0x35d718){const _0x39515b=_0x2f1c4b,_0xc8c9e=this[_0x39515b(0x23c)](_0x35d718);let _0x223de0='',_0x51ce52=!0x1;for(const _0x5a8d33 of _0xc8c9e){const _0x365b66=_0x5a8d33[_0x39515b(0x262)]();for(const _0x1149f3 of Array[_0x39515b(0x223)](_0x365b66[_0x39515b(0x238)]()))_0x1149f3['is'](_0x39515b(0x26d))?(_0x223de0&&_0x51ce52&&(_0x223de0+='\x20',_0x51ce52=!0x1),_0x223de0+=_0x1149f3[_0x39515b(0x265)]):_0x51ce52=!0x0;_0x51ce52=!0x0;}return _0x223de0[_0x39515b(0x26c)](0x0,0x96);}[_0x2f1c4b(0x200)](_0x2281ef,_0x13fc5f){const _0x31a004=_0x2f1c4b,_0x47df76=this[_0x31a004(0x242)],_0x1ee112=_0x47df76[_0x31a004(0x221)][_0x31a004(0x255)](_0xbf6719);let _0x3e478f=_0x1ee112[_0x31a004(0x22c)](_0x13fc5f);const _0x58d4fb=_0x47df76[_0x31a004(0x259)][_0x31a004(0x255)](_0x31a004(0x23b)),_0x18f5f8=_0x47df76[_0x31a004(0x221)][_0x31a004(0x255)](_0x262939);if(_0x3e478f&&(_0x3e478f[_0x31a004(0x268)]&&_0x3e478f[_0x31a004(0x1f0)](null),_0x3e478f[_0x31a004(0x27f)]))return _0x3e478f;return!this[_0x31a004(0x23c)](_0x13fc5f)[0x0][_0x31a004(0x24e)]?_0x47df76[_0x31a004(0x214)][_0x31a004(0x219)][_0x31a004(0x1fb)](_0x31a004(0x1ff),()=>{const _0x5c95ef=_0x31a004;if(_0x1ee112[_0x5c95ef(0x22c)](_0x13fc5f))return;const _0x571f1f=_0x47df76[_0x5c95ef(0x221)][_0x5c95ef(0x255)](_0x37b19e);_0x3e478f=_0x1ee112[_0x5c95ef(0x236)]({'channelId':_0x58d4fb,'threadId':_0x13fc5f,'target':()=>this[_0x5c95ef(0x26a)](_0x13fc5f),'context':{'type':_0x5c95ef(0x24a),'value':this[_0x5c95ef(0x23d)](_0x13fc5f)}});const _0x352db3=_0x1ee112[_0x5c95ef(0x25f)][_0x5c95ef(0x255)](_0x3e478f)[_0x5c95ef(0x219)],_0x1296d2=_0x571f1f[_0x5c95ef(0x25d)](_0x352db3);_0x1296d2&&_0x18f5f8[_0x5c95ef(0x1f8)](_0x1296d2);},{'priority':_0x31a004(0x21a)}):_0x1ee112[_0x31a004(0x233)]({'channelId':_0x58d4fb,'threadId':_0x13fc5f})[_0x31a004(0x206)](_0x1f6e62=>{const _0x47a448=_0x31a004;if(_0x47a448(0x26f)!==_0x47df76[_0x47a448(0x202)]){if(_0x3e478f=_0x1f6e62,_0x3e478f&&!_0x3e478f[_0x47a448(0x27f)]){const _0x14afda=_0x3e478f[_0x47a448(0x1fa)](()=>this[_0x47a448(0x26a)](_0x13fc5f));_0x18f5f8[_0x47a448(0x1f8)](_0x14afda),_0x3e478f[_0x47a448(0x266)]&&this[_0x47a448(0x217)](_0x13fc5f);}else{if(!_0x3e478f){const _0x4cedf7=this[_0x47a448(0x23c)](_0x13fc5f);_0x47df76[_0x47a448(0x220)][_0x47a448(0x263)](_0x545a76=>{const _0x550ac0=_0x47a448;for(const _0xb665ae of _0x4cedf7)_0x545a76[_0x550ac0(0x25e)](_0xb665ae);});}}}}),_0x3e478f;}[_0x2f1c4b(0x256)](_0x370634,_0x454afe){const _0x5c90c2=_0x2f1c4b,_0x5f4c4b=this[_0x5c90c2(0x200)](_0x370634,_0x454afe);_0x5f4c4b&&!_0x5f4c4b[_0x5c90c2(0x27e)]&&_0x5f4c4b[_0x5c90c2(0x1f4)]({'type':_0x5c90c2(0x24a),'value':this[_0x5c90c2(0x23d)](_0x454afe)});}[_0x2f1c4b(0x281)](){const _0x291f50=_0x2f1c4b,_0x291964=this[_0x291f50(0x242)];_0x4e2a2a(_0x291964[_0x291f50(0x220)],({left:_0x13b610,entered:_0x1a30c5})=>{const _0x3913cd=_0x291f50;for(const _0x52211b of _0x13b610)if(at(_0x52211b)){_0x291964['ui'][_0x3913cd(0x23f)][_0x3913cd(0x241)](_0x40b1c0(_0x291964[_0x3913cd(0x23a)],_0x3913cd(0x239)));break;}for(const _0x5f0d08 of _0x1a30c5)if(at(_0x5f0d08)){_0x291964['ui'][_0x3913cd(0x23f)][_0x3913cd(0x241)](_0x40b1c0(_0x291964[_0x3913cd(0x23a)],_0x3913cd(0x227)));break;}});}}function nt(_0x1e38d8,_0x42ca15){return _0x42ca15?_0x1e38d8+':'+_0x42ca15:_0x1e38d8;}function it(_0x5aa5b3){const _0x32d068=_0x2f1c4b,_0x3931a6=_0x5aa5b3[_0x32d068(0x277)](':');return{'group':_0x3931a6[0x0],'id':_0x3931a6[0x1],'part':_0x3931a6[0x2]};}function st(_0x3ab9fa,_0x6c252e){const _0x538b5c=_0x2f1c4b,_0x26b61d=_0x6c252e[_0x538b5c(0x1f9)],_0xf5d2fc=_0x6c252e[_0x538b5c(0x248)](_0x3ab9fa[_0x538b5c(0x22f)]);for(const _0x5d5b74 of _0x3ab9fa[_0x538b5c(0x273)]()){const {type:_0x4aaf5c,item:_0x246c18,nextPosition:_0x98e9e4}=_0x5d5b74;if(_0x538b5c(0x24a)===_0x4aaf5c||_0x26b61d[_0x538b5c(0x251)](_0x246c18)){const _0x2320e0=_0x6c252e[_0x538b5c(0x22a)](_0x246c18);_0xf5d2fc[_0x538b5c(0x21d)]&&(_0xf5d2fc[_0x538b5c(0x22f)]=_0x2320e0),_0xf5d2fc[_0x538b5c(0x228)]=_0x98e9e4;}}return _0xf5d2fc;}function at(_0x3779f6){const _0x537228=_0x2f1c4b;return _0x537228(0x275)===it(_0x3779f6[_0x537228(0x21e)])[_0x537228(0x24d)];}
23
+ const _0x233807=_0x1955;(function(_0x2e6408,_0x279c0e){const _0x501477=_0x1955,_0x50ae00=_0x2e6408();while(!![]){try{const _0x426d36=-parseInt(_0x501477(0x10a))/0x1+parseInt(_0x501477(0xa2))/0x2+-parseInt(_0x501477(0xc5))/0x3+parseInt(_0x501477(0x98))/0x4*(parseInt(_0x501477(0xdf))/0x5)+parseInt(_0x501477(0x107))/0x6+parseInt(_0x501477(0x10e))/0x7*(parseInt(_0x501477(0xdc))/0x8)+-parseInt(_0x501477(0xb5))/0x9;if(_0x426d36===_0x279c0e)break;else _0x50ae00['push'](_0x50ae00['shift']());}catch(_0x1f5776){_0x50ae00['push'](_0x50ae00['shift']());}}}(_0x12bb,0x46ee5));import{Plugin as _0x2732dc}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2d35d0}from'ckeditor5/src/utils.js';import _0x1387a0 from'./commentsrepository.js';import _0x4a1d96 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0xedea49,getAllMarkersDomElementsSorted as _0x4a0536}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x2c10f6 from'../annotations/editorannotations.js';import _0x58ad99 from'./integrations/commentsrestrictededitingmode.js';import _0x5d2464 from'./integrations/importword.js';import _0x596066 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';function _0x12bb(){const _0x494b94=['refreshVisibility','push','119049TDQpda','_threads','reopenCommentThread','listenTo','model','commands','collaboration.channelId','_initializeMarkerConverters','$textProxy','_reconvertMarkers','removeMarker','once','scrollToThreadMarker','markerName','hasDomSelection','ariaLiveAnnouncer','_attachMarkerToThread','rootName','length','pluginName','getAllMarkersForId','_hasTargetInContent','root','isEqual','setUnlinkedAt','markerToData','createElement','getCommentThreads','addCommentThread','_detachCommentThread','336528OWehtm','unlinkedAt','elementToElement','from','getAttribute','change:isReadOnly','enqueueChange','openNewCommentThread','editor','state','1042390yLCDLp','isLocal','_handleMarkerAddAndRemove','_initAriaMarkerChangeAnnouncements','name','getChangedMarkers','requires','getItems','affectsData','consume','destroy','reconvertMarker','hasCommentThread','addMarker:','schema','low','destroyed','ck-comment-marker--active','for','3960369AfOBlJ','end','resolveCommentThread','updateMarker','_handleThreadMarker','_attachArchivedThread','set','item','ready','consumable','change','render','dataDowncast','registerAnnotation','ck-comment-marker','$marker','254418TaTQky','dataToMarker','startsWith','announce','start','ignoreResolvedComments','substring','attachTo','setContext','data','$graveyard','size','_getTextContext','isAttached','_threadToController','ENTER_COMMENT_ANNOUNCEMENT','differ','conversion','isObject','init','addComment','group','removeMarker:','248glHxDE','markers','newRange','10XsrfRF','switchReadOnly','delete','editingDowncast','get','plugins','focus','_getTargetForId','getByInnerView','view','document','editing','locale','config','markerToHighlight','removeCommentThread','context','createPositionBefore','isThreadsLoadingPaused','isResolved','comment:','isCollapsed','change:activeMarker','comment','createRange','change:isThreadsLoadingPaused','fetchCommentThread','upcast','getCommentThread','then','text','getWalker','CommentsEditing','managedUsingOperations','LEAVE_COMMENT_ANNOUNCEMENT','activeMarker','hasContent','add','hasMarkerForId','split','842142SdZbNo','getRange','registerPostFixer','541653ANTZLr','clear'];_0x12bb=function(){return _0x494b94;};return _0x12bb();}import _0x6be741 from'../annotations/annotations.js';function _0x1955(_0x4a49f2,_0xa0f8b4){const _0x12bb61=_0x12bb();return _0x1955=function(_0x1955f9,_0x168266){_0x1955f9=_0x1955f9-0x8c;let _0x3e672b=_0x12bb61[_0x1955f9];return _0x3e672b;},_0x1955(_0x4a49f2,_0xa0f8b4);}import{getTranslation as _0x525dd5}from'../utils/common-translations.js';export default class r extends _0x2732dc{static get[_0x233807(0xa8)](){return[_0x1387a0,_0x2c10f6,_0x58ad99,_0x5d2464,_0x596066];}static get[_0x233807(0x8d)](){const _0x1918aa=_0x233807;return _0x1918aa(0xff);}constructor(_0x19febd){const _0x2f2de4=_0x233807;super(_0x19febd),this[_0x2f2de4(0xbb)](_0x2f2de4(0xf1),!0x0),_0x19febd[_0x2f2de4(0xce)][_0x2f2de4(0x119)](_0x2f2de4(0xbd),()=>this[_0x2f2de4(0xf1)]=!0x1),this[_0x2f2de4(0xbb)](_0x2f2de4(0x102),null),this['on'](_0x2f2de4(0xf5),(_0x379aee,_0x352c11,_0x54b1fb,_0x3e22a3)=>{const _0x2eb127=_0x2f2de4,_0x55ce0a=_0x54b1fb?it(_0x54b1fb)['id']:null;if(_0x19febd[_0x2eb127(0x112)][_0x2eb127(0xbf)](()=>{const _0x218c38=_0x2eb127;if(_0x55ce0a){const _0x3e0234=this[_0x218c38(0x8e)](_0x55ce0a);for(const _0xe44201 of _0x3e0234)_0x19febd[_0x218c38(0xea)][_0x218c38(0xad)](_0xe44201);}if(_0x3e22a3){const {id:_0x3f38ad}=it(_0x3e22a3),_0x586eec=this[_0x218c38(0x8e)](_0x3f38ad);for(const _0x3ad0d9 of _0x586eec)_0x19febd[_0x218c38(0xea)][_0x218c38(0xad)](_0x3ad0d9);}}),_0x55ce0a){const _0x1afd8e=_0x19febd[_0x2eb127(0xe4)][_0x2eb127(0xe3)](_0x1387a0)[_0x2eb127(0xfb)](_0x55ce0a);_0x1afd8e&&_0x1afd8e[_0x2eb127(0xf2)]&&this[_0x2eb127(0x11a)](_0x55ce0a);}}),this[_0x2f2de4(0xa5)]();}[_0x233807(0xd8)](){const _0x46abb4=_0x233807,_0x17f38c=this[_0x46abb4(0xa0)],_0x58b06f=_0x17f38c[_0x46abb4(0xe4)][_0x46abb4(0xe3)](_0x1387a0),_0x342c37=_0x17f38c[_0x46abb4(0xec)][_0x46abb4(0xe3)](_0x46abb4(0x114));_0x17f38c[_0x46abb4(0x113)][_0x46abb4(0x104)](_0x46abb4(0x96),new _0x4a1d96(_0x17f38c)),this[_0x46abb4(0x111)](_0x17f38c,_0x46abb4(0x9d),(_0x374aac,_0x41f887,_0x510d01)=>{const _0x46cdf4=_0x46abb4;_0x58b06f[_0x46cdf4(0xe0)](_0x510d01,_0x17f38c[_0x46cdf4(0xec)][_0x46cdf4(0xe3)](_0x46cdf4(0x114)));}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0x96),_0x342c37),(_0x818e44,{threadId:_0x221e6b})=>{const _0x23902c=_0x46abb4,_0x2dab41=this[_0x23902c(0xa0)][_0x23902c(0xe4)][_0x23902c(0xe3)](_0x1387a0)[_0x23902c(0xfb)](_0x221e6b);_0x2dab41&&_0x2dab41[_0x23902c(0x99)]&&this[_0x23902c(0xba)](_0x221e6b);}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0xee),_0x342c37),(_0x4f0090,{threadId:_0xd66d4e})=>{const _0x51c6f3=_0x46abb4;_0x17f38c[_0x51c6f3(0x112)][_0x51c6f3(0x9e)]({'isUndoable':!0x1},_0x118eee=>{const _0x5cfb65=_0x51c6f3,_0x736f0e=this[_0x5cfb65(0x8e)](_0xd66d4e);for(const _0x548314 of _0x736f0e)_0x118eee[_0x5cfb65(0x118)](_0x548314);});}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0xb7),_0x342c37),(_0x3349c2,{threadId:_0x4ac1a4})=>{const _0x46cc36=_0x46abb4;(this[_0x46cc36(0x117)](_0x4ac1a4),this[_0x46cc36(0xa0)][_0x46cc36(0xea)][_0x46cc36(0xe8)][_0x46cc36(0x11c)])&&(this[_0x46cc36(0xa0)][_0x46cc36(0xe4)][_0x46cc36(0xe3)](_0x1387a0)[_0x46cc36(0xfb)](_0x4ac1a4)[_0x46cc36(0x99)]||this[_0x46cc36(0xa0)][_0x46cc36(0xea)][_0x46cc36(0xe8)][_0x46cc36(0xe5)]());},{'priority':_0x46abb4(0xb1)}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0x110),_0x342c37),(_0x2347ba,{threadId:_0x248b38})=>{const _0x5d2149=_0x46abb4;this[_0x5d2149(0x117)](_0x248b38);},{'priority':_0x46abb4(0xb1)}),this[_0x46abb4(0x111)](_0x58b06f,nt(_0x46abb4(0xd9),_0x342c37),(_0x3caca6,{threadId:_0x38e6f1,isFromAdapter:_0x4c8778})=>{const _0x34d707=_0x46abb4,_0x316954=this[_0x34d707(0x8e)](_0x38e6f1);if(_0x4c8778||0x0==_0x316954[_0x34d707(0x8c)]||!_0x58b06f[_0x34d707(0xae)](_0x38e6f1))return;0x1===_0x58b06f[_0x34d707(0xfb)](_0x38e6f1)[_0x34d707(0x8c)]&&_0x17f38c[_0x34d707(0x112)][_0x34d707(0x9e)]({'isUndoable':!0x1},_0x496d38=>{const _0x4c79e8=_0x34d707;for(const _0x9a918 of _0x316954)_0x496d38[_0x4c79e8(0xb8)](_0x9a918,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x46abb4(0xb1)}),this[_0x46abb4(0x115)](),this[_0x46abb4(0xa4)]();}[_0x233807(0xac)](){const _0x329d7f=_0x233807,_0x1d1945=this[_0x329d7f(0xa0)][_0x329d7f(0xe4)][_0x329d7f(0xe3)](_0x1387a0),_0x599b0c=this[_0x329d7f(0xa0)][_0x329d7f(0xec)][_0x329d7f(0xe3)](_0x329d7f(0x114));for(const _0x189a19 of _0x1d1945[_0x329d7f(0x95)]({'channelId':_0x599b0c}))_0x1d1945[_0x329d7f(0x97)](_0x189a19['id']),_0x1d1945[_0x329d7f(0x10f)][_0x329d7f(0xe1)](_0x189a19['id']);super[_0x329d7f(0xac)]();}[_0x233807(0x105)](_0x251390){const _0x34b705=_0x233807;return this[_0x34b705(0x8e)](_0x251390)[_0x34b705(0x8c)]>0x0;}[_0x233807(0x8e)](_0x2a8428){const _0x56245b=_0x233807,_0x2623db=[];for(const _0x4e4245 of this[_0x56245b(0xa0)][_0x56245b(0x112)][_0x56245b(0xdd)])_0x4e4245[_0x56245b(0xa6)][_0x56245b(0xc7)](_0x56245b(0xf3)+_0x2a8428)&&_0x2623db[_0x56245b(0x10d)](_0x4e4245);return _0x2623db;}[_0x233807(0x11a)](_0x4a41fd){const _0x48872e=_0x233807,_0x156ff0=this[_0x48872e(0xe6)](_0x4a41fd);_0x156ff0&&setTimeout(()=>{const _0x5bed1c=_0x48872e;this[_0x5bed1c(0x102)]&&it(this[_0x5bed1c(0x102)])['id']===_0x4a41fd&&_0x2d35d0({'target':_0x156ff0[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x233807(0x117)](_0x52b11c){const _0x56cf08=_0x233807;this[_0x56cf08(0xa0)][_0x56cf08(0x112)][_0x56cf08(0xbf)](()=>{const _0x406eab=_0x56cf08;for(const _0x595134 of this[_0x406eab(0x8e)](_0x52b11c))this[_0x406eab(0xa0)][_0x406eab(0xea)][_0x406eab(0xad)](_0x595134);});}[_0x233807(0xba)](_0x51b751){const _0x2b04d2=_0x233807,_0x7d1cf1=this[_0x2b04d2(0xa0)][_0x2b04d2(0xe4)][_0x2b04d2(0xe3)](_0x1387a0),_0x4451d0=this[_0x2b04d2(0xa0)][_0x2b04d2(0xe4)][_0x2b04d2(0xe3)](_0x2c10f6),_0x807371=_0x7d1cf1[_0x2b04d2(0xfb)](_0x51b751);if(!_0x807371[_0x2b04d2(0xd2)]){const _0x34ec2d=_0x807371[_0x2b04d2(0xcc)](()=>this[_0x2b04d2(0xe6)](_0x807371['id']));_0x4451d0[_0x2b04d2(0xc2)](_0x34ec2d),_0x807371[_0x2b04d2(0x8f)]=!0x1;}}[_0x233807(0x115)](){const _0x316afd=_0x233807,_0x53ae7b=this[_0x316afd(0xa0)];_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xe2))[_0x316afd(0xed)]({'model':_0x316afd(0xf6),'view':(_0x43ceae,_0x57c2b1)=>{const _0x22b4c0=_0x316afd,{id:_0x145f75}=it(_0x43ceae[_0x22b4c0(0x11b)]),_0x4cca23=_0x53ae7b[_0x22b4c0(0xe4)][_0x22b4c0(0xe3)](_0x1387a0)[_0x22b4c0(0xfb)](_0x145f75),_0x1bf757=this[_0x22b4c0(0x102)]&&it(this[_0x22b4c0(0x102)])['id']===_0x145f75;if(_0x4cca23&&_0x4cca23[_0x22b4c0(0xf2)]&&!_0x1bf757&&_0x43ceae[_0x22b4c0(0xbc)])return _0x57c2b1[_0x22b4c0(0xbe)][_0x22b4c0(0xab)](_0x43ceae[_0x22b4c0(0xbc)],_0x22b4c0(0xaf)+_0x43ceae[_0x22b4c0(0x11b)]),_0x57c2b1[_0x22b4c0(0xbe)][_0x22b4c0(0xab)](_0x43ceae[_0x22b4c0(0xbc)],_0x22b4c0(0xdb)+_0x43ceae[_0x22b4c0(0x11b)]),null;const _0x5cb586=[_0x22b4c0(0xc3)];return _0x1bf757&&_0x5cb586[_0x22b4c0(0x10d)](_0x22b4c0(0xb3)),{'classes':_0x5cb586,'attributes':{'data-comment':_0x145f75}};}}),_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xc1))[_0x316afd(0x93)]({'model':_0x316afd(0xf6),'view':(_0x68c344,{options:_0x21c425})=>{const _0x1c5aec=_0x316afd,_0x4a79da=_0x53ae7b[_0x1c5aec(0xe4)][_0x1c5aec(0xe3)](_0x1387a0),_0x319783=_0x53ae7b[_0x1c5aec(0x112)][_0x1c5aec(0xdd)][_0x1c5aec(0xe3)](_0x68c344),{id:_0x4584a3,part:_0x443287}=it(_0x68c344);if(_0x319783&&!_0x319783[_0x1c5aec(0xaa)])return null;if(_0x21c425[_0x1c5aec(0xca)]){const _0x48fd09=_0x4a79da[_0x1c5aec(0xfb)](_0x4584a3);if(_0x48fd09&&_0x48fd09[_0x1c5aec(0xf2)])return null;}return{'group':_0x1c5aec(0xf6),'name':_0x443287?_0x4584a3+':'+_0x443287:_0x4584a3};}}),_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xfa))[_0x316afd(0x9a)]({'view':{'name':_0x316afd(0xf6),'attributes':{'id':/^\w/}},'model':(_0x17306b,{writer:_0x44cc67})=>_0x44cc67[_0x316afd(0x94)](_0x316afd(0xc4),{'data-name':_0x316afd(0xf3)+_0x17306b[_0x316afd(0x9c)]('id')})}),_0x53ae7b[_0x316afd(0xd6)][_0x316afd(0xb4)](_0x316afd(0xfa))[_0x316afd(0xc6)]({'view':_0x316afd(0xf6)});}[_0x233807(0xa4)](){const _0x748139=_0x233807,_0x51a6b9=this[_0x748139(0xa0)],_0x9476c7=_0x51a6b9[_0x748139(0xe4)][_0x748139(0xe3)](_0x1387a0),_0x1b5889=new Set(),_0x401520=new Set();_0x51a6b9[_0x748139(0x112)][_0x748139(0xe9)][_0x748139(0x109)](_0x312873=>{const _0x83c835=_0x748139;let _0x5c553f=!0x1;for(const {name:_0x5e0a4c,data:_0xcbb94a}of _0x51a6b9[_0x83c835(0x112)][_0x83c835(0xe9)][_0x83c835(0xd5)][_0x83c835(0xa7)]()){const {group:_0x4da8d6,id:_0x198954}=it(_0x5e0a4c);let _0x32483a=_0xcbb94a[_0x83c835(0xde)];if(_0x83c835(0xf6)!==_0x4da8d6||!_0x32483a)continue;const _0x5cce69=_0x83c835(0xcf)===_0x32483a[_0x83c835(0x90)][_0x83c835(0x11f)];_0x5cce69||(_0x32483a=st(_0x32483a,_0x51a6b9[_0x83c835(0x112)]),!_0x32483a||_0x32483a[_0x83c835(0xf4)]||!_0xcbb94a[_0x83c835(0xde)]||_0x32483a[_0x83c835(0x91)](_0xcbb94a[_0x83c835(0xde)]))?_0x51a6b9[_0x83c835(0x112)][_0x83c835(0x103)](_0x32483a)&&!_0x5cce69?this[_0x83c835(0xf1)]?_0x1b5889[_0x83c835(0x104)](_0x5e0a4c):this[_0x83c835(0xb9)](_0x5e0a4c,_0x198954):(_0x401520[_0x83c835(0x104)](_0x5e0a4c),_0x1b5889[_0x83c835(0xe1)](_0x5e0a4c),_0x312873[_0x83c835(0x118)](_0x5e0a4c),_0x5c553f=!0x0):(_0x312873[_0x83c835(0xb8)](_0x5e0a4c,{'range':_0x32483a}),_0x5c553f=!0x0);}return _0x5c553f;}),this['on'](_0x748139(0xf8),(_0x445d31,_0x26c6ad,_0x2aaa9b)=>{const _0x765b86=_0x748139;if(!_0x2aaa9b&&_0x1b5889[_0x765b86(0xd0)])for(const _0x4b43e6 of _0x1b5889){const {id:_0x111fdc}=it(_0x4b43e6);_0x1b5889[_0x765b86(0xe1)](_0x4b43e6),_0x51a6b9[_0x765b86(0x112)][_0x765b86(0xdd)][_0x765b86(0xe3)](_0x4b43e6)&&this[_0x765b86(0xb9)](_0x4b43e6,_0x111fdc);}}),this[_0x748139(0x111)](_0x51a6b9[_0x748139(0x112)][_0x748139(0xe9)],_0x748139(0xbf),(_0x4c1045,_0x596ed8)=>{const _0xbba221=_0x748139;for(const {name:_0x3db8a6,data:{newRange:_0x58f629}}of _0x51a6b9[_0xbba221(0x112)][_0xbba221(0xe9)][_0xbba221(0xd5)][_0xbba221(0xa7)]()){const {group:_0x1ddaa0,id:_0x2a0f1b}=it(_0x3db8a6);if(_0xbba221(0xf6)!==_0x1ddaa0)continue;const _0x59a6b9=_0x9476c7[_0xbba221(0xfb)](_0x2a0f1b),_0x3dcea5=this[_0xbba221(0x105)](_0x2a0f1b);_0x59a6b9&&(_0x59a6b9[_0xbba221(0x8f)]||_0x51a6b9[_0xbba221(0xea)][_0xbba221(0xe8)][_0xbba221(0x119)](_0xbba221(0xc0),()=>{const _0xfa3277=_0xbba221,_0x5a238a=_0x51a6b9[_0xfa3277(0xe4)][_0xfa3277(0xe3)](_0x6be741),_0x393eb6=_0x9476c7[_0xfa3277(0xd3)][_0xfa3277(0xe3)](_0x59a6b9)[_0xfa3277(0xe8)];_0x5a238a[_0xfa3277(0xe7)](_0x393eb6)[_0xfa3277(0x10c)]();},{'priority':_0xbba221(0xb1)}),_0x59a6b9[_0xbba221(0x8f)]=_0x3dcea5||!!_0x58f629),_0x58f629||(_0x401520[_0xbba221(0x104)](_0x3db8a6),_0x1b5889[_0xbba221(0xe1)](_0x3db8a6));}if(_0x596ed8[_0xbba221(0xa3)])for(const _0x122c2c of _0x401520){const {id:_0x30772f}=it(_0x122c2c),_0x132156=_0x9476c7[_0xbba221(0xfb)](_0x30772f),_0x10f618=this[_0xbba221(0x105)](_0x30772f);_0x1b5889[_0xbba221(0xe1)](_0x122c2c),!_0x132156||_0x10f618||_0x132156[_0xbba221(0x99)]||_0x132156[_0xbba221(0x92)](new Date());}_0x401520[_0xbba221(0x10b)]();});}[_0x233807(0xe6)](_0x571d9d){const _0x1a24ab=_0x233807,_0x1c0878=this[_0x1a24ab(0xa0)],_0x4c09c5=this[_0x1a24ab(0x8e)](_0x571d9d);return _0x4a0536(_0x1c0878[_0x1a24ab(0xea)],_0x4c09c5);}[_0x233807(0xd1)](_0x50700e){const _0x5e93ff=_0x233807,_0x45ed88=this[_0x5e93ff(0x8e)](_0x50700e);let _0x2e1d8e='',_0x291d0d=!0x1;for(const _0x297eb8 of _0x45ed88){const _0x978b25=_0x297eb8[_0x5e93ff(0x108)]();for(const _0x2c6577 of Array[_0x5e93ff(0x9b)](_0x978b25[_0x5e93ff(0xa9)]()))_0x2c6577['is'](_0x5e93ff(0x116))?(_0x2e1d8e&&_0x291d0d&&(_0x2e1d8e+='\x20',_0x291d0d=!0x1),_0x2e1d8e+=_0x2c6577[_0x5e93ff(0xce)]):_0x291d0d=!0x0;_0x291d0d=!0x0;}return _0x2e1d8e[_0x5e93ff(0xcb)](0x0,0x96);}[_0x233807(0x11e)](_0x4f2e33,_0x555ebe){const _0x10df2=_0x233807,_0x255e1f=this[_0x10df2(0xa0)],_0x10642e=_0x255e1f[_0x10df2(0xe4)][_0x10df2(0xe3)](_0x1387a0);let _0x307b8d=_0x10642e[_0x10df2(0xfb)](_0x555ebe);const _0x104cee=_0x255e1f[_0x10df2(0xec)][_0x10df2(0xe3)](_0x10df2(0x114)),_0x4f7ac1=_0x255e1f[_0x10df2(0xe4)][_0x10df2(0xe3)](_0x2c10f6);if(_0x307b8d&&(_0x307b8d[_0x10df2(0x99)]&&_0x307b8d[_0x10df2(0x92)](null),_0x307b8d[_0x10df2(0xd2)]))return _0x307b8d;return!this[_0x10df2(0x8e)](_0x555ebe)[0x0][_0x10df2(0x100)]?_0x255e1f[_0x10df2(0xea)][_0x10df2(0xe8)][_0x10df2(0x119)](_0x10df2(0xc0),()=>{const _0x3012d0=_0x10df2;if(_0x10642e[_0x3012d0(0xfb)](_0x555ebe))return;const _0x53606a=_0x255e1f[_0x3012d0(0xe4)][_0x3012d0(0xe3)](_0x6be741);_0x307b8d=_0x10642e[_0x3012d0(0x9f)]({'channelId':_0x104cee,'threadId':_0x555ebe,'target':()=>this[_0x3012d0(0xe6)](_0x555ebe),'context':{'type':_0x3012d0(0xfd),'value':this[_0x3012d0(0xd1)](_0x555ebe)}});const _0x2e1b2d=_0x10642e[_0x3012d0(0xd3)][_0x3012d0(0xe3)](_0x307b8d)[_0x3012d0(0xe8)],_0x5b886b=_0x53606a[_0x3012d0(0xe7)](_0x2e1b2d);_0x5b886b&&_0x4f7ac1[_0x3012d0(0xc2)](_0x5b886b);},{'priority':_0x10df2(0xb1)}):_0x10642e[_0x10df2(0xf9)]({'channelId':_0x104cee,'threadId':_0x555ebe})[_0x10df2(0xfc)](_0x324fa2=>{const _0xb5bb5a=_0x10df2;if(_0xb5bb5a(0xb2)!==_0x255e1f[_0xb5bb5a(0xa1)]){if(_0x307b8d=_0x324fa2,_0x307b8d&&!_0x307b8d[_0xb5bb5a(0xd2)]){const _0x109752=_0x307b8d[_0xb5bb5a(0xcc)](()=>this[_0xb5bb5a(0xe6)](_0x555ebe));_0x4f7ac1[_0xb5bb5a(0xc2)](_0x109752),_0x307b8d[_0xb5bb5a(0xf2)]&&this[_0xb5bb5a(0x117)](_0x555ebe);}else{if(!_0x307b8d){const _0xb2c4c3=this[_0xb5bb5a(0x8e)](_0x555ebe);_0x255e1f[_0xb5bb5a(0x112)][_0xb5bb5a(0xbf)](_0x920628=>{const _0x279f46=_0xb5bb5a;for(const _0x1da34c of _0xb2c4c3)_0x920628[_0x279f46(0x118)](_0x1da34c);});}}}}),_0x307b8d;}[_0x233807(0xb9)](_0x1ef3e3,_0xf363fb){const _0x2a266d=_0x233807,_0x5104bf=this[_0x2a266d(0x11e)](_0x1ef3e3,_0xf363fb);_0x5104bf&&!_0x5104bf[_0x2a266d(0xef)]&&_0x5104bf[_0x2a266d(0xcd)]({'type':_0x2a266d(0xfd),'value':this[_0x2a266d(0xd1)](_0xf363fb)});}[_0x233807(0xa5)](){const _0x31a006=_0x233807,_0x30f365=this[_0x31a006(0xa0)];_0xedea49(_0x30f365[_0x31a006(0x112)],({left:_0x4558fa,entered:_0x5f3cdb})=>{const _0x5d0590=_0x31a006;for(const _0xb270a1 of _0x4558fa)if(at(_0xb270a1)){_0x30f365['ui'][_0x5d0590(0x11d)][_0x5d0590(0xc8)](_0x525dd5(_0x30f365[_0x5d0590(0xeb)],_0x5d0590(0x101)));break;}for(const _0x7c5b75 of _0x5f3cdb)if(at(_0x7c5b75)){_0x30f365['ui'][_0x5d0590(0x11d)][_0x5d0590(0xc8)](_0x525dd5(_0x30f365[_0x5d0590(0xeb)],_0x5d0590(0xd4)));break;}});}}function nt(_0x399c04,_0x4ed51e){return _0x4ed51e?_0x399c04+':'+_0x4ed51e:_0x399c04;}function it(_0x121fb9){const _0x12238f=_0x233807,_0x526919=_0x121fb9[_0x12238f(0x106)](':');return{'group':_0x526919[0x0],'id':_0x526919[0x1],'part':_0x526919[0x2]};}function st(_0x2bacaa,_0x34c542){const _0x297aba=_0x233807,_0x55c3a4=_0x34c542[_0x297aba(0xb0)],_0x3a29cd=_0x34c542[_0x297aba(0xf7)](_0x2bacaa[_0x297aba(0xc9)]);for(const _0x1227fa of _0x2bacaa[_0x297aba(0xfe)]()){const {type:_0x19d3f5,item:_0x5b3aeb,nextPosition:_0x2ce682}=_0x1227fa;if(_0x297aba(0xfd)===_0x19d3f5||_0x55c3a4[_0x297aba(0xd7)](_0x5b3aeb)){const _0x43e2fc=_0x34c542[_0x297aba(0xf0)](_0x5b3aeb);_0x3a29cd[_0x297aba(0xf4)]&&(_0x3a29cd[_0x297aba(0xc9)]=_0x43e2fc),_0x3a29cd[_0x297aba(0xb6)]=_0x2ce682;}}return _0x3a29cd;}function at(_0x55bddb){const _0x1eff0c=_0x233807;return _0x1eff0c(0xf6)===it(_0x55bddb[_0x1eff0c(0xa6)])[_0x1eff0c(0xda)];}
@@ -148,7 +148,7 @@ export default class CommentsRepository extends ContextPlugin {
148
148
  * comment data will be added only in the editor and will not be sent to the adapter.
149
149
  * @returns The added comment thread.
150
150
  */
151
- addCommentThread({ channelId, threadId, comments, unlinkedAt, resolvedAt, resolvedBy, target, context, attributes, isResolvable, isSubmitted, isFromAdapter }?: AddCommentThreadEventData): CommentThread | undefined;
151
+ addCommentThread({ channelId, threadId, comments, unlinkedAt, resolvedAt, resolvedBy, target, context, attributes, isResolvable, isSubmitted, isFromAdapter }?: Partial<AddCommentThreadEventData>): CommentThread | undefined;
152
152
  /**
153
153
  * Creates a new, empty comment thread.
154
154
  *