@ckeditor/ckeditor5-track-changes 31.0.0 → 33.0.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 (108) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +2 -2
  3. package/build/track-changes.js +5 -0
  4. package/build/translations/cs.js +1 -0
  5. package/build/translations/da.js +1 -0
  6. package/build/translations/de.js +1 -0
  7. package/build/translations/el.js +1 -0
  8. package/build/translations/en-au.js +1 -0
  9. package/build/translations/es.js +1 -0
  10. package/build/translations/et.js +1 -0
  11. package/build/translations/fr.js +1 -0
  12. package/build/translations/gl.js +1 -0
  13. package/build/translations/hi.js +1 -0
  14. package/build/translations/hr.js +1 -0
  15. package/build/translations/it.js +1 -0
  16. package/build/translations/nl.js +1 -0
  17. package/build/translations/pl.js +1 -0
  18. package/build/translations/pt-br.js +1 -0
  19. package/build/translations/sk.js +1 -0
  20. package/build/translations/sr-latn.js +1 -0
  21. package/build/translations/sr.js +1 -0
  22. package/build/translations/tk.js +1 -0
  23. package/build/translations/tr.js +1 -0
  24. package/build/translations/zh-cn.js +1 -0
  25. package/build/translations/zh.js +1 -0
  26. package/ckeditor5-metadata.json +3 -0
  27. package/lang/contexts.json +8 -7
  28. package/lang/translations/cs.po +28 -24
  29. package/lang/translations/da.po +387 -0
  30. package/lang/translations/de.po +28 -24
  31. package/lang/translations/el.po +387 -0
  32. package/lang/translations/en-au.po +28 -24
  33. package/lang/translations/en.po +28 -24
  34. package/lang/translations/es.po +62 -58
  35. package/lang/translations/et.po +27 -23
  36. package/lang/translations/fr.po +28 -24
  37. package/lang/translations/gl.po +28 -24
  38. package/lang/translations/hi.po +28 -24
  39. package/lang/translations/hr.po +28 -24
  40. package/lang/translations/it.po +28 -24
  41. package/lang/translations/nl.po +27 -23
  42. package/lang/translations/pl.po +28 -24
  43. package/lang/translations/pt-br.po +50 -46
  44. package/lang/translations/sk.po +28 -24
  45. package/lang/translations/sr-latn.po +28 -24
  46. package/lang/translations/sr.po +28 -24
  47. package/lang/translations/tk.po +28 -24
  48. package/lang/translations/tr.po +28 -24
  49. package/lang/translations/zh-cn.po +28 -24
  50. package/lang/translations/zh.po +370 -0
  51. package/package.json +4 -7
  52. package/src/commands/acceptallsuggestionscommand.js +2 -2
  53. package/src/commands/acceptselectedsuggestionscommand.js +2 -2
  54. package/src/commands/acceptsuggestioncommand.js +2 -2
  55. package/src/commands/discardallsuggestionscommand.js +2 -2
  56. package/src/commands/discardselectedsuggestionscommand.js +2 -2
  57. package/src/commands/discardsuggestioncommand.js +2 -2
  58. package/src/commands/trackchangescommand.js +2 -2
  59. package/src/index.js +23 -0
  60. package/src/integrations/alignment.js +2 -2
  61. package/src/integrations/basicstyles.js +2 -2
  62. package/src/integrations/blockquote.js +2 -2
  63. package/src/integrations/codeblock.js +2 -2
  64. package/src/integrations/comments.js +2 -2
  65. package/src/integrations/deletecommand.js +2 -2
  66. package/src/integrations/entercommand.js +2 -2
  67. package/src/integrations/font.js +2 -2
  68. package/src/integrations/heading.js +2 -2
  69. package/src/integrations/highlight.js +2 -2
  70. package/src/integrations/horizontalline.js +2 -2
  71. package/src/integrations/image.js +2 -2
  72. package/src/integrations/indent.js +2 -2
  73. package/src/integrations/inputcommand.js +2 -2
  74. package/src/integrations/link.js +2 -2
  75. package/src/integrations/list.js +2 -2
  76. package/src/integrations/mediaembed.js +2 -2
  77. package/src/integrations/mention.js +2 -2
  78. package/src/integrations/pagebreak.js +2 -2
  79. package/src/integrations/paragraph.js +2 -2
  80. package/src/integrations/removeformat.js +2 -2
  81. package/src/integrations/restrictededitingmode.js +2 -2
  82. package/src/integrations/shiftentercommand.js +2 -2
  83. package/src/integrations/standardeditingmode.js +2 -2
  84. package/src/integrations/table.js +2 -2
  85. package/src/integrations/tableclipboard.js +2 -2
  86. package/src/integrations/tableheadings.js +2 -2
  87. package/src/integrations/tablemergesplit.js +2 -2
  88. package/src/integrations/title.js +2 -2
  89. package/src/integrations/undo.js +2 -2
  90. package/src/integrations/utils.js +2 -2
  91. package/src/suggestion.js +2 -2
  92. package/src/suggestiondescriptionfactory.js +2 -2
  93. package/src/trackchanges.js +2 -2
  94. package/src/trackchangesdata.js +2 -2
  95. package/src/trackchangesediting.js +2 -2
  96. package/src/trackchangesui.js +2 -2
  97. package/src/ui/suggestioncontroller.js +2 -2
  98. package/src/ui/view/basesuggestionthreadview.js +2 -2
  99. package/src/ui/view/suggestionthreadview.js +2 -2
  100. package/src/utils/getselectedsuggestions.js +2 -2
  101. package/src/utils/hashobject.js +2 -2
  102. package/src/utils/normalizedescription.js +2 -2
  103. package/src/utils/sortsuggestions.js +2 -2
  104. package/theme/icons/track-changes-accept.svg +1 -1
  105. package/theme/icons/track-changes-discard.svg +1 -1
  106. package/theme/icons/track-changes.svg +1 -1
  107. package/theme/suggestion.css +10 -0
  108. package/theme/suggestionmarker.css +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x92e352}from'ckeditor5/src/core';import _0x3369cf from'./trackchangesediting';import _0xf79522 from'@ckeditor/ckeditor5-comments/src/comments/commentsrepository';import Ct from'./ui/suggestioncontroller';import Tt from'./ui/view/suggestionthreadview';import _0x6e44f5 from'@ckeditor/ckeditor5-collaboration-core/src/users';import xt from'@ckeditor/ckeditor5-comments/src/annotations/editorannotations';import{Collection as Et}from'ckeditor5/src/utils';import{Model as At,SplitButtonView as Nt,createDropdown as Ut,addListToDropdown as Wt}from'ckeditor5/src/ui';import _t from'@ckeditor/ckeditor5-comments/src/utils/getdatetimeformatter';import Ot from'@ckeditor/ckeditor5-comments/src/utils/getmarkerdomelement';import Gt from'../theme/icons/track-changes.svg';import{debounce as Mt}from'lodash-es';import Pt from'@ckeditor/ckeditor5-comments/src/annotations/view/annotationview';import Vt from'@ckeditor/ckeditor5-comments/src/annotations/annotation';import qt from'@ckeditor/ckeditor5-comments/src/annotations/annotations';export default class f extends _0x92e352{static get['requires'](){return[qt,xt,_0x3369cf,_0xf79522,_0x6e44f5];}static get['pluginName'](){return'TrackChangesUI';}constructor(_0x528969){super(_0x528969),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_debouncedHandlers']=new Map();const _0x4e961e=this['editor']['config'];_0x4e961e['define']('trackChanges.SuggestionThreadView',Tt),_0x4e961e['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x4e961e['get']('trackChanges.disableComments');}['init'](){const _0x4be068=this['editor'],_0x1dd4e2=_0x4be068['plugins']['get'](_0x3369cf),_0x32c326=_0x4be068['plugins']['get'](qt),_0x117388=_0x4be068['plugins']['get'](xt),_0x5f4395=_0x4be068['plugins']['get'](_0xf79522);_0x4be068['ui']['componentFactory']['add']('trackChanges',_0x5a0e81=>this['_createUIButton'](_0x5a0e81)),_0x117388['addSourceCollector'](()=>{const _0x422631=[];for(const [_0x53d093,_0x2586f4]of Array['from'](this['_suggestionToController'])){const _0x492e72=_0x53d093['getAllAdjacentSuggestions'](),_0x146464=[];for(const _0x403eb5 of _0x492e72){if(!_0x403eb5['isInContent'])continue;if(_0x403eb5['isMultiRange']){_0x146464['push'](..._0x403eb5['getRanges']());continue;}const _0x20e1bb=_0x403eb5['getFirstRange']();if(_0x146464['length']>0x0){const _0x1a46e5=_0x146464[0x0]['getJoined'](_0x20e1bb);if(_0x1a46e5){_0x146464[0x0]=_0x1a46e5;continue;}}_0x146464['push'](_0x20e1bb);}_0x422631['push']([_0x2586f4['view'],_0x146464]);}return _0x422631;}),this['listenTo'](_0x1dd4e2,'suggestionLoaded',(_0x29a040,_0x78547f)=>{let _0x5b98ac=!0x1;const _0x448863=Mt(_0x4eb85c=>{_0x5b98ac||_0x4eb85c?_0x5b98ac&&_0x4eb85c&&(this['_destroyController'](_0x78547f),_0x117388['refreshSelectedViews'](),_0x5b98ac=!0x1):(this['_initializeController'](_0x78547f),_0x117388['refreshSelectedViews'](),_0x5b98ac=!0x0);},0xa);this['_debouncedHandlers']['set'](_0x78547f,_0x448863),this['listenTo'](_0x78547f,'change:previous',(_0xb8a3f4,_0x5e6f22,_0x2d172b,_0xab7b81)=>{_0x78547f['isInContent']&&(null==_0x2d172b?(this['_updateController'](_0xab7b81['head']),_0x448863(!0x1)):(this['_updateController'](_0x2d172b['head']),_0x448863(!0x0)));}),null===_0x78547f['previous']?_0x448863(!0x1):this['_updateController'](_0x78547f['head']);}),this['listenTo'](_0x1dd4e2,'suggestionUnloaded',(_0x33a8f8,_0x2048b8,_0x1d3b57)=>{this['stopListening'](_0x2048b8,'change:previous'),this['_debouncedHandlers']['get'](_0x2048b8)['cancel'](),this['_debouncedHandlers']['delete'](_0x2048b8);const _0x47cf6f=_0x1d3b57?_0x1d3b57['head']:_0x2048b8,_0xc75bdf=this['_suggestionToController']['get'](_0x47cf6f);null!==_0x1d3b57&&this['_updateController'](_0x47cf6f),null===_0x1d3b57&&_0xc75bdf&&this['_destroyController'](_0x2048b8);}),this['listenTo'](_0x1dd4e2,'suggestionChanged',(_0x5a2b3e,_0x39ebb2)=>{this['_updateController'](_0x39ebb2);}),this['listenTo'](_0x32c326,'change:activeAnnotations',(_0x4315c8,_0x1e3e9d,_0x1a11ef)=>{const _0x321a16=Array['from'](_0x1a11ef,_0x35db69=>_0x35db69['innerView'])['filter'](_0x45d884=>this['_viewToController']['has'](_0x45d884)),_0x4cdec9=[];for(const _0x21628f of _0x321a16){const _0x31b564=this['_viewToController']['get'](_0x21628f)['model']['getAllAdjacentSuggestions']();_0x4cdec9['push'](..._0x31b564['reduce']((_0x397eb1,_0x371eb0)=>[..._0x397eb1,..._0x371eb0['getMarkerNames']()],[]));}_0x1dd4e2['activeMarkers']=_0x4cdec9;}),this['listenTo'](_0x5f4395,'addComment',(_0xe6daf6,{threadId:_0x57a03b,isFromAdapter:_0x127f70})=>{if(_0x127f70||!_0x1dd4e2['hasSuggestion'](_0x57a03b))return;const _0x373e7f=_0x1dd4e2['getSuggestion'](_0x57a03b);this['_suggestionToController']['get'](_0x373e7f)['view']['focus']();},{'priority':'lowest'});}['_createUIButton'](_0x645247){const _0x2d6f5d=Ut(_0x645247,Nt),_0x1cbaea=this['editor']['commands']['get']('trackChanges'),{t:t}=this['editor'];_0x2d6f5d['buttonView']['set']({'tooltip':t('Track\x20changes'),'label':t('Track\x20changes'),'icon':Gt}),_0x2d6f5d['buttonView']['bind']('isOn')['to'](_0x1cbaea,'value'),_0x2d6f5d['buttonView']['on']('execute',()=>_0x1cbaea['execute']());const _0x4d816b=new Et(),_0x57b81d=[{'type':'switchbutton','model':{'withText':!0x0,'label':t('Track\x20changes'),'commandName':'trackChanges'}},{'type':'separator'},{'type':'button','model':{'withText':!0x0,'label':t('Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions'}}];for(const _0x2bf6d6 of _0x57b81d){const _0x54bd2a={'type':_0x2bf6d6['type']};if(_0x2bf6d6['model']){const _0x423a3e=new At(_0x2bf6d6['model']),_0x1a4b53=this['editor']['commands']['get'](_0x423a3e['commandName']);_0x423a3e['bind']('isOn','isEnabled')['to'](_0x1a4b53,'value','isEnabled'),_0x54bd2a['model']=_0x423a3e;}_0x4d816b['add'](_0x54bd2a);}Wt(_0x2d6f5d,_0x4d816b);const _0x23fe5c=_0x57b81d['filter'](_0x41ccff=>null!=_0x41ccff['model'])['map'](_0x32f813=>this['editor']['commands']['get'](_0x32f813['model']['commandName']));return _0x2d6f5d['buttonView']['actionView']['unbind']('isEnabled'),_0x2d6f5d['buttonView']['arrowView']['unbind']('isEnabled'),_0x2d6f5d['buttonView']['actionView']['bind']('isEnabled')['to'](_0x1cbaea,'isEnabled'),_0x2d6f5d['buttonView']['arrowView']['bind']('isEnabled')['toMany'](_0x23fe5c,'isEnabled',(..._0x2ec51c)=>_0x2ec51c['some'](_0x13d372=>_0x13d372)),_0x2d6f5d['on']('execute',_0x45cd7f=>this['editor']['execute'](_0x45cd7f['source']['commandName'])),_0x2d6f5d;}['_initializeController'](_0x1771c3){const _0x537f8c=this['editor'],_0x2f8ba3=_0x537f8c['config'],_0x11a606=_0x537f8c['plugins']['get'](qt),_0x127dbc=_0x1771c3['getAllAdjacentSuggestions']()['filter'](_0x51f8af=>_0x51f8af['isInContent']),_0x272f78=_0x537f8c['plugins']['get']('Users')['me'],_0x18f61e=_0x537f8c['commands']['get']('acceptSuggestion'),_0x4e6ce3=_0x537f8c['commands']['get']('discardSuggestion'),_0x30299b=new(0x0,(_0x2f8ba3['get']('trackChanges'))['SuggestionThreadView'])(_0x537f8c['locale'],_0x1771c3,_0x272f78,{'disableComments':this['_disableComments'],'editorConfig':_0x2f8ba3['get']('comments.editorConfig'),'maxCommentsWhenCollapsed':_0x2f8ba3['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x2f8ba3['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x2f8ba3['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_t(_0x2f8ba3['get']('locale')),'CommentView':_0x2f8ba3['get']('comments')['CommentView']}),_0x405b30=new Ct(_0x1771c3,_0x30299b,_0x18f61e,_0x4e6ce3);_0x30299b['descriptionParts']=_0x537f8c['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['getDescriptions'](_0x127dbc),this['_suggestionToController']['set'](_0x1771c3,_0x405b30),this['_viewToController']['set'](_0x30299b,_0x405b30);const _0x4d5bee=new Pt(this['editor']['locale'],_0x30299b);_0x4d5bee['bind']('isDirty')['to'](_0x30299b,'isDirty'),_0x4d5bee['bind']('length')['to'](_0x30299b),_0x4d5bee['bind']('type')['to'](_0x30299b,'type',_0x2adc0a=>'suggestion-'+_0x2adc0a);const _0xc41d42=new Vt({'view':_0x4d5bee,'target':()=>{const _0x1228dc=_0x127dbc[0x0]['getFirstMarker']();if(!_0x1228dc)return null;const _0x35f176=_0x1228dc['getRange']()['getContainedElement']();return _0x35f176&&!_0x537f8c['editing']['mapper']['toViewElement'](_0x35f176)?null:Ot(_0x537f8c['editing'],_0x1228dc)||null;},'type':()=>'suggestion-'+_0x405b30['view']['type']});_0x11a606['add'](_0xc41d42);const _0x22f3a0=_0x537f8c['plugins']['get']('PendingActions');let _0x294ec9;_0x30299b['on']('change:isDirty',(_0x4e0780,_0x5d8373,_0x3c1f6b)=>{if(_0x3c1f6b){const t=this['editor']['locale']['t'];_0x294ec9=_0x22f3a0['add'](t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'}));}else _0x22f3a0['remove'](_0x294ec9),_0x294ec9=null;});}['_destroyController'](_0x19212f){const _0x74a023=this['editor']['plugins']['get']('Annotations'),_0x36f552=this['_suggestionToController']['get'](_0x19212f),_0x599dcb=_0x36f552['view'],_0x201d29=_0x74a023['getByInnerView'](_0x599dcb);_0x74a023['remove'](_0x201d29),this['_suggestionToController']['delete'](_0x19212f),this['_viewToController']['delete'](_0x599dcb),_0x36f552['destroy'](),_0x599dcb['destroy']();}['_updateController'](_0x238b17){if(!_0x238b17['isInContent']||!this['_suggestionToController']['has'](_0x238b17))return;const _0x248b8b=this['editor']['plugins']['get']('TrackChangesEditing'),_0x16dd34=this['_suggestionToController']['get'](_0x238b17),_0x37a119=_0x238b17['getAllAdjacentSuggestions']();_0x16dd34['view']['descriptionParts']=_0x248b8b['_descriptionFactory']['getDescriptions'](_0x37a119);}['destroy'](){super['destroy']();for(const _0x6a8cf9 of this['_suggestionToController']['keys']())this['_destroyController'](_0x6a8cf9);for(const _0x4759ff of this['_debouncedHandlers']['values']())_0x4759ff['cancel']();this['_debouncedHandlers']['clear']();}}
23
+ import{Plugin as _0x55ca1d}from'ckeditor5/src/core';import{Collection as Ct}from'ckeditor5/src/utils';import{Model as bt,SplitButtonView as Tt,createDropdown as At,addListToDropdown as xt}from'ckeditor5/src/ui';import{Users as _0x7113d2,getDateTimeFormatter as Et,getMarkerDomElement as St}from'ckeditor5-collaboration/src/collaboration-core';import _0x3d2550 from'./trackchangesediting';import vt from'./ui/suggestioncontroller';import Nt from'./ui/view/suggestionthreadview';import It from'../theme/icons/track-changes.svg';import{debounce as Dt}from'lodash-es';export default class m extends _0x55ca1d{static get['requires'](){return[_0x3d2550,_0x7113d2,'CommentsRepository','Annotations','EditorAnnotations'];}static get['pluginName'](){return'TrackChangesUI';}constructor(_0x21683c){super(_0x21683c),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_debouncedHandlers']=new Map();const _0x1a95bb=this['editor']['config'];_0x1a95bb['define']('trackChanges.SuggestionThreadView',Nt),_0x1a95bb['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x1a95bb['get']('trackChanges.disableComments');}['init'](){const _0x2420d4=this['editor'],_0x2beb6a=_0x2420d4['plugins']['get'](_0x3d2550),_0x1a5600=_0x2420d4['plugins']['get']('Annotations'),_0x15a4d3=_0x2420d4['plugins']['get']('EditorAnnotations'),_0x3b3a80=_0x2420d4['plugins']['get']('CommentsRepository');_0x2420d4['ui']['componentFactory']['add']('trackChanges',_0x1f8adc=>this['_createUIButton'](_0x1f8adc)),_0x15a4d3['addSourceCollector'](()=>{const _0x3e2be6=[];for(const [_0x4649d1,_0x21cd0e]of Array['from'](this['_suggestionToController'])){const _0x4a475f=_0x4649d1['getAllAdjacentSuggestions'](),_0x556173=[];for(const _0x3ba956 of _0x4a475f){if(!_0x3ba956['isInContent'])continue;if(_0x3ba956['isMultiRange']){_0x556173['push'](..._0x3ba956['getRanges']());continue;}const _0x49371f=_0x3ba956['getFirstRange']();if(_0x556173['length']>0x0){const _0xc5160e=_0x556173[0x0]['getJoined'](_0x49371f);if(_0xc5160e){_0x556173[0x0]=_0xc5160e;continue;}}_0x556173['push'](_0x49371f);}_0x3e2be6['push']([_0x21cd0e['view'],_0x556173]);}return _0x3e2be6;}),this['listenTo'](_0x2beb6a,'suggestionLoaded',(_0x2e21f7,_0x1bf71b)=>{let _0x4fe29a=!0x1;const _0x5848a0=Dt(_0x3863de=>{_0x4fe29a||_0x3863de?_0x4fe29a&&_0x3863de&&(this['_destroyController'](_0x1bf71b),_0x15a4d3['refreshSelectedViews'](),_0x4fe29a=!0x1):(this['_initializeController'](_0x1bf71b),_0x15a4d3['refreshSelectedViews'](),_0x4fe29a=!0x0);},0xa);this['_debouncedHandlers']['set'](_0x1bf71b,_0x5848a0),this['listenTo'](_0x1bf71b,'change:previous',(_0xf4cd6d,_0x2f749f,_0x55f398,_0x3d2a21)=>{_0x1bf71b['isInContent']&&(null==_0x55f398?(this['_updateController'](_0x3d2a21['head']),_0x5848a0(!0x1)):(this['_updateController'](_0x55f398['head']),_0x5848a0(!0x0)));}),null===_0x1bf71b['previous']?_0x5848a0(!0x1):this['_updateController'](_0x1bf71b['head']);}),this['listenTo'](_0x2beb6a,'suggestionUnloaded',(_0x1c6a63,_0x6e7bec,_0x4c6976)=>{this['stopListening'](_0x6e7bec,'change:previous'),this['_debouncedHandlers']['get'](_0x6e7bec)['cancel'](),this['_debouncedHandlers']['delete'](_0x6e7bec);const _0x528a4b=_0x4c6976?_0x4c6976['head']:_0x6e7bec,_0x5985a4=this['_suggestionToController']['get'](_0x528a4b);null!==_0x4c6976&&this['_updateController'](_0x528a4b),null===_0x4c6976&&_0x5985a4&&this['_destroyController'](_0x6e7bec);}),this['listenTo'](_0x2beb6a,'suggestionChanged',(_0x45f29f,_0xcb25e5)=>{this['_updateController'](_0xcb25e5);}),this['listenTo'](_0x1a5600,'change:activeAnnotations',(_0x127996,_0x6d60a3,_0x4296df)=>{const _0x2163fe=Array['from'](_0x4296df,_0x10249e=>_0x10249e['innerView'])['filter'](_0x394002=>this['_viewToController']['has'](_0x394002)),_0x2d661f=[];for(const _0x5caefc of _0x2163fe){const _0x3c7179=this['_viewToController']['get'](_0x5caefc)['model']['getAllAdjacentSuggestions']();_0x2d661f['push'](..._0x3c7179['reduce']((_0x5b87ee,_0x52486d)=>[..._0x5b87ee,..._0x52486d['getMarkerNames']()],[]));}_0x2beb6a['activeMarkers']=_0x2d661f;}),this['listenTo'](_0x3b3a80,'addComment',(_0xb1adea,{threadId:_0x25cfb0,isFromAdapter:_0x560c48})=>{if(_0x560c48||!_0x2beb6a['hasSuggestion'](_0x25cfb0))return;const _0x24c36a=_0x2beb6a['getSuggestion'](_0x25cfb0);this['_suggestionToController']['get'](_0x24c36a)['view']['focus']();},{'priority':'lowest'});}['_createUIButton'](_0x1e4d52){const _0x53e5ea=At(_0x1e4d52,Tt),_0x439127=this['editor']['commands']['get']('trackChanges'),{t:t}=this['editor'];_0x53e5ea['buttonView']['set']({'tooltip':t('Track\x20changes'),'label':t('Track\x20changes'),'icon':It}),_0x53e5ea['buttonView']['bind']('isOn')['to'](_0x439127,'value'),_0x53e5ea['buttonView']['on']('execute',()=>_0x439127['execute']());const _0x1e3dd9=new Ct(),_0x4a5394=[{'type':'switchbutton','model':{'withText':!0x0,'label':t('Track\x20changes'),'commandName':'trackChanges'}},{'type':'separator'},{'type':'button','model':{'withText':!0x0,'label':t('Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions'}},{'type':'button','model':{'withText':!0x0,'label':t('Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions'}}];for(const _0x1291ea of _0x4a5394){const _0x45ddf4={'type':_0x1291ea['type']};if(_0x1291ea['model']){const _0x268c75=new bt(_0x1291ea['model']),_0x175984=this['editor']['commands']['get'](_0x268c75['commandName']);_0x268c75['bind']('isOn','isEnabled')['to'](_0x175984,'value','isEnabled'),_0x45ddf4['model']=_0x268c75;}_0x1e3dd9['add'](_0x45ddf4);}xt(_0x53e5ea,_0x1e3dd9);const _0x2757ac=_0x4a5394['filter'](_0x2408b1=>null!=_0x2408b1['model'])['map'](_0x27e9b2=>this['editor']['commands']['get'](_0x27e9b2['model']['commandName']));return _0x53e5ea['buttonView']['actionView']['unbind']('isEnabled'),_0x53e5ea['buttonView']['arrowView']['unbind']('isEnabled'),_0x53e5ea['buttonView']['actionView']['bind']('isEnabled')['to'](_0x439127,'isEnabled'),_0x53e5ea['buttonView']['arrowView']['bind']('isEnabled')['toMany'](_0x2757ac,'isEnabled',(..._0x8cc447)=>_0x8cc447['some'](_0x2b9399=>_0x2b9399)),_0x53e5ea['on']('execute',_0x458858=>this['editor']['execute'](_0x458858['source']['commandName'])),_0x53e5ea;}['_initializeController'](_0xdb0cd){const _0x315e7b=this['editor'],_0x27c82f=_0x315e7b['config'],_0x91d998=_0x315e7b['plugins']['get']('Annotations'),_0x3762a4=_0x315e7b['plugins']['get']('CommentsRepository'),_0x402e20=_0xdb0cd['getAllAdjacentSuggestions']()['filter'](_0x590ceb=>_0x590ceb['isInContent']),_0x1d128c=_0x315e7b['plugins']['get'](_0x7113d2)['me'],_0x64e3f9=_0x315e7b['commands']['get']('acceptSuggestion'),_0x229502=_0x315e7b['commands']['get']('discardSuggestion'),_0x385b0e=_0x27c82f['get']('trackChanges')['SuggestionThreadView'],{CommentsListView:_0x328863,CommentThreadInputView:_0x43f2f5}=_0x315e7b['plugins']['get']('CommentsUI'),_0x2217b0=new _0x385b0e(_0x315e7b['locale'],_0xdb0cd,_0x1d128c,{'disableComments':this['_disableComments'],'editorConfig':_0x27c82f['get']('comments.editorConfig'),'maxCommentsWhenCollapsed':_0x27c82f['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x27c82f['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x27c82f['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':Et(_0x27c82f['get']('locale')),'CommentView':_0x27c82f['get']('comments')['CommentView'],'CommentsListView':_0x328863,'CommentThreadInputView':_0x43f2f5}),_0x133b44=_0x3762a4['createCommentThreadController'](_0xdb0cd['commentThread'],_0x2217b0),_0x4b262f=new vt(_0xdb0cd,_0x2217b0,_0x64e3f9,_0x229502,_0x133b44);_0x2217b0['descriptionParts']=_0x315e7b['plugins']['get']('TrackChangesEditing')['_descriptionFactory']['getDescriptions'](_0x402e20),this['_suggestionToController']['set'](_0xdb0cd,_0x4b262f),this['_viewToController']['set'](_0x2217b0,_0x4b262f);const _0xad6752=_0x91d998['createAnnotationView'](this['editor']['locale'],_0x2217b0);_0xad6752['bind']('isDirty')['to'](_0x2217b0,'isDirty'),_0xad6752['bind']('length')['to'](_0x2217b0),_0xad6752['bind']('type')['to'](_0x2217b0,'type',_0x297505=>'suggestion-'+_0x297505);const _0x4ebe8d=_0x91d998['createAnnotation']({'view':_0xad6752,'target':()=>{const _0xbb5e9a=_0x402e20[0x0]['getFirstMarker']();if(!_0xbb5e9a)return null;const _0x5955d3=_0xbb5e9a['getRange']()['getContainedElement']();return _0x5955d3&&!_0x315e7b['editing']['mapper']['toViewElement'](_0x5955d3)?null:St(_0x315e7b['editing'],_0xbb5e9a)||null;},'type':()=>'suggestion-'+_0x4b262f['view']['type']});_0x91d998['add'](_0x4ebe8d);const _0x444901=_0x315e7b['plugins']['get']('PendingActions');let _0x43c7b5;_0x2217b0['on']('change:isDirty',(_0x465b4a,_0x116877,_0x5cfcd9)=>{if(_0x5cfcd9){const t=this['editor']['locale']['t'];_0x43c7b5=_0x444901['add'](t({'string':'Unsaved\x20change\x20in\x20suggestion.','id':'PENDING_ACTION_SUGGESTION'}));}else _0x444901['remove'](_0x43c7b5),_0x43c7b5=null;});}['_destroyController'](_0x3a3be6){const _0x34c6b0=this['editor']['plugins']['get']('Annotations'),_0x2ba787=this['_suggestionToController']['get'](_0x3a3be6),_0x3ca7d0=_0x2ba787['view'],_0x4aba9a=_0x34c6b0['getByInnerView'](_0x3ca7d0);_0x4aba9a&&_0x34c6b0['remove'](_0x4aba9a),this['_suggestionToController']['delete'](_0x3a3be6),this['_viewToController']['delete'](_0x3ca7d0),_0x2ba787['destroy'](),_0x3ca7d0['destroy']();}['_updateController'](_0x1e1ec3){if(!_0x1e1ec3['isInContent']||!this['_suggestionToController']['has'](_0x1e1ec3))return;const _0x7849e1=this['editor']['plugins']['get']('TrackChangesEditing'),_0x1fa193=this['_suggestionToController']['get'](_0x1e1ec3),_0x3713b8=_0x1e1ec3['getAllAdjacentSuggestions']();_0x1fa193['view']['descriptionParts']=_0x7849e1['_descriptionFactory']['getDescriptions'](_0x3713b8);}['destroy'](){super['destroy']();for(const _0x236329 of this['_suggestionToController']['keys']())this['_destroyController'](_0x236329);for(const _0x5823ed of this['_debouncedHandlers']['values']())_0x5823ed['cancel']();this['_debouncedHandlers']['clear']();}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xa4cf=['discardSuggestion','_discardCommand','bind','isEnabled','listenTo','acceptSuggestion','commentThread','model','view','_acceptCommand','execute','unbind','destroy'];(function(_0x55a720,_0xa4cf36){var _0x2eed4b=function(_0x57bf08){while(--_0x57bf08){_0x55a720['push'](_0x55a720['shift']());}};_0x2eed4b(++_0xa4cf36);}(_0xa4cf,0x1cc));var _0x2eed=function(_0x55a720,_0xa4cf36){_0x55a720=_0x55a720-0x0;var _0x2eed4b=_0xa4cf[_0x55a720];return _0x2eed4b;};import{ObservableMixin as _0x311cd6,mix as _0x31193f}from'ckeditor5/src/utils';import _0x2411c0 from'@ckeditor/ckeditor5-comments/src/comments/ui/commentthreadcontroller';export default class Ct{constructor(_0x3627ce,_0x19e154,_0x3e39fd,_0x914e4){this['model']=_0x3627ce,this[_0x2eed('0x3')]=_0x19e154,this['commentThreadController']=new _0x2411c0(_0x3627ce[_0x2eed('0x1')],_0x19e154),this[_0x2eed('0x4')]=_0x3e39fd,this[_0x2eed('0x9')]=_0x914e4,this[_0x2eed('0x3')][_0x2eed('0xa')](_0x2eed('0xb'))['to'](this[_0x2eed('0x4')]),this[_0x2eed('0xc')](_0x19e154,'acceptSuggestion',()=>this[_0x2eed('0x0')]()),this['listenTo'](_0x19e154,_0x2eed('0x8'),()=>this[_0x2eed('0x8')]());}[_0x2eed('0x0')](){this['_acceptCommand'][_0x2eed('0x5')](this[_0x2eed('0x2')]['id']);}[_0x2eed('0x8')](){this[_0x2eed('0x9')][_0x2eed('0x5')](this[_0x2eed('0x2')]['id']);}[_0x2eed('0x7')](){this['view'][_0x2eed('0x6')]('isEnabled'),this['stopListening'](),this['commentThreadController'][_0x2eed('0x7')]();}}_0x31193f(Ct,_0x311cd6);
23
+ var _0xbb6c=['isEnabled','unbind','destroy','listenTo','_acceptCommand','_discardCommand','discardSuggestion','model','execute','acceptSuggestion','commentThreadController','bind','view','stopListening'];(function(_0xdf551b,_0xbb6ce8){var _0x1e0a99=function(_0x438b81){while(--_0x438b81){_0xdf551b['push'](_0xdf551b['shift']());}};_0x1e0a99(++_0xbb6ce8);}(_0xbb6c,0x9e));var _0x1e0a=function(_0xdf551b,_0xbb6ce8){_0xdf551b=_0xdf551b-0x0;var _0x1e0a99=_0xbb6c[_0xdf551b];return _0x1e0a99;};import{ObservableMixin as _0x46aa6f,mix as _0x1033ca}from'ckeditor5/src/utils';export default class vt{constructor(_0x501884,_0x1fa053,_0x30c6d1,_0x2d8355,_0x16d74c){this[_0x1e0a('0x3')]=_0x501884,this[_0x1e0a('0x8')]=_0x1fa053,this[_0x1e0a('0x6')]=_0x16d74c,this[_0x1e0a('0x0')]=_0x30c6d1,this['_discardCommand']=_0x2d8355,this[_0x1e0a('0x8')][_0x1e0a('0x7')](_0x1e0a('0xa'))['to'](this['_acceptCommand']),this['listenTo'](_0x1fa053,_0x1e0a('0x5'),()=>this[_0x1e0a('0x5')]()),this[_0x1e0a('0xd')](_0x1fa053,'discardSuggestion',()=>this[_0x1e0a('0x2')]());}['acceptSuggestion'](){this[_0x1e0a('0x0')][_0x1e0a('0x4')](this[_0x1e0a('0x3')]['id']);}[_0x1e0a('0x2')](){this[_0x1e0a('0x1')]['execute'](this['model']['id']);}[_0x1e0a('0xc')](){this[_0x1e0a('0x8')][_0x1e0a('0xb')](_0x1e0a('0xa')),this[_0x1e0a('0x9')](),this[_0x1e0a('0x6')][_0x1e0a('0xc')]();}}_0x1033ca(vt,_0x46aa6f);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16ea=['_model','commentThread','disableComments','isDirty','_createCommentViews','CommentView','isEnabled','createdAt','removeComment','commentInputView','value','element','submit','assign','_createCommentThreadInputView','commentThreadInputView','bind','showInput','_localUser','descriptionParts','set','_config','disabledSubmit','updateComment','isActive','setData','focus','editorConfig','destroy','fire','locale','delegate','length','isReadOnly','commentsListView','editor','hasDirtyComment'];(function(_0x109014,_0x16eac2){const _0x346e6a=function(_0x20dd1f){while(--_0x20dd1f){_0x109014['push'](_0x109014['shift']());}};_0x346e6a(++_0x16eac2);}(_0x16ea,0xa9));const _0x346e=function(_0x109014,_0x16eac2){_0x109014=_0x109014-0x0;let _0x346e6a=_0x16ea[_0x109014];return _0x346e6a;};import{View as _0x1fde77}from'ckeditor5/src/ui';import _0x458304 from'@ckeditor/ckeditor5-comments/src/comments/ui/view/commentslistview';import _0x49bcd5 from'@ckeditor/ckeditor5-comments/src/comments/ui/view/commentthreadinputview';export default class ei extends _0x1fde77{constructor(_0x15154f,_0x33c6dc,_0xf2274d,_0x5eb686){super(_0x15154f),this[_0x346e('0xd')]=null,this['commentThreadInputView']=null,this[_0x346e('0x24')]('isActive',!0x1),this[_0x346e('0x24')](_0x346e('0x17'),_0x33c6dc['createdAt']),this[_0x346e('0x20')](_0x346e('0x17'))['to'](_0x33c6dc),this[_0x346e('0x24')](_0x346e('0x23'),[]),this[_0x346e('0x24')](_0x346e('0x13'),!0x1),this[_0x346e('0x24')](_0x346e('0x16'),!0x1),this[_0x346e('0x10')]=_0x33c6dc,this[_0x346e('0x22')]=_0xf2274d,this['_config']=_0x5eb686,_0x5eb686[_0x346e('0x12')]?this['set'](_0x346e('0xb'),0x1):this[_0x346e('0x14')]();}[_0x346e('0x5')](){this[_0x346e('0x1b')][_0x346e('0x5')]();}[_0x346e('0x7')](){this['isDirty']=!0x1,this[_0x346e('0xd')]&&this[_0x346e('0xd')][_0x346e('0x7')](),this[_0x346e('0x1f')]&&this[_0x346e('0x1f')][_0x346e('0x7')](),super['destroy']();}[_0x346e('0x14')](){this[_0x346e('0xd')]=new _0x458304(this[_0x346e('0x9')],this['_model'][_0x346e('0x11')],Object[_0x346e('0x1d')]({'CommentView':this[_0x346e('0x0')][_0x346e('0x15')]},this[_0x346e('0x0')])),this['commentsListView'][_0x346e('0xa')](_0x346e('0x18'))['to'](this),this['commentsListView'][_0x346e('0xa')](_0x346e('0x2'))['to'](this),this[_0x346e('0xd')]['bind'](_0x346e('0x3'))['to'](this),this[_0x346e('0x24')](_0x346e('0xb'),this[_0x346e('0xd')][_0x346e('0xb')]+0x1),this[_0x346e('0x20')](_0x346e('0xb'))['to'](this[_0x346e('0xd')],_0x346e('0xb'),_0x58576a=>_0x58576a+0x1),this[_0x346e('0x1f')]=this[_0x346e('0x1e')](),this['on'](_0x346e('0x18'),()=>this[_0x346e('0x5')]()),this['bind'](_0x346e('0x13'))['to'](this['commentsListView'],_0x346e('0xf'),this['commentThreadInputView'][_0x346e('0x19')],_0x346e('0x1a'),(_0x1a443f,_0x37a872)=>_0x1a443f||!!_0x37a872);}['_createCommentThreadInputView'](){const _0x2d08f6=new _0x49bcd5(this[_0x346e('0x9')],this[_0x346e('0x22')],this[_0x346e('0x0')][_0x346e('0x6')]),_0x138c09=_0x2d08f6[_0x346e('0x19')];return _0x2d08f6[_0x346e('0x20')](_0x346e('0x21'))['to'](this,_0x346e('0x3'),this[_0x346e('0x10')]['commentThread'],_0x346e('0xc'),_0x138c09,'value',(_0x2128f6,_0x568140,_0x40bd01)=>!!_0x40bd01||_0x2128f6&&!_0x568140),_0x138c09['on'](_0x346e('0x1c'),(_0x25fe2f,_0x10afb5)=>{this[_0x346e('0x8')]('addComment',_0x10afb5),_0x138c09[_0x346e('0xe')][_0x346e('0x4')]('');}),_0x138c09['on']('cancel',()=>this[_0x346e('0x5')]()),_0x138c09[_0x346e('0x20')](_0x346e('0x1'))['to'](this['_model'][_0x346e('0x11')],'isReadOnly'),_0x2d08f6;}}
23
+ const _0x5e27=['element','locale','_localUser','_createCommentViews','isReadOnly','delegate','isActive','fire','editor','destroy','isDirty','CommentView','addComment','cancel','focus','_config','commentsListView','commentThread','showInput','updateComment','set','value','length','disabledSubmit','assign','bind','_createCommentThreadInputView','isEnabled','commentThreadInputView','disableComments','removeComment','_model','createdAt','hasDirtyComment','editorConfig'];(function(_0x365d84,_0x5e27b8){const _0x397490=function(_0x3aa728){while(--_0x3aa728){_0x365d84['push'](_0x365d84['shift']());}};_0x397490(++_0x5e27b8);}(_0x5e27,0x148));const _0x3974=function(_0x365d84,_0x5e27b8){_0x365d84=_0x365d84-0x0;let _0x397490=_0x5e27[_0x365d84];return _0x397490;};import{View as _0x8c03cd}from'ckeditor5/src/ui';export default class Ht extends _0x8c03cd{constructor(_0x18dd83,_0xf4da9f,_0x169b92,_0x3bfd70){super(_0x18dd83),this[_0x3974('0x3')]=null,this[_0x3974('0xf')]=null,this[_0x3974('0x7')](_0x3974('0x1c'),!0x1),this[_0x3974('0x7')](_0x3974('0x13'),_0xf4da9f['createdAt']),this[_0x3974('0xc')](_0x3974('0x13'))['to'](_0xf4da9f),this[_0x3974('0x7')]('descriptionParts',[]),this['set'](_0x3974('0x20'),!0x1),this['set'](_0x3974('0xe'),!0x1),this['_model']=_0xf4da9f,this[_0x3974('0x18')]=_0x169b92,this[_0x3974('0x2')]=_0x3bfd70,_0x3bfd70[_0x3974('0x10')]?this[_0x3974('0x7')](_0x3974('0x9'),0x1):this[_0x3974('0x19')]();}['focus'](){this[_0x3974('0x16')][_0x3974('0x1')]();}[_0x3974('0x1f')](){this[_0x3974('0x20')]=!0x1,this[_0x3974('0x3')]&&this[_0x3974('0x3')][_0x3974('0x1f')](),this[_0x3974('0xf')]&&this[_0x3974('0xf')][_0x3974('0x1f')](),super[_0x3974('0x1f')]();}[_0x3974('0x19')](){const {CommentsListView:_0x80f247}=this['_config'];this[_0x3974('0x3')]=new _0x80f247(this[_0x3974('0x17')],this[_0x3974('0x12')][_0x3974('0x4')],Object[_0x3974('0xb')]({'CommentView':this[_0x3974('0x2')][_0x3974('0x21')]},this[_0x3974('0x2')])),this['commentsListView'][_0x3974('0x1b')](_0x3974('0x11'))['to'](this),this[_0x3974('0x3')][_0x3974('0x1b')](_0x3974('0x6'))['to'](this),this[_0x3974('0x3')][_0x3974('0xc')](_0x3974('0x1c'))['to'](this),this[_0x3974('0x7')](_0x3974('0x9'),this[_0x3974('0x3')]['length']+0x1),this[_0x3974('0xc')](_0x3974('0x9'))['to'](this[_0x3974('0x3')],_0x3974('0x9'),_0x372d00=>_0x372d00+0x1),this[_0x3974('0xf')]=this[_0x3974('0xd')](),this['on'](_0x3974('0x11'),()=>this[_0x3974('0x1')]()),this[_0x3974('0xc')]('isDirty')['to'](this[_0x3974('0x3')],_0x3974('0x14'),this['commentThreadInputView']['commentInputView'],_0x3974('0x8'),(_0x5cadf3,_0x47bd1c)=>_0x5cadf3||!!_0x47bd1c);}[_0x3974('0xd')](){const {CommentThreadInputView:_0x5cf1a7}=this[_0x3974('0x2')],_0x1dd1b5=new _0x5cf1a7(this[_0x3974('0x17')],this[_0x3974('0x18')],this['_config'][_0x3974('0x15')]),_0x2e635c=_0x1dd1b5['commentInputView'];return _0x1dd1b5[_0x3974('0xc')](_0x3974('0x5'))['to'](this,'isActive',this[_0x3974('0x12')][_0x3974('0x4')],_0x3974('0x1a'),_0x2e635c,_0x3974('0x8'),(_0x1c47de,_0x405cd6,_0xec0916)=>!!_0xec0916||_0x1c47de&&!_0x405cd6),_0x2e635c['on']('submit',(_0x24002a,_0x3b6b72)=>{this[_0x3974('0x1d')](_0x3974('0x22'),_0x3b6b72),_0x2e635c[_0x3974('0x1e')]['setData']('');}),_0x2e635c['on'](_0x3974('0x0'),()=>this[_0x3974('0x1')]()),_0x2e635c[_0x3974('0xc')](_0x3974('0xa'))['to'](this[_0x3974('0x12')][_0x3974('0x4')],_0x3974('0x1a')),_0x1dd1b5;}}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import _0x557297 from'./basesuggestionthreadview';import _0x4165d2 from'@ckeditor/ckeditor5-collaboration-core/src/users/view/userview';import{ButtonView as _0x36604a}from'ckeditor5/src/ui';import{icons as _0x4c9557}from'ckeditor5/src/core';import _0x524d41 from'@ckeditor/ckeditor5-comments/src/utils/trim-html';export default class Tt extends _0x557297{constructor(_0xb2c99a,_0x5214fa,_0x471617,_0xa90199){super(_0xb2c99a,_0x5214fa,_0x471617,_0xa90199);const {t:t}=_0xb2c99a;this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x98205d=>_0x98205d&&_0x98205d[0x0]?_0x98205d[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x5d858d,_0x8bd922)=>{let _0x501c2e='';for(const _0x5f1251 of _0x5d858d)_0x501c2e+='<p>'+ri(_0x5f1251['content'])+'</p>';return _0x8bd922?_0x501c2e:_0x524d41(_0x501c2e,{'limit':0x8c});}),this['_descriptionElement']=null,this['acceptButton']=this['_createButton'](t('Accept\x20suggestion'),_0x4c9557['check'],'ck-suggestion--accept','acceptSuggestion'),this['discardButton']=this['_createButton'](t('Discard\x20suggestion'),_0x4c9557['cancel'],'ck-suggestion--discard','discardSuggestion'),this['userView']=new _0x4165d2(_0xb2c99a,this['_model']['author']),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this['setTemplate'](this['_getTemplate']());}['_getTemplate'](){const _0xad921f=this['bindTemplate'],_0x4f41fd={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0xad921f['if']('isActive','ck-suggestion-wrapper--active'),_0xad921f['to']('type',_0x2f705e=>'ck-suggestion-'+_0x2f705e),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main']},'children':[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0xad921f['to']('createdAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0xad921f['to']('createdAt',_0x2ab0c7=>this['_config']['formatDateTime'](_0x2ab0c7))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}]}]}]};return this['commentsListView']&&this['commentThreadInputView']&&_0x4f41fd['children']['push'](this['commentsListView'],this['commentThreadInputView']),_0x4f41fd;}['render'](){super['render'](),this['_descriptionElement']=this['element']['querySelector']('.ck-annotation__content-wrapper'),this['_descriptionElement']['innerHTML']=this['description'],this['on']('change:description',(_0x48ca90,_0x1ea466,_0x59d1a4)=>{this['_descriptionElement']['innerHTML']=_0x59d1a4;});}['_createButton'](_0x4b2168,_0xc90b99,_0xcad9ee,_0x43a276){const _0x2fe97c=new _0x36604a(this['locale']);return _0x2fe97c['set']({'label':_0x4b2168,'icon':_0xc90b99,'tooltip':!0x0}),_0x2fe97c['extendTemplate']({'attributes':{'class':_0xcad9ee}}),_0x2fe97c['on']('execute',()=>{this['fire'](_0x43a276,this['_model']['id']);}),_0x2fe97c['bind']('isEnabled')['to'](this),_0x2fe97c;}}function ri(_0x297003){let _0x1da6de='';return _0x1da6de+=_0x297003['split']('*')['map']((_0x200d62,_0x28e991)=>_0x28e991%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+hi(_0x200d62)+'</span>':hi(_0x200d62))['join'](''),_0x1da6de;}function hi(_0x4e87c0){const _0x3e5930=document['createElement']('span');return _0x3e5930['innerText']=_0x4e87c0,_0x3e5930['innerHTML'];}
23
+ import Ht from'./basesuggestionthreadview';import{ButtonView as Jt}from'ckeditor5/src/ui';import{icons as Kt}from'ckeditor5/src/core';import{trimHtml as Ut,UserView as Xt}from'ckeditor5-collaboration/src/collaboration-core';export default class Nt extends Ht{constructor(_0x37fa3b,_0x2374ba,_0x405c25,_0x59d331){super(_0x37fa3b,_0x2374ba,_0x405c25,_0x59d331);const {t:t}=_0x37fa3b;this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x2962dd=>_0x2962dd&&_0x2962dd[0x0]?_0x2962dd[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x4391aa,_0x4d2190)=>{let _0x8666ca='';for(const _0x5dc7ec of _0x4391aa)_0x8666ca+='<p>'+Yt(_0x5dc7ec['content'],_0x5dc7ec['color'])+'</p>';return _0x4d2190?_0x8666ca:Ut(_0x8666ca,{'limit':0x8c});}),this['_descriptionElement']=null,this['acceptButton']=this['_createButton'](t('Accept\x20suggestion'),Kt['check'],'ck-suggestion--accept','acceptSuggestion'),this['discardButton']=this['_createButton'](t('Discard\x20suggestion'),Kt['cancel'],'ck-suggestion--discard','discardSuggestion'),this['userView']=new Xt(_0x37fa3b,this['_model']['author']),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user']}}),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x401180=this['bindTemplate'],_0x274c8d={'tag':'div','attributes':{'class':['ck-suggestion-wrapper',_0x401180['if']('isActive','ck-suggestion-wrapper--active'),_0x401180['to']('type',_0x4f1d05=>'ck-suggestion-'+_0x4f1d05),this['_config']['disableComments']&&'ck-suggestion--disabled-comments'],'data-suggestion-id':this['_model']['id'],'data-thread-id':this['_model']['commentThread']['id'],'data-author-id':this['_model']['author']['id'],'tabindex':-0x1},'children':[{'tag':'div','attributes':{'class':['ck-suggestion','ck-annotation']},'children':[this['userView'],{'tag':'div','attributes':{'class':['ck-suggestion__main','ck-annotation__main']},'children':[{'tag':'div','attributes':{'class':['ck-suggestion__info','ck-annotation__info']},'children':[{'tag':'span','children':[{'text':this['userView']['name']}],'attributes':{'class':['ck-suggestion__info-name','ck-annotation__info-name']}},{'tag':'time','attributes':{'datetime':_0x401180['to']('createdAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x401180['to']('createdAt',_0x5150dd=>this['_config']['formatDateTime'](_0x5150dd))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}]}]}]};return this['commentsListView']&&this['commentThreadInputView']&&_0x274c8d['children']['push'](this['commentsListView'],this['commentThreadInputView']),_0x274c8d;}['render'](){super['render'](),this['_descriptionElement']=this['element']['querySelector']('.ck-annotation__content-wrapper'),this['_descriptionElement']['innerHTML']=this['description'],this['on']('change:description',(_0x8282f2,_0x3f9892,_0x2974fd)=>{this['_descriptionElement']['innerHTML']=_0x2974fd;});}['_createButton'](_0x1338c0,_0x576e1e,_0x5441d8,_0x3ce402){const _0x1efe9a=new Jt(this['locale']);return _0x1efe9a['set']({'label':_0x1338c0,'icon':_0x576e1e,'tooltip':!0x0}),_0x1efe9a['extendTemplate']({'attributes':{'class':_0x5441d8}}),_0x1efe9a['on']('execute',()=>{this['fire'](_0x3ce402,this['_model']['id']);}),_0x1efe9a['bind']('isEnabled')['to'](this),_0x1efe9a;}}function Yt(_0xdf4386,_0x5edcd1){let _0x5a5b7c='';return _0x5a5b7c+=_0xdf4386['split']('*')['map']((_0xa3d00e,_0x585e02)=>_0x585e02%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+Zt(_0xa3d00e)+'</span>':Zt(_0xa3d00e))['join'](''),_0x5edcd1&&(_0x5a5b7c+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x5edcd1['value']+'\x22\x20title=\x22'+_0x5edcd1['title']+'\x22></span>'),_0x5a5b7c;}function Zt(_0x54ed44){const _0x538e26=document['createElement']('span');return _0x538e26['innerText']=_0x54ed44,_0x538e26['innerHTML'];}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4de9=['isTouching','getRanges','isCollapsed','next','start','isIntersecting','isMultiRange','end'];(function(_0x57095f,_0x4de93f){const _0x5eed29=function(_0xb3ecee){while(--_0xb3ecee){_0x57095f['push'](_0x57095f['shift']());}};_0x5eed29(++_0x4de93f);}(_0x4de9,0x1d1));const _0x5eed=function(_0x57095f,_0x4de93f){_0x57095f=_0x57095f-0x0;let _0x5eed29=_0x4de9[_0x57095f];return _0x5eed29;};export default function jt(_0x8c38e0,_0x5b6938){const _0x5992af=Array['from'](_0x8c38e0[_0x5eed('0x0')]()),_0x52a280=new Set();for(const _0x29e603 of _0x5b6938)if(_0x29e603['isInContent'])for(const _0x13946f of _0x5992af)for(const _0x3d5535 of _0x29e603['getMarkers']()){const _0x5d41ff=_0x3d5535['getRange']();(_0x13946f[_0x5eed('0x4')](_0x5d41ff)||_0x8c38e0[_0x5eed('0x1')]&&!_0x29e603[_0x5eed('0x5')]&&_0x29e603[_0x5eed('0x2')]&&_0x5d41ff[_0x5eed('0x6')][_0x5eed('0x7')](_0x13946f[_0x5eed('0x3')]))&&_0x52a280['add'](_0x29e603);}return _0x52a280;}
23
+ const _0x5bca=['getRanges','getRange','add','isInContent','isCollapsed','isIntersecting','from','start','next','isTouching','getMarkers'];(function(_0x3caaae,_0x5bcaf2){const _0x29b38d=function(_0x26ead9){while(--_0x26ead9){_0x3caaae['push'](_0x3caaae['shift']());}};_0x29b38d(++_0x5bcaf2);}(_0x5bca,0x163));const _0x29b3=function(_0x3caaae,_0x5bcaf2){_0x3caaae=_0x3caaae-0x0;let _0x29b38d=_0x5bca[_0x3caaae];return _0x29b38d;};export default function jt(_0x2fe10f,_0x4414a5){const _0x24b5b0=Array[_0x29b3('0x3')](_0x2fe10f[_0x29b3('0x8')]()),_0x5c1d2f=new Set();for(const _0x6c639d of _0x4414a5)if(_0x6c639d[_0x29b3('0x0')])for(const _0x2df726 of _0x24b5b0)for(const _0x5a15d2 of _0x6c639d[_0x29b3('0x7')]()){const _0xccf28b=_0x5a15d2[_0x29b3('0x9')]();(_0x2df726[_0x29b3('0x2')](_0xccf28b)||_0x2fe10f[_0x29b3('0x1')]&&!_0x6c639d['isMultiRange']&&_0x6c639d[_0x29b3('0x5')]&&_0xccf28b['end'][_0x29b3('0x6')](_0x2df726[_0x29b3('0x4')]))&&_0x5c1d2f[_0x29b3('0xa')](_0x6c639d);}return _0x5c1d2f;}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16a4=['charCodeAt','toString','isArray','object','string','keys','boolean','sign'];(function(_0x521e16,_0x16a4af){const _0x1046d6=function(_0x4466e5){while(--_0x4466e5){_0x521e16['push'](_0x521e16['shift']());}};_0x1046d6(++_0x16a4af);}(_0x16a4,0x1bd));const _0x1046=function(_0x521e16,_0x16a4af){_0x521e16=_0x521e16-0x0;let _0x1046d6=_0x16a4[_0x521e16];return _0x1046d6;};export default function mt(_0x5b55){let _0xca7ff3=0x0,_0x5d37ac=0x0;for(const _0x5c557e of pe(_0x5b55))_0xca7ff3=(_0xca7ff3<<0x5)-_0xca7ff3+_0x5c557e,_0xca7ff3&=_0xca7ff3,[_0xca7ff3,_0x5d37ac]=[_0x5d37ac,_0xca7ff3];return xe(_0xca7ff3)+xe(_0x5d37ac);}function*ye(_0x19e963){_0x19e963?_0x1046('0x1')==typeof _0x19e963?yield 0x1:Array[_0x1046('0x5')](_0x19e963)?yield*function*(_0xaa8f34){for(const _0x34423c of _0xaa8f34)yield*ye(_0x34423c);}(_0x19e963):_0x1046('0x6')==typeof _0x19e963?yield*pe(_0x19e963):_0x1046('0x7')==typeof _0x19e963?yield*je(_0x19e963):'number'==typeof _0x19e963&&(yield _0x19e963):yield 0x0;}function*pe(_0x5d47ad){if(yield he('{'),_0x5d47ad){const _0x4fd43e=Object[_0x1046('0x0')](_0x5d47ad)['sort']();for(const _0x27b86b of _0x4fd43e){yield*je(_0x27b86b),yield he(':');const _0x2d40e1=_0x5d47ad[_0x27b86b];yield*ye(_0x2d40e1);}}yield he('}');}function*je(_0x5ed3d8){yield he('\x22');for(const _0x93ca28 of _0x5ed3d8)yield he(_0x93ca28);yield he('\x22');}function he(_0x205cd3){return _0x205cd3[_0x1046('0x3')](0x0);}function xe(_0x4125d0){return(_0x4125d0*=Math[_0x1046('0x2')](_0x4125d0))[_0x1046('0x4')](0x24);}
23
+ const _0xb1c5=['object','charCodeAt','sign','keys','number','sort','isArray'];(function(_0x1901ab,_0xb1c568){const _0x29ee3e=function(_0x471fd3){while(--_0x471fd3){_0x1901ab['push'](_0x1901ab['shift']());}};_0x29ee3e(++_0xb1c568);}(_0xb1c5,0xcd));const _0x29ee=function(_0x1901ab,_0xb1c568){_0x1901ab=_0x1901ab-0x0;let _0x29ee3e=_0xb1c5[_0x1901ab];return _0x29ee3e;};export default function ft(_0x5d5c83){let _0xc774a1=0x0,_0x18ab16=0x0;for(const _0x5ab5d7 of ye(_0x5d5c83))_0xc774a1=(_0xc774a1<<0x5)-_0xc774a1+_0x5ab5d7,_0xc774a1&=_0xc774a1,[_0xc774a1,_0x18ab16]=[_0x18ab16,_0xc774a1];return ue(_0xc774a1)+ue(_0x18ab16);}function*fe(_0x553344){_0x553344?'boolean'==typeof _0x553344?yield 0x1:Array[_0x29ee('0x4')](_0x553344)?yield*function*(_0x2037c0){for(const _0xcd6fa9 of _0x2037c0)yield*fe(_0xcd6fa9);}(_0x553344):_0x29ee('0x5')==typeof _0x553344?yield*ye(_0x553344):'string'==typeof _0x553344?yield*de(_0x553344):_0x29ee('0x2')==typeof _0x553344&&(yield _0x553344):yield 0x0;}function*ye(_0x54dbe4){if(yield ce('{'),_0x54dbe4){const _0x23c9ac=Object[_0x29ee('0x1')](_0x54dbe4)[_0x29ee('0x3')]();for(const _0xc21f87 of _0x23c9ac){yield*de(_0xc21f87),yield ce(':');const _0x82bfe6=_0x54dbe4[_0xc21f87];yield*fe(_0x82bfe6);}}yield ce('}');}function*de(_0x4699ae){yield ce('\x22');for(const _0x2641b4 of _0x4699ae)yield ce(_0x2641b4);yield ce('\x22');}function ce(_0x4e6efb){return _0x4e6efb[_0x29ee('0x6')](0x0);}function ue(_0x2e05f3){return(_0x2e05f3*=Math[_0x29ee('0x0')](_0x2e05f3))['toString'](0x24);}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x7a1e=['join','content','type','map','replace'];(function(_0xc7572,_0x7a1ed2){var _0x1bd0b6=function(_0x564247){while(--_0x564247){_0xc7572['push'](_0xc7572['shift']());}};_0x1bd0b6(++_0x7a1ed2);}(_0x7a1e,0x67));var _0x1bd0=function(_0xc7572,_0x7a1ed2){_0xc7572=_0xc7572-0x0;var _0x1bd0b6=_0x7a1e[_0xc7572];return _0x1bd0b6;};export function normalizeDescription(_0x146432){return Array['isArray'](_0x146432)||(_0x146432=[_0x146432]),_0x146432[_0x1bd0('0x0')](_0x5249dd=>'['+_0x5249dd[_0x1bd0('0x4')]+']\x20'+_0x5249dd[_0x1bd0('0x3')][_0x1bd0('0x1')](/\*/g,''))[_0x1bd0('0x2')](';\x20');}
23
+ const _0x5633=['color','replace','isArray','map','\x20[color\x20','content','type','value'];(function(_0x48eb06,_0x563341){const _0x6b2b3f=function(_0x4e077f){while(--_0x4e077f){_0x48eb06['push'](_0x48eb06['shift']());}};_0x6b2b3f(++_0x563341);}(_0x5633,0x77));const _0x6b2b=function(_0x48eb06,_0x563341){_0x48eb06=_0x48eb06-0x0;let _0x6b2b3f=_0x5633[_0x48eb06];return _0x6b2b3f;};export function normalizeDescription(_0x37d046){return Array[_0x6b2b('0x3')](_0x37d046)||(_0x37d046=[_0x37d046]),_0x37d046[_0x6b2b('0x4')](_0x19093c=>{const _0x3cbc16=_0x19093c[_0x6b2b('0x6')][_0x6b2b('0x2')](/\*/g,''),_0x356f45=_0x19093c[_0x6b2b('0x1')]?_0x6b2b('0x5')+_0x19093c[_0x6b2b('0x1')][_0x6b2b('0x0')]+']':'';return'['+_0x19093c[_0x6b2b('0x7')]+']\x20'+_0x3cbc16+_0x356f45;})['join'](';\x20');}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright (c) 2016 - 2021, CKSource - Frederico Knabben. All rights reserved.
2
+ * Copyright (c) 2016 - 2022, CKSource Holding sp. z o.o. All rights reserved.
3
3
  *
4
4
  *
5
5
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2ba6=['type','deletion'];(function(_0x205dec,_0x2ba61e){var _0x3f401f=function(_0x45820c){while(--_0x45820c){_0x205dec['push'](_0x205dec['shift']());}};_0x3f401f(++_0x2ba61e);}(_0x2ba6,0xec));var _0x3f40=function(_0x205dec,_0x2ba61e){_0x205dec=_0x205dec-0x0;var _0x3f401f=_0x2ba6[_0x205dec];return _0x3f401f;};export default function ts(_0xa62f1){return _0xa62f1['sort']((_0xef0ebe,_0x295f29)=>_0x3f40('0x1')==_0xef0ebe[_0x3f40('0x0')]&&'deletion'!=_0x295f29[_0x3f40('0x0')]?-0x1:_0x3f40('0x1')!=_0xef0ebe[_0x3f40('0x0')]&&'deletion'==_0x295f29[_0x3f40('0x0')]?0x1:0x0);}
23
+ var _0x3f2c=['sort','deletion','type'];(function(_0x4513c7,_0x3f2ca7){var _0x454677=function(_0x35dfca){while(--_0x35dfca){_0x4513c7['push'](_0x4513c7['shift']());}};_0x454677(++_0x3f2ca7);}(_0x3f2c,0x186));var _0x4546=function(_0x4513c7,_0x3f2ca7){_0x4513c7=_0x4513c7-0x0;var _0x454677=_0x3f2c[_0x4513c7];return _0x454677;};export default function ts(_0x30a516){return _0x30a516[_0x4546('0x0')]((_0x7385a1,_0x4f09d7)=>_0x4546('0x1')==_0x7385a1[_0x4546('0x2')]&&_0x4546('0x1')!=_0x4f09d7[_0x4546('0x2')]?-0x1:'deletion'!=_0x7385a1['type']&&_0x4546('0x1')==_0x4f09d7[_0x4546('0x2')]?0x1:0x0);}
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2021, CKSource Frederico Knabben. All rights reserved.
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2021, CKSource Frederico Knabben. All rights reserved.
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -4,7 +4,7 @@
4
4
  CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5
5
  all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6
6
 
7
- Copyright (c) 2003-2021, CKSource Frederico Knabben. All rights reserved.
7
+ Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
8
8
 
9
9
  !-->
10
10
 
@@ -52,6 +52,16 @@ With track-changes feature enabled, we need to distinguish various types of anno
52
52
  font-weight: bold;
53
53
  }
54
54
 
55
+ .ck .ck-suggestion-color {
56
+ display: inline-block;
57
+ width: 14px;
58
+ height: 14px;
59
+ border-radius: 14px;
60
+ vertical-align: text-bottom;
61
+ margin: 0 5px;
62
+ box-shadow: 0 0 0 1px #444;
63
+ }
64
+
55
65
  /* Comments inside suggestion. */
56
66
 
57
67
  /* Handle comments inside suggestion keep same border-color. */
@@ -3,7 +3,7 @@
3
3
  * Letters is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4
4
  * all Letters content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5
5
  *
6
- * Copyright (c) 2003-2021, CKSource Frederico Knabben. All rights reserved.
6
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
7
7
  */
8
8
 
9
9
  :root {