@ckeditor/ckeditor5-track-changes 35.1.0 → 35.2.1

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 (153) hide show
  1. package/build/track-changes.js +2 -2
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/az.js +1 -1
  4. package/build/translations/bg.js +1 -1
  5. package/build/translations/bn.js +1 -1
  6. package/build/translations/ca.js +1 -1
  7. package/build/translations/cs.js +1 -1
  8. package/build/translations/da.js +1 -1
  9. package/build/translations/de.js +1 -1
  10. package/build/translations/el.js +1 -1
  11. package/build/translations/en-au.js +1 -1
  12. package/build/translations/es.js +1 -1
  13. package/build/translations/et.js +1 -1
  14. package/build/translations/fi.js +1 -1
  15. package/build/translations/fr.js +1 -1
  16. package/build/translations/gl.js +1 -1
  17. package/build/translations/he.js +1 -1
  18. package/build/translations/hi.js +1 -1
  19. package/build/translations/hr.js +1 -1
  20. package/build/translations/hu.js +1 -1
  21. package/build/translations/id.js +1 -1
  22. package/build/translations/it.js +1 -1
  23. package/build/translations/ja.js +1 -1
  24. package/build/translations/ko.js +1 -1
  25. package/build/translations/lt.js +1 -1
  26. package/build/translations/lv.js +1 -1
  27. package/build/translations/ms.js +1 -1
  28. package/build/translations/nl.js +1 -1
  29. package/build/translations/no.js +1 -1
  30. package/build/translations/pl.js +1 -1
  31. package/build/translations/pt-br.js +1 -1
  32. package/build/translations/pt.js +1 -1
  33. package/build/translations/ro.js +1 -1
  34. package/build/translations/ru.js +1 -1
  35. package/build/translations/sk.js +1 -1
  36. package/build/translations/sr-latn.js +1 -1
  37. package/build/translations/sr.js +1 -1
  38. package/build/translations/sv.js +1 -1
  39. package/build/translations/th.js +1 -1
  40. package/build/translations/tk.js +1 -1
  41. package/build/translations/tr.js +1 -1
  42. package/build/translations/tt.js +1 -1
  43. package/build/translations/uk.js +1 -1
  44. package/build/translations/ur.js +1 -1
  45. package/build/translations/vi.js +1 -1
  46. package/build/translations/zh-cn.js +1 -1
  47. package/build/translations/zh.js +1 -1
  48. package/lang/contexts.json +2 -1
  49. package/lang/translations/ar.po +4 -0
  50. package/lang/translations/az.po +4 -0
  51. package/lang/translations/bg.po +4 -0
  52. package/lang/translations/bn.po +4 -0
  53. package/lang/translations/ca.po +4 -0
  54. package/lang/translations/cs.po +4 -0
  55. package/lang/translations/da.po +4 -0
  56. package/lang/translations/de.po +4 -0
  57. package/lang/translations/el.po +4 -0
  58. package/lang/translations/en-au.po +4 -0
  59. package/lang/translations/en.po +4 -0
  60. package/lang/translations/es.po +4 -0
  61. package/lang/translations/et.po +4 -0
  62. package/lang/translations/fi.po +4 -0
  63. package/lang/translations/fr.po +4 -0
  64. package/lang/translations/gl.po +4 -0
  65. package/lang/translations/he.po +4 -0
  66. package/lang/translations/hi.po +4 -0
  67. package/lang/translations/hr.po +4 -0
  68. package/lang/translations/hu.po +4 -0
  69. package/lang/translations/id.po +4 -0
  70. package/lang/translations/it.po +4 -0
  71. package/lang/translations/ja.po +4 -0
  72. package/lang/translations/ko.po +27 -23
  73. package/lang/translations/lt.po +4 -0
  74. package/lang/translations/lv.po +4 -0
  75. package/lang/translations/ms.po +4 -0
  76. package/lang/translations/nl.po +4 -0
  77. package/lang/translations/no.po +4 -0
  78. package/lang/translations/pl.po +4 -0
  79. package/lang/translations/pt-br.po +4 -0
  80. package/lang/translations/pt.po +4 -0
  81. package/lang/translations/ro.po +4 -0
  82. package/lang/translations/ru.po +4 -0
  83. package/lang/translations/sk.po +4 -0
  84. package/lang/translations/sr-latn.po +4 -0
  85. package/lang/translations/sr.po +4 -0
  86. package/lang/translations/sv.po +4 -0
  87. package/lang/translations/th.po +4 -0
  88. package/lang/translations/tk.po +4 -0
  89. package/lang/translations/tr.po +4 -0
  90. package/lang/translations/tt.po +6 -2
  91. package/lang/translations/uk.po +4 -0
  92. package/lang/translations/ur.po +4 -0
  93. package/lang/translations/vi.po +4 -0
  94. package/lang/translations/zh-cn.po +4 -0
  95. package/lang/translations/zh.po +4 -0
  96. package/package.json +4 -4
  97. package/src/commands/acceptallsuggestionscommand.js +1 -1
  98. package/src/commands/acceptselectedsuggestionscommand.js +1 -1
  99. package/src/commands/acceptsuggestioncommand.js +1 -1
  100. package/src/commands/discardallsuggestionscommand.js +1 -1
  101. package/src/commands/discardselectedsuggestionscommand.js +1 -1
  102. package/src/commands/discardsuggestioncommand.js +1 -1
  103. package/src/commands/trackchangescommand.js +1 -1
  104. package/src/integrations/alignment.js +1 -1
  105. package/src/integrations/basicstyles.js +1 -1
  106. package/src/integrations/blockquote.js +1 -1
  107. package/src/integrations/ckbox.js +1 -1
  108. package/src/integrations/codeblock.js +1 -1
  109. package/src/integrations/comments.js +1 -1
  110. package/src/integrations/deletecommand.js +1 -1
  111. package/src/integrations/entercommand.js +1 -1
  112. package/src/integrations/font.js +1 -1
  113. package/src/integrations/heading.js +1 -1
  114. package/src/integrations/highlight.js +1 -1
  115. package/src/integrations/horizontalline.js +1 -1
  116. package/src/integrations/htmlembed.js +1 -1
  117. package/src/integrations/image.js +1 -1
  118. package/src/integrations/importword.js +23 -0
  119. package/src/integrations/indent.js +1 -1
  120. package/src/integrations/inputcommand.js +1 -1
  121. package/src/integrations/link.js +1 -1
  122. package/src/integrations/list.js +1 -1
  123. package/src/integrations/mediaembed.js +1 -1
  124. package/src/integrations/mention.js +1 -1
  125. package/src/integrations/pagebreak.js +1 -1
  126. package/src/integrations/paragraph.js +1 -1
  127. package/src/integrations/removeformat.js +1 -1
  128. package/src/integrations/restrictededitingmode.js +1 -1
  129. package/src/integrations/shiftentercommand.js +1 -1
  130. package/src/integrations/standardeditingmode.js +1 -1
  131. package/src/integrations/style.js +1 -1
  132. package/src/integrations/table.js +1 -1
  133. package/src/integrations/tableclipboard.js +1 -1
  134. package/src/integrations/tableheadings.js +1 -1
  135. package/src/integrations/tablemergesplit.js +1 -1
  136. package/src/integrations/title.js +1 -1
  137. package/src/integrations/undo.js +1 -1
  138. package/src/integrations/utils.js +1 -1
  139. package/src/suggestion.js +1 -1
  140. package/src/suggestiondescriptionfactory.js +1 -1
  141. package/src/trackchanges.js +1 -1
  142. package/src/trackchangesdata.js +1 -1
  143. package/src/trackchangesediting.js +1 -1
  144. package/src/trackchangesui.js +1 -1
  145. package/src/ui/suggestioncontroller.js +1 -1
  146. package/src/ui/view/basesuggestionthreadview.js +1 -1
  147. package/src/ui/view/suggestionthreadview.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
  149. package/src/utils/getrangesofblockgroups.js +1 -1
  150. package/src/utils/getselectedsuggestions.js +1 -1
  151. package/src/utils/hashobject.js +1 -1
  152. package/src/utils/normalizedescription.js +1 -1
  153. package/src/utils/sortsuggestions.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x39a6=['commentInputView','value','CommentView','editorConfig','length','disableComments','_createCommentViews','_config','delegate','isActive','setData','_localUser','_createCommentThreadInputView','locale','bind','isDirty','_model','descriptionParts','commentThreadInputView','commentThread','assign','removeComment','set','fire','updateComment','focus','showInput','disabledSubmit','isEnabled','commentsListView','destroy'];(function(_0x33c929,_0x39a600){const _0x24e69f=function(_0xef1460){while(--_0xef1460){_0x33c929['push'](_0x33c929['shift']());}};_0x24e69f(++_0x39a600);}(_0x39a6,0x13d));const _0x24e6=function(_0x33c929,_0x39a600){_0x33c929=_0x33c929-0x0;let _0x24e69f=_0x39a6[_0x33c929];return _0x24e69f;};import{View as _0x49f18f}from'ckeditor5/src/ui';export default class Kt extends _0x49f18f{constructor(_0x26b492,_0x175ab4,_0x5c055b,_0x1cac27){super(_0x26b492),this['commentsListView']=null,this['commentThreadInputView']=null,this['set']('isActive',!0x1),this[_0x24e6('0xf')]('createdAt',_0x175ab4['createdAt']),this[_0x24e6('0x7')]('createdAt')['to'](_0x175ab4),this['set'](_0x24e6('0xa'),[]),this[_0x24e6('0xf')](_0x24e6('0x8'),!0x1),this[_0x24e6('0xf')](_0x24e6('0x15'),!0x1),this[_0x24e6('0x9')]=_0x175ab4,this[_0x24e6('0x4')]=_0x5c055b,this[_0x24e6('0x0')]=_0x1cac27,_0x1cac27[_0x24e6('0x1d')]?this[_0x24e6('0xf')](_0x24e6('0x1c'),0x1):this['_createCommentViews']();}[_0x24e6('0x12')](){this['element']['focus']();}[_0x24e6('0x17')](){this[_0x24e6('0x8')]=!0x1,this['commentsListView']&&this['commentsListView'][_0x24e6('0x17')](),this['commentThreadInputView']&&this[_0x24e6('0xb')][_0x24e6('0x17')](),super[_0x24e6('0x17')]();}[_0x24e6('0x1e')](){const {CommentsListView:_0x1047f9}=this[_0x24e6('0x0')];this[_0x24e6('0x16')]=new _0x1047f9(this[_0x24e6('0x6')],this['_model']['commentThread'],Object[_0x24e6('0xd')]({'CommentView':this[_0x24e6('0x0')][_0x24e6('0x1a')]},this['_config'])),this[_0x24e6('0x16')][_0x24e6('0x1')](_0x24e6('0xe'))['to'](this),this[_0x24e6('0x16')]['delegate'](_0x24e6('0x11'))['to'](this),this[_0x24e6('0x16')]['bind'](_0x24e6('0x2'))['to'](this),this[_0x24e6('0xf')]('length',this[_0x24e6('0x16')][_0x24e6('0x1c')]+0x1),this[_0x24e6('0x7')]('length')['to'](this[_0x24e6('0x16')],_0x24e6('0x1c'),_0x550c0b=>_0x550c0b+0x1),this[_0x24e6('0xb')]=this['_createCommentThreadInputView'](),this['on'](_0x24e6('0xe'),()=>this[_0x24e6('0x12')]()),this[_0x24e6('0x7')](_0x24e6('0x8'))['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView'][_0x24e6('0x18')],_0x24e6('0x19'),(_0x408542,_0x319410)=>_0x408542||!!_0x319410);}[_0x24e6('0x5')](){const {CommentThreadInputView:_0x3fa4b7}=this[_0x24e6('0x0')],_0x2dc7c2=new _0x3fa4b7(this['locale'],this[_0x24e6('0x4')],this[_0x24e6('0x0')][_0x24e6('0x1b')]),_0x94187c=_0x2dc7c2[_0x24e6('0x18')];return _0x2dc7c2['bind'](_0x24e6('0x13'))['to'](this,_0x24e6('0x2'),this['_model'][_0x24e6('0xc')],'isReadOnly',_0x94187c,_0x24e6('0x19'),(_0x4197d8,_0x2d7f3d,_0x55ec82)=>!!_0x55ec82||_0x4197d8&&!_0x2d7f3d),_0x94187c['on']('submit',(_0x11368f,_0x7d5d8)=>{this[_0x24e6('0x10')]('addComment',_0x7d5d8),_0x94187c['editor'][_0x24e6('0x3')]('');}),_0x94187c['on']('cancel',()=>this[_0x24e6('0x12')]()),_0x94187c[_0x24e6('0x7')](_0x24e6('0x14'))['to'](this[_0x24e6('0x9')][_0x24e6('0xc')],'isReadOnly'),_0x2dc7c2;}}
