@ckeditor/ckeditor5-comments 41.1.0 → 41.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 (50) hide show
  1. package/build/comments.js +1 -1
  2. package/build/translations/he.js +1 -1
  3. package/lang/translations/he.po +1 -2
  4. package/package.json +3 -3
  5. package/src/annotations/annotation.js +1 -1
  6. package/src/annotations/annotationcollection.js +1 -1
  7. package/src/annotations/annotations.js +1 -1
  8. package/src/annotations/annotationsuis.js +1 -1
  9. package/src/annotations/editorannotations.js +1 -1
  10. package/src/annotations/inlineannotations.js +1 -1
  11. package/src/annotations/narrowsidebar.js +1 -1
  12. package/src/annotations/sidebar.js +1 -1
  13. package/src/annotations/view/annotationcounterbuttonview.js +1 -1
  14. package/src/annotations/view/annotationview.js +1 -1
  15. package/src/annotations/view/sidebaritemview.js +1 -1
  16. package/src/annotations/view/sidebarview.js +1 -1
  17. package/src/annotations/widesidebar.js +1 -1
  18. package/src/comments/addcommentthreadcommand.js +1 -1
  19. package/src/comments/commentsarchive.js +1 -1
  20. package/src/comments/commentsarchiveui.js +1 -1
  21. package/src/comments/commentsediting.d.ts +3 -2
  22. package/src/comments/commentsediting.js +1 -1
  23. package/src/comments/commentsrepository.js +1 -1
  24. package/src/comments/commentsui.js +1 -1
  25. package/src/comments/integrations/clipboard.d.ts +26 -0
  26. package/src/comments/integrations/clipboard.js +23 -0
  27. package/src/comments/integrations/commentsrestrictededitingmode.js +1 -1
  28. package/src/comments/integrations/importword.js +1 -1
  29. package/src/comments/ui/commenteditor/commenteditor.d.ts +1 -1
  30. package/src/comments/ui/commenteditor/commenteditor.js +1 -1
  31. package/src/comments/ui/commenteditor/commenteditorui.js +1 -1
  32. package/src/comments/ui/commenteditor/commenteditoruiview.js +1 -1
  33. package/src/comments/ui/commentthreadcontroller.js +1 -1
  34. package/src/comments/ui/view/basecommentthreadview.js +1 -1
  35. package/src/comments/ui/view/basecommentview.js +1 -1
  36. package/src/comments/ui/view/collapsedcommentsview.js +1 -1
  37. package/src/comments/ui/view/commentcontentview.js +1 -1
  38. package/src/comments/ui/view/commentinputview.js +1 -1
  39. package/src/comments/ui/view/commentsarchiveview.js +1 -1
  40. package/src/comments/ui/view/commentslistview.js +1 -1
  41. package/src/comments/ui/view/commentthreadheaderview.js +1 -1
  42. package/src/comments/ui/view/commentthreadinputview.js +1 -1
  43. package/src/comments/ui/view/commentthreadview.js +1 -1
  44. package/src/comments/ui/view/commentview.js +1 -1
  45. package/src/comments.js +1 -1
  46. package/src/commentsonly.js +1 -1
  47. package/src/config.d.ts +17 -2
  48. package/src/index.js +1 -1
  49. package/src/utils/common-translations.js +1 -1
  50. package/src/utils/createmutationobserver.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dfe=['ck-sidebar-item','detach','clientHeight','render','isAnimationDisabled','_mutationObserver','destroy','div','clear','content','bindTemplate','bind','updateHeight','height','_targetTop','element','set','top'];(function(_0x28c791,_0x5dfee6){const _0x4d83f3=function(_0x108d95){while(--_0x108d95){_0x28c791['push'](_0x28c791['shift']());}};_0x4d83f3(++_0x5dfee6);}(_0x5dfe,0x10f));const _0x4d83=function(_0x28c791,_0x5dfee6){_0x28c791=_0x28c791-0x0;let _0x4d83f3=_0x5dfe[_0x28c791];return _0x4d83f3;};import{View as _0x1b0088}from'ckeditor5/src/ui.js';import{toUnit as _0x5a3a68}from'ckeditor5/src/utils.js';import _0x3924ad from'../../utils/createmutationobserver.js';const Ht=_0x5a3a68('px');export default class C extends _0x1b0088{constructor(_0xb35af4){super(_0xb35af4),this[_0x4d83('0xf')](_0x4d83('0x10'),0x0),this[_0x4d83('0xf')](_0x4d83('0xc'),0x0),this[_0x4d83('0xa')]('bottom')['to'](this,_0x4d83('0x10'),this,_0x4d83('0xc'),(_0x5e81ce,_0x6066c1)=>_0x5e81ce+_0x6066c1),this[_0x4d83('0xf')]('isAnimationDisabled',!0x1),this[_0x4d83('0x4')]=_0x3924ad(()=>this[_0x4d83('0xb')]()),this[_0x4d83('0xd')]=null,this[_0x4d83('0x8')]=this['createCollection']();const _0x5acb11=this[_0x4d83('0x9')];this['setTemplate']({'tag':_0x4d83('0x6'),'attributes':{'class':[_0x4d83('0x11'),_0x5acb11['to'](_0x4d83('0x3'),_0x5f1e52=>_0x5f1e52?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x5acb11['to'](_0x4d83('0x10'),_0xc2b369=>Ht(_0xc2b369))}},'children':this['content']});}['render'](){super[_0x4d83('0x2')](),this['_mutationObserver']['attach'](this['element']);}[_0x4d83('0xb')](){const _0x47c994=this[_0x4d83('0xe')][_0x4d83('0x1')];_0x47c994&&(this[_0x4d83('0xc')]=_0x47c994);}[_0x4d83('0x5')](){this[_0x4d83('0x8')][_0x4d83('0x7')](),this[_0x4d83('0x4')][_0x4d83('0x0')](),super[_0x4d83('0x5')]();}}
23
+ const _0x4ba5ec=_0xeca6;function _0x41c0(){const _0x28a60e=['clear','createCollection','detach','destroy','bottom','bind','updateHeight','attach','bindTemplate','198082KOxQBk','1448724SURojH','height','isAnimationDisabled','clientHeight','set','5uedzoa','4328356CwyzRS','ck-sidebar-item','render','element','ck-sidebar-item--no-animation','694SFKaYY','918631rWJbTd','top','setTemplate','14834565ZaIGaq','_targetTop','_mutationObserver','11390992NUpPrN','2712zJnCED','content','div'];_0x41c0=function(){return _0x28a60e;};return _0x41c0();}(function(_0x379bf4,_0x4808a7){const _0x18233b=_0xeca6,_0x1a4ad5=_0x379bf4();while(!![]){try{const _0x40d9e1=parseInt(_0x18233b(0x152))/0x1+-parseInt(_0x18233b(0x15e))/0x2*(parseInt(_0x18233b(0x166))/0x3)+parseInt(_0x18233b(0x159))/0x4*(parseInt(_0x18233b(0x158))/0x5)+-parseInt(_0x18233b(0x153))/0x6+-parseInt(_0x18233b(0x15f))/0x7+-parseInt(_0x18233b(0x165))/0x8+parseInt(_0x18233b(0x162))/0x9;if(_0x40d9e1===_0x4808a7)break;else _0x1a4ad5['push'](_0x1a4ad5['shift']());}catch(_0x451319){_0x1a4ad5['push'](_0x1a4ad5['shift']());}}}(_0x41c0,0xc7c1f));import{View as _0x427678}from'ckeditor5/src/ui.js';import{toUnit as _0xf1db82}from'ckeditor5/src/utils.js';function _0xeca6(_0x3cac4e,_0x367912){const _0x41c007=_0x41c0();return _0xeca6=function(_0xeca6a5,_0x6f1632){_0xeca6a5=_0xeca6a5-0x147;let _0x449ec2=_0x41c007[_0xeca6a5];return _0x449ec2;},_0xeca6(_0x3cac4e,_0x367912);}import _0xc4d25e from'../../utils/createmutationobserver.js';const qt=_0xf1db82('px');export default class C extends _0x427678{constructor(_0x4c395b){const _0x130792=_0xeca6;super(_0x4c395b),this[_0x130792(0x157)](_0x130792(0x160),0x0),this[_0x130792(0x157)](_0x130792(0x154),0x0),this[_0x130792(0x14e)](_0x130792(0x14d))['to'](this,_0x130792(0x160),this,_0x130792(0x154),(_0x1acd39,_0x255c0e)=>_0x1acd39+_0x255c0e),this[_0x130792(0x157)](_0x130792(0x155),!0x1),this[_0x130792(0x164)]=_0xc4d25e(()=>this[_0x130792(0x14f)]()),this[_0x130792(0x163)]=null,this[_0x130792(0x147)]=this[_0x130792(0x14a)]();const _0x2296f9=this[_0x130792(0x151)];this[_0x130792(0x161)]({'tag':_0x130792(0x148),'attributes':{'class':[_0x130792(0x15a),_0x2296f9['to'](_0x130792(0x155),_0x553e17=>_0x553e17?_0x130792(0x15d):'')],'style':{'top':_0x2296f9['to'](_0x130792(0x160),_0x4946cb=>qt(_0x4946cb))}},'children':this[_0x130792(0x147)]});}[_0x4ba5ec(0x15b)](){const _0x41251c=_0x4ba5ec;super[_0x41251c(0x15b)](),this[_0x41251c(0x164)][_0x41251c(0x150)](this[_0x41251c(0x15c)]);}[_0x4ba5ec(0x14f)](){const _0x4e1f98=_0x4ba5ec,_0xeb4f1b=this[_0x4e1f98(0x15c)][_0x4e1f98(0x156)];_0xeb4f1b&&(this[_0x4e1f98(0x154)]=_0xeb4f1b);}[_0x4ba5ec(0x14c)](){const _0x3586ae=_0x4ba5ec;this[_0x3586ae(0x147)][_0x3586ae(0x149)](),this[_0x3586ae(0x164)][_0x3586ae(0x14b)](),super[_0x3586ae(0x14c)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58fe=['set','createCollection','class','list','ck-sidebar','div','setTemplate','number','minHeight'];(function(_0x1466f4,_0x58fef3){const _0x5e1005=function(_0x1931b4){while(--_0x1931b4){_0x1466f4['push'](_0x1466f4['shift']());}};_0x5e1005(++_0x58fef3);}(_0x58fe,0xb9));const _0x5e10=function(_0x1466f4,_0x58fef3){_0x1466f4=_0x1466f4-0x0;let _0x5e1005=_0x58fe[_0x1466f4];return _0x5e1005;};import{View as _0x104ef2}from'ckeditor5/src/ui.js';import{toUnit as _0x2c5d21}from'ckeditor5/src/utils.js';import'../../../theme/sidebar.css';const Ht=_0x2c5d21('px');export default class T extends _0x104ef2{constructor(_0x30dc68){super(_0x30dc68);const _0x24e981=this['bindTemplate'];this[_0x5e10('0x4')](_0x5e10('0x3'),0x0),this[_0x5e10('0x4')](_0x5e10('0x6'),''),this[_0x5e10('0x7')]=this[_0x5e10('0x5')](),this[_0x5e10('0x1')]({'tag':_0x5e10('0x0'),'attributes':{'class':['ck',_0x5e10('0x8'),'ck-reset',_0x24e981['to'](_0x5e10('0x6'))],'style':{'minHeight':_0x24e981['to'](_0x5e10('0x3'),_0x35fe41=>_0x5e10('0x2')==typeof _0x35fe41?Ht(_0x35fe41+0xa):null)}},'children':this[_0x5e10('0x7')]});}}
23
+ (function(_0x3c3316,_0x241945){const _0x2fac93=_0xef9c,_0xf7e79f=_0x3c3316();while(!![]){try{const _0x254f1a=-parseInt(_0x2fac93(0x176))/0x1+parseInt(_0x2fac93(0x17d))/0x2*(-parseInt(_0x2fac93(0x171))/0x3)+-parseInt(_0x2fac93(0x16d))/0x4+parseInt(_0x2fac93(0x17a))/0x5*(-parseInt(_0x2fac93(0x172))/0x6)+-parseInt(_0x2fac93(0x174))/0x7+parseInt(_0x2fac93(0x17f))/0x8+parseInt(_0x2fac93(0x17b))/0x9;if(_0x254f1a===_0x241945)break;else _0xf7e79f['push'](_0xf7e79f['shift']());}catch(_0x38ca1c){_0xf7e79f['push'](_0xf7e79f['shift']());}}}(_0x26a0,0x22b11));import{View as _0x1eb80f}from'ckeditor5/src/ui.js';import{toUnit as _0x144682}from'ckeditor5/src/utils.js';function _0x26a0(){const _0xe41f25=['6538ZuDtbB','setTemplate','2197296YJmsss','createCollection','716952dDBffN','list','ck-sidebar','ck-reset','186ABGzuT','37356pbrmlw','set','1430744LyZrmZ','bindTemplate','12853rKhkxO','div','class','number','220ymnSjc','6664860DGNXrk','minHeight'];_0x26a0=function(){return _0xe41f25;};return _0x26a0();}import'../../../theme/sidebar.css';const qt=_0x144682('px');function _0xef9c(_0x68374f,_0x7d830f){const _0x26a00b=_0x26a0();return _0xef9c=function(_0xef9c06,_0x13d699){_0xef9c06=_0xef9c06-0x16d;let _0x529292=_0x26a00b[_0xef9c06];return _0x529292;},_0xef9c(_0x68374f,_0x7d830f);}export default class T extends _0x1eb80f{constructor(_0x262474){const _0x33da2c=_0xef9c;super(_0x262474);const _0x1d3c46=this[_0x33da2c(0x175)];this[_0x33da2c(0x173)](_0x33da2c(0x17c),0x0),this[_0x33da2c(0x173)](_0x33da2c(0x178),''),this[_0x33da2c(0x16e)]=this[_0x33da2c(0x180)](),this[_0x33da2c(0x17e)]({'tag':_0x33da2c(0x177),'attributes':{'class':['ck',_0x33da2c(0x16f),_0x33da2c(0x170),_0x1d3c46['to'](_0x33da2c(0x178))],'style':{'minHeight':_0x1d3c46['to'](_0x33da2c(0x17c),_0x7a46c7=>_0x33da2c(0x179)==typeof _0x7a46c7?qt(_0x7a46c7+0xa):null)}},'children':this[_0x33da2c(0x16e)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aef=['_annotations','setActiveAnnotation','ck-sidebar--wide','detach','annotations','pluginName','set','get','uiUpdate','from','_refreshPositioningDebounced','EditorAnnotations','_activeAnnotation','init','editors','container','register','removeEventListener','isAttached','blur','cancel','context','updateTargetRect','_detachFromContainer','getOrderedSelectedAnnotations','focus','_editorAnnotations','resize','widesidebar-attach-already-attached','stop','refresh','attach','plugins','_integrateWithEditorAnnotations','widesidebar-detach-not-attached','WideSidebar','destroy','refreshPositioning','_destroyEditorAnnotationsIntegration','switchTo','hasDomSelection','wideSidebar','has','rearrange','listenTo','ready','_attachToContainer','change:container','remove','add','stopListening','set:container','high','activeAnnotation'];(function(_0x2669a5,_0x3aeffa){const _0x32cc91=function(_0x403fcf){while(--_0x403fcf){_0x2669a5['push'](_0x2669a5['shift']());}};_0x32cc91(++_0x3aeffa);}(_0x3aef,0x105));const _0x32cc=function(_0x2669a5,_0x3aeffa){_0x2669a5=_0x2669a5-0x0;let _0x32cc91=_0x3aef[_0x2669a5];return _0x32cc91;};import{ContextPlugin as _0x1b5314,Context as _0x3f26f9}from'ckeditor5/src/core.js';import _0x2ab893 from'./annotationsuis.js';import _0x12c7e1 from'./sidebar.js';import{CKEditorError as _0x49b370,Collection as _0x1af001}from'ckeditor5/src/utils.js';import{debounce as _0x35b36c}from'lodash-es';import _0x522b16 from'./editorannotations.js';export default class n extends _0x1b5314{static get['requires'](){return[_0x12c7e1,_0x2ab893];}static get[_0x32cc('0xe')](){return _0x32cc('0x2c');}constructor(_0xdf9b3f){super(_0xdf9b3f),this[_0x32cc('0x1b')]=!0x1,this[_0x32cc('0xf')](_0x32cc('0x8'),null),this[_0x32cc('0xd')]=null,this[_0x32cc('0x23')]=new _0x1af001(),this[_0x32cc('0x13')]=_0x35b36c(()=>{this['annotations'][_0x32cc('0x2e')]();},0xfa,{'leading':!0x1});}[_0x32cc('0x16')](){const _0x1605df=this[_0x32cc('0x1e')]['plugins'][_0x32cc('0x10')](_0x2ab893),_0x5c8745=this[_0x32cc('0x1e')][_0x32cc('0x29')]['get'](_0x12c7e1);_0x1605df[_0x32cc('0x19')](_0x32cc('0x32'),this),_0x5c8745[_0x32cc('0x18')]&&_0x1605df[_0x32cc('0x30')]('wideSidebar');}['setActiveAnnotation'](_0x5c863a){if(_0x5c863a===this['activeAnnotation'])return;const _0x4e4759=this[_0x32cc('0x1e')]['plugins'][_0x32cc('0x10')](_0x12c7e1);_0x4e4759[_0x32cc('0x15')]=_0x5c863a;const _0x3786fb=this[_0x32cc('0x8')];this[_0x32cc('0x8')]=_0x5c863a,_0x4e4759[_0x32cc('0x27')]({'blurredAnnotation':_0x3786fb,'activatedAnnotation':this['activeAnnotation']});}[_0x32cc('0x28')](_0xa4717d){this[_0x32cc('0xd')]=_0xa4717d;const _0x1628ac=this[_0x32cc('0x1e')][_0x32cc('0x29')][_0x32cc('0x10')](_0x12c7e1);if(_0x1628ac[_0x32cc('0x9')]=_0xa4717d,this[_0x32cc('0x1b')])throw new _0x49b370(_0x32cc('0x25'),this);this[_0x32cc('0x1b')]=!0x0,this['listenTo'](_0x1628ac,_0x32cc('0x6'),()=>{this[_0x32cc('0xc')](),this[_0x32cc('0x35')](_0x1628ac,_0x32cc('0x2'),_0x1d6ea1=>{_0x1d6ea1['off'](),this[_0x32cc('0x28')](_0xa4717d);});}),_0x1628ac[_0x32cc('0x1')]({'viewClass':_0x32cc('0xb')});const _0x135257=_0x28b14e=>{_0x28b14e[_0x32cc('0x1f')](),_0x1628ac['addAnnotation'](_0x28b14e);};for(const _0x2e947c of _0xa4717d)_0x135257(_0x2e947c);this[_0x32cc('0x35')](_0xa4717d,'add',(_0x36d8b7,_0xb0af65)=>{_0x135257(_0xb0af65);}),this[_0x32cc('0x35')](_0xa4717d,'remove',(_0x306fb1,_0x314381,_0x408dd4)=>{_0x1628ac[_0x32cc('0x34')]({'removedAnnotation':_0x314381,'previousAnnotation':_0xa4717d[_0x32cc('0x10')](_0x408dd4-0x1),'nextAnnotation':_0xa4717d[_0x32cc('0x10')](_0x408dd4+0x1)}),_0x314381===this[_0x32cc('0x8')]&&this['setActiveAnnotation'](null);},{'priority':_0x32cc('0x7')}),this['listenTo'](_0xa4717d,_0x32cc('0x22'),(_0xf3549f,_0xdedb29)=>{this[_0x32cc('0xa')](_0xdedb29);}),this['listenTo'](_0xa4717d,'blur',()=>{this[_0x32cc('0xa')](null);});const _0x56907c=this[_0x32cc('0x1e')]instanceof _0x3f26f9?this[_0x32cc('0x1e')][_0x32cc('0x17')]:new _0x1af001([this[_0x32cc('0x1e')]]);for(const _0x8259b4 of _0x56907c)this[_0x32cc('0x2a')](_0x8259b4);this[_0x32cc('0x35')](_0x56907c,_0x32cc('0x4'),(_0xe73377,_0x2ab68f)=>{this[_0x32cc('0x35')](_0x2ab68f,_0x32cc('0x0'),()=>{this[_0x32cc('0x2a')](_0x2ab68f);});}),this[_0x32cc('0x35')](_0x56907c,_0x32cc('0x3'),(_0x32508a,_0x2fbe49)=>{_0x2fbe49[_0x32cc('0x29')][_0x32cc('0x33')](_0x32cc('0x14'))&&this[_0x32cc('0x2f')](_0x2fbe49[_0x32cc('0x29')][_0x32cc('0x10')]('EditorAnnotations'));}),window['addEventListener'](_0x32cc('0x24'),this[_0x32cc('0x13')]),this[_0x32cc('0xd')][_0x32cc('0x2e')]();}[_0x32cc('0xc')](){if(!this[_0x32cc('0x1b')])throw new _0x49b370(_0x32cc('0x2b'),this);this[_0x32cc('0xa')](null);const _0x141727=this[_0x32cc('0x1e')][_0x32cc('0x29')][_0x32cc('0x10')](_0x12c7e1);_0x141727[_0x32cc('0x20')](this['annotations']),this[_0x32cc('0x5')](_0x141727),this[_0x32cc('0x5')](this[_0x32cc('0xd')]),this[_0x32cc('0x1e')]instanceof _0x3f26f9&&this['stopListening'](this[_0x32cc('0x1e')][_0x32cc('0x17')]);for(const _0x46665f of Array[_0x32cc('0x12')](this[_0x32cc('0x23')]))this[_0x32cc('0x2f')](_0x46665f);window[_0x32cc('0x1a')](_0x32cc('0x24'),this[_0x32cc('0x13')]),this[_0x32cc('0x13')][_0x32cc('0x1d')](),this[_0x32cc('0x8')]=null,this['isAttached']=!0x1,this[_0x32cc('0xd')]=null;}[_0x32cc('0x2d')](){this[_0x32cc('0x1b')]&&this[_0x32cc('0xc')]();}[_0x32cc('0x2a')](_0x4fbc06){const _0x4ac6bb=_0x4fbc06[_0x32cc('0x29')][_0x32cc('0x10')](_0x522b16);if(!_0x4ac6bb)return;const _0x27732f=()=>{const _0x3da941=_0x4ac6bb[_0x32cc('0x21')]({'annotations':this[_0x32cc('0xd')],'activeAnnotation':this['activeAnnotation']});this[_0x32cc('0xa')](_0x3da941[0x0]||null);};this[_0x32cc('0x35')](_0x4ac6bb,_0x32cc('0x27'),_0x27732f),this['listenTo'](_0x4ac6bb,'blur',(_0x904f31,{isAnnotationTracked:_0x22de15})=>{this[_0x32cc('0x8')]&&_0x22de15(this[_0x32cc('0x8')])&&this[_0x32cc('0xa')](null);}),this[_0x32cc('0x35')](_0x4ac6bb,_0x32cc('0x11'),()=>{this[_0x32cc('0x13')]();}),this[_0x32cc('0x35')](this[_0x32cc('0xd')],_0x32cc('0x1c'),_0x228425=>{_0x4ac6bb[_0x32cc('0x31')]()&&(_0x27732f(),_0x228425[_0x32cc('0x26')]());},{'priority':_0x32cc('0x7')}),this[_0x32cc('0x23')]['add'](_0x4ac6bb);}[_0x32cc('0x2f')](_0x2cf9c2){this[_0x32cc('0x5')](_0x2cf9c2),this[_0x32cc('0x23')][_0x32cc('0x3')](_0x2cf9c2);}}
23
+ const _0x296bb2=_0x4a1d;function _0x4a1d(_0x2e8287,_0x4f0223){const _0x9145df=_0x9145();return _0x4a1d=function(_0x4a1d86,_0x423af3){_0x4a1d86=_0x4a1d86-0x131;let _0x5a0c99=_0x9145df[_0x4a1d86];return _0x5a0c99;},_0x4a1d(_0x2e8287,_0x4f0223);}(function(_0x54d6f9,_0x31bf04){const _0x5e25ab=_0x4a1d,_0x7540e4=_0x54d6f9();while(!![]){try{const _0x44d7b4=parseInt(_0x5e25ab(0x14c))/0x1*(-parseInt(_0x5e25ab(0x15d))/0x2)+parseInt(_0x5e25ab(0x162))/0x3*(parseInt(_0x5e25ab(0x145))/0x4)+parseInt(_0x5e25ab(0x13c))/0x5*(-parseInt(_0x5e25ab(0x159))/0x6)+-parseInt(_0x5e25ab(0x155))/0x7+-parseInt(_0x5e25ab(0x15a))/0x8+-parseInt(_0x5e25ab(0x156))/0x9+parseInt(_0x5e25ab(0x174))/0xa;if(_0x44d7b4===_0x31bf04)break;else _0x7540e4['push'](_0x7540e4['shift']());}catch(_0x46ed53){_0x7540e4['push'](_0x7540e4['shift']());}}}(_0x9145,0x311db));import{ContextPlugin as _0x361138,Context as _0x169b43}from'ckeditor5/src/core.js';import _0x308a1c from'./annotationsuis.js';import _0x198426 from'./sidebar.js';import{CKEditorError as _0x581efd,Collection as _0x43cddd}from'ckeditor5/src/utils.js';import{debounce as _0x4fb1e4}from'lodash-es';import _0x1e4a33 from'./editorannotations.js';export default class n extends _0x361138{static get[_0x296bb2(0x149)](){return[_0x198426,_0x308a1c];}static get[_0x296bb2(0x160)](){const _0x4cbcd5=_0x296bb2;return _0x4cbcd5(0x13f);}constructor(_0x14d8af){const _0x21d172=_0x296bb2;super(_0x14d8af),this[_0x21d172(0x16d)]=!0x1,this[_0x21d172(0x140)](_0x21d172(0x13e),null),this[_0x21d172(0x168)]=null,this[_0x21d172(0x173)]=new _0x43cddd(),this[_0x21d172(0x16a)]=_0x4fb1e4(()=>{const _0x45c597=_0x21d172;this[_0x45c597(0x168)][_0x45c597(0x141)]();},0xfa,{'leading':!0x1});}[_0x296bb2(0x14a)](){const _0x3f639d=_0x296bb2,_0x3ec523=this[_0x3f639d(0x15e)][_0x3f639d(0x150)][_0x3f639d(0x16e)](_0x308a1c),_0x5c7f47=this[_0x3f639d(0x15e)][_0x3f639d(0x150)][_0x3f639d(0x16e)](_0x198426);_0x3ec523[_0x3f639d(0x14b)](_0x3f639d(0x13a),this),_0x5c7f47[_0x3f639d(0x143)]&&_0x3ec523[_0x3f639d(0x142)](_0x3f639d(0x13a));}[_0x296bb2(0x136)](_0xa06386){const _0x2a3b34=_0x296bb2;if(_0xa06386===this[_0x2a3b34(0x13e)])return;const _0x2b58e4=this[_0x2a3b34(0x15e)][_0x2a3b34(0x150)][_0x2a3b34(0x16e)](_0x198426);_0x2b58e4[_0x2a3b34(0x148)]=_0xa06386;const _0x4ace70=this[_0x2a3b34(0x13e)];this[_0x2a3b34(0x13e)]=_0xa06386,_0x2b58e4[_0x2a3b34(0x163)]({'blurredAnnotation':_0x4ace70,'activatedAnnotation':this[_0x2a3b34(0x13e)]});}[_0x296bb2(0x146)](_0x2e8c23){const _0x2855b1=_0x296bb2;this[_0x2855b1(0x168)]=_0x2e8c23;const _0x4ff9b4=this[_0x2855b1(0x15e)][_0x2855b1(0x150)][_0x2855b1(0x16e)](_0x198426);if(_0x4ff9b4[_0x2855b1(0x153)]=_0x2e8c23,this[_0x2855b1(0x16d)])throw new _0x581efd(_0x2855b1(0x14e),this);this[_0x2855b1(0x16d)]=!0x0,this[_0x2855b1(0x137)](_0x4ff9b4,_0x2855b1(0x171),()=>{const _0x388e07=_0x2855b1;this[_0x388e07(0x132)](),this[_0x388e07(0x137)](_0x4ff9b4,_0x388e07(0x144),_0x22083f=>{const _0x1a8897=_0x388e07;_0x22083f[_0x1a8897(0x15b)](),this[_0x1a8897(0x146)](_0x2e8c23);});}),_0x4ff9b4[_0x2855b1(0x165)]({'viewClass':_0x2855b1(0x134)});const _0x442ca9=_0x100543=>{const _0x63b8f=_0x2855b1;_0x100543[_0x63b8f(0x157)](),_0x4ff9b4[_0x63b8f(0x138)](_0x100543);};for(const _0x4fd8ce of _0x2e8c23)_0x442ca9(_0x4fd8ce);this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x131),(_0x4e9b90,_0x11060f)=>{_0x442ca9(_0x11060f);}),this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x133),(_0x27c176,_0x11138a,_0x4f4bac)=>{const _0x215d06=_0x2855b1;_0x4ff9b4[_0x215d06(0x152)]({'removedAnnotation':_0x11138a,'previousAnnotation':_0x2e8c23[_0x215d06(0x16e)](_0x4f4bac-0x1),'nextAnnotation':_0x2e8c23[_0x215d06(0x16e)](_0x4f4bac+0x1)}),_0x11138a===this[_0x215d06(0x13e)]&&this[_0x215d06(0x136)](null);},{'priority':_0x2855b1(0x15f)}),this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x135),(_0x155c24,_0x53e236)=>{const _0x249f88=_0x2855b1;this[_0x249f88(0x136)](_0x53e236);}),this[_0x2855b1(0x137)](_0x2e8c23,_0x2855b1(0x151),()=>{const _0x411aa0=_0x2855b1;this[_0x411aa0(0x136)](null);});const _0x1d4147=this[_0x2855b1(0x15e)]instanceof _0x169b43?this[_0x2855b1(0x15e)][_0x2855b1(0x139)]:new _0x43cddd([this[_0x2855b1(0x15e)]]);for(const _0x2768c2 of _0x1d4147)this[_0x2855b1(0x169)](_0x2768c2);this[_0x2855b1(0x137)](_0x1d4147,_0x2855b1(0x131),(_0x24dff2,_0xee4291)=>{const _0x39740b=_0x2855b1;this[_0x39740b(0x137)](_0xee4291,_0x39740b(0x167),()=>{const _0x5a5279=_0x39740b;this[_0x5a5279(0x169)](_0xee4291);});}),this[_0x2855b1(0x137)](_0x1d4147,_0x2855b1(0x133),(_0x3128a3,_0x2e34af)=>{const _0x5099c7=_0x2855b1;_0x2e34af[_0x5099c7(0x150)][_0x5099c7(0x172)](_0x5099c7(0x16b))&&this[_0x5099c7(0x158)](_0x2e34af[_0x5099c7(0x150)][_0x5099c7(0x16e)](_0x5099c7(0x16b)));}),window[_0x2855b1(0x161)](_0x2855b1(0x166),this[_0x2855b1(0x16a)]),this[_0x2855b1(0x168)][_0x2855b1(0x141)]();}[_0x296bb2(0x132)](){const _0x50e1b3=_0x296bb2;if(!this[_0x50e1b3(0x16d)])throw new _0x581efd(_0x50e1b3(0x15c),this);this[_0x50e1b3(0x136)](null);const _0xb81211=this[_0x50e1b3(0x15e)][_0x50e1b3(0x150)][_0x50e1b3(0x16e)](_0x198426);_0xb81211[_0x50e1b3(0x147)](this[_0x50e1b3(0x168)]),this[_0x50e1b3(0x13d)](_0xb81211),this[_0x50e1b3(0x13d)](this[_0x50e1b3(0x168)]),this[_0x50e1b3(0x15e)]instanceof _0x169b43&&this[_0x50e1b3(0x13d)](this[_0x50e1b3(0x15e)][_0x50e1b3(0x139)]);for(const _0x596062 of Array[_0x50e1b3(0x154)](this[_0x50e1b3(0x173)]))this[_0x50e1b3(0x158)](_0x596062);window[_0x50e1b3(0x16f)](_0x50e1b3(0x166),this[_0x50e1b3(0x16a)]),this[_0x50e1b3(0x16a)][_0x50e1b3(0x164)](),this[_0x50e1b3(0x13e)]=null,this[_0x50e1b3(0x16d)]=!0x1,this[_0x50e1b3(0x168)]=null;}[_0x296bb2(0x14f)](){const _0x3dc3a1=_0x296bb2;this[_0x3dc3a1(0x16d)]&&this[_0x3dc3a1(0x132)]();}[_0x296bb2(0x169)](_0x4fc823){const _0x12829a=_0x296bb2,_0x467bb9=_0x4fc823[_0x12829a(0x150)][_0x12829a(0x16e)](_0x1e4a33);if(!_0x467bb9)return;const _0x970d0d=()=>{const _0x20a6cd=_0x12829a,_0x421013=_0x467bb9[_0x20a6cd(0x13b)]({'annotations':this[_0x20a6cd(0x168)],'activeAnnotation':this[_0x20a6cd(0x13e)]});this[_0x20a6cd(0x136)](_0x421013[0x0]||null);};this[_0x12829a(0x137)](_0x467bb9,_0x12829a(0x163),_0x970d0d),this[_0x12829a(0x137)](_0x467bb9,_0x12829a(0x151),(_0x4b3e46,{isAnnotationTracked:_0x36c15a})=>{const _0x43f0bf=_0x12829a;this[_0x43f0bf(0x13e)]&&_0x36c15a(this[_0x43f0bf(0x13e)])&&this[_0x43f0bf(0x136)](null);}),this[_0x12829a(0x137)](_0x467bb9,_0x12829a(0x14d),()=>{const _0x1c0563=_0x12829a;this[_0x1c0563(0x16a)]();}),this[_0x12829a(0x137)](this[_0x12829a(0x168)],_0x12829a(0x151),_0x25707f=>{const _0x58f57f=_0x12829a;_0x467bb9[_0x58f57f(0x16c)]()&&(_0x970d0d(),_0x25707f[_0x58f57f(0x170)]());},{'priority':_0x12829a(0x15f)}),this[_0x12829a(0x173)][_0x12829a(0x131)](_0x467bb9);}[_0x296bb2(0x158)](_0x5e0d11){const _0x332704=_0x296bb2;this[_0x332704(0x13d)](_0x5e0d11),this[_0x332704(0x173)][_0x332704(0x133)](_0x5e0d11);}}function _0x9145(){const _0x580b8f=['set:container','has','_editorAnnotations','8150440qmIVkc','add','detach','remove','ck-sidebar--wide','focus','setActiveAnnotation','listenTo','addAnnotation','editors','wideSidebar','getOrderedSelectedAnnotations','13385PwqveP','stopListening','activeAnnotation','WideSidebar','set','refreshPositioning','switchTo','container','change:container','8616XBJqOV','attach','_detachFromContainer','_activeAnnotation','requires','init','register','45163OddBDt','uiUpdate','widesidebar-attach-already-attached','destroy','plugins','blur','rearrange','_annotations','from','1613752FGgOXJ','2601621clldNU','updateTargetRect','_destroyEditorAnnotationsIntegration','126TYZWHF','511696xjmQeu','off','widesidebar-detach-not-attached','2PGQePr','context','high','pluginName','addEventListener','99BZTppB','refresh','cancel','_attachToContainer','resize','ready','annotations','_integrateWithEditorAnnotations','_refreshPositioningDebounced','EditorAnnotations','hasDomSelection','isAttached','get','removeEventListener','stop'];_0x9145=function(){return _0x580b8f;};return _0x9145();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x36a1=['isEnabled','getRanges','$textProxy','editor','getLastMatchingPosition','isObject','change','_trimToContent','document','substr','execute','selection','end','element','push','refresh','item','addMarker','_hasContent','schema','tableCell','model'];(function(_0x7820e2,_0x36a193){const _0x49c3a5=function(_0x47d0a9){while(--_0x47d0a9){_0x7820e2['push'](_0x7820e2['shift']());}};_0x49c3a5(++_0x36a193);}(_0x36a1,0x83));const _0x49c3=function(_0x7820e2,_0x36a193){_0x7820e2=_0x7820e2-0x0;let _0x49c3a5=_0x36a1[_0x7820e2];return _0x49c3a5;};import{Command as _0x1205d7}from'ckeditor5/src/core.js';import{uid as _0x323e07}from'ckeditor5/src/utils.js';export default class G extends _0x1205d7{[_0x49c3('0x10')](){const _0x1e94a0=this[_0x49c3('0x4')][_0x49c3('0x0')][_0x49c3('0x9')][_0x49c3('0xc')];for(const _0x477bd3 of _0x1e94a0[_0x49c3('0x2')]())if(this[_0x49c3('0x13')](_0x477bd3))return void(this['isEnabled']=!0x0);this[_0x49c3('0x1')]=!0x1;}[_0x49c3('0xb')]({threadId:_0x545c6a=_0x323e07()}={}){const _0x2613f3=this[_0x49c3('0x4')][_0x49c3('0x0')],_0x5f1deb=[];for(const _0x351425 of _0x2613f3[_0x49c3('0x9')][_0x49c3('0xc')][_0x49c3('0x2')]())this[_0x49c3('0x13')](_0x351425)&&_0x5f1deb[_0x49c3('0xf')](this[_0x49c3('0x8')](_0x351425));_0x2613f3[_0x49c3('0x7')](_0x153b50=>{for(const _0x33d0ac of _0x5f1deb){const _0x36b1c8=_0x323e07()[_0x49c3('0xa')](0x1,0x5),_0x357edd='comment:'+_0x545c6a+':'+_0x36b1c8;_0x153b50[_0x49c3('0x12')](_0x357edd,{'range':_0x33d0ac,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x49c3('0x13')](_0x395996){for(const _0x2dd530 of _0x395996['getItems']())if(this['_itemIsContent'](_0x2dd530))return!0x0;return!0x1;}['_itemIsContent'](_0x2152b8){return _0x2152b8['is'](_0x49c3('0x3'))||this['editor'][_0x49c3('0x0')][_0x49c3('0x14')][_0x49c3('0x6')](_0x2152b8)&&!_0x2152b8['is'](_0x49c3('0xe'),_0x49c3('0x15'));}['_trimToContent'](_0x4752e6){const _0x1116b7=_0x19a790=>!this['_itemIsContent'](_0x19a790[_0x49c3('0x11')]),_0x175e5f=_0x4752e6['start'][_0x49c3('0x5')](_0x1116b7),_0x5409d2=_0x4752e6[_0x49c3('0xd')][_0x49c3('0x5')](_0x1116b7,{'direction':'backward'});return this[_0x49c3('0x4')][_0x49c3('0x0')]['createRange'](_0x175e5f,_0x5409d2);}}
23
+ const _0x354a77=_0x486c;(function(_0x350e76,_0x22617d){const _0x17f4e3=_0x486c,_0x377e32=_0x350e76();while(!![]){try{const _0x444ca5=parseInt(_0x17f4e3(0x1ca))/0x1+parseInt(_0x17f4e3(0x1c6))/0x2+-parseInt(_0x17f4e3(0x1c0))/0x3+parseInt(_0x17f4e3(0x1bc))/0x4+-parseInt(_0x17f4e3(0x1bf))/0x5+parseInt(_0x17f4e3(0x1bb))/0x6*(-parseInt(_0x17f4e3(0x1da))/0x7)+-parseInt(_0x17f4e3(0x1b8))/0x8*(-parseInt(_0x17f4e3(0x1c9))/0x9);if(_0x444ca5===_0x22617d)break;else _0x377e32['push'](_0x377e32['shift']());}catch(_0x13795a){_0x377e32['push'](_0x377e32['shift']());}}}(_0x258e,0x76000));import{Command as _0x127056}from'ckeditor5/src/core.js';function _0x258e(){const _0x2d390b=['model','start','244945hpEhYN','2667726dfpCsA','_itemIsContent','execute','refresh','selection','tableCell','1841872nVWysd','backward','isEnabled','846rIlprL','874974kHCXED','getLastMatchingPosition','end','element','getRanges','addMarker','$textProxy','push','schema','substr','change','item','editor','_trimToContent','createRange','document','7LLkPre','comment:','isObject','12624PiqpWD','getItems','_hasContent','5518740eJWgHv','1588428pMZRZN'];_0x258e=function(){return _0x2d390b;};return _0x258e();}function _0x486c(_0x3f25e1,_0xb6a947){const _0x258e02=_0x258e();return _0x486c=function(_0x486c3c,_0x20c3c5){_0x486c3c=_0x486c3c-0x1b8;let _0x4cc91d=_0x258e02[_0x486c3c];return _0x4cc91d;},_0x486c(_0x3f25e1,_0xb6a947);}import{uid as _0x22b217}from'ckeditor5/src/utils.js';export default class G extends _0x127056{[_0x354a77(0x1c3)](){const _0x5aa401=_0x354a77,_0x59963a=this[_0x5aa401(0x1d6)][_0x5aa401(0x1bd)][_0x5aa401(0x1d9)][_0x5aa401(0x1c4)];for(const _0x2109e3 of _0x59963a[_0x5aa401(0x1ce)]())if(this[_0x5aa401(0x1ba)](_0x2109e3))return void(this[_0x5aa401(0x1c8)]=!0x0);this[_0x5aa401(0x1c8)]=!0x1;}[_0x354a77(0x1c2)]({threadId:_0x4a97a9=_0x22b217()}={}){const _0x5d39a7=_0x354a77,_0x4f02a2=this[_0x5d39a7(0x1d6)][_0x5d39a7(0x1bd)],_0x437ae2=[];for(const _0x416a6d of _0x4f02a2[_0x5d39a7(0x1d9)][_0x5d39a7(0x1c4)][_0x5d39a7(0x1ce)]())this[_0x5d39a7(0x1ba)](_0x416a6d)&&_0x437ae2[_0x5d39a7(0x1d1)](this[_0x5d39a7(0x1d7)](_0x416a6d));_0x4f02a2[_0x5d39a7(0x1d4)](_0x4d111b=>{const _0x3f7654=_0x5d39a7;for(const _0x2a8ab5 of _0x437ae2){const _0x4e4068=_0x22b217()[_0x3f7654(0x1d3)](0x1,0x5),_0x2163f6=_0x3f7654(0x1db)+_0x4a97a9+':'+_0x4e4068;_0x4d111b[_0x3f7654(0x1cf)](_0x2163f6,{'range':_0x2a8ab5,'usingOperation':!0x1,'affectsData':!0x1});}});}[_0x354a77(0x1ba)](_0x56921f){const _0x3e0055=_0x354a77;for(const _0x158f83 of _0x56921f[_0x3e0055(0x1b9)]())if(this[_0x3e0055(0x1c1)](_0x158f83))return!0x0;return!0x1;}[_0x354a77(0x1c1)](_0xe10fb9){const _0x2f6096=_0x354a77;return _0xe10fb9['is'](_0x2f6096(0x1d0))||this[_0x2f6096(0x1d6)][_0x2f6096(0x1bd)][_0x2f6096(0x1d2)][_0x2f6096(0x1dc)](_0xe10fb9)&&!_0xe10fb9['is'](_0x2f6096(0x1cd),_0x2f6096(0x1c5));}[_0x354a77(0x1d7)](_0x5b5c4c){const _0xc87dec=_0x354a77,_0xbae467=_0x38ad7c=>!this[_0xc87dec(0x1c1)](_0x38ad7c[_0xc87dec(0x1d5)]),_0xf221ff=_0x5b5c4c[_0xc87dec(0x1be)][_0xc87dec(0x1cb)](_0xbae467),_0x2789b1=_0x5b5c4c[_0xc87dec(0x1cc)][_0xc87dec(0x1cb)](_0xbae467,{'direction':_0xc87dec(0x1c7)});return this[_0xc87dec(0x1d6)][_0xc87dec(0x1bd)][_0xc87dec(0x1d8)](_0xf221ff,_0x2789b1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b88=['collection','findIndex','has','pluginName','archivedThreads','init','activate','_calculatePosition','removeCommentThread','highest','listenTo','plugins','add','focus','getCommentThread','stopListening','remove','get','archivedAt','requires','addCommentThread','isActive'];(function(_0x19c7dd,_0x3b8868){const _0x28516f=function(_0x4ce35e){while(--_0x4ce35e){_0x19c7dd['push'](_0x19c7dd['shift']());}};_0x28516f(++_0x3b8868);}(_0x3b88,0xd0));const _0x2851=function(_0x19c7dd,_0x3b8868){_0x19c7dd=_0x19c7dd-0x0;let _0x28516f=_0x3b88[_0x19c7dd];return _0x28516f;};import{ContextPlugin as _0x43b405}from'ckeditor5/src/core.js';import{Collection as _0xf11f9c}from'ckeditor5/src/utils.js';import _0x2400fc from'./commentsrepository.js';import _0x1df888 from'../annotations/annotations.js';export default class p extends _0x43b405{static get[_0x2851('0xf')](){return'CommentsArchive';}static get[_0x2851('0x9')](){return[_0x2400fc,_0x1df888];}constructor(_0x3a83f2){super(_0x3a83f2),this[_0x2851('0x10')]=new _0xf11f9c();}[_0x2851('0x11')](){const _0x3cd14d=this['context'],_0xf621b4=_0x3cd14d[_0x2851('0x1')][_0x2851('0x7')](_0x2400fc),_0x4e97b7=_0x3cd14d[_0x2851('0x1')][_0x2851('0x7')](_0x1df888);this['listenTo'](_0xf621b4,_0x2851('0xa'),(_0x4b96e7,{threadId:_0x34badf})=>{const _0x181942=_0xf621b4[_0x2851('0x4')](_0x34badf);_0x181942[_0x2851('0x8')]&&this[_0x2851('0x10')][_0x2851('0x2')](_0x181942,this['_calculatePosition'](_0x181942[_0x2851('0x8')])),this[_0x2851('0x0')](_0x181942,'change:archivedAt',(_0x46fcff,_0x4217a1,_0xcdd80)=>{_0xcdd80?this[_0x2851('0x10')][_0x2851('0xe')](_0x181942)||this[_0x2851('0x10')][_0x2851('0x2')](_0x181942,this[_0x2851('0x13')](_0x181942[_0x2851('0x8')])):this[_0x2851('0x10')][_0x2851('0xe')](_0x181942)&&this[_0x2851('0x10')][_0x2851('0x6')](_0x181942);});}),this['listenTo'](_0xf621b4,_0x2851('0x14'),(_0x4669cf,{threadId:_0xf53376})=>{const _0x4e6650=_0xf621b4[_0x2851('0x4')](_0xf53376);this[_0x2851('0x5')](_0x4e6650),this['archivedThreads'][_0x2851('0xe')](_0x4e6650)&&this[_0x2851('0x10')][_0x2851('0x6')](_0x4e6650);},{'priority':_0x2851('0x15')}),this[_0x2851('0x0')](_0x4e97b7[_0x2851('0xc')],_0x2851('0x3'),(_0x5629d7,_0x1e5cb1)=>{_0x1e5cb1[_0x2851('0xb')]=!0x0,_0x4e97b7[_0x2851('0x12')](_0x1e5cb1);});}[_0x2851('0x13')](_0x14831a){const _0x216ecd=[...this[_0x2851('0x10')]][_0x2851('0xd')](_0x1df64c=>_0x1df64c[_0x2851('0x8')]<_0x14831a);return _0x216ecd>-0x1?_0x216ecd:this[_0x2851('0x10')]['length'];}}
23
+ const _0x47bccf=_0x1948;function _0x3484(){const _0x4aa448=['change:archivedAt','665935tPWqtH','removeCommentThread','findIndex','requires','highest','isActive','add','activate','listenTo','archivedAt','306jQRRtY','context','get','archivedThreads','_calculatePosition','remove','36occbmi','193108NLKpBk','getCommentThread','stopListening','pluginName','173280ZOxmRv','plugins','init','516866YkhPrz','CommentsArchive','collection','addCommentThread','12LURjHw','208460SEDkxu','778419MdvZYP','focus','has','198WLjSeh','48056obVFGp','length'];_0x3484=function(){return _0x4aa448;};return _0x3484();}(function(_0x4722c4,_0x323baa){const _0x631a44=_0x1948,_0x50fec2=_0x4722c4();while(!![]){try{const _0xaf9993=-parseInt(_0x631a44(0xe8))/0x1+-parseInt(_0x631a44(0xec))/0x2+parseInt(_0x631a44(0xf5))/0x3+parseInt(_0x631a44(0xf3))/0x4*(parseInt(_0x631a44(0xfc))/0x5)+parseInt(_0x631a44(0x10c))/0x6*(parseInt(_0x631a44(0xef))/0x7)+parseInt(_0x631a44(0xf9))/0x8*(-parseInt(_0x631a44(0x106))/0x9)+-parseInt(_0x631a44(0xf4))/0xa*(parseInt(_0x631a44(0xf8))/0xb);if(_0xaf9993===_0x323baa)break;else _0x50fec2['push'](_0x50fec2['shift']());}catch(_0xb4ebb0){_0x50fec2['push'](_0x50fec2['shift']());}}}(_0x3484,0x3b4a0));import{ContextPlugin as _0x488884}from'ckeditor5/src/core.js';import{Collection as _0xfbc5c8}from'ckeditor5/src/utils.js';function _0x1948(_0x55e5ba,_0x2643c1){const _0x34840f=_0x3484();return _0x1948=function(_0x194827,_0x9e7eb7){_0x194827=_0x194827-0xe8;let _0x283e79=_0x34840f[_0x194827];return _0x283e79;},_0x1948(_0x55e5ba,_0x2643c1);}import _0x2b0a4e from'./commentsrepository.js';import _0x521067 from'../annotations/annotations.js';export default class p extends _0x488884{static get[_0x47bccf(0xeb)](){const _0x2d0d2c=_0x47bccf;return _0x2d0d2c(0xf0);}static get[_0x47bccf(0xff)](){return[_0x2b0a4e,_0x521067];}constructor(_0x80cc0b){const _0x3e8119=_0x47bccf;super(_0x80cc0b),this[_0x3e8119(0x109)]=new _0xfbc5c8();}[_0x47bccf(0xee)](){const _0x113664=_0x47bccf,_0x4e702b=this[_0x113664(0x107)],_0x50afe5=_0x4e702b[_0x113664(0xed)][_0x113664(0x108)](_0x2b0a4e),_0x541ec5=_0x4e702b[_0x113664(0xed)][_0x113664(0x108)](_0x521067);this[_0x113664(0x104)](_0x50afe5,_0x113664(0xf2),(_0x4408c7,{threadId:_0x50d646})=>{const _0xc486eb=_0x113664,_0xa607aa=_0x50afe5[_0xc486eb(0xe9)](_0x50d646);_0xa607aa[_0xc486eb(0x105)]&&this[_0xc486eb(0x109)][_0xc486eb(0x102)](_0xa607aa,this[_0xc486eb(0x10a)](_0xa607aa[_0xc486eb(0x105)])),this[_0xc486eb(0x104)](_0xa607aa,_0xc486eb(0xfb),(_0x49b398,_0x9bed38,_0x231821)=>{const _0x1b51de=_0xc486eb;_0x231821?this[_0x1b51de(0x109)][_0x1b51de(0xf7)](_0xa607aa)||this[_0x1b51de(0x109)][_0x1b51de(0x102)](_0xa607aa,this[_0x1b51de(0x10a)](_0xa607aa[_0x1b51de(0x105)])):this[_0x1b51de(0x109)][_0x1b51de(0xf7)](_0xa607aa)&&this[_0x1b51de(0x109)][_0x1b51de(0x10b)](_0xa607aa);});}),this[_0x113664(0x104)](_0x50afe5,_0x113664(0xfd),(_0x2cd5cf,{threadId:_0x4f4a07})=>{const _0x4a13bd=_0x113664,_0x1bc1ae=_0x50afe5[_0x4a13bd(0xe9)](_0x4f4a07);this[_0x4a13bd(0xea)](_0x1bc1ae),this[_0x4a13bd(0x109)][_0x4a13bd(0xf7)](_0x1bc1ae)&&this[_0x4a13bd(0x109)][_0x4a13bd(0x10b)](_0x1bc1ae);},{'priority':_0x113664(0x100)}),this[_0x113664(0x104)](_0x541ec5[_0x113664(0xf1)],_0x113664(0xf6),(_0xab86a2,_0xe144a5)=>{const _0x247dcc=_0x113664;_0xe144a5[_0x247dcc(0x101)]=!0x0,_0x541ec5[_0x247dcc(0x103)](_0xe144a5);});}[_0x47bccf(0x10a)](_0x1b3cbc){const _0x4ac22d=_0x47bccf,_0x42eb4c=[...this[_0x4ac22d(0x109)]][_0x4ac22d(0xfe)](_0x2c6ae0=>_0x2c6ae0[_0x4ac22d(0x105)]<_0x1b3cbc);return _0x42eb4c>-0x1?_0x42eb4c:this[_0x4ac22d(0x109)][_0x4ac22d(0xfa)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x521e=['pluginName','view','editor','requires','commentsArchive','change:isOpen','getByInnerView','componentFactory','classList','_handleAnnotationFocusableElements','CommentsArchiveUI','splice','_threadToController','panelView','findIndex','add','archivedThreads','COMMENTS_ARCHIVE','children','collection','_pendingThreads','buttonView','contains','annotationViews','stopListening','focusableElements','length','Annotations','_calculatePosition','focusTracker','CommentsRepository','ck-comments-archive-dropdown','mainView','_visibleAnnotations','ck-body','remove','find','listenTo','_createArchiveUIDropdown','config','innerView','init','locale','isVisible','commentsArchiveView','archivedAt','push','get','plugins','set'];(function(_0x4bc78a,_0x521e6d){const _0x1f1564=function(_0x13a273){while(--_0x13a273){_0x4bc78a['push'](_0x4bc78a['shift']());}};_0x1f1564(++_0x521e6d);}(_0x521e,0x1a2));const _0x1f15=function(_0x4bc78a,_0x521e6d){_0x4bc78a=_0x4bc78a-0x0;let _0x1f1564=_0x521e[_0x4bc78a];return _0x1f1564;};import'../../theme/commentsarchive.css';import{Plugin as _0x578840}from'ckeditor5/src/core.js';import{createDropdown as _0x32adea,ViewCollection as _0x422c24}from'ckeditor5/src/ui.js';import _0x42da95 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0xaf936d}from'../utils/common-translations.js';import _0x5ab285 from'./ui/view/commentsarchiveview.js';import _0xb9ec8 from'./commentsarchive.js';export default class a extends _0x578840{static get[_0x1f15('0x20')](){return _0x1f15('0x2a');}static get[_0x1f15('0x23')](){return[_0xb9ec8];}constructor(_0x404b96){super(_0x404b96),this[_0x1f15('0x5')]=new _0x422c24(),this[_0x1f15('0x2')]=[];}[_0x1f15('0x17')](){this[_0x1f15('0x22')]['ui'][_0x1f15('0x27')][_0x1f15('0x2f')](_0x1f15('0x24'),()=>this[_0x1f15('0x14')]());const _0x5dbf54=this['editor'][_0x1f15('0x1e')][_0x1f15('0x1d')](_0xb9ec8),_0x5e5c82=this[_0x1f15('0x22')]['plugins'][_0x1f15('0x1d')]('Annotations'),_0x175c7a=this[_0x1f15('0x22')][_0x1f15('0x1e')][_0x1f15('0x1d')](_0x1f15('0xc'));this[_0x1f15('0x13')](_0x5dbf54[_0x1f15('0x30')],_0x1f15('0x2f'),(_0x3fd991,_0x47a985)=>{const _0x7dc674=this['editor'][_0x1f15('0x15')][_0x1f15('0x1d')]('collaboration.channelId');if(!_0x7dc674||_0x47a985['channelId']===_0x7dc674){const _0x56ec92=this[_0x1f15('0xa')](_0x47a985[_0x1f15('0x1b')]),_0xba0d0e=_0x175c7a[_0x1f15('0x2c')][_0x1f15('0x1d')](_0x47a985);if(!_0xba0d0e)return void this['_pendingThreads'][_0x1f15('0x1c')]({'thread':_0x47a985,'position':_0x56ec92});const _0x47548e=_0x5e5c82[_0x1f15('0x26')](_0xba0d0e[_0x1f15('0x21')]);_0x47548e[_0x1f15('0x19')]&&_0x5e5c82[_0x1f15('0xf')][_0x1f15('0x11')](_0x47548e),this['annotationViews'][_0x1f15('0x2f')](_0x47548e[_0x1f15('0x21')],_0x56ec92);}}),this[_0x1f15('0x13')](_0x5e5c82[_0x1f15('0x1')],_0x1f15('0x2f'),(_0x223ead,_0x1d9071)=>{const _0x1cbee0=this[_0x1f15('0x2')][_0x1f15('0x12')](({thread:_0x1dae09})=>{const _0x2dfb11=_0x175c7a[_0x1f15('0x2c')][_0x1f15('0x1d')](_0x1dae09);return _0x2dfb11&&_0x1d9071[_0x1f15('0x16')]===_0x2dfb11['view'];});_0x1cbee0&&(this['annotationViews'][_0x1f15('0x2f')](_0x1d9071[_0x1f15('0x21')],_0x1cbee0['position']),this['_pendingThreads'][_0x1f15('0x2b')](this['_pendingThreads']['indexOf'](_0x1cbee0),0x1));}),this[_0x1f15('0x13')](_0x5dbf54['archivedThreads'],_0x1f15('0x11'),(_0x2b02f8,_0x26c7a4)=>{const _0x5244ec=this['editor'][_0x1f15('0x15')][_0x1f15('0x1d')]('collaboration.channelId');if(!_0x5244ec||_0x26c7a4['channelId']===_0x5244ec){const _0x40a4b9=_0x175c7a[_0x1f15('0x2c')]['get'](_0x26c7a4),_0x315f44=_0x5e5c82[_0x1f15('0x26')](_0x40a4b9[_0x1f15('0x21')]);this[_0x1f15('0x5')][_0x1f15('0x11')](_0x315f44[_0x1f15('0x21')]),this[_0x1f15('0x6')](_0x315f44[_0x1f15('0x7')]);}});}[_0x1f15('0x29')](_0x1daa09,_0x44da95){for(const _0x4d7ad1 of _0x44da95['focusableElements'])_0x4d7ad1[_0x1f15('0x28')][_0x1f15('0x4')](_0x1f15('0x10'))&&_0x1daa09[_0x1f15('0xb')][_0x1f15('0x2f')](_0x4d7ad1);this[_0x1f15('0x13')](_0x44da95[_0x1f15('0x7')],_0x1f15('0x2f'),(_0x22f1ba,_0x57f0a3)=>{_0x57f0a3[_0x1f15('0x28')][_0x1f15('0x4')](_0x1f15('0x10'))&&_0x1daa09[_0x1f15('0xb')][_0x1f15('0x2f')](_0x57f0a3);}),this[_0x1f15('0x13')](_0x44da95[_0x1f15('0x7')],_0x1f15('0x11'),(_0x37715f,_0x8506a6)=>{_0x8506a6[_0x1f15('0x28')]['contains'](_0x1f15('0x10'))&&_0x1daa09[_0x1f15('0xb')][_0x1f15('0x11')](_0x8506a6);});}[_0x1f15('0xa')](_0x39220f){const _0x236037=this[_0x1f15('0x22')][_0x1f15('0x15')][_0x1f15('0x1d')]('collaboration.channelId'),_0x33662f=[...this[_0x1f15('0x22')][_0x1f15('0x1e')][_0x1f15('0x1d')](_0xb9ec8)[_0x1f15('0x30')]]['filter'](_0x1eb440=>_0x1eb440['channelId']===_0x236037)[_0x1f15('0x2e')](_0xdbe93e=>_0xdbe93e[_0x1f15('0x1b')]<_0x39220f);return _0x33662f>-0x1?_0x33662f-0x1:this['annotationViews'][_0x1f15('0x8')];}[_0x1f15('0x14')](){const _0xe1e686=this[_0x1f15('0x22')],_0x3b19d9=this[_0x1f15('0x22')][_0x1f15('0x1e')][_0x1f15('0x1d')](_0x1f15('0x9')),_0x27fc39=_0x32adea(_0xe1e686[_0x1f15('0x18')]);_0x27fc39[_0x1f15('0x3')][_0x1f15('0x1f')]({'icon':_0x42da95,'label':_0xaf936d(_0xe1e686[_0x1f15('0x18')],_0x1f15('0x31')),'tooltip':!0x0}),_0x27fc39['panelView']['extendTemplate']({'attributes':{'class':_0x1f15('0xd')}}),_0x27fc39['on'](_0x1f15('0x25'),(_0x52a3f6,_0x190895,_0x213745)=>{this['commentsArchiveView']||(this[_0x1f15('0x1a')]=new _0x5ab285(_0xe1e686[_0x1f15('0x18')],this[_0x1f15('0x5')])),_0x213745?_0x27fc39[_0x1f15('0x2d')][_0x1f15('0x0')][_0x1f15('0x2f')](this['commentsArchiveView']):_0x27fc39[_0x1f15('0x2d')][_0x1f15('0x0')][_0x1f15('0x11')](this['commentsArchiveView']);});for(const _0x20795c of this['annotationViews']){const _0x2af511=_0x3b19d9['getByInnerView'](_0x20795c[_0x1f15('0xe')]);this['_handleAnnotationFocusableElements'](_0x27fc39,_0x2af511);}return _0x27fc39[_0x1f15('0x13')](this[_0x1f15('0x5')],_0x1f15('0x2f'),(_0x2e1c2c,_0x2b772e)=>{const _0xf19bf=_0x3b19d9[_0x1f15('0x26')](_0x2b772e[_0x1f15('0xe')]);this[_0x1f15('0x29')](_0x27fc39,_0xf19bf);}),_0x27fc39[_0x1f15('0x13')](this[_0x1f15('0x5')],_0x1f15('0x11'),(_0x556bd9,_0x457a19)=>{const _0xceb3f1=_0x3b19d9[_0x1f15('0x26')](_0x457a19[_0x1f15('0xe')]);for(const _0x2a530a of _0xceb3f1[_0x1f15('0x7')])_0x2a530a[_0x1f15('0x28')]['contains'](_0x1f15('0x10'))&&_0x27fc39[_0x1f15('0xb')][_0x1f15('0x11')](_0x2a530a);}),_0x27fc39;}}
23
+ const _0xb2f611=_0x147a;(function(_0x8a9fec,_0x11461d){const _0x30420b=_0x147a,_0x186d18=_0x8a9fec();while(!![]){try{const _0xc1f159=parseInt(_0x30420b(0x12b))/0x1*(parseInt(_0x30420b(0x149))/0x2)+parseInt(_0x30420b(0x12a))/0x3+parseInt(_0x30420b(0x155))/0x4+parseInt(_0x30420b(0x142))/0x5*(-parseInt(_0x30420b(0x151))/0x6)+-parseInt(_0x30420b(0x14a))/0x7+-parseInt(_0x30420b(0x154))/0x8*(-parseInt(_0x30420b(0x12c))/0x9)+parseInt(_0x30420b(0x136))/0xa;if(_0xc1f159===_0x11461d)break;else _0x186d18['push'](_0x186d18['shift']());}catch(_0x3ef126){_0x186d18['push'](_0x186d18['shift']());}}}(_0x5f3a,0x7002c));import'../../theme/commentsarchive.css';function _0x5f3a(){const _0x308fb3=['getByInnerView','CommentsArchiveUI','COMMENTS_ARCHIVE','ck-body','5606fQiYar','4833787JaMeNX','length','filter','stopListening','ck-comments-archive-dropdown','archivedAt','focusTracker','32514GPMPhg','pluginName','focusableElements','1200624sjyVaV','454408bCeyAn','plugins','componentFactory','locale','CommentsRepository','_createArchiveUIDropdown','splice','commentsArchiveView','set','_pendingThreads','commentsArchive','position','classList','add','panelView','buttonView','find','collaboration.channelId','contains','extendTemplate','listenTo','channelId','annotationViews','1174248zVTIwO','86Kuducj','9XsbNSl','indexOf','_calculatePosition','push','init','config','archivedThreads','_threadToController','remove','findIndex','5403900ZWAyuN','children','isVisible','_handleAnnotationFocusableElements','change:isOpen','Annotations','innerView','_visibleAnnotations','collection','requires','editor','get','265VibrVX','view','mainView'];_0x5f3a=function(){return _0x308fb3;};return _0x5f3a();}import{Plugin as _0x1f7712}from'ckeditor5/src/core.js';function _0x147a(_0x5ee8bd,_0x7acda4){const _0x5f3a80=_0x5f3a();return _0x147a=function(_0x147a03,_0x2b63e9){_0x147a03=_0x147a03-0x119;let _0x55f1e4=_0x5f3a80[_0x147a03];return _0x55f1e4;},_0x147a(_0x5ee8bd,_0x7acda4);}import{createDropdown as _0x125f98,ViewCollection as _0x27430a}from'ckeditor5/src/ui.js';import _0x3020b9 from'../../theme/icons/comments-archive.svg';import{getTranslation as _0x1c1db6}from'../utils/common-translations.js';import _0x16ba25 from'./ui/view/commentsarchiveview.js';import _0x2b8adc from'./commentsarchive.js';export default class a extends _0x1f7712{static get[_0xb2f611(0x152)](){const _0x52b191=_0xb2f611;return _0x52b191(0x146);}static get[_0xb2f611(0x13f)](){return[_0x2b8adc];}constructor(_0x36a2ff){const _0x3a7de7=_0xb2f611;super(_0x36a2ff),this[_0x3a7de7(0x129)]=new _0x27430a(),this[_0x3a7de7(0x11c)]=[];}[_0xb2f611(0x130)](){const _0x2c19f3=_0xb2f611;this[_0x2c19f3(0x140)]['ui'][_0x2c19f3(0x157)][_0x2c19f3(0x120)](_0x2c19f3(0x11d),()=>this[_0x2c19f3(0x15a)]());const _0x2c6d27=this[_0x2c19f3(0x140)][_0x2c19f3(0x156)][_0x2c19f3(0x141)](_0x2b8adc),_0x34fb41=this[_0x2c19f3(0x140)][_0x2c19f3(0x156)][_0x2c19f3(0x141)](_0x2c19f3(0x13b)),_0x46dff5=this[_0x2c19f3(0x140)][_0x2c19f3(0x156)][_0x2c19f3(0x141)](_0x2c19f3(0x159));this[_0x2c19f3(0x127)](_0x2c6d27[_0x2c19f3(0x132)],_0x2c19f3(0x120),(_0x141c4c,_0x4f2279)=>{const _0x25b72b=_0x2c19f3,_0x393dd6=this[_0x25b72b(0x140)][_0x25b72b(0x131)][_0x25b72b(0x141)](_0x25b72b(0x124));if(!_0x393dd6||_0x4f2279[_0x25b72b(0x128)]===_0x393dd6){const _0x3052d9=this[_0x25b72b(0x12e)](_0x4f2279[_0x25b72b(0x14f)]),_0x4fd5e4=_0x46dff5[_0x25b72b(0x133)][_0x25b72b(0x141)](_0x4f2279);if(!_0x4fd5e4)return void this[_0x25b72b(0x11c)][_0x25b72b(0x12f)]({'thread':_0x4f2279,'position':_0x3052d9});const _0x200e04=_0x34fb41[_0x25b72b(0x145)](_0x4fd5e4[_0x25b72b(0x143)]);_0x200e04[_0x25b72b(0x138)]&&_0x34fb41[_0x25b72b(0x13d)][_0x25b72b(0x134)](_0x200e04),this[_0x25b72b(0x129)][_0x25b72b(0x120)](_0x200e04[_0x25b72b(0x143)],_0x3052d9);}}),this[_0x2c19f3(0x127)](_0x34fb41[_0x2c19f3(0x13e)],_0x2c19f3(0x120),(_0x142462,_0x19d9b4)=>{const _0x2ba6a8=_0x2c19f3,_0x3033b5=this[_0x2ba6a8(0x11c)][_0x2ba6a8(0x123)](({thread:_0x1aa226})=>{const _0x376218=_0x2ba6a8,_0x57137b=_0x46dff5[_0x376218(0x133)][_0x376218(0x141)](_0x1aa226);return _0x57137b&&_0x19d9b4[_0x376218(0x13c)]===_0x57137b[_0x376218(0x143)];});_0x3033b5&&(this[_0x2ba6a8(0x129)][_0x2ba6a8(0x120)](_0x19d9b4[_0x2ba6a8(0x143)],_0x3033b5[_0x2ba6a8(0x11e)]),this[_0x2ba6a8(0x11c)][_0x2ba6a8(0x119)](this[_0x2ba6a8(0x11c)][_0x2ba6a8(0x12d)](_0x3033b5),0x1));}),this[_0x2c19f3(0x127)](_0x2c6d27[_0x2c19f3(0x132)],_0x2c19f3(0x134),(_0x24d2d7,_0x14bbc4)=>{const _0xc276b4=_0x2c19f3,_0x182caa=this[_0xc276b4(0x140)][_0xc276b4(0x131)][_0xc276b4(0x141)](_0xc276b4(0x124));if(!_0x182caa||_0x14bbc4[_0xc276b4(0x128)]===_0x182caa){const _0x1ef252=_0x46dff5[_0xc276b4(0x133)][_0xc276b4(0x141)](_0x14bbc4),_0x4846cc=_0x34fb41[_0xc276b4(0x145)](_0x1ef252[_0xc276b4(0x143)]);this[_0xc276b4(0x129)][_0xc276b4(0x134)](_0x4846cc[_0xc276b4(0x143)]),this[_0xc276b4(0x14d)](_0x4846cc[_0xc276b4(0x153)]);}});}[_0xb2f611(0x139)](_0x5ee1e5,_0x35cbde){const _0x2ba2a2=_0xb2f611;for(const _0x14191f of _0x35cbde[_0x2ba2a2(0x153)])_0x14191f[_0x2ba2a2(0x11f)][_0x2ba2a2(0x125)](_0x2ba2a2(0x148))&&_0x5ee1e5[_0x2ba2a2(0x150)][_0x2ba2a2(0x120)](_0x14191f);this[_0x2ba2a2(0x127)](_0x35cbde[_0x2ba2a2(0x153)],_0x2ba2a2(0x120),(_0x36dd3e,_0x708fae)=>{const _0x266e47=_0x2ba2a2;_0x708fae[_0x266e47(0x11f)][_0x266e47(0x125)](_0x266e47(0x148))&&_0x5ee1e5[_0x266e47(0x150)][_0x266e47(0x120)](_0x708fae);}),this[_0x2ba2a2(0x127)](_0x35cbde[_0x2ba2a2(0x153)],_0x2ba2a2(0x134),(_0x39decd,_0x4f9211)=>{const _0x246405=_0x2ba2a2;_0x4f9211[_0x246405(0x11f)][_0x246405(0x125)](_0x246405(0x148))&&_0x5ee1e5[_0x246405(0x150)][_0x246405(0x134)](_0x4f9211);});}[_0xb2f611(0x12e)](_0x214c01){const _0x28a8f3=_0xb2f611,_0x4ab67a=this[_0x28a8f3(0x140)][_0x28a8f3(0x131)][_0x28a8f3(0x141)](_0x28a8f3(0x124)),_0x12f14e=[...this[_0x28a8f3(0x140)][_0x28a8f3(0x156)][_0x28a8f3(0x141)](_0x2b8adc)[_0x28a8f3(0x132)]][_0x28a8f3(0x14c)](_0x4e7a72=>_0x4e7a72[_0x28a8f3(0x128)]===_0x4ab67a)[_0x28a8f3(0x135)](_0x53b491=>_0x53b491[_0x28a8f3(0x14f)]<_0x214c01);return _0x12f14e>-0x1?_0x12f14e-0x1:this[_0x28a8f3(0x129)][_0x28a8f3(0x14b)];}[_0xb2f611(0x15a)](){const _0x51e3f9=_0xb2f611,_0xb28f12=this[_0x51e3f9(0x140)],_0x47912c=this[_0x51e3f9(0x140)][_0x51e3f9(0x156)][_0x51e3f9(0x141)](_0x51e3f9(0x13b)),_0x4a8999=_0x125f98(_0xb28f12[_0x51e3f9(0x158)]);_0x4a8999[_0x51e3f9(0x122)][_0x51e3f9(0x11b)]({'icon':_0x3020b9,'label':_0x1c1db6(_0xb28f12[_0x51e3f9(0x158)],_0x51e3f9(0x147)),'tooltip':!0x0}),_0x4a8999[_0x51e3f9(0x121)][_0x51e3f9(0x126)]({'attributes':{'class':_0x51e3f9(0x14e)}}),_0x4a8999['on'](_0x51e3f9(0x13a),(_0x330899,_0x3691bd,_0x4528cf)=>{const _0x11ffe4=_0x51e3f9;this[_0x11ffe4(0x11a)]||(this[_0x11ffe4(0x11a)]=new _0x16ba25(_0xb28f12[_0x11ffe4(0x158)],this[_0x11ffe4(0x129)])),_0x4528cf?_0x4a8999[_0x11ffe4(0x121)][_0x11ffe4(0x137)][_0x11ffe4(0x120)](this[_0x11ffe4(0x11a)]):_0x4a8999[_0x11ffe4(0x121)][_0x11ffe4(0x137)][_0x11ffe4(0x134)](this[_0x11ffe4(0x11a)]);});for(const _0x30f090 of this[_0x51e3f9(0x129)]){const _0x3ae69d=_0x47912c[_0x51e3f9(0x145)](_0x30f090[_0x51e3f9(0x144)]);this[_0x51e3f9(0x139)](_0x4a8999,_0x3ae69d);}return _0x4a8999[_0x51e3f9(0x127)](this[_0x51e3f9(0x129)],_0x51e3f9(0x120),(_0x5cdc56,_0x19d57a)=>{const _0x60241a=_0x51e3f9,_0x35ceb4=_0x47912c[_0x60241a(0x145)](_0x19d57a[_0x60241a(0x144)]);this[_0x60241a(0x139)](_0x4a8999,_0x35ceb4);}),_0x4a8999[_0x51e3f9(0x127)](this[_0x51e3f9(0x129)],_0x51e3f9(0x134),(_0x437707,_0xbf3494)=>{const _0x233efe=_0x51e3f9,_0x36247c=_0x47912c[_0x233efe(0x145)](_0xbf3494[_0x233efe(0x144)]);for(const _0xf390bb of _0x36247c[_0x233efe(0x153)])_0xf390bb[_0x233efe(0x11f)][_0x233efe(0x125)](_0x233efe(0x148))&&_0x4a8999[_0x233efe(0x150)][_0x233efe(0x134)](_0xf390bb);}),_0x4a8999;}}
@@ -10,8 +10,9 @@ import type { Marker } from 'ckeditor5/src/engine.js';
10
10
  import CommentsRepository from './commentsrepository.js';
11
11
  import EditorAnnotations from '../annotations/editorannotations.js';
12
12
  import CommentsRestrictedEditingMode from './integrations/commentsrestrictededitingmode.js';
13
- import '../../theme/commentmarker.css';
14
13
  import CommentsImportWord from './integrations/importword.js';
14
+ import CommentsClipboard from './integrations/clipboard.js';
15
+ import '../../theme/commentmarker.css';
15
16
  /**
16
17
  * Plugin that keeps in sync comments in {@link module:comments/comments/commentsrepository~CommentsRepository} with
17
18
  * {@link module:engine/model/markercollection~Marker comment markers}.
@@ -40,7 +41,7 @@ export default class CommentsEditing extends Plugin {
40
41
  /**
41
42
  * @inheritDoc
42
43
  */
43
- static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord];
44
+ static get requires(): readonly [typeof CommentsRepository, typeof EditorAnnotations, typeof CommentsRestrictedEditingMode, typeof CommentsImportWord, typeof CommentsClipboard];
44
45
  /**
45
46
  * @inheritDoc
46
47
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2895=['getItems','view','once','get','hasContent','render','hasCommentThread','listenTo','init','removeMarker','startsWith','isLocal','_initAriaMarkerChangeAnnouncements','_detachCommentThread','$marker','unlinkedAt','getAllMarkersForId','resolveCommentThread','comments','change:isThreadsLoadingPaused','getByInnerView','set','plugins','isResolved','data','CommentsEditing','destroyed','item','conversion','LEAVE_COMMENT_ANNOUNCEMENT','editingDowncast','isEqual','commands','getCommentThread','isObject','ck-comment-marker','hasDomSelection','delete','_getTargetForId','attachTo','scrollToThreadMarker','reconvertMarker','openNewCommentThread','model','addMarker:','group','_initializeMarkerConverters','root','then','hasMarkerForId','markerName','isAttached','markerToHighlight','registerAnnotation','differ','getCommentThreads','context','addComment','push','_handleMarkerAddAndRemove','_threadToController','focus','config','requires','activeMarker','newRange','ck-comment-marker--active','reopenCommentThread','getChangedMarkers','announce','elementToElement','getAttribute','destroy','affectsData','fetchCommentThread','registerPostFixer','comment:','upcast','for','low','$textProxy','enqueueChange','switchReadOnly','from','_attachArchivedThread','_getTextContext','add','pluginName','_handleThreadMarker','change:isReadOnly','_reconvertMarkers','ENTER_COMMENT_ANNOUNCEMENT','change','start','ariaLiveAnnouncer','change:activeMarker','markers','length','document','addCommentThread','_hasTargetInContent','end','size','state','dataDowncast','_attachMarkerToThread','consume','getWalker','setContext','clear','split','isThreadsLoadingPaused','text','collaboration.channelId','createPositionBefore','setUnlinkedAt','updateMarker','managedUsingOperations','refreshVisibility','isCollapsed','$graveyard','comment','editor','createElement','locale','consumable','editing'];(function(_0x11c36e,_0x28957c){const _0x1a3667=function(_0x5636da){while(--_0x5636da){_0x11c36e['push'](_0x11c36e['shift']());}};_0x1a3667(++_0x28957c);}(_0x2895,0xae));const _0x1a36=function(_0x11c36e,_0x28957c){_0x11c36e=_0x11c36e-0x0;let _0x1a3667=_0x2895[_0x11c36e];return _0x1a3667;};import{Plugin as _0x13241f}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x2d7541}from'ckeditor5/src/utils.js';import _0x503ed2 from'./commentsrepository.js';import _0x397c6d from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x3b914d,getAllMarkersDomElementsSorted as _0x408bcc}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x4bbe01 from'../annotations/editorannotations.js';import _0x2f1b00 from'./integrations/commentsrestrictededitingmode.js';import'../../theme/commentmarker.css';import _0x6f50af from'./integrations/importword.js';import _0x1cedf6 from'../annotations/annotations.js';import{getTranslation as _0xe61512}from'../utils/common-translations.js';export default class r extends _0x13241f{static get[_0x1a36('0x10')](){return[_0x503ed2,_0x4bbe01,_0x2f1b00,_0x6f50af];}static get[_0x1a36('0x28')](){return _0x1a36('0x69');}constructor(_0x5e86a5){super(_0x5e86a5),this[_0x1a36('0x65')](_0x1a36('0x40'),!0x0),_0x5e86a5[_0x1a36('0x68')][_0x1a36('0x52')]('ready',()=>this['isThreadsLoadingPaused']=!0x1),this[_0x1a36('0x65')](_0x1a36('0x11'),null),this['on'](_0x1a36('0x30'),(_0x1a5947,_0x203f5f,_0x56923b,_0xf75d2)=>{const _0x269506=_0x56923b?ot(_0x56923b)['id']:null;if(_0x5e86a5['model'][_0x1a36('0x2d')](()=>{if(_0x269506){const _0x3d0ad2=this[_0x1a36('0x60')](_0x269506);for(const _0x1a180f of _0x3d0ad2)_0x5e86a5[_0x1a36('0x4f')][_0x1a36('0x79')](_0x1a180f);}if(_0xf75d2){const {id:_0x4845bf}=ot(_0xf75d2),_0x18d48f=this['getAllMarkersForId'](_0x4845bf);for(const _0x449071 of _0x18d48f)_0x5e86a5[_0x1a36('0x4f')][_0x1a36('0x79')](_0x449071);}}),_0x269506){const _0x39597b=_0x5e86a5[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2)[_0x1a36('0x71')](_0x269506);_0x39597b&&_0x39597b[_0x1a36('0x67')]&&this[_0x1a36('0x78')](_0x269506);}}),this[_0x1a36('0x5c')]();}[_0x1a36('0x58')](){const _0x1f73b3=this[_0x1a36('0x4b')],_0x5c9437=_0x1f73b3[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2),_0x1ce7eb=_0x1f73b3[_0x1a36('0xf')]['get'](_0x1a36('0x42'));_0x1f73b3[_0x1a36('0x70')][_0x1a36('0x27')](_0x1a36('0x34'),new _0x397c6d(_0x1f73b3)),this['listenTo'](_0x1f73b3,_0x1a36('0x2a'),(_0x37bfe5,_0x596211,_0x5eb9b4)=>{_0x5c9437[_0x1a36('0x23')](_0x5eb9b4,_0x1f73b3[_0x1a36('0xf')][_0x1a36('0x53')](_0x1a36('0x42')));}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0x34'),_0x1ce7eb),(_0x5d094c,{threadId:_0x2b10da})=>{const _0x3806fb=this[_0x1a36('0x4b')]['plugins'][_0x1a36('0x53')](_0x503ed2)['getCommentThread'](_0x2b10da);_0x3806fb&&_0x3806fb[_0x1a36('0x5f')]&&this[_0x1a36('0x25')](_0x2b10da);}),this['listenTo'](_0x5c9437,tt('removeCommentThread',_0x1ce7eb),(_0x462483,{threadId:_0x47cadd})=>{_0x1f73b3[_0x1a36('0x7b')][_0x1a36('0x22')]({'isUndoable':!0x1},_0x8dc80d=>{const _0x291858=this['getAllMarkersForId'](_0x47cadd);for(const _0x2bf0a8 of _0x291858)_0x8dc80d[_0x1a36('0x59')](_0x2bf0a8);});}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0x61'),_0x1ce7eb),(_0x299039,{threadId:_0x58d4dd})=>{(this[_0x1a36('0x2b')](_0x58d4dd),this[_0x1a36('0x4b')][_0x1a36('0x4f')]['view'][_0x1a36('0x74')])&&(this[_0x1a36('0x4b')][_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2)[_0x1a36('0x71')](_0x58d4dd)[_0x1a36('0x5f')]||this[_0x1a36('0x4b')]['editing']['view'][_0x1a36('0xe')]());},{'priority':'low'}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0x14'),_0x1ce7eb),(_0x61b67d,{threadId:_0x167b29})=>{this[_0x1a36('0x2b')](_0x167b29);},{'priority':_0x1a36('0x20')}),this[_0x1a36('0x57')](_0x5c9437,tt(_0x1a36('0xa'),_0x1ce7eb),(_0x53b540,{threadId:_0x13fd54,isFromAdapter:_0x1cf7d7})=>{const _0x5bdcc7=this[_0x1a36('0x60')](_0x13fd54);if(_0x1cf7d7||0x0==_0x5bdcc7[_0x1a36('0x32')]||!_0x5c9437[_0x1a36('0x56')](_0x13fd54))return;0x1===_0x5c9437[_0x1a36('0x71')](_0x13fd54)[_0x1a36('0x32')]&&_0x1f73b3[_0x1a36('0x7b')]['enqueueChange']({'isUndoable':!0x1},_0x29277a=>{for(const _0x332615 of _0x5bdcc7)_0x29277a[_0x1a36('0x45')](_0x332615,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x1a36('0x20')}),this[_0x1a36('0x7e')](),this[_0x1a36('0xc')]();}[_0x1a36('0x19')](){const _0xe54000=this['editor'][_0x1a36('0x66')]['get'](_0x503ed2),_0x5c6aca=this['editor'][_0x1a36('0xf')][_0x1a36('0x53')]('collaboration.channelId');for(const _0xd23f38 of _0xe54000[_0x1a36('0x8')]({'channelId':_0x5c6aca}))_0xe54000[_0x1a36('0x5d')](_0xd23f38['id']),_0xe54000['_threads'][_0x1a36('0x75')](_0xd23f38['id']);super['destroy']();}[_0x1a36('0x2')](_0x10b94d){return this['getAllMarkersForId'](_0x10b94d)[_0x1a36('0x32')]>0x0;}[_0x1a36('0x60')](_0x27af3c){const _0x1d2311=[];for(const _0x581827 of this[_0x1a36('0x4b')]['model'][_0x1a36('0x31')])_0x581827['name'][_0x1a36('0x5a')]('comment:'+_0x27af3c)&&_0x1d2311[_0x1a36('0xb')](_0x581827);return _0x1d2311;}['scrollToThreadMarker'](_0x5ab5e3){const _0x5846b9=this[_0x1a36('0x76')](_0x5ab5e3);_0x5846b9&&setTimeout(()=>{this[_0x1a36('0x11')]&&ot(this['activeMarker'])['id']===_0x5ab5e3&&_0x2d7541({'target':_0x5846b9[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x334c0f){this[_0x1a36('0x4b')][_0x1a36('0x7b')][_0x1a36('0x2d')](()=>{for(const _0x5aa634 of this[_0x1a36('0x60')](_0x334c0f))this[_0x1a36('0x4b')][_0x1a36('0x4f')][_0x1a36('0x79')](_0x5aa634);});}[_0x1a36('0x25')](_0x4fea11){const _0x31db41=this['editor']['plugins']['get'](_0x503ed2),_0x4af146=this[_0x1a36('0x4b')]['plugins']['get'](_0x4bbe01),_0x2990fc=_0x31db41[_0x1a36('0x71')](_0x4fea11);if(!_0x2990fc['isAttached']){const _0x731dc3=_0x2990fc[_0x1a36('0x77')](()=>this[_0x1a36('0x76')](_0x2990fc['id']));_0x4af146[_0x1a36('0x6')](_0x731dc3),_0x2990fc[_0x1a36('0x35')]=!0x1;}}[_0x1a36('0x7e')](){const _0x56eb3e=this[_0x1a36('0x4b')];_0x56eb3e['conversion']['for'](_0x1a36('0x6e'))[_0x1a36('0x5')]({'model':_0x1a36('0x4a'),'view':(_0xd2124b,_0x4cb466)=>{const {id:_0x2a49d8}=ot(_0xd2124b[_0x1a36('0x3')]),_0x28b601=_0x56eb3e[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2)[_0x1a36('0x71')](_0x2a49d8),_0x596fc2=this[_0x1a36('0x11')]&&ot(this[_0x1a36('0x11')])['id']===_0x2a49d8;if(_0x28b601&&_0x28b601[_0x1a36('0x67')]&&!_0x596fc2&&_0xd2124b[_0x1a36('0x6b')])return _0x4cb466[_0x1a36('0x4e')]['consume'](_0xd2124b[_0x1a36('0x6b')],_0x1a36('0x7c')+_0xd2124b[_0x1a36('0x3')]),_0x4cb466[_0x1a36('0x4e')][_0x1a36('0x3b')](_0xd2124b[_0x1a36('0x6b')],'removeMarker:'+_0xd2124b['markerName']),null;const _0x118140=[_0x1a36('0x73')];return _0x596fc2&&_0x118140['push'](_0x1a36('0x13')),{'classes':_0x118140,'attributes':{'data-comment':_0x2a49d8}};}}),_0x56eb3e[_0x1a36('0x6c')][_0x1a36('0x1f')](_0x1a36('0x39'))['markerToData']({'model':'comment','view':(_0x128a52,{options:_0x29a0d0})=>{const _0x534555=_0x56eb3e[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2),_0x1f3b17=_0x56eb3e[_0x1a36('0x7b')][_0x1a36('0x31')][_0x1a36('0x53')](_0x128a52),{id:_0x2ebf16,part:_0x122e72}=ot(_0x128a52);if(_0x1f3b17&&!_0x1f3b17[_0x1a36('0x1a')])return null;if(_0x29a0d0['ignoreResolvedComments']){const _0x518aa5=_0x534555[_0x1a36('0x71')](_0x2ebf16);if(_0x518aa5&&_0x518aa5[_0x1a36('0x67')])return null;}return{'group':'comment','name':_0x122e72?_0x2ebf16+':'+_0x122e72:_0x2ebf16};}}),_0x56eb3e['conversion'][_0x1a36('0x1f')](_0x1a36('0x1e'))[_0x1a36('0x17')]({'view':{'name':_0x1a36('0x4a'),'attributes':{'id':/^\w/}},'model':(_0x3042bd,{writer:_0x222e1a})=>_0x222e1a[_0x1a36('0x4c')](_0x1a36('0x5e'),{'data-name':_0x1a36('0x1d')+_0x3042bd[_0x1a36('0x18')]('id')})}),_0x56eb3e['conversion'][_0x1a36('0x1f')](_0x1a36('0x1e'))['dataToMarker']({'view':_0x1a36('0x4a')});}[_0x1a36('0xc')](){const _0x32238c=this[_0x1a36('0x4b')],_0x37d6b0=_0x32238c[_0x1a36('0x66')][_0x1a36('0x53')](_0x503ed2),_0x5bb5c7=new Set(),_0x3d3f8b=new Set();_0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')][_0x1a36('0x1c')](_0x5aa0c6=>{let _0x1efe8f=!0x1;for(const {name:_0x1b174d,data:_0x54cb61}of _0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')]['differ'][_0x1a36('0x15')]()){const {group:_0xc6f25e,id:_0x161107}=ot(_0x1b174d);let _0x13623c=_0x54cb61['newRange'];if(_0x1a36('0x4a')!==_0xc6f25e||!_0x13623c)continue;const _0x261051=_0x1a36('0x49')===_0x13623c[_0x1a36('0x0')]['rootName'];_0x261051||(_0x13623c=et(_0x13623c,_0x32238c[_0x1a36('0x7b')]),!_0x13623c||_0x13623c[_0x1a36('0x48')]||!_0x54cb61[_0x1a36('0x12')]||_0x13623c[_0x1a36('0x6f')](_0x54cb61[_0x1a36('0x12')]))?_0x32238c[_0x1a36('0x7b')][_0x1a36('0x54')](_0x13623c)&&!_0x261051?this[_0x1a36('0x40')]?_0x5bb5c7[_0x1a36('0x27')](_0x1b174d):this[_0x1a36('0x29')](_0x1b174d,_0x161107):(_0x3d3f8b['add'](_0x1b174d),_0x5bb5c7[_0x1a36('0x75')](_0x1b174d),_0x5aa0c6['removeMarker'](_0x1b174d),_0x1efe8f=!0x0):(_0x5aa0c6[_0x1a36('0x45')](_0x1b174d,{'range':_0x13623c}),_0x1efe8f=!0x0);}return _0x1efe8f;}),this['on'](_0x1a36('0x63'),(_0x229071,_0x5a7f1e,_0x44d35e)=>{if(!_0x44d35e&&_0x5bb5c7[_0x1a36('0x37')])for(const _0x1df4fa of _0x5bb5c7){const {id:_0x2685cd}=ot(_0x1df4fa);_0x5bb5c7['delete'](_0x1df4fa),_0x32238c['model']['markers'][_0x1a36('0x53')](_0x1df4fa)&&this[_0x1a36('0x29')](_0x1df4fa,_0x2685cd);}}),this[_0x1a36('0x57')](_0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')],_0x1a36('0x2d'),(_0x5a05c7,_0xf87efa)=>{for(const {name:_0x15b973,data:{newRange:_0x46c62f}}of _0x32238c[_0x1a36('0x7b')][_0x1a36('0x33')][_0x1a36('0x7')][_0x1a36('0x15')]()){const {group:_0x2e3865,id:_0x276f5d}=ot(_0x15b973);if(_0x1a36('0x4a')!==_0x2e3865)continue;const _0x25d31b=_0x37d6b0[_0x1a36('0x71')](_0x276f5d),_0x238d73=this['hasMarkerForId'](_0x276f5d);_0x25d31b&&(_0x25d31b[_0x1a36('0x35')]||_0x32238c['editing'][_0x1a36('0x51')][_0x1a36('0x52')](_0x1a36('0x55'),()=>{const _0x3c3159=_0x32238c[_0x1a36('0x66')][_0x1a36('0x53')](_0x1cedf6),_0x13d13d=_0x37d6b0[_0x1a36('0xd')][_0x1a36('0x53')](_0x25d31b)[_0x1a36('0x51')];_0x3c3159[_0x1a36('0x64')](_0x13d13d)[_0x1a36('0x47')]();},{'priority':_0x1a36('0x20')}),_0x25d31b[_0x1a36('0x35')]=_0x238d73||!!_0x46c62f),_0x46c62f||(_0x3d3f8b[_0x1a36('0x27')](_0x15b973),_0x5bb5c7[_0x1a36('0x75')](_0x15b973));}if(_0xf87efa[_0x1a36('0x5b')])for(const _0x426afb of _0x3d3f8b){const {id:_0x4d61e2}=ot(_0x426afb),_0x120998=_0x37d6b0['getCommentThread'](_0x4d61e2),_0x34a90d=this[_0x1a36('0x2')](_0x4d61e2);_0x5bb5c7[_0x1a36('0x75')](_0x426afb),!_0x120998||_0x34a90d||_0x120998['unlinkedAt']||_0x120998['setUnlinkedAt'](new Date());}_0x3d3f8b[_0x1a36('0x3e')]();});}[_0x1a36('0x76')](_0x5f0e28){const _0x5f0643=this[_0x1a36('0x4b')],_0x5ac87e=this[_0x1a36('0x60')](_0x5f0e28);return _0x408bcc(_0x5f0643[_0x1a36('0x4f')],_0x5ac87e);}[_0x1a36('0x26')](_0x1ca299){const _0xca6f00=this[_0x1a36('0x60')](_0x1ca299);let _0x115494='',_0x45598f=!0x1;for(const _0x59aa8c of _0xca6f00){const _0x4e4b11=_0x59aa8c['getRange']();for(const _0xad2c94 of Array[_0x1a36('0x24')](_0x4e4b11[_0x1a36('0x50')]()))_0xad2c94['is'](_0x1a36('0x21'))?(_0x115494&&_0x45598f&&(_0x115494+='\x20',_0x45598f=!0x1),_0x115494+=_0xad2c94[_0x1a36('0x68')]):_0x45598f=!0x0;_0x45598f=!0x0;}return _0x115494['substring'](0x0,0x96);}[_0x1a36('0x3a')](_0x1e1fe0,_0x1dc524){const _0x18eef4=this[_0x1a36('0x4b')],_0x2d4a95=_0x18eef4['plugins']['get'](_0x503ed2);let _0x256d2c=_0x2d4a95['getCommentThread'](_0x1dc524);const _0x5a906c=_0x18eef4[_0x1a36('0xf')][_0x1a36('0x53')](_0x1a36('0x42')),_0x588d33=_0x18eef4['plugins'][_0x1a36('0x53')](_0x4bbe01);if(_0x256d2c&&(_0x256d2c[_0x1a36('0x5f')]&&_0x256d2c[_0x1a36('0x44')](null),_0x256d2c[_0x1a36('0x4')]))return _0x256d2c;return!this[_0x1a36('0x60')](_0x1dc524)[0x0][_0x1a36('0x46')]?_0x18eef4[_0x1a36('0x4f')][_0x1a36('0x51')][_0x1a36('0x52')](_0x1a36('0x55'),()=>{if(_0x2d4a95[_0x1a36('0x71')](_0x1dc524))return;const _0x33e56f=_0x18eef4[_0x1a36('0x66')][_0x1a36('0x53')](_0x1cedf6);_0x256d2c=_0x2d4a95[_0x1a36('0x7a')]({'channelId':_0x5a906c,'threadId':_0x1dc524,'target':()=>this[_0x1a36('0x76')](_0x1dc524),'context':{'type':_0x1a36('0x41'),'value':this[_0x1a36('0x26')](_0x1dc524)}});const _0x207b6a=_0x2d4a95[_0x1a36('0xd')]['get'](_0x256d2c)[_0x1a36('0x51')],_0x4f8887=_0x33e56f[_0x1a36('0x64')](_0x207b6a);_0x4f8887&&_0x588d33['registerAnnotation'](_0x4f8887);},{'priority':_0x1a36('0x20')}):_0x2d4a95[_0x1a36('0x1b')]({'channelId':_0x5a906c,'threadId':_0x1dc524})[_0x1a36('0x1')](_0x97ec5d=>{if(_0x1a36('0x6a')!==_0x18eef4[_0x1a36('0x38')]){if(_0x256d2c=_0x97ec5d,_0x256d2c&&!_0x256d2c[_0x1a36('0x4')]){const _0x3b1cf5=_0x256d2c[_0x1a36('0x77')](()=>this[_0x1a36('0x76')](_0x1dc524));_0x588d33[_0x1a36('0x6')](_0x3b1cf5),_0x256d2c[_0x1a36('0x67')]&&this[_0x1a36('0x2b')](_0x1dc524);}else{if(!_0x256d2c){const _0x2037d6=this['getAllMarkersForId'](_0x1dc524);_0x18eef4[_0x1a36('0x7b')][_0x1a36('0x2d')](_0x59d333=>{for(const _0x4f148d of _0x2037d6)_0x59d333[_0x1a36('0x59')](_0x4f148d);});}}}}),_0x256d2c;}[_0x1a36('0x29')](_0x180305,_0x308a35){const _0x444e0a=this[_0x1a36('0x3a')](_0x180305,_0x308a35);_0x444e0a&&!_0x444e0a[_0x1a36('0x9')]&&_0x444e0a[_0x1a36('0x3d')]({'type':_0x1a36('0x41'),'value':this['_getTextContext'](_0x308a35)});}[_0x1a36('0x5c')](){const _0x39f7d6=this['editor'];_0x3b914d(_0x39f7d6[_0x1a36('0x7b')],({left:_0x1fb4e5,entered:_0x19602f})=>{const _0x484e69=[];for(const _0x1889f2 of _0x1fb4e5)if(rt(_0x1889f2)){_0x484e69[_0x1a36('0xb')](_0xe61512(_0x39f7d6[_0x1a36('0x4d')],_0x1a36('0x6d')));break;}for(const _0x3fa106 of _0x19602f)if(rt(_0x3fa106)){_0x484e69[_0x1a36('0xb')](_0xe61512(_0x39f7d6[_0x1a36('0x4d')],_0x1a36('0x2c')));break;}_0x484e69[_0x1a36('0x32')]&&_0x39f7d6['ui'][_0x1a36('0x2f')][_0x1a36('0x16')](_0x1a36('0x62'),_0x484e69['join']('\x20'));});}}function tt(_0x4cfab0,_0x1fa2cb){return _0x1fa2cb?_0x4cfab0+':'+_0x1fa2cb:_0x4cfab0;}function ot(_0x21eb71){const _0x39536a=_0x21eb71[_0x1a36('0x3f')](':');return{'group':_0x39536a[0x0],'id':_0x39536a[0x1],'part':_0x39536a[0x2]};}function et(_0x10d1d5,_0x21f3a2){const _0x5f0524=_0x21f3a2['schema'],_0x38238f=_0x21f3a2['createRange'](_0x10d1d5[_0x1a36('0x2e')]);for(const _0x590146 of _0x10d1d5[_0x1a36('0x3c')]()){const {type:_0x32d560,item:_0x40b550,nextPosition:_0x9f7a86}=_0x590146;if(_0x1a36('0x41')===_0x32d560||_0x5f0524[_0x1a36('0x72')](_0x40b550)){const _0x40b30c=_0x21f3a2[_0x1a36('0x43')](_0x40b550);_0x38238f[_0x1a36('0x48')]&&(_0x38238f[_0x1a36('0x2e')]=_0x40b30c),_0x38238f[_0x1a36('0x36')]=_0x9f7a86;}}return _0x38238f;}function rt(_0x5de470){return _0x1a36('0x4a')===ot(_0x5de470['name'])[_0x1a36('0x7d')];}
23
+ const _0x26f658=_0x1e90;(function(_0x5362e8,_0x1114fb){const _0xc26657=_0x1e90,_0x6172a8=_0x5362e8();while(!![]){try{const _0x5ebdf6=-parseInt(_0xc26657(0x1be))/0x1+parseInt(_0xc26657(0x1f1))/0x2*(parseInt(_0xc26657(0x1a3))/0x3)+parseInt(_0xc26657(0x214))/0x4+parseInt(_0xc26657(0x18a))/0x5+-parseInt(_0xc26657(0x1e6))/0x6+parseInt(_0xc26657(0x204))/0x7+-parseInt(_0xc26657(0x206))/0x8;if(_0x5ebdf6===_0x1114fb)break;else _0x6172a8['push'](_0x6172a8['shift']());}catch(_0x2eb6c6){_0x6172a8['push'](_0x6172a8['shift']());}}}(_0x5563,0x67a16));import{Plugin as _0x1c6ed1}from'ckeditor5/src/core.js';import{scrollViewportToShowTarget as _0x37f4b5}from'ckeditor5/src/utils.js';import _0x2a02e2 from'./commentsrepository.js';import _0x36c9d8 from'./addcommentthreadcommand.js';import{surroundingMarkersDetector as _0x4cf821,getAllMarkersDomElementsSorted as _0x56a599}from'ckeditor5-collaboration/src/collaboration-core.js';import _0x1e6d5a from'../annotations/editorannotations.js';import _0x1b5e79 from'./integrations/commentsrestrictededitingmode.js';import _0x373822 from'./integrations/importword.js';import _0x392161 from'./integrations/clipboard.js';import'../../theme/commentmarker.css';import _0x5ee827 from'../annotations/annotations.js';import{getTranslation as _0x2bbda6}from'../utils/common-translations.js';export default class r extends _0x1c6ed1{static get[_0x26f658(0x1b8)](){return[_0x2a02e2,_0x1e6d5a,_0x1b5e79,_0x373822,_0x392161];}static get[_0x26f658(0x1d8)](){const _0x25cb59=_0x26f658;return _0x25cb59(0x1a2);}constructor(_0x171f59){const _0x5b0155=_0x26f658;super(_0x171f59),this[_0x5b0155(0x1ef)](_0x5b0155(0x1f3),!0x0),_0x171f59[_0x5b0155(0x191)][_0x5b0155(0x1d5)](_0x5b0155(0x1b0),()=>this[_0x5b0155(0x1f3)]=!0x1),this[_0x5b0155(0x1ef)](_0x5b0155(0x1a9),null),this['on'](_0x5b0155(0x1b4),(_0x3f588f,_0x4e564d,_0x19b7ed,_0x1fbe69)=>{const _0x4d151c=_0x5b0155,_0x120c4a=_0x19b7ed?et(_0x19b7ed)['id']:null;if(_0x171f59[_0x4d151c(0x1dd)][_0x4d151c(0x19c)](()=>{const _0x4bb1ce=_0x4d151c;if(_0x120c4a){const _0x50241a=this[_0x4bb1ce(0x1db)](_0x120c4a);for(const _0x41ce4a of _0x50241a)_0x171f59[_0x4bb1ce(0x1cc)][_0x4bb1ce(0x211)](_0x41ce4a);}if(_0x1fbe69){const {id:_0x54e0f6}=et(_0x1fbe69),_0x44f065=this[_0x4bb1ce(0x1db)](_0x54e0f6);for(const _0x27f1b8 of _0x44f065)_0x171f59[_0x4bb1ce(0x1cc)][_0x4bb1ce(0x211)](_0x27f1b8);}}),_0x120c4a){const _0x2153fe=_0x171f59[_0x4d151c(0x1c2)][_0x4d151c(0x196)](_0x2a02e2)[_0x4d151c(0x1fe)](_0x120c4a);_0x2153fe&&_0x2153fe[_0x4d151c(0x1ed)]&&this[_0x4d151c(0x1cb)](_0x120c4a);}}),this[_0x5b0155(0x1fa)]();}[_0x26f658(0x1b5)](){const _0x3f1ade=_0x26f658,_0x537756=this[_0x3f1ade(0x1e8)],_0x240352=_0x537756[_0x3f1ade(0x1c2)][_0x3f1ade(0x196)](_0x2a02e2),_0x5d7e69=_0x537756[_0x3f1ade(0x1cd)][_0x3f1ade(0x196)](_0x3f1ade(0x1f7));_0x537756[_0x3f1ade(0x212)][_0x3f1ade(0x1eb)](_0x3f1ade(0x20e),new _0x36c9d8(_0x537756)),this[_0x3f1ade(0x1dc)](_0x537756,_0x3f1ade(0x203),(_0x1c606b,_0x309dea,_0x3e9941)=>{const _0x23d4bc=_0x3f1ade;_0x240352[_0x23d4bc(0x1f5)](_0x3e9941,_0x537756[_0x23d4bc(0x1cd)][_0x23d4bc(0x196)](_0x23d4bc(0x1f7)));}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x20e),_0x5d7e69),(_0x2cc06d,{threadId:_0x595d08})=>{const _0x428ad0=_0x3f1ade,_0x4abc78=this[_0x428ad0(0x1e8)][_0x428ad0(0x1c2)][_0x428ad0(0x196)](_0x2a02e2)[_0x428ad0(0x1fe)](_0x595d08);_0x4abc78&&_0x4abc78[_0x428ad0(0x209)]&&this[_0x428ad0(0x18d)](_0x595d08);}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1f9),_0x5d7e69),(_0x591a61,{threadId:_0x36450a})=>{const _0x1904fa=_0x3f1ade;_0x537756[_0x1904fa(0x1dd)][_0x1904fa(0x1f6)]({'isUndoable':!0x1},_0x2487fa=>{const _0x3e638f=_0x1904fa,_0x4e4d94=this[_0x3e638f(0x1db)](_0x36450a);for(const _0x5e85b8 of _0x4e4d94)_0x2487fa[_0x3e638f(0x1de)](_0x5e85b8);});}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1e7),_0x5d7e69),(_0x4b058a,{threadId:_0xac57c4})=>{const _0x3da868=_0x3f1ade;(this[_0x3da868(0x1b2)](_0xac57c4),this[_0x3da868(0x1e8)][_0x3da868(0x1cc)][_0x3da868(0x19b)][_0x3da868(0x1d2)])&&(this[_0x3da868(0x1e8)][_0x3da868(0x1c2)][_0x3da868(0x196)](_0x2a02e2)[_0x3da868(0x1fe)](_0xac57c4)[_0x3da868(0x209)]||this[_0x3da868(0x1e8)][_0x3da868(0x1cc)][_0x3da868(0x19b)][_0x3da868(0x215)]());},{'priority':_0x3f1ade(0x19a)}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1a5),_0x5d7e69),(_0x3e8d3d,{threadId:_0x49cea7})=>{const _0x185695=_0x3f1ade;this[_0x185695(0x1b2)](_0x49cea7);},{'priority':_0x3f1ade(0x19a)}),this[_0x3f1ade(0x1dc)](_0x240352,ot(_0x3f1ade(0x1d7),_0x5d7e69),(_0x5f2da2,{threadId:_0x7344c1,isFromAdapter:_0x414c5d})=>{const _0x302862=_0x3f1ade,_0x18ab3c=this[_0x302862(0x1db)](_0x7344c1);if(_0x414c5d||0x0==_0x18ab3c[_0x302862(0x1ce)]||!_0x240352[_0x302862(0x1ec)](_0x7344c1))return;0x1===_0x240352[_0x302862(0x1fe)](_0x7344c1)[_0x302862(0x1ce)]&&_0x537756[_0x302862(0x1dd)][_0x302862(0x1f6)]({'isUndoable':!0x1},_0x4b132c=>{const _0x2d1578=_0x302862;for(const _0x3ac92a of _0x18ab3c)_0x4b132c[_0x2d1578(0x1ad)](_0x3ac92a,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':_0x3f1ade(0x19a)}),this[_0x3f1ade(0x210)](),this[_0x3f1ade(0x1cf)]();}[_0x26f658(0x1c5)](){const _0x572f07=_0x26f658,_0x103ad8=this[_0x572f07(0x1e8)][_0x572f07(0x1c2)][_0x572f07(0x196)](_0x2a02e2),_0x47e209=this[_0x572f07(0x1e8)][_0x572f07(0x1cd)][_0x572f07(0x196)](_0x572f07(0x1f7));for(const _0xdc0645 of _0x103ad8[_0x572f07(0x1e1)]({'channelId':_0x47e209}))_0x103ad8[_0x572f07(0x201)](_0xdc0645['id']),_0x103ad8[_0x572f07(0x216)][_0x572f07(0x1bb)](_0xdc0645['id']);super[_0x572f07(0x1c5)]();}[_0x26f658(0x1c0)](_0x161506){const _0x2d1bfa=_0x26f658;return this[_0x2d1bfa(0x1db)](_0x161506)[_0x2d1bfa(0x1ce)]>0x0;}[_0x26f658(0x1db)](_0x2227e3){const _0x45beef=_0x26f658,_0x16dfbc=[];for(const _0x34ed05 of this[_0x45beef(0x1e8)][_0x45beef(0x1dd)][_0x45beef(0x1b1)])_0x34ed05[_0x45beef(0x1d0)][_0x45beef(0x188)](_0x45beef(0x1e2)+_0x2227e3)&&_0x16dfbc[_0x45beef(0x1fc)](_0x34ed05);return _0x16dfbc;}[_0x26f658(0x1cb)](_0x5fcd43){const _0x527f10=_0x26f658,_0x19385d=this[_0x527f10(0x1af)](_0x5fcd43);_0x19385d&&setTimeout(()=>{const _0x7a630a=_0x527f10;this[_0x7a630a(0x1a9)]&&et(this[_0x7a630a(0x1a9)])['id']===_0x5fcd43&&_0x37f4b5({'target':_0x19385d[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}[_0x26f658(0x1b2)](_0x2b295c){const _0x4f3181=_0x26f658;this[_0x4f3181(0x1e8)][_0x4f3181(0x1dd)][_0x4f3181(0x19c)](()=>{const _0xa9c99a=_0x4f3181;for(const _0x5ef744 of this[_0xa9c99a(0x1db)](_0x2b295c))this[_0xa9c99a(0x1e8)][_0xa9c99a(0x1cc)][_0xa9c99a(0x211)](_0x5ef744);});}[_0x26f658(0x18d)](_0x1d43f0){const _0x330ea3=_0x26f658,_0x464922=this[_0x330ea3(0x1e8)][_0x330ea3(0x1c2)][_0x330ea3(0x196)](_0x2a02e2),_0x2428c0=this[_0x330ea3(0x1e8)][_0x330ea3(0x1c2)][_0x330ea3(0x196)](_0x1e6d5a),_0x24662c=_0x464922[_0x330ea3(0x1fe)](_0x1d43f0);if(!_0x24662c[_0x330ea3(0x1bf)]){const _0x4164ac=_0x24662c[_0x330ea3(0x1c8)](()=>this[_0x330ea3(0x1af)](_0x24662c['id']));_0x2428c0[_0x330ea3(0x1e0)](_0x4164ac),_0x24662c[_0x330ea3(0x20f)]=!0x1;}}[_0x26f658(0x210)](){const _0x3ec70b=_0x26f658,_0x1deee5=this[_0x3ec70b(0x1e8)];_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x1ca))[_0x3ec70b(0x1bd)]({'model':_0x3ec70b(0x1f2),'view':(_0x4d08f2,_0x11a838)=>{const _0xc85dae=_0x3ec70b,{id:_0x1c0e59}=et(_0x4d08f2[_0xc85dae(0x199)]),_0x5378c8=_0x1deee5[_0xc85dae(0x1c2)][_0xc85dae(0x196)](_0x2a02e2)[_0xc85dae(0x1fe)](_0x1c0e59),_0x32a2b0=this[_0xc85dae(0x1a9)]&&et(this[_0xc85dae(0x1a9)])['id']===_0x1c0e59;if(_0x5378c8&&_0x5378c8[_0xc85dae(0x1ed)]&&!_0x32a2b0&&_0x4d08f2[_0xc85dae(0x21a)])return _0x11a838[_0xc85dae(0x1ee)][_0xc85dae(0x190)](_0x4d08f2[_0xc85dae(0x21a)],_0xc85dae(0x1b9)+_0x4d08f2[_0xc85dae(0x199)]),_0x11a838[_0xc85dae(0x1ee)][_0xc85dae(0x190)](_0x4d08f2[_0xc85dae(0x21a)],_0xc85dae(0x19e)+_0x4d08f2[_0xc85dae(0x199)]),null;const _0x35c816=[_0xc85dae(0x1e5)];return _0x32a2b0&&_0x35c816[_0xc85dae(0x1fc)](_0xc85dae(0x1fd)),{'classes':_0x35c816,'attributes':{'data-comment':_0x1c0e59}};}}),_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x1e9))[_0x3ec70b(0x20c)]({'model':_0x3ec70b(0x1f2),'view':(_0x57ebd4,{options:_0x854975})=>{const _0x367133=_0x3ec70b,_0x440fc7=_0x1deee5[_0x367133(0x1c2)][_0x367133(0x196)](_0x2a02e2),_0x3968e0=_0x1deee5[_0x367133(0x1dd)][_0x367133(0x1b1)][_0x367133(0x196)](_0x57ebd4),{id:_0x443c40,part:_0x397a29}=et(_0x57ebd4);if(_0x3968e0&&!_0x3968e0[_0x367133(0x1b3)])return null;if(_0x854975[_0x367133(0x20b)]){const _0x47c9d0=_0x440fc7[_0x367133(0x1fe)](_0x443c40);if(_0x47c9d0&&_0x47c9d0[_0x367133(0x1ed)])return null;}return{'group':_0x367133(0x1f2),'name':_0x397a29?_0x443c40+':'+_0x397a29:_0x443c40};}}),_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x202))[_0x3ec70b(0x1a8)]({'view':{'name':_0x3ec70b(0x1f2),'attributes':{'id':/^\w/}},'model':(_0x229a7b,{writer:_0x48d6fa})=>_0x48d6fa[_0x3ec70b(0x197)](_0x3ec70b(0x1bc),{'data-name':_0x3ec70b(0x1e2)+_0x229a7b[_0x3ec70b(0x18f)]('id')})}),_0x1deee5[_0x3ec70b(0x1f4)][_0x3ec70b(0x1c1)](_0x3ec70b(0x202))[_0x3ec70b(0x1d1)]({'view':_0x3ec70b(0x1f2)});}[_0x26f658(0x1cf)](){const _0x47c7fd=_0x26f658,_0xe140a7=this[_0x47c7fd(0x1e8)],_0x1b7b2a=_0xe140a7[_0x47c7fd(0x1c2)][_0x47c7fd(0x196)](_0x2a02e2),_0x48ba1c=new Set(),_0x80e62a=new Set();_0xe140a7[_0x47c7fd(0x1dd)][_0x47c7fd(0x218)][_0x47c7fd(0x1a6)](_0x259a17=>{const _0x47781e=_0x47c7fd;let _0x180114=!0x1;for(const {name:_0x298607,data:_0x57b43c}of _0xe140a7[_0x47781e(0x1dd)][_0x47781e(0x218)][_0x47781e(0x1d4)][_0x47781e(0x213)]()){const {group:_0x368ddb,id:_0x385bcb}=et(_0x298607);let _0x289145=_0x57b43c[_0x47781e(0x1aa)];if(_0x47781e(0x1f2)!==_0x368ddb||!_0x289145)continue;const _0x42439e=_0x47781e(0x21b)===_0x289145[_0x47781e(0x18e)][_0x47781e(0x1e4)];_0x42439e||(_0x289145=rt(_0x289145,_0xe140a7[_0x47781e(0x1dd)]),!_0x289145||_0x289145[_0x47781e(0x1ae)]||!_0x57b43c[_0x47781e(0x1aa)]||_0x289145[_0x47781e(0x19d)](_0x57b43c[_0x47781e(0x1aa)]))?_0xe140a7[_0x47781e(0x1dd)][_0x47781e(0x1b6)](_0x289145)&&!_0x42439e?this[_0x47781e(0x1f3)]?_0x48ba1c[_0x47781e(0x1eb)](_0x298607):this[_0x47781e(0x18b)](_0x298607,_0x385bcb):(_0x80e62a[_0x47781e(0x1eb)](_0x298607),_0x48ba1c[_0x47781e(0x1bb)](_0x298607),_0x259a17[_0x47781e(0x1de)](_0x298607),_0x180114=!0x0):(_0x259a17[_0x47781e(0x1ad)](_0x298607,{'range':_0x289145}),_0x180114=!0x0);}return _0x180114;}),this['on'](_0x47c7fd(0x1f0),(_0x4a181c,_0x2c68f6,_0x4e573e)=>{const _0x29050f=_0x47c7fd;if(!_0x4e573e&&_0x48ba1c[_0x29050f(0x1ac)])for(const _0x3124d2 of _0x48ba1c){const {id:_0x40c437}=et(_0x3124d2);_0x48ba1c[_0x29050f(0x1bb)](_0x3124d2),_0xe140a7[_0x29050f(0x1dd)][_0x29050f(0x1b1)][_0x29050f(0x196)](_0x3124d2)&&this[_0x29050f(0x18b)](_0x3124d2,_0x40c437);}}),this[_0x47c7fd(0x1dc)](_0xe140a7[_0x47c7fd(0x1dd)][_0x47c7fd(0x218)],_0x47c7fd(0x19c),(_0x5e6ec2,_0x123216)=>{const _0xa23192=_0x47c7fd;for(const {name:_0x4d42ff,data:{newRange:_0x5e66f5}}of _0xe140a7[_0xa23192(0x1dd)][_0xa23192(0x218)][_0xa23192(0x1d4)][_0xa23192(0x213)]()){const {group:_0x4d7988,id:_0x5ecbf5}=et(_0x4d42ff);if(_0xa23192(0x1f2)!==_0x4d7988)continue;const _0x29c99d=_0x1b7b2a[_0xa23192(0x1fe)](_0x5ecbf5),_0x26b8a7=this[_0xa23192(0x1c0)](_0x5ecbf5);_0x29c99d&&(_0x29c99d[_0xa23192(0x20f)]||_0xe140a7[_0xa23192(0x1cc)][_0xa23192(0x19b)][_0xa23192(0x1d5)](_0xa23192(0x1c7),()=>{const _0x2c4c1f=_0xa23192,_0x1b1178=_0xe140a7[_0x2c4c1f(0x1c2)][_0x2c4c1f(0x196)](_0x5ee827),_0x561a3a=_0x1b7b2a[_0x2c4c1f(0x198)][_0x2c4c1f(0x196)](_0x29c99d)[_0x2c4c1f(0x19b)];_0x1b1178[_0x2c4c1f(0x207)](_0x561a3a)[_0x2c4c1f(0x189)]();},{'priority':_0xa23192(0x19a)}),_0x29c99d[_0xa23192(0x20f)]=_0x26b8a7||!!_0x5e66f5),_0x5e66f5||(_0x80e62a[_0xa23192(0x1eb)](_0x4d42ff),_0x48ba1c[_0xa23192(0x1bb)](_0x4d42ff));}if(_0x123216[_0xa23192(0x1ff)])for(const _0x128b76 of _0x80e62a){const {id:_0x3f015b}=et(_0x128b76),_0x536ac5=_0x1b7b2a[_0xa23192(0x1fe)](_0x3f015b),_0x3f8ba2=this[_0xa23192(0x1c0)](_0x3f015b);_0x48ba1c[_0xa23192(0x1bb)](_0x128b76),!_0x536ac5||_0x3f8ba2||_0x536ac5[_0xa23192(0x209)]||_0x536ac5[_0xa23192(0x194)](new Date());}_0x80e62a[_0xa23192(0x219)]();});}[_0x26f658(0x1af)](_0x356205){const _0xbd8393=_0x26f658,_0x16d332=this[_0xbd8393(0x1e8)],_0x6e048f=this[_0xbd8393(0x1db)](_0x356205);return _0x56a599(_0x16d332[_0xbd8393(0x1cc)],_0x6e048f);}[_0x26f658(0x19f)](_0x4bdc0b){const _0x23df40=_0x26f658,_0x5c7be8=this[_0x23df40(0x1db)](_0x4bdc0b);let _0xd3a019='',_0x5cf9e4=!0x1;for(const _0x47d572 of _0x5c7be8){const _0xbcabad=_0x47d572[_0x23df40(0x1a4)]();for(const _0x4e87df of Array[_0x23df40(0x1ba)](_0xbcabad[_0x23df40(0x208)]()))_0x4e87df['is'](_0x23df40(0x205))?(_0xd3a019&&_0x5cf9e4&&(_0xd3a019+='\x20',_0x5cf9e4=!0x1),_0xd3a019+=_0x4e87df[_0x23df40(0x191)]):_0x5cf9e4=!0x0;_0x5cf9e4=!0x0;}return _0xd3a019[_0x23df40(0x1d9)](0x0,0x96);}[_0x26f658(0x1b7)](_0x3ca3b3,_0x4623ef){const _0x106a7e=_0x26f658,_0x5300fa=this[_0x106a7e(0x1e8)],_0x44f1bf=_0x5300fa[_0x106a7e(0x1c2)][_0x106a7e(0x196)](_0x2a02e2);let _0x458b5f=_0x44f1bf[_0x106a7e(0x1fe)](_0x4623ef);const _0x521e36=_0x5300fa[_0x106a7e(0x1cd)][_0x106a7e(0x196)](_0x106a7e(0x1f7)),_0x53c1d6=_0x5300fa[_0x106a7e(0x1c2)][_0x106a7e(0x196)](_0x1e6d5a);if(_0x458b5f&&(_0x458b5f[_0x106a7e(0x209)]&&_0x458b5f[_0x106a7e(0x194)](null),_0x458b5f[_0x106a7e(0x1bf)]))return _0x458b5f;return!this[_0x106a7e(0x1db)](_0x4623ef)[0x0][_0x106a7e(0x1ab)]?_0x5300fa[_0x106a7e(0x1cc)][_0x106a7e(0x19b)][_0x106a7e(0x1d5)](_0x106a7e(0x1c7),()=>{const _0x2d57fc=_0x106a7e;if(_0x44f1bf[_0x2d57fc(0x1fe)](_0x4623ef))return;const _0x497d05=_0x5300fa[_0x2d57fc(0x1c2)][_0x2d57fc(0x196)](_0x5ee827);_0x458b5f=_0x44f1bf[_0x2d57fc(0x1c4)]({'channelId':_0x521e36,'threadId':_0x4623ef,'target':()=>this[_0x2d57fc(0x1af)](_0x4623ef),'context':{'type':_0x2d57fc(0x1da),'value':this[_0x2d57fc(0x19f)](_0x4623ef)}});const _0x3a1760=_0x44f1bf[_0x2d57fc(0x198)][_0x2d57fc(0x196)](_0x458b5f)[_0x2d57fc(0x19b)],_0x316bc3=_0x497d05[_0x2d57fc(0x207)](_0x3a1760);_0x316bc3&&_0x53c1d6[_0x2d57fc(0x1e0)](_0x316bc3);},{'priority':_0x106a7e(0x19a)}):_0x44f1bf[_0x106a7e(0x1df)]({'channelId':_0x521e36,'threadId':_0x4623ef})[_0x106a7e(0x200)](_0x98c45f=>{const _0x7feae4=_0x106a7e;if(_0x7feae4(0x192)!==_0x5300fa[_0x7feae4(0x1d3)]){if(_0x458b5f=_0x98c45f,_0x458b5f&&!_0x458b5f[_0x7feae4(0x1bf)]){const _0x488ad4=_0x458b5f[_0x7feae4(0x1c8)](()=>this[_0x7feae4(0x1af)](_0x4623ef));_0x53c1d6[_0x7feae4(0x1e0)](_0x488ad4),_0x458b5f[_0x7feae4(0x1ed)]&&this[_0x7feae4(0x1b2)](_0x4623ef);}else{if(!_0x458b5f){const _0x96083f=this[_0x7feae4(0x1db)](_0x4623ef);_0x5300fa[_0x7feae4(0x1dd)][_0x7feae4(0x19c)](_0x1f8fd1=>{const _0x1ce85c=_0x7feae4;for(const _0x48ef76 of _0x96083f)_0x1f8fd1[_0x1ce85c(0x1de)](_0x48ef76);});}}}}),_0x458b5f;}[_0x26f658(0x18b)](_0x2cbaa1,_0x2007f2){const _0x18ab7e=_0x26f658,_0x3d3d58=this[_0x18ab7e(0x1b7)](_0x2cbaa1,_0x2007f2);_0x3d3d58&&!_0x3d3d58[_0x18ab7e(0x20a)]&&_0x3d3d58[_0x18ab7e(0x193)]({'type':_0x18ab7e(0x1da),'value':this[_0x18ab7e(0x19f)](_0x2007f2)});}[_0x26f658(0x1fa)](){const _0x422a5c=_0x26f658,_0x4e40c5=this[_0x422a5c(0x1e8)];_0x4cf821(_0x4e40c5[_0x422a5c(0x1dd)],({left:_0x831e4b,entered:_0x1f4e6c})=>{const _0x1072b8=_0x422a5c,_0x3f4193=[];for(const _0x2612e8 of _0x831e4b)if(nt(_0x2612e8)){_0x3f4193[_0x1072b8(0x1fc)](_0x2bbda6(_0x4e40c5[_0x1072b8(0x1fb)],_0x1072b8(0x1c9)));break;}for(const _0x440be3 of _0x1f4e6c)if(nt(_0x440be3)){_0x3f4193[_0x1072b8(0x1fc)](_0x2bbda6(_0x4e40c5[_0x1072b8(0x1fb)],_0x1072b8(0x1d6)));break;}_0x3f4193[_0x1072b8(0x1ce)]&&_0x4e40c5['ui'][_0x1072b8(0x1ea)][_0x1072b8(0x1e3)](_0x1072b8(0x217),_0x3f4193[_0x1072b8(0x1f8)]('\x20'));});}}function _0x1e90(_0x416302,_0x36eefa){const _0x5563bf=_0x5563();return _0x1e90=function(_0x1e9080,_0x44b872){_0x1e9080=_0x1e9080-0x188;let _0x56579b=_0x5563bf[_0x1e9080];return _0x56579b;},_0x1e90(_0x416302,_0x36eefa);}function ot(_0x435a7b,_0x1c6803){return _0x1c6803?_0x435a7b+':'+_0x1c6803:_0x435a7b;}function et(_0x2537cd){const _0x17741d=_0x26f658,_0x198d7b=_0x2537cd[_0x17741d(0x1c3)](':');return{'group':_0x198d7b[0x0],'id':_0x198d7b[0x1],'part':_0x198d7b[0x2]};}function rt(_0x1fbb90,_0x24f880){const _0x35a823=_0x26f658,_0x31706b=_0x24f880[_0x35a823(0x21c)],_0x43e948=_0x24f880[_0x35a823(0x195)](_0x1fbb90[_0x35a823(0x18c)]);for(const _0x24e64d of _0x1fbb90[_0x35a823(0x1a7)]()){const {type:_0xbd0656,item:_0x4c0b91,nextPosition:_0x343789}=_0x24e64d;if(_0x35a823(0x1da)===_0xbd0656||_0x31706b[_0x35a823(0x1a1)](_0x4c0b91)){const _0x4230b5=_0x24f880[_0x35a823(0x1c6)](_0x4c0b91);_0x43e948[_0x35a823(0x1ae)]&&(_0x43e948[_0x35a823(0x18c)]=_0x4230b5),_0x43e948[_0x35a823(0x20d)]=_0x343789;}}return _0x43e948;}function _0x5563(){const _0x242154=['managedUsingOperations','size','updateMarker','isCollapsed','_getTargetForId','ready','markers','_reconvertMarkers','affectsData','change:activeMarker','init','hasContent','_attachMarkerToThread','requires','addMarker:','from','delete','$marker','markerToHighlight','522325PQQQPP','isAttached','hasMarkerForId','for','plugins','split','openNewCommentThread','destroy','createPositionBefore','render','attachTo','LEAVE_COMMENT_ANNOUNCEMENT','editingDowncast','scrollToThreadMarker','editing','config','length','_handleMarkerAddAndRemove','name','dataToMarker','hasDomSelection','state','differ','once','ENTER_COMMENT_ANNOUNCEMENT','addComment','pluginName','substring','text','getAllMarkersForId','listenTo','model','removeMarker','fetchCommentThread','registerAnnotation','getCommentThreads','comment:','announce','rootName','ck-comment-marker','2762802bTXKUf','resolveCommentThread','editor','dataDowncast','ariaLiveAnnouncer','add','hasCommentThread','isResolved','consumable','set','change:isThreadsLoadingPaused','2042kNrqQt','comment','isThreadsLoadingPaused','conversion','switchReadOnly','enqueueChange','collaboration.channelId','join','removeCommentThread','_initAriaMarkerChangeAnnouncements','locale','push','ck-comment-marker--active','getCommentThread','isLocal','then','_detachCommentThread','upcast','change:isReadOnly','1160278UIsjed','$textProxy','2376512oYAqvb','getByInnerView','getItems','unlinkedAt','context','ignoreResolvedComments','markerToData','end','addCommentThread','_hasTargetInContent','_initializeMarkerConverters','reconvertMarker','commands','getChangedMarkers','2772092ldSVyX','focus','_threads','comments','document','clear','item','$graveyard','schema','startsWith','refreshVisibility','3589620uuaNAM','_handleThreadMarker','start','_attachArchivedThread','root','getAttribute','consume','data','destroyed','setContext','setUnlinkedAt','createRange','get','createElement','_threadToController','markerName','low','view','change','isEqual','removeMarker:','_getTextContext','group','isObject','CommentsEditing','375JGbgkJ','getRange','reopenCommentThread','registerPostFixer','getWalker','elementToElement','activeMarker','newRange'];_0x5563=function(){return _0x242154;};return _0x5563();}function nt(_0x3c5bd8){const _0x54d4a9=_0x26f658;return _0x54d4a9(0x1f2)===et(_0x3c5bd8[_0x54d4a9(0x1d0)])[_0x54d4a9(0x1a0)];}