23
+ const _0x26fb=['fire','updateComment','destroy','_config','bind','removeComment','cancel','focus','assign','length','isEnabled','_localUser','hasDirtyComment','createdAt','isReadOnly','editor','set','descriptionParts','_model','commentsListView','setData','isActive','disableComments','isDirty','_createCommentThreadInputView','_createCommentViews','locale','value','commentThreadInputView','commentInputView','showInput','commentThread','addComment'];(function(_0x4996d6,_0x26fbb9){const _0x13deac=function(_0x58444d){while(--_0x58444d){_0x4996d6['push'](_0x4996d6['shift']());}};_0x13deac(++_0x26fbb9);}(_0x26fb,0x199));const _0x13de=function(_0x4996d6,_0x26fbb9){_0x4996d6=_0x4996d6-0x0;let _0x13deac=_0x26fb[_0x4996d6];return _0x13deac;};import{View as _0x5c968e}from'ckeditor5/src/ui';export default class Kt extends _0x5c968e{constructor(_0x2db331,_0x4caff0,_0x2b4853,_0x1b0375){super(_0x2db331),this[_0x13de('0x6')]=null,this[_0x13de('0xf')]=null,this['set'](_0x13de('0x8'),!0x1),this[_0x13de('0x3')]('createdAt',_0x4caff0[_0x13de('0x0')]),this['bind'](_0x13de('0x0'))['to'](_0x4caff0),this[_0x13de('0x3')](_0x13de('0x4'),[]),this[_0x13de('0x3')](_0x13de('0xa'),!0x1),this[_0x13de('0x3')](_0x13de('0x1e'),!0x1),this[_0x13de('0x5')]=_0x4caff0,this['_localUser']=_0x2b4853,this['_config']=_0x1b0375,_0x1b0375[_0x13de('0x9')]?this['set'](_0x13de('0x1d'),0x1):this[_0x13de('0xc')]();}[_0x13de('0x1b')](){this['element'][_0x13de('0x1b')]();}[_0x13de('0x16')](){this[_0x13de('0xa')]=!0x1,this[_0x13de('0x6')]&&this['commentsListView'][_0x13de('0x16')](),this['commentThreadInputView']&&this[_0x13de('0xf')][_0x13de('0x16')](),super[_0x13de('0x16')]();}[_0x13de('0xc')](){const {CommentsListView:_0x3aeae7}=this[_0x13de('0x17')];this[_0x13de('0x6')]=new _0x3aeae7(this[_0x13de('0xd')],this['_model'][_0x13de('0x12')],Object[_0x13de('0x1c')]({'CommentView':this[_0x13de('0x17')]['CommentView']},this[_0x13de('0x17')])),this[_0x13de('0x6')]['delegate'](_0x13de('0x19'))['to'](this),this[_0x13de('0x6')]['delegate'](_0x13de('0x15'))['to'](this),this[_0x13de('0x6')][_0x13de('0x18')](_0x13de('0x8'))['to'](this),this[_0x13de('0x3')](_0x13de('0x1d'),this[_0x13de('0x6')][_0x13de('0x1d')]+0x1),this['bind']('length')['to'](this['commentsListView'],_0x13de('0x1d'),_0x4fbb40=>_0x4fbb40+0x1),this[_0x13de('0xf')]=this[_0x13de('0xb')](),this['on']('removeComment',()=>this[_0x13de('0x1b')]()),this[_0x13de('0x18')](_0x13de('0xa'))['to'](this['commentsListView'],_0x13de('0x20'),this[_0x13de('0xf')][_0x13de('0x10')],_0x13de('0xe'),(_0x29300f,_0xe74feb)=>_0x29300f||!!_0xe74feb);}[_0x13de('0xb')](){const {CommentThreadInputView:_0x19ac84}=this['_config'],_0x510393=new _0x19ac84(this[_0x13de('0xd')],this[_0x13de('0x1f')],this[_0x13de('0x17')]['editorConfig']),_0x5d080b=_0x510393['commentInputView'];return _0x510393[_0x13de('0x18')](_0x13de('0x11'))['to'](this,_0x13de('0x8'),this[_0x13de('0x5')]['commentThread'],'isReadOnly',_0x5d080b,_0x13de('0xe'),(_0x55102b,_0x183566,_0x1330ae)=>!!_0x1330ae||_0x55102b&&!_0x183566),_0x5d080b['on']('submit',(_0x53eb87,_0x3a1f7c)=>{this[_0x13de('0x14')](_0x13de('0x13'),_0x3a1f7c),_0x5d080b[_0x13de('0x2')][_0x13de('0x7')]('');}),_0x5d080b['on'](_0x13de('0x1a'),()=>this[_0x13de('0x1b')]()),_0x5d080b[_0x13de('0x18')]('disabledSubmit')['to'](this['_model'][_0x13de('0x12')],_0x13de('0x1')),_0x510393;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32af=['innerText','ck-suggestion--discard','userView','disableComments','fire','title','ck-suggestion__actions','setTemplate','_model','ck-suggestion__user','ck-suggestion__main','commentThreadInputView','ck-annotation__actions','check','author','ck-annotation__user','isActive','bind','acceptButton','discardSuggestion','ck-comment__info-time','descriptionParts','name','span','_createButton','ck-annotation__info-time','getTemplate','discardButton','description','ck-suggestion','commentsListView','push','cancel','render','createElement','set','</span>','content','ck-suggestion__info-name','type','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','join','ck-annotation__content-wrapper','_config','Accept\x20suggestion','color','</p>','time','innerHTML','bindTemplate','ck-suggestion--accept','<span\x20class=\x22ck-suggestion-type\x22>','div','map','\x22\x20title=\x22','ck-annotation__info','createdAt','ck-annotation__info-name','extendTemplate','isEnabled','commentThread','ck-annotation','_descriptionElement'];(function(_0x5bffa3,_0x32af89){const _0x361d01=function(_0xbc8b0c){while(--_0xbc8b0c){_0x5bffa3['push'](_0x5bffa3['shift']());}};_0x361d01(++_0x32af89);}(_0x32af,0x1e6));const _0x361d=function(_0x5bffa3,_0x32af89){_0x5bffa3=_0x5bffa3-0x0;let _0x361d01=_0x32af[_0x5bffa3];return _0x361d01;};import{getTranslation as _0x1e993b}from'../../utils/common-translations';import _0x2f09ee from'./basesuggestionthreadview';import{ButtonView as _0x55fad1}from'ckeditor5/src/ui';import{icons as _0x1fa418}from'ckeditor5/src/core';import{trimHtml as _0x16ed0b,UserView as _0x30981f}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x2f09ee{constructor(_0x5bc35c,_0x52474a,_0x28e567,_0x5909b4){super(_0x5bc35c,_0x52474a,_0x28e567,_0x5909b4),this['set'](_0x361d('0x39'),''),this[_0x361d('0x23')]('type')['to'](this,'descriptionParts',_0x2e899d=>_0x2e899d&&_0x2e899d[0x0]?_0x2e899d[0x0][_0x361d('0x39')]:''),this['bind'](_0x361d('0x2e'))['to'](this,_0x361d('0x27'),this,_0x361d('0x22'),(_0x42adaf,_0xc0a7fc)=>{let _0x1d853f='';for(const _0x172190 of _0x42adaf)_0x1d853f+='<p>'+es(_0x172190[_0x361d('0x37')],_0x172190[_0x361d('0x0')])+_0x361d('0x1');return _0xc0a7fc?_0x1d853f:_0x16ed0b(_0x1d853f,{'limit':0x8c});}),this[_0x361d('0x11')]=null,this[_0x361d('0x24')]=this[_0x361d('0x2a')](_0x1e993b(_0x5bc35c,_0x361d('0x3e')),_0x1fa418[_0x361d('0x1f')],_0x361d('0x5'),'acceptSuggestion','sw'),this[_0x361d('0x2d')]=this[_0x361d('0x2a')](_0x1e993b(_0x5bc35c,'Discard\x20suggestion'),_0x1fa418[_0x361d('0x32')],_0x361d('0x13'),_0x361d('0x25'),'sw'),this[_0x361d('0x14')]=new _0x30981f(_0x5bc35c,this[_0x361d('0x1a')][_0x361d('0x20')]),this[_0x361d('0x14')][_0x361d('0xd')]({'attributes':{'class':[_0x361d('0x1b'),_0x361d('0x21')]}}),this[_0x361d('0x19')](this[_0x361d('0x2c')]());}[_0x361d('0x2c')](){const _0x1b98e1=this[_0x361d('0x4')],_0x289bef={'tag':_0x361d('0x7'),'attributes':{'class':['ck-suggestion-wrapper',_0x1b98e1['if']('isActive','ck-suggestion-wrapper--active'),_0x1b98e1['to'](_0x361d('0x39'),_0x4fe1d1=>'ck-suggestion-'+_0x4fe1d1),this[_0x361d('0x3d')][_0x361d('0x15')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this[_0x361d('0x1a')]['id'],'data-thread-id':this['_model'][_0x361d('0xf')]['id'],'data-author-id':this[_0x361d('0x1a')]['author']['id'],'tabindex':-0x1},'children':[{'tag':_0x361d('0x7'),'attributes':{'class':[_0x361d('0x2f'),_0x361d('0x10')]},'children':[this['userView'],{'tag':_0x361d('0x7'),'attributes':{'class':[_0x361d('0x1c'),'ck-annotation__main']},'children':[{'tag':_0x361d('0x7'),'attributes':{'class':['ck-suggestion__info',_0x361d('0xa')]},'children':[{'tag':_0x361d('0x29'),'children':[{'text':this['userView'][_0x361d('0x28')]}],'attributes':{'class':[_0x361d('0x38'),_0x361d('0xc')]}},{'tag':_0x361d('0x2'),'attributes':{'datetime':_0x1b98e1['to'](_0x361d('0xb')),'class':[_0x361d('0x26'),_0x361d('0x2b')]},'children':[{'text':_0x1b98e1['to'](_0x361d('0xb'),_0x17c460=>this[_0x361d('0x3d')]['formatDateTime'](_0x17c460))}]}]},{'tag':_0x361d('0x7'),'attributes':{'class':[_0x361d('0x18'),_0x361d('0x1e')]},'children':[this['acceptButton'],this[_0x361d('0x2d')]]},{'tag':_0x361d('0x7'),'attributes':{'class':[_0x361d('0x3c')]}}]}]}]};return this['commentsListView']&&this[_0x361d('0x1d')]&&_0x289bef['children'][_0x361d('0x31')](this[_0x361d('0x30')],this[_0x361d('0x1d')]),_0x289bef;}['render'](){super[_0x361d('0x33')](),this[_0x361d('0x11')]=this['element']['querySelector']('.ck-annotation__content-wrapper'),this[_0x361d('0x11')]['innerHTML']=this['description'],this['on']('change:description',(_0x2d4b61,_0x188307,_0x3c8d67)=>{this[_0x361d('0x11')][_0x361d('0x3')]=_0x3c8d67;});}[_0x361d('0x2a')](_0xd9606e,_0x4e7dee,_0x8c3524,_0x34f64a,_0x41a58a){const _0x467837=new _0x55fad1(this['locale']);return _0x467837[_0x361d('0x35')]({'label':_0xd9606e,'icon':_0x4e7dee,'tooltip':!0x0,'tooltipPosition':_0x41a58a}),_0x467837[_0x361d('0xd')]({'attributes':{'class':_0x8c3524}}),_0x467837['on']('execute',()=>{this[_0x361d('0x16')](_0x34f64a,this[_0x361d('0x1a')]['id']);}),_0x467837[_0x361d('0x23')](_0x361d('0xe'))['to'](this),_0x467837;}}function es(_0x1fbd6b,_0x4bce56){let _0x290b04='';return _0x290b04+=_0x1fbd6b['split']('*')[_0x361d('0x8')]((_0x5e63b2,_0x4e57ec)=>_0x4e57ec%0x2!=0x0?_0x361d('0x6')+ns(_0x5e63b2)+_0x361d('0x36'):ns(_0x5e63b2))[_0x361d('0x3b')](''),_0x4bce56&&(_0x290b04+=_0x361d('0x3a')+_0x4bce56['value']+_0x361d('0x9')+_0x4bce56[_0x361d('0x17')]+'\x22></span>'),_0x290b04;}function ns(_0x10e1de){const _0x5bb7ef=document[_0x361d('0x34')]('span');return _0x5bb7ef[_0x361d('0x12')]=_0x10e1de,_0x5bb7ef[_0x361d('0x3')];}
23
+ const _0x2271=['name','isActive','type','push','div','locale','@external','discardButton','ck-annotation__main','commentsListView','ck-annotation__info-time','change:description','join','ck-annotation__content-wrapper','bind','querySelector','getTemplate','ck-annotation','span','ck-suggestion','<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20','value','check','_model','children','</p>','externalAuthor','map','disableComments','userView','ck-annotation__info-name','innerHTML','_createButton','set','ck-suggestion--discard','commentThreadInputView','ck-annotation__info','</span>','render','createElement','_config','<span\x20class=\x22ck-suggestion-type\x22>','ck-suggestion-','ck-suggestion__info-name','EXTERNAL_SUGGESTION','.ck-annotation__content-wrapper','setTemplate','split','acceptButton','author','ck-comment__external','commentThread','ck-suggestion__info','formatDateTime','extendTemplate','ck-comment__info-time','_descriptionElement','<p>','ck-suggestion__actions','ck-annotation__actions','ck-suggestion--accept','ck-suggestion__user','ck-suggestion-wrapper','descriptionParts','element','description','createdAt','acceptSuggestion','title','ck-annotation__user','ck-suggestion__main'];(function(_0x24299a,_0x22714e){const _0x2d2bd5=function(_0x485a23){while(--_0x485a23){_0x24299a['push'](_0x24299a['shift']());}};_0x2d2bd5(++_0x22714e);}(_0x2271,0x6d));const _0x2d2b=function(_0x24299a,_0x22714e){_0x24299a=_0x24299a-0x0;let _0x2d2bd5=_0x2271[_0x24299a];return _0x2d2bd5;};import{getTranslation as _0xc50fb6}from'../../utils/common-translations';import _0x4da17d from'./basesuggestionthreadview';import{ButtonView as _0x159876}from'ckeditor5/src/ui';import{icons as _0x547518}from'ckeditor5/src/core';import{trimHtml as _0x383d13,UserView as _0x49149b}from'ckeditor5-collaboration/src/collaboration-core';export default class Ut extends _0x4da17d{constructor(_0x52a1e2,_0x436d64,_0x537672,_0xfa4ad8){super(_0x52a1e2,_0x436d64,_0x537672,_0xfa4ad8),this[_0x2d2b('0x42')]('type',''),this[_0x2d2b('0x2f')]('type')['to'](this,_0x2d2b('0x19'),_0x5558a4=>_0x5558a4&&_0x5558a4[0x0]?_0x5558a4[0x0][_0x2d2b('0x23')]:''),this[_0x2d2b('0x2f')]('description')['to'](this,_0x2d2b('0x19'),this,_0x2d2b('0x22'),(_0x2145b8,_0x579dbf)=>{let _0x44f4ce='';for(const _0x461517 of _0x2145b8)_0x44f4ce+=_0x2d2b('0x13')+es(_0x461517['content'],_0x461517['color'])+_0x2d2b('0x3a');return _0x579dbf?_0x44f4ce:_0x383d13(_0x44f4ce,{'limit':0x8c});}),this[_0x2d2b('0x12')]=null,this['acceptButton']=this['_createButton'](_0xc50fb6(_0x52a1e2,'Accept\x20suggestion'),_0x547518[_0x2d2b('0x37')],_0x2d2b('0x16'),_0x2d2b('0x1d'),'sw'),this['discardButton']=this['_createButton'](_0xc50fb6(_0x52a1e2,'Discard\x20suggestion'),_0x547518['cancel'],_0x2d2b('0x43'),'discardSuggestion','sw');const _0x2b482e=this[_0x2d2b('0x38')]['externalAuthor']?this[_0x2d2b('0x38')]['attributes'][_0x2d2b('0x27')]:this[_0x2d2b('0x38')];this['set'](_0x2d2b('0x1c'),_0x2b482e['createdAt']),this[_0x2d2b('0x3e')]=new _0x49149b(_0x52a1e2,this[_0x2d2b('0x38')][_0x2d2b('0x3b')]||this[_0x2d2b('0x38')][_0x2d2b('0xb')]),this[_0x2d2b('0x3e')][_0x2d2b('0x10')]({'attributes':{'class':[_0x2d2b('0x17'),_0x2d2b('0x1f')]}}),this[_0x2d2b('0x8')](this[_0x2d2b('0x31')]());}[_0x2d2b('0x31')](){const _0x15fb48=this['bindTemplate'],_0x16bbb9=[{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0xe'),_0x2d2b('0x45')]},'children':[{'tag':_0x2d2b('0x33'),'children':[{'text':this[_0x2d2b('0x3e')][_0x2d2b('0x21')]}],'attributes':{'class':[_0x2d2b('0x5'),_0x2d2b('0x3f')]}},{'tag':'time','attributes':{'datetime':_0x15fb48['to']('createdAt'),'class':[_0x2d2b('0x11'),_0x2d2b('0x2b')]},'children':[{'text':_0x15fb48['to'](_0x2d2b('0x1c'),_0x59474b=>this['_config'][_0x2d2b('0xf')](_0x59474b))}]}]},{'tag':'div','attributes':{'class':[_0x2d2b('0x14'),_0x2d2b('0x15')]},'children':[this[_0x2d2b('0xa')],this[_0x2d2b('0x28')]]},{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x2e')]}}];this['_model'][_0x2d2b('0x3b')]&&_0x16bbb9[_0x2d2b('0x24')]({'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0xc')]},'children':[{'text':_0xc50fb6(this[_0x2d2b('0x26')],_0x2d2b('0x6'))}]});const _0x49a561={'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x18'),_0x15fb48['if'](_0x2d2b('0x22'),'ck-suggestion-wrapper--active'),_0x15fb48['to'](_0x2d2b('0x23'),_0x316b85=>_0x2d2b('0x4')+_0x316b85),this[_0x2d2b('0x2')][_0x2d2b('0x3d')]&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this[_0x2d2b('0x38')][_0x2d2b('0xd')]['id'],'data-author-id':this[_0x2d2b('0x38')][_0x2d2b('0xb')]['id'],'tabindex':-0x1},'children':[{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x34'),_0x2d2b('0x32')]},'children':[this['userView'],{'tag':_0x2d2b('0x25'),'attributes':{'class':[_0x2d2b('0x20'),_0x2d2b('0x29')]},'children':_0x16bbb9}]}]};return this['commentsListView']&&this[_0x2d2b('0x44')]&&_0x49a561[_0x2d2b('0x39')][_0x2d2b('0x24')](this[_0x2d2b('0x2a')],this[_0x2d2b('0x44')]),_0x49a561;}[_0x2d2b('0x0')](){super[_0x2d2b('0x0')](),this[_0x2d2b('0x12')]=this[_0x2d2b('0x1a')][_0x2d2b('0x30')](_0x2d2b('0x7')),this[_0x2d2b('0x12')][_0x2d2b('0x40')]=this[_0x2d2b('0x1b')],this['on'](_0x2d2b('0x2c'),(_0x5d8614,_0x569607,_0x7d1e47)=>{this[_0x2d2b('0x12')]['innerHTML']=_0x7d1e47;});}[_0x2d2b('0x41')](_0xe89e4c,_0x4f66c0,_0x2c321d,_0x5a516d,_0x2206df){const _0x5afdd7=new _0x159876(this['locale']);return _0x5afdd7[_0x2d2b('0x42')]({'label':_0xe89e4c,'icon':_0x4f66c0,'tooltip':!0x0,'tooltipPosition':_0x2206df}),_0x5afdd7[_0x2d2b('0x10')]({'attributes':{'class':_0x2c321d}}),_0x5afdd7['on']('execute',()=>{this['fire'](_0x5a516d,this[_0x2d2b('0x38')]['id']);}),_0x5afdd7[_0x2d2b('0x2f')]('isEnabled')['to'](this),_0x5afdd7;}}function es(_0x57a7e1,_0x167321){let _0x19728e='';return _0x19728e+=_0x57a7e1[_0x2d2b('0x9')]('*')[_0x2d2b('0x3c')]((_0x41f1a9,_0x636069)=>_0x636069%0x2!=0x0?_0x2d2b('0x3')+ns(_0x41f1a9)+_0x2d2b('0x46'):ns(_0x41f1a9))[_0x2d2b('0x2d')](''),_0x167321&&(_0x19728e+=_0x2d2b('0x35')+_0x167321[_0x2d2b('0x36')]+'\x22\x20title=\x22'+_0x167321[_0x2d2b('0x1e')]+'\x22></span>'),_0x19728e;}function ns(_0x581e96){const _0x2ef731=document[_0x2d2b('0x1')](_0x2d2b('0x33'));return _0x2ef731['innerText']=_0x581e96,_0x2ef731[_0x2d2b('0x40')];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5dee34,_0x9ee6c8,_0x169d48){const t=_0x5dee34['t'];switch(_0x9ee6c8){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',_0x169d48);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x169d48);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x169d48);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x169d48);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x169d48);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x169d48);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x169d48);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x169d48);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x169d48);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x169d48);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x169d48);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x169d48);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x169d48);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x169d48);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x169d48);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x169d48);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x169d48);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x169d48);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'},_0x169d48);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x169d48);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x169d48);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x169d48);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x169d48);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x169d48);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'},_0x169d48);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x169d48);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x169d48);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x169d48);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x169d48);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x169d48);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x169d48);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'},_0x169d48);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'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'},_0x169d48);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x169d48);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'},_0x169d48);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x169d48);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'},_0x169d48);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x169d48);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});}}
23
+ export function getTranslation(_0x45b9cd,_0x2646dc,_0x5c1231){const t=_0x45b9cd['t'];switch(_0x2646dc){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',_0x5c1231);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0x5c1231);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0x5c1231);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0x5c1231);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0x5c1231);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0x5c1231);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0x5c1231);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0x5c1231);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0x5c1231);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0x5c1231);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0x5c1231);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0x5c1231);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0x5c1231);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0x5c1231);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0x5c1231);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0x5c1231);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0x5c1231);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0x5c1231);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'},_0x5c1231);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0x5c1231);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0x5c1231);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0x5c1231);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0x5c1231);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0x5c1231);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0x5c1231);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0x5c1231);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0x5c1231);case'ELEMENT_BULLETED_LIST':return t({'string':'bulleted\x20list','id':'ELEMENT_BULLETED_LIST'});case'ELEMENT_NUMBERED_LIST':return t({'string':'numbered\x20list','id':'ELEMENT_NUMBERED_LIST'});case'ELEMENT_TODO_LIST':return t({'string':'to-do\x20list','id':'ELEMENT_TODO_LIST'});case'REPLACE_TEXT':return t({'string':'*Replace:*\x20%0\x20*with*\x20%1','id':'REPLACE_TEXT'},_0x5c1231);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0x5c1231);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'},_0x5c1231);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'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'},_0x5c1231);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0x5c1231);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'},_0x5c1231);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0x5c1231);case'ELEMENT_TITLE':return t({'id':'ELEMENT_TITLE','string':'title'});case'EXTERNAL_SUGGESTION':return t({'id':'EXTERNAL_SUGGESTION','string':'This\x20suggestion\x20comes\x20from\x20an\x20external\x20source.'});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4f44=['createPositionBefore','createRange','createPositionAfter','createPositionAt'];(function(_0x3c2d8f,_0x4f44e8){const _0x2d7da6=function(_0x20756f){while(--_0x20756f){_0x3c2d8f['push'](_0x3c2d8f['shift']());}};_0x2d7da6(++_0x4f44e8);}(_0x4f44,0x161));const _0x2d7d=function(_0x3c2d8f,_0x4f44e8){_0x3c2d8f=_0x3c2d8f-0x0;let _0x2d7da6=_0x4f44[_0x3c2d8f];return _0x2d7da6;};export function getRangesOfBlockGroups(_0x11b151,_0x3ee5df){let _0x5c7673,_0x25aa71=0x0;const _0x37f837=[],_0x59f2d8=_0x3ee5df['schema'];for(;_0x25aa71<_0x11b151['length'];){const _0x39849b=_0x11b151[_0x25aa71],_0x411141=_0x11b151[_0x25aa71+0x1];_0x5c7673||(_0x5c7673=_0x3ee5df[_0x2d7d('0x3')](_0x39849b)),tn(_0x3ee5df,_0x39849b,_0x411141)||(_0x37f837['push'](_0x3ee5df[_0x2d7d('0x0')](_0x5c7673,_0x59f2d8['isObject'](_0x39849b)?_0x3ee5df[_0x2d7d('0x1')](_0x39849b):_0x3ee5df[_0x2d7d('0x2')](_0x39849b,'end'))),_0x5c7673=null),_0x25aa71++;}return _0x37f837;}function tn(_0x3aecda,_0x4184ac,_0x1f2789){if(!_0x1f2789)return!0x1;const _0x3e7bc1=_0x3aecda[_0x2d7d('0x1')](_0x4184ac),_0x158dc7=_0x3aecda['createPositionBefore'](_0x1f2789);return _0x3e7bc1['isTouching'](_0x158dc7);}
23
+ const _0x471b=['end','length','createPositionAt','createPositionBefore','schema','createPositionAfter','push'];(function(_0x4034e0,_0x471b5e){const _0x2d3330=function(_0x2dfe98){while(--_0x2dfe98){_0x4034e0['push'](_0x4034e0['shift']());}};_0x2d3330(++_0x471b5e);}(_0x471b,0x171));const _0x2d33=function(_0x4034e0,_0x471b5e){_0x4034e0=_0x4034e0-0x0;let _0x2d3330=_0x471b[_0x4034e0];return _0x2d3330;};export function getRangesOfBlockGroups(_0x4ccf22,_0x4bb065){let _0x11aeaf,_0x344afd=0x0;const _0x184341=[],_0x572055=_0x4bb065[_0x2d33('0x6')];for(;_0x344afd<_0x4ccf22[_0x2d33('0x3')];){const _0x269d90=_0x4ccf22[_0x344afd],_0x5e8116=_0x4ccf22[_0x344afd+0x1];_0x11aeaf||(_0x11aeaf=_0x4bb065[_0x2d33('0x5')](_0x269d90)),tn(_0x4bb065,_0x269d90,_0x5e8116)||(_0x184341[_0x2d33('0x1')](_0x4bb065['createRange'](_0x11aeaf,_0x572055['isObject'](_0x269d90)?_0x4bb065['createPositionAfter'](_0x269d90):_0x4bb065[_0x2d33('0x4')](_0x269d90,_0x2d33('0x2')))),_0x11aeaf=null),_0x344afd++;}return _0x184341;}function tn(_0x339ee9,_0x5e1bf2,_0x1a0857){if(!_0x1a0857)return!0x1;const _0x1574a4=_0x339ee9[_0x2d33('0x0')](_0x5e1bf2),_0x349451=_0x339ee9[_0x2d33('0x5')](_0x1a0857);return _0x1574a4['isTouching'](_0x349451);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d78=['isInContent','isCollapsed','isTouching','isMultiRange','end','from','isIntersecting','add','getRange','getRanges','getMarkers'];(function(_0x47ec5f,_0x1d78d3){const _0x5dd82d=function(_0x2324ce){while(--_0x2324ce){_0x47ec5f['push'](_0x47ec5f['shift']());}};_0x5dd82d(++_0x1d78d3);}(_0x1d78,0x192));const _0x5dd8=function(_0x47ec5f,_0x1d78d3){_0x47ec5f=_0x47ec5f-0x0;let _0x5dd82d=_0x1d78[_0x47ec5f];return _0x5dd82d;};export default function jt(_0x1ba9b7,_0x8b26c9){const _0x19a415=Array[_0x5dd8('0xa')](_0x1ba9b7[_0x5dd8('0x3')]()),_0x21abac=new Set();for(const _0x2c98e4 of _0x8b26c9)if(_0x2c98e4[_0x5dd8('0x5')])for(const _0x23cd49 of _0x19a415)for(const _0x31dd10 of _0x2c98e4[_0x5dd8('0x4')]()){const _0x233e31=_0x31dd10[_0x5dd8('0x2')]();(_0x23cd49[_0x5dd8('0x0')](_0x233e31)||_0x1ba9b7[_0x5dd8('0x6')]&&!_0x2c98e4[_0x5dd8('0x8')]&&_0x2c98e4['next']&&_0x233e31[_0x5dd8('0x9')][_0x5dd8('0x7')](_0x23cd49['start']))&&_0x21abac[_0x5dd8('0x1')](_0x2c98e4);}return _0x21abac;}
23
+ const _0x30bb=['isCollapsed','isMultiRange','next','isInContent','getMarkers','isTouching','getRange','add','isIntersecting','from','getRanges'];(function(_0x5af044,_0x30bb53){const _0x4fea25=function(_0x18b34a){while(--_0x18b34a){_0x5af044['push'](_0x5af044['shift']());}};_0x4fea25(++_0x30bb53);}(_0x30bb,0x7b));const _0x4fea=function(_0x5af044,_0x30bb53){_0x5af044=_0x5af044-0x0;let _0x4fea25=_0x30bb[_0x5af044];return _0x4fea25;};export default function jt(_0x41005a,_0x3a5d6f){const _0x232f53=Array[_0x4fea('0x7')](_0x41005a[_0x4fea('0x8')]()),_0x5b4982=new Set();for(const _0x77c9fc of _0x3a5d6f)if(_0x77c9fc[_0x4fea('0x1')])for(const _0x1f066f of _0x232f53)for(const _0x49ce54 of _0x77c9fc[_0x4fea('0x2')]()){const _0x1b2d6b=_0x49ce54[_0x4fea('0x4')]();(_0x1f066f[_0x4fea('0x6')](_0x1b2d6b)||_0x41005a[_0x4fea('0x9')]&&!_0x77c9fc[_0x4fea('0xa')]&&_0x77c9fc[_0x4fea('0x0')]&&_0x1b2d6b['end'][_0x4fea('0x3')](_0x1f066f['start']))&&_0x5b4982[_0x4fea('0x5')](_0x77c9fc);}return _0x5b4982;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x121d=['charCodeAt','isArray','number','boolean','string','sort','sign','object','toString'];(function(_0x33f077,_0x121da9){const _0x39fa9a=function(_0x3ecaf0){while(--_0x3ecaf0){_0x33f077['push'](_0x33f077['shift']());}};_0x39fa9a(++_0x121da9);}(_0x121d,0x13e));const _0x39fa=function(_0x33f077,_0x121da9){_0x33f077=_0x33f077-0x0;let _0x39fa9a=_0x121d[_0x33f077];return _0x39fa9a;};export default function pt(_0x47e00e){let _0x2844d3=0x0,_0x280e7d=0x0;for(const _0x2ec02c of fe(_0x47e00e))_0x2844d3=(_0x2844d3<<0x5)-_0x2844d3+_0x2ec02c,_0x2844d3&=_0x2844d3,[_0x2844d3,_0x280e7d]=[_0x280e7d,_0x2844d3];return ce(_0x2844d3)+ce(_0x280e7d);}function*ie(_0x3ca8e7){_0x3ca8e7?_0x39fa('0x0')==typeof _0x3ca8e7?yield 0x1:Array[_0x39fa('0x7')](_0x3ca8e7)?yield*function*(_0x1ac74d){for(const _0x32ff32 of _0x1ac74d)yield*ie(_0x32ff32);}(_0x3ca8e7):_0x39fa('0x4')==typeof _0x3ca8e7?yield*fe(_0x3ca8e7):_0x39fa('0x1')==typeof _0x3ca8e7?yield*ye(_0x3ca8e7):_0x39fa('0x8')==typeof _0x3ca8e7&&(yield _0x3ca8e7):yield 0x0;}function*fe(_0x265879){if(yield de('{'),_0x265879){const _0x42180e=Object['keys'](_0x265879)[_0x39fa('0x2')]();for(const _0x4c27e1 of _0x42180e){yield*ye(_0x4c27e1),yield de(':');const _0x259843=_0x265879[_0x4c27e1];yield*ie(_0x259843);}}yield de('}');}function*ye(_0x3ee0c1){yield de('\x22');for(const _0x396229 of _0x3ee0c1)yield de(_0x396229);yield de('\x22');}function de(_0xcf3376){return _0xcf3376[_0x39fa('0x6')](0x0);}function ce(_0x1cf339){return(_0x1cf339*=Math[_0x39fa('0x3')](_0x1cf339))[_0x39fa('0x5')](0x24);}
23
+ const _0x563d=['object','keys','boolean','isArray','charCodeAt','number','string','toString','sort'];(function(_0x577ae5,_0x563d0c){const _0x48c628=function(_0x5c435a){while(--_0x5c435a){_0x577ae5['push'](_0x577ae5['shift']());}};_0x48c628(++_0x563d0c);}(_0x563d,0x1d3));const _0x48c6=function(_0x577ae5,_0x563d0c){_0x577ae5=_0x577ae5-0x0;let _0x48c628=_0x563d[_0x577ae5];return _0x48c628;};export default function kt(_0x5405ba){let _0x132c7f=0x0,_0x444314=0x0;for(const _0x3ba0e7 of fe(_0x5405ba))_0x132c7f=(_0x132c7f<<0x5)-_0x132c7f+_0x3ba0e7,_0x132c7f&=_0x132c7f,[_0x132c7f,_0x444314]=[_0x444314,_0x132c7f];return ce(_0x132c7f)+ce(_0x444314);}function*ie(_0x1d38ec){_0x1d38ec?_0x48c6('0x3')==typeof _0x1d38ec?yield 0x1:Array[_0x48c6('0x4')](_0x1d38ec)?yield*function*(_0x1c71b5){for(const _0x53e11e of _0x1c71b5)yield*ie(_0x53e11e);}(_0x1d38ec):_0x48c6('0x1')==typeof _0x1d38ec?yield*fe(_0x1d38ec):_0x48c6('0x7')==typeof _0x1d38ec?yield*ye(_0x1d38ec):_0x48c6('0x6')==typeof _0x1d38ec&&(yield _0x1d38ec):yield 0x0;}function*fe(_0x2b693d){if(yield de('{'),_0x2b693d){const _0x3e5376=Object[_0x48c6('0x2')](_0x2b693d)[_0x48c6('0x0')]();for(const _0xf50d61 of _0x3e5376){yield*ye(_0xf50d61),yield de(':');const _0x552841=_0x2b693d[_0xf50d61];yield*ie(_0x552841);}}yield de('}');}function*ye(_0x30ff06){yield de('\x22');for(const _0x2a2805 of _0x30ff06)yield de(_0x2a2805);yield de('\x22');}function de(_0x8a286e){return _0x8a286e[_0x48c6('0x5')](0x0);}function ce(_0x209c3f){return(_0x209c3f*=Math['sign'](_0x209c3f))[_0x48c6('0x8')](0x24);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbd47=['content','value','join','replace','\x20[color\x20','isArray','type','color'];(function(_0x202d3f,_0xbd4712){const _0x14681c=function(_0xc6bf0b){while(--_0xc6bf0b){_0x202d3f['push'](_0x202d3f['shift']());}};_0x14681c(++_0xbd4712);}(_0xbd47,0xeb));const _0x1468=function(_0x202d3f,_0xbd4712){_0x202d3f=_0x202d3f-0x0;let _0x14681c=_0xbd47[_0x202d3f];return _0x14681c;};export function normalizeDescription(_0x45d478){return Array[_0x1468('0x2')](_0x45d478)||(_0x45d478=[_0x45d478]),_0x45d478['map'](_0x2c1542=>{const _0x6cb906=_0x2c1542[_0x1468('0x5')][_0x1468('0x0')](/\*/g,''),_0xc6893=_0x2c1542[_0x1468('0x4')]?_0x1468('0x1')+_0x2c1542['color'][_0x1468('0x6')]+']':'';return'['+_0x2c1542[_0x1468('0x3')]+']\x20'+_0x6cb906+_0xc6893;})[_0x1468('0x7')](';\x20');}
23
+ const _0x3d73=['type','map','value','color','content'];(function(_0x45cd22,_0x3d73f2){const _0x3843b4=function(_0x25457e){while(--_0x25457e){_0x45cd22['push'](_0x45cd22['shift']());}};_0x3843b4(++_0x3d73f2);}(_0x3d73,0x189));const _0x3843=function(_0x45cd22,_0x3d73f2){_0x45cd22=_0x45cd22-0x0;let _0x3843b4=_0x3d73[_0x45cd22];return _0x3843b4;};export function normalizeDescription(_0x4b2341){return Array['isArray'](_0x4b2341)||(_0x4b2341=[_0x4b2341]),_0x4b2341[_0x3843('0x3')](_0x5c9ca5=>{const _0x53d4e1=_0x5c9ca5[_0x3843('0x1')]['replace'](/\*/g,''),_0x2bfc9d=_0x5c9ca5[_0x3843('0x0')]?'\x20[color\x20'+_0x5c9ca5[_0x3843('0x0')][_0x3843('0x4')]+']':'';return'['+_0x5c9ca5[_0x3843('0x2')]+']\x20'+_0x53d4e1+_0x2bfc9d;})['join'](';\x20');}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c70=['deletion','sort','type'];(function(_0x1a461d,_0x2c701e){var _0x29466d=function(_0x3e5ad3){while(--_0x3e5ad3){_0x1a461d['push'](_0x1a461d['shift']());}};_0x29466d(++_0x2c701e);}(_0x2c70,0xd2));var _0x2946=function(_0x1a461d,_0x2c701e){_0x1a461d=_0x1a461d-0x0;var _0x29466d=_0x2c70[_0x1a461d];return _0x29466d;};export default function ts(_0x2722d8){return _0x2722d8[_0x2946('0x1')]((_0x46e86a,_0x4fd1c1)=>_0x2946('0x0')==_0x46e86a['type']&&_0x2946('0x0')!=_0x4fd1c1[_0x2946('0x2')]?-0x1:_0x2946('0x0')!=_0x46e86a[_0x2946('0x2')]&&'deletion'==_0x4fd1c1[_0x2946('0x2')]?0x1:0x0);}
23
+ var _0x1de9=['type','deletion','sort'];(function(_0x26a267,_0x1de947){var _0x2c4882=function(_0x51450b){while(--_0x51450b){_0x26a267['push'](_0x26a267['shift']());}};_0x2c4882(++_0x1de947);}(_0x1de9,0x106));var _0x2c48=function(_0x26a267,_0x1de947){_0x26a267=_0x26a267-0x0;var _0x2c4882=_0x1de9[_0x26a267];return _0x2c4882;};export default function ts(_0x511b7c){return _0x511b7c[_0x2c48('0x1')]((_0x2d2501,_0x165d7a)=>_0x2c48('0x0')==_0x2d2501[_0x2c48('0x2')]&&_0x2c48('0x0')!=_0x165d7a[_0x2c48('0x2')]?-0x1:'deletion'!=_0x2d2501[_0x2c48('0x2')]&&'deletion'==_0x165d7a[_0x2c48('0x2')]?0x1:0x0);}